Re: [Orgmode] ELPA Howto
Ji Jambunathan, there is something in your Makefile patch I do not understand: X @@ -325,6 +328,14 @@ distfile: X zip -r org-$(TAG).zip org-$(TAG) X gtar zcvf org-$(TAG).tar.gz org-$(TAG) X X +elpa:install-info Why are you saying the elpa is dependent on install-info? - Carsten X + $(MKDIR) org-$(TAG) X + cp -r $(LISPFILES0) org-$(TAG)/ X + cp $(infodir)/dir org-$(TAG) X + cp $(INFOFILES) org-$(TAG) X + echo (define-package \org\ \$(TAG)\ \$(DOCSTRING)\) org-$(TAG)/org-pkg.el X + tar cf org-$(TAG).tar org-$(TAG) --remove-files X + X makerelease: X @if [ X$(TAG) = X ]; then echo *** No tag ***; exit 1; fi X ${MAKE} distfile X Jambunathan K. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Bug: subtree export fails with src block
Hi Giovanni, I'm unable to reproduce your bug. I can successfully export the following to html w/o issue. --8---cut here---start-8--- Now let's see what happens: #+begin_src python :results output :exports both print Babel limits = [1,2,3,4,5,6,7,8,9,10] for i in limits: print Hello * i #+end_src python --8---cut here---end---8--- Are you using the latest version of Org-mode? Could you try exporting the above and see if it works for you. some more comments inline below. Giovanni Moretti giova...@reflections.co.nz writes: I'm just starting with Babel and have been puzzled about why one file worked and another didn't. I have been playing in a new file without any headers at all (no lines starting with '*') and while I could execute the code in the buffer, exporting to HTML always failed with: No such file: c:/org/babel-python-test.org:: Hmm, it looks like it's trying to find a file with :: attached to the end which is probably the source of the issue. I wonder if this is a windows specific problem? When searching, I found this thread and wondered if the heading were important. It turns out they are. In the block below, exporting to HTML fails if the first line isn't a heading. This seems like a clue ... Cheers and thanks Giovanni PS: the BOTH option for :export is hard to find - only :export none is in the intro page. The documentation [1] is the place to look for header arguments and their usage, but I suppose we should mention that more explicitly (at all?) from the introduction page. Best -- Eric === * Python Babel test Now let's see what happens: #+begin_src python :results output :exports both print Babel limits = [1,2,3,4,5,6,7,8,9,10] for i in limits: print Hello * i #+end_src python ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode Footnotes: [1] http://orgmode.org/manual/Working-With-Source-Code.html#Working-With-Source-Code ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] bug: babel: Export of temporary buffers fails
Puneeth puncha...@gmail.com writes: Hi Eric, You can still export to a temporary buffer (`A' instead of `a', `H' instead of `h') ... Yes. And this fails when there is an org-babel src block in the buffer. -- Puneeth Hi Puneeth, I've just tried exporting an org-mode buffer containing babel code blocks to a temporary file using C-c C-e H, and it worked without problem. Could you send me an example org-mode file that throws the error your described? Thanks -- Eric ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] org-babel: feature-request: allow table-cells to be passed as strings
Hello ! Currently org-babel, when passing a table as input to a source-code-block, behaves like this: If the cell looks like a number, it will be converted to an integer or a float. Otherwise the cell-content is passed unconverted as a string. Now, dealing with very large numbers (which I want to process with calc), I found this behavior annoying, because babel converts my large numbers to float, loosing precision in the process. Now my request would be, to have a switch (maybe as a header argument) which would tell babel to pass all cells as unconverted strings. I have checked the documentation and the sources and have not been able to find such a switch. with kind regards, Marc-Oliver Ihm ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output
Hi Sebastian, Thanks for the patch! I would certainly have a better way to process these files. My questions: 1. Can we run bibtex only if we have an indication that it might be needed? Maybe by looking at the output of the first LaTeX run? Hmm, maybe this would not work if only the bibtex database file was changed. 2. The contrill structures you are using, are they standard shell or is bash needed for this? 3. Maybe we can extract a useful error message if the last PDFLaTeX run still contains problems? Maybe even load the log file in this case? Thanks! - Carsten On Oct 1, 2010, at 11:17 PM, Sébastien Vauban wrote: Here is my (much) better proposition: --8---cut here---start-8--- diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 9a62457..0a2c5fe 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -455,25 +455,35 @@ allowed. The default we use here encompasses both. :group 'org-export-latex :group 'org-export) +(defcustom org-latex-pdf-max-runs 3 + Maximum number of times PDFLaTeX is run after BibTeX. + :group 'org-export-pdf + :type 'int) + (defcustom org-latex-to-pdf-process - '(pdflatex -interaction nonstopmode -output-directory %o %f -pdflatex -interaction nonstopmode -output-directory %o %f) + `(pdflatex -interaction nonstopmode -output-directory %o %f +bibtex %b +,(concat let COUNTER=0; while (grep -e \Rerun .* cross- references\ %b.log /dev/null); do if [ $COUNTER -eq + (int-to-string org-latex-pdf-max-runs) + ]; then break; fi; pdflatex -interaction nonstopmode -output-directory %o %f; let COUNTER=COUNTER+1; done)) Commands to process a LaTeX file to a PDF file. This is a list of strings, each of them will be given to the shell as a command. %f in the command will be replaced by the full file name, %b by the file base name (i.e. without extension) and %o by the base directory of the file. The reason why this is a list is that it usually takes several runs of -pdflatex, maybe mixed with a call to bibtex. Org does not have a clever -mechanism to detect which of these commands have to be run to get to a stable -result, and it also does not do any error checking. +pdflatex, mixed with a call to bibtex. Org does now have a clever mechanism +to detect how many times the document has to be compiled to get to a stable +result for the cross-references. Moreover, the number of compilations after +bibtex is limited to 3 by default (see `org-latex-pdf-max-runs' for more). +Though, it does not do any error checking. Alternatively, this may be a Lisp function that does the processing, so you could use this to apply the machinery of AUCTeX or the Emacs LaTeX mode. This function should accept the file name as its single argument. :group 'org-export-pdf :type '(choice (repeat :tag Shell command sequence - (string :tag Shell command)) +(string :tag Shell command)) (function))) (defcustom org-export-pdf-logfiles --8---cut here---end---8--- Enhancements: - variable to limit the number of PDFLaTeX runs (3, by default) Though, the way it is evaluated, you need to set it before calling org-latex (before defining org-latex-to-pdf-process). Not a problem, IMHO. Maybe there are better ways, though? - real standard sequence to compile the doc: + one call to PDFLaTeX + one call to BibTeX + as many calls as needed to PDFLaTeX (max 3) Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-babel: feature-request: allow table-cells to be passed as strings
Hi, Could you send an example of the contents of such a cell, and what it is converted to? Maybe it will be possible to improve the parsing of numerals in Babel s.t. we don't lose precision in these cases. Thanks -- Eric Marc-Oliver Ihm i...@online.de writes: Hello ! Currently org-babel, when passing a table as input to a source-code-block, behaves like this: If the cell looks like a number, it will be converted to an integer or a float. Otherwise the cell-content is passed unconverted as a string. Now, dealing with very large numbers (which I want to process with calc), I found this behavior annoying, because babel converts my large numbers to float, loosing precision in the process. Now my request would be, to have a switch (maybe as a header argument) which would tell babel to pass all cells as unconverted strings. I have checked the documentation and the sources and have not been able to find such a switch. with kind regards, Marc-Oliver Ihm ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-mode breaks buffer indexing in sclang-mode
Hi James, does this only happen when Org-mode opens the calendar, or also when you use M-x calendar? - Carsten On Sep 12, 2010, at 2:33 PM, James Harkins wrote: As I said before, I'm really enjoying org-mode. I love that I can keep all my semester's teaching data in one text file and zoom in right to where I want quickly. But, today I found a not-good interaction between it and the main programming mode that I use in Emacs (sclang-mode, an interactive front end for the supercollider* audio programming language). Supercollider keeps objects internally for code documents. These are connected to Emacs buffers. The sclang-mode lisp code assigns an integer index to buffers that supercollider is supposed to know about, and passes those indices into the sc interpreter. When I run sclang-mode on its own, this is all totally stable. It's also stable if I have an org-mode buffer open and I'm editing only. As soon as org-mode opens a calendar buffer, the sclang interpreter no longer knows about its Document buffers -- i.e., when in a buffer that's been loaded from disk, the sc code Document.current.path should return the full path to the file, but after opening the calendar, Document.current returns 'nil' and .path fails with an error. This could happen if Emacs tells sclang that the buffer closed (but the buffer is still open). This is consistent behavior that I can reproduce on-demand, both in Aquamacs 1.9 (OSX) and Emacs 23 on Ubuntu. Opening an agenda view does not trigger the problem. It seems to be just the calendar. Why would opening a calendar buffer to choose a date mess around with other modes' buffers? Not a major, major problem for me but it seems something fishy is going on and I thought I would report it. James * http://supercollider.sourceforge.net -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal. -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug: Odd Ido interaction [7.01trans]
Hi David, well, it can happen that an item shows up multiple ways - if it has been selected by different methods. For example, if your org-refile- targets variable is like this: ((org-agenda-files :level . 1) (org-agenda-files :tag . refile) (nil :maxlevel . 2)) then you could get three instances: 1. it is a level 1 item in any of the agenda items 2. it has the tag refile and is in an agenda file 3. The item you are trying to refile is in the same file as the refile target - in that case, the entry is shown as a headline with level = 2 Looking at your setting for org-refile-targets, this is definitely somehing that could happen to you. I am not sure how cheap it would be to eliminate duplicate entries, this might be an N^2 operation. In the end, it is not a huge problem, I guess? - Carsten On Sep 4, 2010, at 8:26 PM, David Abrahams wrote: Remember to cover the basics, that is, what you expected to happen and what in fact did happen. You don't know how to make a good report? See http://orgmode.org/manual/Feedback.html#Feedback Your bug report will be posted to the Org-mode mailing list. When I go to refile an agenda item, say, under another item called Happiness, I type `r h a p' and see: Refile to: hap{Happiness (todo.txt) | Happiness (todo.txt) | Happiness (todo.txt)} where the 2nd and 3rd instances of Happiness show up in blue. Is it expected to see multiple identical choices, and if so, why? Emacs : GNU Emacs 23.2.1 (x86_64-apple-darwin, NS apple- appkit-1038.29) of 2010-05-08 on black.local Package: Org-mode version 7.01trans current state: == (setq org-agenda-deadline-leaders '(D: D%d: ) org-clock-in-switch-to-state STARTED org-agenda-skip-scheduled-if-deadline-is-shown t org-export-latex-after-initial-vars-hook '(org-beamer-after-initial- vars) org-todo-keyword-faces '((TODO :foreground medium blue :weight bold) (APPT :foreground medium blue :weight bold) (NOTE :foreground brown :weight bold) (STARTED :foreground dark orange :weight bold) (WAITING :foreground red :weight bold) (DELEGATED :foreground dark violet :weight bold) (DEFERRED :foreground dark blue :weight bold) (SOMEDAY :foreground dark blue :weight bold) (PROJECT :height 1.5 :weight bold :foreground black)) org-agenda-custom-commands '((E Errands (next 3 days) tags ErrandTODO\DONE\TODO \CANCELLED\STYLE\habit\SCHEDULED\+3d\ ((org-agenda-overriding-header Errands (next 3 days)) ) ) (A Priority #A tasks agenda ((org-agenda-ndays 1) (org-agenda-overriding-header Today's priority #A tasks: ) (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote notregexp) \\=.*\\[#A\\])) ) ) ) (B Priority #A and #B tasks agenda ((org-agenda-ndays 1) (org-agenda-overriding-header Today's priority #A and #B tasks: ) (org-agenda-skip-function (quote (org-agenda-skip-entry-if (quote regexp) \\=.*\\[#C\\]))) ) ) (w Waiting/delegated tasks tags TODO=\WAITING\|TODO=\DELEGATED\ ((org-agenda-overriding-header Waiting/delegated tasks:) (org-agenda-sorting-strategy (quote (todo-state-up priority-down category-up))) ) ) (u Unscheduled tasks tags TODO\\TODO\DONE\TODO \CANCELLED\TODO\NOTE\CATEGORY{CEG\\|ABC\\|Bizcard\\|Adagio\ \|EVAprint\\|\\IT\\} ((org-agenda-overriding-header Unscheduled tasks: ) (org -agenda-skip-function (quote
Re: [Orgmode] Orgmode meetup at FOSDEM, February 2011. Who would come?
Hi Richard, tanks for starting this, it looks pretty good. Still we need someone who says I will organize this. Who will do that? Most importantly, we need to know if any money is involved, including registration fees. - Carsten On Sep 29, 2010, at 6:58 PM, Richard Moreland wrote: Based off of [1], we need the following: devroom name, description, and related URLs. For description, they suggest including the room's topic, goals and target projects. Something like: Org-mode is a [some marketing words..]. The Org-mode devroom will include a collection of talks from its author as well as speakers representing various other components of Org-mode. In addition, the group will discuss the direction of Org-mode, identify additional tools that would be useful to surround Org-mode, as well as make a plan for widening its audience and making it more accessible to new users. Some of our proposed talks include: - Org-babel - GTD with Org-mode - Sceintific applications - Sharing Org-mode data with other applications (TaskJuggler, ..?) - Org-mode on the iPhone, Android and Nokia devices - Managing websites with Org-mode (jekyll integration, built-in publishing, etc) - Power user demonstrations/tip sharing - The future of Org-mode Goals: - Expose new and existing Org-mode users to demonstrations/application of features they might not have otherwise discovered - Identify new applications of Org-mode, help users get started using/customizing Org-mode for their domain - Collect members from the Org-mode mailing list in a single place for the first time - Share and refine the direction of Org-mode - Identify how contributors can help with Org-mode development/documentation/etc. - Plan for making Org-mode easier to get started with Related URLs: - http://orgmode.org - http://orgmode.org/worg/ - http://orgmode.org/worg/org-contrib/babel/index.php - http://orgmode.org/worg/org-tutorials/org-screencasts/index.php - http://mobileorg.ncogni.to/ - etc. I'm not sure what 'target projects' could mean in their suggestion for the description. Any ideas? Hope this helps as a start, feel free to scrap it and start over if someone else has a better vision. [1] http://fosdem.org/2011/call_for_devrooms -Richard On Wed, Sep 29, 2010 at 12:10 PM, Carsten Dominik carsten.domi...@gmail.com wrote: I do find the number of people indicating an interest to come encouraging. Is there anyone stepping forward to take charge of getting more information about possible costs etc? More importantly: who will write the proposal, or at least make a start? - Carsten On Sep 29, 2010, at 1:32 PM, Marcel van der Boom wrote: On di 28-sep-2010 19:44 Carsten Dominik carsten.domi...@gmail.com wrote: Please reply to this email if you'd consider to come to FOSDEM[1,2], February 5 and 6 next year in Brussels, in order to join an Org- mode meet-up there. [X] I would come and listen [ ] I would come and give a talk in the devroom marcel -- Marcel van der Boom -- http://hsdev.com/mvdb.vcf HS-Development BV-- http://www.hsdev.com So! web applications -- http://make-it-so.info Cobra build -- http://cobra.mrblog.nl ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] org-mode breaks buffer indexing in sclang-mode
On Mon, Oct 4, 2010 at 4:42 PM, Carsten Dominik carsten.domi...@gmail.comwrote: Hi James, does this only happen when Org-mode opens the calendar, or also when you use M-x calendar? Ah... I misdiagnosed it. Opening the calendar doesn't cause the problem. It's after choosing the date to insert as a timestamp or schedule/deadline. Then org-mode hides the *Calendar* buffer and it's at that point that the sclang buffers get messed up. (Or maybe it's when the calendar buf inserts the timestamp into the org-mode buffer - those are indistinguishable from the user's point of view.) Couldn't reproduce it with M-x calendar, which doesn't insert a timestamp AFAICS. That tipped me off... so I retested this way: 1. Open scd file (sclang-mode). Run Document.current -- reports a ScelDocument. 2. Open org-mode file. 3. C-c ., then C-g (no timestamp insertion). 4. C-x b to the sclang mode doc. Run Document.current again -- reports a ScelDocument. 5. C-x b to org-mode. C-c . and choose a date. 6. Step 4 again, but now Document.current replies nil. Bingo! So it breaks when clicking on a date in *Calendar* to add the timestamp. hjh -- James Harkins /// dewdrop world jamshar...@dewdrop-world.net http://www.dewdrop-world.net Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal. -- Whitman blog: http://www.dewdrop-world.net/words audio clips: http://www.dewdrop-world.net/audio more audio: http://soundcloud.com/dewdrop_world/tracks ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [PATCH] Compiling multiple times the LaTeX output
As soon as I can, I'll give the patch a test using XeLaTeX as well. It'd be great to have this feature also be able to run xelatex instead of pdflatex to support that toolchain as well (for its better UTF-8 support and OpenType font integration). I expect this to be easy, because as far as I can tell the output/error/warning messages are the same. Scot 2010/10/4 Carsten Dominik carsten.domi...@gmail.com: Hi Sebastian, Thanks for the patch! I would certainly have a better way to process these files. My questions: 1. Can we run bibtex only if we have an indication that it might be needed? Maybe by looking at the output of the first LaTeX run? Hmm, maybe this would not work if only the bibtex database file was changed. 2. The contrill structures you are using, are they standard shell or is bash needed for this? 3. Maybe we can extract a useful error message if the last PDFLaTeX run still contains problems? Maybe even load the log file in this case? Thanks! - Carsten On Oct 1, 2010, at 11:17 PM, Sébastien Vauban wrote: Here is my (much) better proposition: --8---cut here---start-8--- diff --git a/lisp/org-latex.el b/lisp/org-latex.el index 9a62457..0a2c5fe 100644 --- a/lisp/org-latex.el +++ b/lisp/org-latex.el @@ -455,25 +455,35 @@ allowed. The default we use here encompasses both. :group 'org-export-latex :group 'org-export) +(defcustom org-latex-pdf-max-runs 3 + Maximum number of times PDFLaTeX is run after BibTeX. + :group 'org-export-pdf + :type 'int) + (defcustom org-latex-to-pdf-process - '(pdflatex -interaction nonstopmode -output-directory %o %f - pdflatex -interaction nonstopmode -output-directory %o %f) + `(pdflatex -interaction nonstopmode -output-directory %o %f + bibtex %b + ,(concat let COUNTER=0; while (grep -e \Rerun .* cross-references\ %b.log /dev/null); do if [ $COUNTER -eq + (int-to-string org-latex-pdf-max-runs) + ]; then break; fi; pdflatex -interaction nonstopmode -output-directory %o %f; let COUNTER=COUNTER+1; done)) Commands to process a LaTeX file to a PDF file. This is a list of strings, each of them will be given to the shell as a command. %f in the command will be replaced by the full file name, %b by the file base name (i.e. without extension) and %o by the base directory of the file. The reason why this is a list is that it usually takes several runs of -pdflatex, maybe mixed with a call to bibtex. Org does not have a clever -mechanism to detect which of these commands have to be run to get to a stable -result, and it also does not do any error checking. +pdflatex, mixed with a call to bibtex. Org does now have a clever mechanism +to detect how many times the document has to be compiled to get to a stable +result for the cross-references. Moreover, the number of compilations after +bibtex is limited to 3 by default (see `org-latex-pdf-max-runs' for more). +Though, it does not do any error checking. Alternatively, this may be a Lisp function that does the processing, so you could use this to apply the machinery of AUCTeX or the Emacs LaTeX mode. This function should accept the file name as its single argument. :group 'org-export-pdf :type '(choice (repeat :tag Shell command sequence - (string :tag Shell command)) + (string :tag Shell command)) (function))) (defcustom org-export-pdf-logfiles --8---cut here---end---8--- Enhancements: - variable to limit the number of PDFLaTeX runs (3, by default) Though, the way it is evaluated, you need to set it before calling org-latex (before defining org-latex-to-pdf-process). Not a problem, IMHO. Maybe there are better ways, though? - real standard sequence to compile the doc: + one call to PDFLaTeX + one call to BibTeX + as many calls as needed to PDFLaTeX (max 3) Best regards, Seb -- Sébastien Vauban ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] ELPA Howto
Hi Jambunathan, Would you mind re-sending your original Makefile patch un-commented so that it will be captured by the patchwork system, and dropped into the org-mode development review process? Thanks -- Eric Eric Schulte schulte.e...@gmail.com writes: Hi Jambunathan, Jambunathan K kjambunat...@gmail.com writes: Hello Eric Eric Schulte schulte.e...@gmail.com writes: Jambunathan K kjambunat...@gmail.com writes: [...] ELPA Server-side setup: I think we can ignore the server-side setup, since that should be handled by the elpa server at tromney or gnu.org. Is this correct? [...] One could host packages on http://orgmode.org, In that case my notes will serve as a good starting point. Btw hosting the packages (also) on orgmode would give better control and distribution. Oh, that's a great point. How would the maintainers of orgmode.org feel about using it to host packages through ELPA? -- Eric ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Bug: Odd Ido interaction [7.01trans]
At Mon, 4 Oct 2010 10:54:39 +0200, Carsten Dominik wrote: Hi David, well, it can happen that an item shows up multiple ways - if it has been selected by different methods. For example, if your org-refile- targets variable is like this: ((org-agenda-files :level . 1) (org-agenda-files :tag . refile) (nil :maxlevel . 2)) then you could get three instances: 1. it is a level 1 item in any of the agenda items 2. it has the tag refile and is in an agenda file 3. The item you are trying to refile is in the same file as the refile target - in that case, the entry is shown as a headline with level = 2 Looking at your setting for org-refile-targets, this is definitely somehing that could happen to you. I am not sure how cheap it would be to eliminate duplicate entries, this might be an N^2 operation. It is if you use a linear list ;-) A hash table should allow an O(N) solution. In the end, it is not a huge problem, I guess? Probably not. In my case it was purely a configuration mistake. -- Dave Abrahams BoostPro Computing http://www.boostpro.com ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] minted for latex source code export
Hi Dan, I think there are no objections to this patch. Some documentation will be needed, maybe on Work, with a link from the manual? Sebastian, are we mentioning the listing package in the documentation? Thanks - Carsten On Aug 6, 2010, at 3:34 PM, Dan Davison wrote: Seb's nice listings code led me to come across this[1] blog post, describing the latex package minted[2]. I've made a first-pass implementation of org-mode latex export using minted. This didn't take too long because I copied the original work Eric Schulte did on listings. I think that minted may be an improvement over using listings for exporting code from org-mode. This pdf shows an example of export from org-mode http://www.princeton.edu/~ddavison/software/org-minted/minted.pdf My patch is below and in branch minted at http://github.com/dandavison/org-devel. minted does coloured syntax highlighting in ~150 languages. Unlike with the latex listings package, no extra configuration is required to set up the colors and fonts for different language elements. There are other nice features such as displaying latex code in code comments, support for unicode in the code, and (apparently) greater sophistication of the syntax highlighters than the listings package. It uses a python library pygments[3] to do the syntax highlighting, so imposes a requirement on org users. Below is the org source for the pdf, with instructions for installing minted and pygments, and the necessary elisp configuration. Dan --8---cut here---start-8--- #+title: latex export with minted This demonstrates export using the [[http://code.google.com/p/ minted/][minted]] package. minted is a latex package that formats source code with syntax highlighting. It uses the python library [[http://pygments.org/][pygments]] to do the syntax highlighting. The org-mode patch is in branch =minted= at git://github.com/dandavison/org-devel.git. You will also need to get minted.sty, and the python package (see requirements). Then, using the =minted= branch of org-mode, make the elisp customizations in the Org config section. The source code blocks in this file can then be exported to pdf as usual with e.g. C-c C-e d. * Requirements #+begin_src sh # Clone minted hg clone https://minted.googlecode.com/hg/ minted # Install the python syntax highlighter sudo aptitude install python-pygments #+end_src * Org config #+begin_src emacs-lisp :results silent (setq org-export-latex-minted t) (add-to-list 'org-export-latex-packages-alist '( minted)) (setq org-latex-to-pdf-process '(pdflatex --shell-escape -interaction nonstopmode %s)) #+end_src * Example by the minted author #+begin_src csharp string title = This is a Unicode \pi in the sky /* Defined as $\pi=\lim_{n\to\infty}\frac{P_n}{d}$ where $P$ is the perimeter of an $n$-sided regular polygon circumscribing a circle of diameter $d$. */ const double pi = 3.1415926535 #+end_src This example originally demonstrated both unicode strings and \LaTeX \nbsp code in comments. However the unicode \pi in the string isn't working for me at the moment, and I've replaced it with backslash pi. * Sébastian's example #+SRCNAME: srcModifyDB2.sql #+BEGIN_SRC sql :tangle srcModifyDB.sql -- add column `DossierSentToSecteur' (if column does not exist yet) IF NOT EXISTS (SELECT * FROM INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'dossier' AND COLUMN_NAME = 'DossierSentToSecteur') BEGIN ALTER TABLE dossier ADD DossierSentToSecteur smalldatetime NULL END GO #+END_SRC * Python #+begin_src python def tabulate(x): # Return dict containing values and counts vals = sorted(unique(x)) return dict(zip(vals, map(lambda(val): x.count(val), vals))) #+end_src * Notes To list minted language identifiers: #+begin_src sh pygmentize -L lexers #+end_src #+options: toc:nil --8---cut here---end---8--- minted.diff Footnotes: [1] http://stackoverflow.com/questions/1966425/source-code-highlighting-in-latex [2] http://code.google.com/p/minted/ [3] http://pygments.org/ ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Best way to embed an svg file in an exported xhtml page?
On Oct 4, 2010, at 3:30 AM, Eric Schulte wrote: Hi Bryan, I have the following in my config which works for me (add-to-list 'org-export-html-inline-image-extensions svg) I have just made svg a member of the default list of extensions. Cheers - Carsten Best -- Eric Bryan Emrys bryan.em...@gmail.com writes: Hello all, I'm exporting an org page to xhtml and I'm trying to show an svg file in an xhtml page the same way that a png file can be shown. So far, my efforts have only succeeded in getting a link to the svg file on the page. I can hand input object type=image/svg+xml data=/path/to/file/ test1.svg width=300 height=300/object and have it appear (at least in firefox, opera and chromium. (Don't have a copy of IE to test), but obviously I'd rather just have org-mode export it directly. Suggestions? Bryan ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] bug: babel: Export of temporary buffers fails
Hi Eric, On Mon, Oct 4, 2010 at 6:43 PM, Eric Schulte schulte.e...@gmail.com I've just tried exporting an org-mode buffer containing babel code blocks to a temporary file using C-c C-e H, and it worked without problem. Could you send me an example org-mode file that throws the error your described? Have you exported from a temporary buffer? or a buffer visiting a file? To reproduce the error that I get, 1. Switch to scratch buffer (or a new temporary buffer) 2. M-x org-mode to change the mode to Org-mode 3. Yank the following text into it - * Hello World #+begin_src python print Hello, World #+end_src - 4. C-c C-e H You should get the error set-buffer: Wrong type argument: stringp, nil HTH, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Orgmode meetup at FOSDEM, February 2011. Who would come?
On Mon, Oct 4, 2010 at 4:38 AM, Carsten Dominik carsten.domi...@gmail.com wrote: tanks for starting this, it looks pretty good. I also think we should add a section in the 'Comments' field of the form that says why we think Org-mode should get a devroom (or at least a portion of one). It may be helpful to identify approximately how many users are on the mailing list, downloads/month, as well as note that it is included in Emacs so there may be many more. Whoever fills out the form on the website should probably get this information from Carsten before submitting. Still we need someone who says I will organize this. Who will do that? If no one else volunteers, I will. Most importantly, we need to know if any money is involved, including registration fees. I've looked through the website quite a bit, and it is free for all participants. The only additional costs will be hotel accommodations, food, and possibly parking/transportation to get there. It sounds like breakfast and lunch can be purchased on-site, but dinner would be on your own. Perhaps the organizer could find a good place meet for dinner for those who don't have other plans. We need to have the entry form submitted prior to October 16, but the earlier the better is my opinion. On October 23 they announce who was accepted, at which point we should begin formalizing plans for talks, participants, etc. -Richard - Carsten On Sep 29, 2010, at 6:58 PM, Richard Moreland wrote: Based off of [1], we need the following: devroom name, description, and related URLs. For description, they suggest including the room's topic, goals and target projects. Something like: Org-mode is a [some marketing words..]. The Org-mode devroom will include a collection of talks from its author as well as speakers representing various other components of Org-mode. In addition, the group will discuss the direction of Org-mode, identify additional tools that would be useful to surround Org-mode, as well as make a plan for widening its audience and making it more accessible to new users. Some of our proposed talks include: - Org-babel - GTD with Org-mode - Sceintific applications - Sharing Org-mode data with other applications (TaskJuggler, ..?) - Org-mode on the iPhone, Android and Nokia devices - Managing websites with Org-mode (jekyll integration, built-in publishing, etc) - Power user demonstrations/tip sharing - The future of Org-mode Goals: - Expose new and existing Org-mode users to demonstrations/application of features they might not have otherwise discovered - Identify new applications of Org-mode, help users get started using/customizing Org-mode for their domain - Collect members from the Org-mode mailing list in a single place for the first time - Share and refine the direction of Org-mode - Identify how contributors can help with Org-mode development/documentation/etc. - Plan for making Org-mode easier to get started with Related URLs: - http://orgmode.org - http://orgmode.org/worg/ - http://orgmode.org/worg/org-contrib/babel/index.php - http://orgmode.org/worg/org-tutorials/org-screencasts/index.php - http://mobileorg.ncogni.to/ - etc. I'm not sure what 'target projects' could mean in their suggestion for the description. Any ideas? Hope this helps as a start, feel free to scrap it and start over if someone else has a better vision. [1] http://fosdem.org/2011/call_for_devrooms -Richard On Wed, Sep 29, 2010 at 12:10 PM, Carsten Dominik carsten.domi...@gmail.com wrote: I do find the number of people indicating an interest to come encouraging. Is there anyone stepping forward to take charge of getting more information about possible costs etc? More importantly: who will write the proposal, or at least make a start? - Carsten On Sep 29, 2010, at 1:32 PM, Marcel van der Boom wrote: On di 28-sep-2010 19:44 Carsten Dominik carsten.domi...@gmail.com wrote: Please reply to this email if you'd consider to come to FOSDEM[1,2], February 5 and 6 next year in Brussels, in order to join an Org-mode meet-up there. [X] I would come and listen [ ] I would come and give a talk in the devroom marcel -- Marcel van der Boom -- http://hsdev.com/mvdb.vcf HS-Development BV -- http://www.hsdev.com So! web applications -- http://make-it-so.info Cobra build -- http://cobra.mrblog.nl ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] [PATCH] tag input separators
I dont know if it would be generally useful, but a tiny little tweak to tag editing in order to allow , as a seperator when typing in tags via C-c C-q TAB free entry interface. , is certainly easier for me to use but I dont know about the ramifications of it as a legal character in a tag name. --8---cut here---start-8--- Modified lisp/org.el diff --git a/lisp/org.el b/lisp/org.el index 3f24ee8..fa3d364 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -12792,6 +12792,8 @@ With prefix ARG, realign all tags in headings in the current buffer. ;; No boolean logic, just a list (setq tags (replace-match : t t tags + (setq tags (replace-regexp-in-string [ ,] : tags)) + (if org-tags-sort-function (setq tags (mapconcat 'identity (sort (org-split-string tags (org-re [^[:alnum:]...@#%]+)) --8---cut here---end---8--- I replaced space too but that isnt currently allowed anyway. regards r. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists
On Oct 1, 2010, at 3:13 AM, Nathaniel Flath wrote: Carsten, If you think this is acceptable I'll start working on it. Thanks, Nathaniel Flath On Wed, Sep 29, 2010 at 10:46 AM, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Carsten Dominik writes: Or, alternatively, put it in with an option to turn it on (default off, I think). And maybe we should after all limit it to a single character to avoid confusion. Yes, I do realise that I asked for several characters - but I am learning... What will then happen if the user is cycling bullets in a 100+ items list and hits alphabetic bullets? Besides undoing that move, there's nothing much that could be done then. Further cycling would become impossible. I think it would be appropriate in this case to simply throw an error and let the user clean up with undo. One idea would be to count items before cycling, and skipping alphabetic bullets for lists above 26 items. It has to be carefully implemented, as it could get very heavy on computations with large lists. We do not want that I agree. Also, inserting new items in an alphabetical list should check if the 27th item has been reached and change bullets back to numbers if needed. Again we could simply throw an error here and let the user handle the cleanup. I'm sure there are others subtleties that I can't think of right now. Nicolas, would you *object* against a patch by Nathaniel that implements this? You are Mr lists now, so your green light will be needed. Kind regards - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Bug: subtree export fails with src block
This might be the same problem I discussed recently? See this thread: http://thread.gmane.org/gmane.emacs.orgmode/31241/focus=31289 Jörg On 10/4/10 3:48 PM, Eric Schulte wrote: Eric Schulteschulte.e...@gmail.com writes: [...] Giovanni Morettigiova...@reflections.co.nz writes: I'm just starting with Babel and have been puzzled about why one file worked and another didn't. I have been playing in a new file without any headers at all (no lines starting with '*') and while I could execute the code in the buffer, exporting to HTML always failed with: No such file: c:/org/babel-python-test.org:: Hmm, it looks like it's trying to find a file with :: attached to the end which is probably the source of the issue. I wonder if this is a windows specific problem? a-ha, I just noticed that while my test file python.org was exporting w/o problem, it was opening a python.org:: buffer in the process, so maybe the reason this throws errors for you and not for me is just Unix's more permissive file names. I've just pushed up a change to the Babel exporter that will only concat the :: to the end of a file name, where there is actually a heading to following it. Hopefully this will fix the error you described, please let me know if that is not the case. Best -- Eric ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] bug: babel: Export of temporary buffers fails
Ok, Thanks for your persistence in explaining this to me. I've just pushed up a change which should fix this issue. Best -- Eric Puneeth puncha...@gmail.com writes: Hi Eric, On Mon, Oct 4, 2010 at 6:43 PM, Eric Schulte schulte.e...@gmail.com I've just tried exporting an org-mode buffer containing babel code blocks to a temporary file using C-c C-e H, and it worked without problem. Could you send me an example org-mode file that throws the error your described? Have you exported from a temporary buffer? or a buffer visiting a file? To reproduce the error that I get, 1. Switch to scratch buffer (or a new temporary buffer) 2. M-x org-mode to change the mode to Org-mode 3. Yank the following text into it - * Hello World #+begin_src python print Hello, World #+end_src - 4. C-c C-e H You should get the error set-buffer: Wrong type argument: stringp, nil HTH, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Bug: subtree export fails with src block
Similar, I think this thread is also related http://thread.gmane.org/gmane.emacs.orgmode/31312/focus=31392 either way the issue should be fixed in the latest Org-mode. Please let me know if that is not the case. Best -- Eric Jörg Hagmann joerg.hagm...@unibas.ch writes: This might be the same problem I discussed recently? See this thread: http://thread.gmane.org/gmane.emacs.orgmode/31241/focus=31289 Jörg On 10/4/10 3:48 PM, Eric Schulte wrote: Eric Schulteschulte.e...@gmail.com writes: [...] Giovanni Morettigiova...@reflections.co.nz writes: I'm just starting with Babel and have been puzzled about why one file worked and another didn't. I have been playing in a new file without any headers at all (no lines starting with '*') and while I could execute the code in the buffer, exporting to HTML always failed with: No such file: c:/org/babel-python-test.org:: Hmm, it looks like it's trying to find a file with :: attached to the end which is probably the source of the issue. I wonder if this is a windows specific problem? a-ha, I just noticed that while my test file python.org was exporting w/o problem, it was opening a python.org:: buffer in the process, so maybe the reason this throws errors for you and not for me is just Unix's more permissive file names. I've just pushed up a change to the Babel exporter that will only concat the :: to the end of a file name, where there is actually a heading to following it. Hopefully this will fix the error you described, please let me know if that is not the case. Best -- Eric ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] bug: babel: Export of temporary buffers fails
Eric, On Mon, Oct 4, 2010 at 8:09 PM, Eric Schulte schulte.e...@gmail.com wrote: Ok, Thanks for your persistence in explaining this to me. I've just pushed up a change which should fix this issue. Thanks for the fix. :) I had my reasons for being persistent. org2blog [a client for posting to Wordpress from Org-mode] uses temporary buffers when posting subtrees. -- Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Testing --- again...
Hi, So, I've been using the framework in the combined-testing branch this morning writing tests to strap down my daily Babel bug fixes, and I'm really liking ERT. I wonder, can we commit to the combined-testing branch, and if so could we fold it into the master branch? It would make my test driven bug fixing a much smoother process, and would remove the need to rebase the combined-testing branch against master and git push -f the changes up to repo.or.cz which just feels wrong. Thoughts? -- Eric Sebastian Rose sebastian_r...@gmx.de writes: Eric Schulte schulte.e...@gmail.com writes: Hi, I've taken the liberty of merging our two testing branches into the new combined-testing branch. This now includes both ert and jump.el as git submodules, which can be installed with git submodule init git submodule update after checking out the branch. In merging the two org-test.el files, I was able to remove much of the existing code through using which-func, jump.el. The new navigation functionality will work regardless of the directory structure, so tests for file lisp/org-foo.el can be located in either of the following testing/lisp/test-org-foo.el testing/lisp/org-foo.el/test.el Additionally the navigation functions defined in jump.el should be easily extensible to accommodate new naming schemas, so ideally every test author for a particular file can use whatever naming system they prefer. Note that the navigation function `org-test-jump' when called with a prefix argument uses your code from `org-test-edit-buffer-file-tests' to create the test file if it is not already present. I think I retained most of the functionality from your version of org-test.el in the merge but please let me know if I broke something. In my mind this merged version should be small clean and maintainable and hopefully flexible enough to handle whatever needs we identify during the course of writing the tests. How would you feel about using this as the new base of test development? Best -- Eric also I have some inline comments below Hi Eric, that's good news! Sebastian Rose sebastian_r...@gmx.de writes: What does which-func.el that this function does not: #part type=application/emacs-lisp disposition=inline (defun org-test-which-func () Return the name of the current defun. (save-excursion (save-match-data (end-of-line) (beginning-of-defun) (if (looking-at (defun[[:space:]]+\\([^([:space:]]*\\)[[:space:]]*() (match-string-no-properties 1) (error No defun found around point.) #/part ?? I'm not sure that it does include anything new, but it's nice to re-use existing packages. And a dependency. * Keymap We should add keys to the org-mode-map. C-c t is still free here. Or is it in you use it for babel somehow? C-c t f org-test-test-current-function C-c t b org-test-test-current-buffer-file Wouldn't we want the keys in the elisp-mode key map, since we'll be doing the testing work from elisp? Errrmmm, yes, we definetively want the keys in the emacs-lisp key map :) Although I guess we may want to run tests from within Org-mode files, but then we could do that with a Babel block and dump the results to a table. :) Ho ho ho ho ho! * ERT Selectors I see a little namespace problem coming up. Imagine testing org.el. Which ert selector would we use? ^org ??? :-/ Should we create hashes of filenames as selectors (just kidding)? Or use the entire filename ^org.el? The relative path ^lisp/org.el? oh, good point, maybe we'd need to use the eql or tag ert selectors in this case. It's a flaw in Org's namespace actually. A defun's name in org.el could clash with the name of a defun in another file in org-mode/lisp/. The defun `org-imenu-get-tree' in org.el could clash with a defun with that very name in a new file org-imenu.el. I guess we'll have to handle org.el in a special way. If you checkout ert-testing, eval testing/org-test.el and do M-x org-test-edit-buffer-file-tests In the combined-testing branch you'd do this by calling org-test-jump with a prefix argument. Perfect. Every one who saw that directory structure simply asked don't you think it's overkill? :D I'll probably drop that. heh, yea I'd lean towards getting into the writing of tests and then leaving our implementation flexible enough so that we can adopt this more fine-grained directory structure when/if it becomes necessary. Eric, so just let's skip the directory structure. We could always enforce something like that once we feel it's necessary. We just want some reliable way to load the sensible tests (for a defun, file, module or whatever) and execute them with just a key stroke. Adding new tests for an existing elisp file should be just as easy. As jump.el and which-func.el
[Orgmode] [PATCH] there is no sacute; in HTML
Hello. There is no such named entity as sacute;. If you want to be 7bit clean then use #x015b; (or decimal #347;). --8---cut here---start-8--- diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 28157a8..f75cfb4 100644 --- a/lisp/org-exp.el +++ b/lisp/org-exp.el @@ -181,7 +181,7 @@ This option can also be set with the +OPTIONS line, e.g. \-:nil\. (no Forfatter Dato Innhold Fotnoter) (nb Forfatter Dato Innhold Fotnoter) ;; nb = Norsk (bokm.l) (nn Forfattar Dato Innhald Fotnotar) ;; nn = Norsk (nynorsk) -(pl Autor Data Spis tresacute;ci Przypis) +(pl Autor Data Spis tre#x015b;ci Przypis) (sv Fouml;rfattare Datum Inneharing;ll Fotnoter)) Terms used in export text, translated to different languages. Use the variable `org-export-default-language' to set the language, --8---cut here---end---8--- -- Miłego dnia, Łukasz Stelmach ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] bug: babel: Export of temporary buffers fails
Hi Eric, Are you also seeing the problem reported at http://thread.gmane.org/gmane.emacs.orgmode/30855? I checked out the latest git version and that problem still exists. I don't know how closely it is related to the problem in this thread, but it was caused by the same commit (efdf78172d9f7c0070c781d136a9b49a2a56fcc4) -- hoping you can shed some light on this. Thanks! -- Best, Hsiu-Khuern. On Mon, Oct 4, 2010 at 7:39 AM, Eric Schulte schulte.e...@gmail.com wrote: Ok, Thanks for your persistence in explaining this to me. I've just pushed up a change which should fix this issue. Best -- Eric Puneeth puncha...@gmail.com writes: Hi Eric, On Mon, Oct 4, 2010 at 6:43 PM, Eric Schulte schulte.e...@gmail.com I've just tried exporting an org-mode buffer containing babel code blocks to a temporary file using C-c C-e H, and it worked without problem. Could you send me an example org-mode file that throws the error your described? Have you exported from a temporary buffer? or a buffer visiting a file? To reproduce the error that I get, 1. Switch to scratch buffer (or a new temporary buffer) 2. M-x org-mode to change the mode to Org-mode 3. Yank the following text into it - * Hello World #+begin_src python print Hello, World #+end_src - 4. C-c C-e H You should get the error set-buffer: Wrong type argument: stringp, nil HTH, Puneeth ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists
Carsten Dominik writes: I think it would be appropriate in this case to simply throw an error and let the user clean up with undo. Certainly, but this still means that any 27+ items list will never be able to complete a full bullet cycle as the user will have to undo each time alphabetical bullets are reached. It could perhaps start again at letter 'a'... Nicolas, would you *object* against a patch by Nathaniel that implements this? You are Mr lists now, so your green light will be needed. I wouldn't object against it as some people are finding it useful and as it won't be turned on by default (if I remember correctly). But I can't help thinking this could lead to unexpected results in some cases (admittedly less than when alpha bullets could be any size long). Regards, -- Ni^W Mr lists ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] ELPA Howto
Hello Carsten Ji Jambunathan, there is something in your Makefile patch I do not understand: X @@ -325,6 +328,14 @@ distfile: Xzip -r org-$(TAG).zip org-$(TAG) Xgtar zcvf org-$(TAG).tar.gz org-$(TAG) X X +elpa: install-info Why are you saying the elpa is dependent on install-info? So that the 'dir' file is created and info manual is made available to the user. , [ from package.texi ] | If the package has an Info manual, you should distribute the needed | info files, plus a @file{dir} file made with @command{install-info}. | @xref{Invoking install-info, Invoking install-info, Invoking | install-info, texinfo, Texinfo}. ` , [ from package.el ] | ;; Add info node. | (when (file-exists-p (expand-file-name dir pkg-dir)) | ;; FIXME: not the friendliest, but simple. | (require 'info) | (info-initialize) | (push pkg-dir Info-directory-list)) ` I am re-attaching my original patch. Jambunathan K. From 0abd4b5e7fdf740b8b749a57f93da4f59f010606 Mon Sep 17 00:00:00 2001 From: Jambunathan K kjambunat...@gmail.com Date: Thu, 30 Sep 2010 12:10:29 +0530 Subject: [PATCH 2] Add support for elpa archives --- Makefile | 11 +++ 1 files changed, 11 insertions(+), 0 deletions(-) mode change 100644 = 100755 Makefile diff --git a/Makefile b/Makefile old mode 100644 new mode 100755 index 1c1f317..a84b62f --- a/Makefile +++ b/Makefile @@ -53,6 +53,9 @@ CP = cp -p # Name of the program to install info files INSTALL_INFO=install-info + +DOCSTRING = Outline-based notes management and organizer + ##-- ## BELOW THIS LINE ON YOUR OWN RISK! ##-- @@ -325,6 +328,14 @@ distfile: zip -r org-$(TAG).zip org-$(TAG) gtar zcvf org-$(TAG).tar.gz org-$(TAG) +elpa: install-info + $(MKDIR) org-$(TAG) + cp -r $(LISPFILES0) org-$(TAG)/ + cp $(infodir)/dir org-$(TAG) + cp $(INFOFILES) org-$(TAG) + echo (define-package \org\ \$(TAG)\ \$(DOCSTRING)\) org-$(TAG)/org-pkg.el + tar cf org-$(TAG).tar org-$(TAG) --remove-files + makerelease: @if [ X$(TAG) = X ]; then echo *** No tag ***; exit 1; fi ${MAKE} distfile -- 1.7.2.3 - Carsten X + $(MKDIR) org-$(TAG) X + cp -r $(LISPFILES0) org-$(TAG)/ X + cp $(infodir)/dir org-$(TAG) X + cp $(INFOFILES) org-$(TAG) X + echo (define-package \org\ \$(TAG)\ \$(DOCSTRING)\) org-$(TAG)/org-pkg.el X + tar cf org-$(TAG).tar org-$(TAG) --remove-files X + X makerelease: X@if [ X$(TAG) = X ]; then echo *** No tag ***; exit 1; fi X${MAKE} distfile X Jambunathan K. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Quoting formula cookies in table?
I seem to have hit a snag with tables: I didn't find a way to quote any of the special characters that are recognized to make formulas. Tabbing through such cells will create a malformed #+TBLFM: line at the end of the table. I can clean this up no problem, but on export the formulas produce interesting results again. Depending on the content of other cells some lines will be moved out in front of the table. Try HTML subtree export on this test: * Table Test |-+| | unrelated 1 | = | | Test1 | = | | unrelated 2 | = | | Test2 | == | | unrelated 3 | -= | | Test3 | := | | unrelated 4 | = | | Test4 | = | | unrelated 5 | = | | Test5 | == | | unrelated 6 | -= | | Test6 | := | |-+| |-+| | unrelated 1 | = | | Test1 | = | | unrelated 2 | = | | Test2 | == | | unrelated 4 | = | | Test4 | = | | unrelated 5 | = | | Test5 | == | | unrelated 6 | -= | |-+| |-+| | unrelated 1 | XX | | Test1 | = | | unrelated 2 | XX | | Test2 | == | | unrelated 3 | = | | Test3 | := | | unrelated 4 | XX | | Test4 | = | | unrelated 5 | XX | | Test5 | == | | unrelated 6 | XX | | Test6 | := | |-+| So is there a way to quote these special chars in an unobtrusive way that cleanly exports to all backends? If not I'd suggest to have a special table form for text-only tables where these characters aren't special (no, I don't have an idea off-hand what to use - @ in place of the first | maybe? Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] custom postamble in HTML export
Hello. How about moving (org-export-html-insert-plist-item opt-plist :postamble opt-plist) in org-html.el from line 1694 few lines up, just above the closing div of the postamble. IMHO it makes more sense to put custom content into the existing postamble than crating another one. There is usually only one footer per page ;-) -- Miłego dnia, Łukasz Stelmach ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] ELPA Howto
Carsten Dominik carsten.domi...@gmail.com writes: Ji Jambunathan, there is something in your Makefile patch I do not understand: X @@ -325,6 +328,14 @@ distfile: Xzip -r org-$(TAG).zip org-$(TAG) Xgtar zcvf org-$(TAG).tar.gz org-$(TAG) X X +elpa: install-info Why are you saying the elpa is dependent on install-info? It's not dependent on 'install-info' (as a make target) but requires that install-info be run. I was plain lazy to copy the needed lines :-). Jambunathan K. - Carsten X + $(MKDIR) org-$(TAG) X + cp -r $(LISPFILES0) org-$(TAG)/ X + cp $(infodir)/dir org-$(TAG) X + cp $(INFOFILES) org-$(TAG) X + echo (define-package \org\ \$(TAG)\ \$(DOCSTRING)\) org-$(TAG)/org-pkg.el X + tar cf org-$(TAG).tar org-$(TAG) --remove-files X + X makerelease: X@if [ X$(TAG) = X ]; then echo *** No tag ***; exit 1; fi X${MAKE} distfile X Jambunathan K. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Feature Request: Timestamp with repeater interval in Date range
Hello, I have a Feature Request: It would be really great if there was (an easy way) to define a Timestamp with repeating interval but only in a specific time range. For example I want to define a repeating event on every Tuesday between 2010-10-05 and 2011-01-27: 2010-10-05 Tue 09:15-11:00 +1w--2011-01-27 Thu This would be especially useful to manage dates for university courses. Regards, Rüdiger Sonderfeld ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: org-babel: feature-request: allow table-cells to be passed as strings
Hello, This would be such an example. The Input table contains some numbers, the last of them larger than allowed for an integer. As the result table show, the last one is converted to float thereby using some precision. I would like to see them all as strings. with kind regards, Marc-Oliver Ihm #+tblname: numbers | 1 | | 2 | | 12 | | 45 | | 166 | |12567890 | | 23123128237198327938999 | #+begin_src emacs-lisp :var numbers=numbers (mapcar (lambda (line) (let ((number (car line))) (list number (type-of number)) ) ) numbers) #+end_src #+results: | 1 | integer | | 2 | integer | | 12 | integer | | 45 | integer | |166 | integer | | 12567890 | integer | | 2.3123128237198328e+26 | float | Am 04.10.2010 15:30, schrieb Eric Schulte: Hi, Could you send an example of the contents of such a cell, and what it is converted to? Maybe it will be possible to improve the parsing of numerals in Babel s.t. we don't lose precision in these cases. Thanks -- Eric Marc-Oliver Ihm i...@online.de writes: Hello ! Currently org-babel, when passing a table as input to a source-code-block, behaves like this: If the cell looks like a number, it will be converted to an integer or a float. Otherwise the cell-content is passed unconverted as a string. Now, dealing with very large numbers (which I want to process with calc), I found this behavior annoying, because babel converts my large numbers to float, loosing precision in the process. Now my request would be, to have a switch (maybe as a header argument) which would tell babel to pass all cells as unconverted strings. I have checked the documentation and the sources and have not been able to find such a switch. with kind regards, Marc-Oliver Ihm ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: No link found error during export of source block when headline has link
* [[http://www.example.com][example]] There is an other issue with this, let me name it issue2: It is not yet possible to link to such a heading with something like e. g. [[*%5b%5bhttp://www.example.com%5d%5bexample%5d%5d][example]] although I think the syntax is not ambiguous and allows to do this or am I wrong here? CUSTOM_ID could be used in this case but for me it would only be a workaround. I tried to fix issue2 by changing org-link-re-with-space3 but all my trials that solved issue2 introduced new issues with other link types. Can someone please help? Am I on the wrong path with org-link-re-with-space3? ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Agenda sorting strategy
2010/10/1 Sébastien Vauban wxhgmqzgw...@spammotel.com: Get the tasks sorted: - by priority (A, B or C), then - by role (category personal or work), then - by delay +1. I think having some customization over ordering would be very useful. -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Orgmode meetup at FOSDEM, February 2011. Who would come?
Richard Moreland r...@ncogni.to writes: Most importantly, we need to know if any money is involved, including registration fees. I've looked through the website quite a bit, and it is free for all participants. The only additional costs will be hotel accommodations, I can confirm that FOSDEM is completely free, as in free speach and free beer. Speaking of which, there is a traditionnal beer event on Friday evening in Brussels which is quite... interresting to attend ;-) Oh, almost forgot, thanks for Org-mode ! -- Rémi ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] arranging and publishing music with Org-mode and lilypond
Agreed! I've used Lilypond before and it's awesome. It's pretty much as cool as LaTeX in my opinion. Write some text, export and holy crap you've got magically beautiful sheet music! I had not thought of Org-mode integration, but that would indeed be quite nifty. What an exciting perspective! org and lilypond combined together would be ... well, just fantastic! -- Ben ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] Re: Feature Request: Timestamp with repeater interval in Date range
Rüdiger Sonderfeld ruediger at c-plusplus.de writes: Hello, I have a Feature Request: It would be really great if there was (an easy way) to define a Timestamp with repeating interval but only in a specific time range. For example I want to define a repeating event on every Tuesday between 2010-10-05 and 2011-01-27: 2010-10-05 Tue 09:15-11:00 +1w--2011-01-27 Thu This would be especially useful to manage dates for university courses. That's not a bad suggestion for syntax, but it's fairly easy to accomplish what you're looking for already. See How can I schedule a weekly class that lasts for a limited period of time? in the org-FAQ. -- Chris ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
[Orgmode] quotation marks in LaTeX (again)
There's been some talk about quotation marks when exporting to LaTeX, but I've noticed some issues in addition (I think) to those mentioned by others. 'a quote' inside a quote is exported to LaTeX as ``'a quote' inside a quote'' but should be ``\,`a quote' inside a quote'' Similarly, a quote that ends with 'a quote' is exported as ``a quote that ends with `a quote''' but should be ``a quote that ends with `a quote'\,'' Implementing the \enquote solution proposed by Sven Bretfeld would a fix for this, but that would probably have to be optional. So I was working on a regexp fix for this, but then I realized that there's a host of cases where the beginning quote isn't recognized as beginning because there isn't whitespace in front of it, such as when a quote starts a parenthetical (like this). Maybe the solution is to use the list of allowed chars in pre from org-emphasis-regexp-components? Don ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists
Sorry for not following this thread closely. But from what I read, I thought it might be better to have a _command_ to sort existing lists alphabetically? That way, there is nothing that has to be turned on globally, that could intefere with Org mode's syntax. Excuse me, if that's of topic or already discussed. Sebastian ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: [PATCH] Alphabetical ordered lists
I don't think this is what I had in mind. What you suggest seems to apply for bulleted lists, and sorting the titles of those alphabetically. I'm trying to implement lists of the form: a. Item 1 b. Item 2 c. Item 3 That work the same as lists like: 1. Item 1 2. Item 2 3. Item 3 Correct me if I'm misinterpreting you. Thanks, Nathaniel Flath On Mon, Oct 4, 2010 at 5:07 PM, Sebastian Rose sebastian_r...@gmx.de wrote: Sorry for not following this thread closely. But from what I read, I thought it might be better to have a _command_ to sort existing lists alphabetically? That way, there is nothing that has to be turned on globally, that could intefere with Org mode's syntax. Excuse me, if that's of topic or already discussed. Sebastian ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Re: Testing --- again...
Eric Schulte schulte.e...@gmail.com writes: Hi, So, I've been using the framework in the combined-testing branch this morning writing tests to strap down my daily Babel bug fixes, and I'm really liking ERT. I wonder, can we commit to the combined-testing branch, and if so could we fold it into the master branch? It would make my test driven bug fixing a much smoother process, and would remove the need to rebase the combined-testing branch against master and git push -f the changes up to repo.or.cz which just feels wrong. Yes, commit to that branch. And yes, fold it into master, if there are no objections. In the worst case there will be more contributions. Eric, can we keep track with the ERT development for a little while? That will not be done automatically, right? But, as you know, Christian is working on it to get it into Emacs, and we should use the version that finally will make it there. git submodul update Should that be called once to avoid conflicts? Sebastian ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Quoting formula cookies in table?
Hi Achim, On Oct 4, 2010, at 7:46 PM, Achim Gratz wrote: I seem to have hit a snag with tables: I didn't find a way to quote any of the special characters that are recognized to make formulas. Tabbing through such cells will create a malformed #+TBLFM: line at the end of the table. I can clean this up no problem, but on export the formulas produce interesting results again. Depending on the content of other cells some lines will be moved out in front of the table. Try HTML subtree export on this test: * Table Test |-+| | unrelated 1 | = | | Test1 | = | | unrelated 2 | = | | Test2 | == | | unrelated 3 | -= | | Test3 | := | | unrelated 4 | = | | Test4 | = | | unrelated 5 | = | | Test5 | == | | unrelated 6 | -= | | Test6 | := | |-+| The best way to deal with this is: * Table Test |-+--| | unrelated 1 | ~=~ | | Test1 | ~=~ | | unrelated 2 | ~=~ | | Test2 | ~==~ | | unrelated 3 | ~-=~ | | Test3 | ~:=~ | | unrelated 4 | ~=~ | | Test4 | ~=~ | | unrelated 5 | ~=~ | | Test5 | ~==~ | | unrelated 6 | ~-=~ | | Test6 | ~:=~ | |-+--| etc HTH - Carsten |-+| | unrelated 1 | = | | Test1 | = | | unrelated 2 | = | | Test2 | == | | unrelated 4 | = | | Test4 | = | | unrelated 5 | = | | Test5 | == | | unrelated 6 | -= | |-+| |-+| | unrelated 1 | XX | | Test1 | = | | unrelated 2 | XX | | Test2 | == | | unrelated 3 | = | | Test3 | := | | unrelated 4 | XX | | Test4 | = | | unrelated 5 | XX | | Test5 | == | | unrelated 6 | XX | | Test6 | := | |-+| So is there a way to quote these special chars in an unobtrusive way that cleanly exports to all backends? If not I'd suggest to have a special table form for text-only tables where these characters aren't special (no, I don't have an idea off-hand what to use - @ in place of the first | maybe? Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for KORG EX-800 and Poly-800MkII V0.9: http://Synth.Stromeko.net/Downloads.html#KorgSDada ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] custom postamble in HTML export
On Oct 4, 2010, at 7:59 PM, Łukasz Stelmach wrote: Hello. How about moving (org-export-html-insert-plist-item opt-plist :postamble opt-plist) in org-html.el from line 1694 few lines up, just above the closing div of the postamble. IMHO it makes more sense to put custom content into the existing postamble than crating another one. There is usually only one footer per page ;-) :postamble is meant to completely replace the automatic postamble Org creates, so you would normally use it with :auto-postamble nil - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Agenda sorting strategy
On Oct 4, 2010, at 10:44 PM, Jeff Horn wrote: 2010/10/1 Sébastien Vauban wxhgmqzgw...@spammotel.com: Get the tasks sorted: - by priority (A, B or C), then - by role (category personal or work), then - by delay +1. I think having some customization over ordering would be very useful. Well, we have, the variable is org-agenda-sorting-strategy. - Carsten -- Jeffrey Horn Graduate Lecturer and PhD Student in Economics George Mason University (704) 271-4797 jh...@gmu.edu jrhorn...@gmail.com ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Agenda sorting strategy
On Oct 1, 2010, at 10:51 AM, Sébastien Vauban wrote: Hello, Here is a minimal example of problems I experience with the sorting strategy of the agenda. --8---cut here---start-8--- * Appointments ** Technician for washing machine 2010-10-01 Fri I don't know when he will come. He'll call a couple of minutes before coming. ** TV show 2010-10-01 Fri 19:00-20:00 * Task areas ** Work :PROPERTIES: :CATEGORY: Work :END: *** TODO [#A] Reply to mail SCHEDULED: 2010-09-29 Wed *** TODO Work on offer SCHEDULED: 2010-09-30 Thu *** TODO Have the report ready for my boss DEADLINE: 2010-10-08 Fri ** Personal :PROPERTIES: :CATEGORY: Personal :END: *** TODO [#A] Call neighbor SCHEDULED: 2010-09-27 Mon *** TODO Put oil on the outside table SCHEDULED: 2010-09-28 Tue *** TODO Invite some friends SCHEDULED: 2010-10-01 Fri * Agenda sorting strategy ** Objectives Get the tasks sorted: - by priority (A, B or C), then - by role (category personal or work), then - by delay i.e., : Sched: Technician for washing machine :8:00-09:00 : 10:00-11:00 : 12:00-13:00 : 14:00-15:00 : 16:00-17:00 : 18:00-19:00 : Sched: 19:00-20:00 TV show : 20:00-21:00 : 22:00-23:00 : Personal: Sched. 5x: TODO [#A] Call neighbor : Work: Sched. 3x: TODO [#A] Reply to mail : Personal: Sched. 4x: TODO Put oil on the outside table : Personal: Scheduled: TODO Invite some friends : Work: Sched. 2x: TODO Work on offer : Work: In 7 d.: TODO Have the report ready for my boss Note that I would like (well dated but) untimed events (such as The technician will come today) to be just before the day overview. Would it be just after, it's OK as well, but less visible. :8:00-09:00 : 10:00-11:00 : 12:00-13:00 : 14:00-15:00 : 16:00-17:00 : 18:00-19:00 : Sched: 19:00-20:00 TV show : 20:00-21:00 : 22:00-23:00 : Sched: Technician for washing machine : Personal: Sched. 5x: TODO [#A] Call neighbor : Work: Sched. 3x: TODO [#A] Reply to mail : Personal: Sched. 4x: TODO Put oil on the outside table : Personal: Scheduled: TODO Invite some friends : Work: Sched. 2x: TODO Work on offer : Work: In 7 d.: TODO Have the report ready for my boss But, anyway, I cannot get any of these! What is important to see as well is that all my A tasks are at the top of the list (sorted by category: first Personal, then Work), then all my B tasks (sorted by category: first Personal, then Work). ** Default value #+begin_src emacs-lisp (setq org-agenda-sorting-strategy '((agenda habit-down time-up priority-down category-keep) (todo priority-down category-keep) (tags priority-down category-keep) (search category-keep))) #+end_src #+results: :8:00-09:00 : 10:00-11:00 : 12:00-13:00 : 14:00-15:00 : 16:00-17:00 : 18:00-19:00 : Sched: 19:00-20:00 TV show : 20:00-21:00 : 22:00-23:00 : Personal: Sched. 5x: TODO [#A] Call neighbor : Work: Sched. 3x: TODO [#A] Reply to mail : Personal: Sched. 4x: TODO Put oil on the outside table : Work: Sched. 2x: TODO Work on offer : Personal: Scheduled: TODO Invite some friends : Sched: Technician for washing machine : Work: In 7 d.: TODO Have the report ready for my boss ** Custom value #+begin_src emacs-lisp (setq org-agenda-sorting-strategy '((agenda priority-down category-up time-up) (todo priority-down category-keep) (tags priority-down category-keep) (search category-keep))) #+end_src #+results: : Personal: Sched. 5x: TODO [#A] Call neighbor : Work: Sched. 3x: TODO [#A] Reply to mail : Personal: Sched. 4x: TODO Put oil on the outside table : Work: Sched. 2x: TODO Work on offer : Personal: Scheduled: TODO Invite some friends : Sched: 19:00-20:00 TV show : Sched: Technician for washing machine : Work: In 7 d.: TODO Have the report ready for my boss :8:00-09:00 : 10:00-11:00 : 12:00-13:00 : 14:00-15:00 : 16:00-17:00 : 18:00-19:00 : 20:00-21:00 : 22:00-23:00 Observations: - for equivalent priorities (B), *tasks are not sorted by category* (?): +
Re: [Orgmode] ELPA Howto
On Oct 4, 2010, at 8:23 PM, Jambunathan K wrote: Carsten Dominik carsten.domi...@gmail.com writes: Ji Jambunathan, there is something in your Makefile patch I do not understand: X @@ -325,6 +328,14 @@ distfile: X zip -r org-$(TAG).zip org-$(TAG) X gtar zcvf org-$(TAG).tar.gz org-$(TAG) X X +elpa:install-info Why are you saying the elpa is dependent on install-info? It's not dependent on 'install-info' (as a make target) but requires that install-info be run. I simple do not understand. I believe install-info is used to add lines to the main dir file for info somewhere on the system. I think (but I am not sure) the package only needs to contain the doc/dir file that is present in the org git repo. There is no need to create this file. What am I missing? - Carsten I was plain lazy to copy the needed lines :-). Jambunathan K. - Carsten X + $(MKDIR) org-$(TAG) X + cp -r $(LISPFILES0) org-$(TAG)/ X + cp $(infodir)/dir org-$(TAG) X + cp $(INFOFILES) org-$(TAG) X + echo (define-package \org\ \$(TAG)\ \$(DOCSTRING)\) org-$(TAG)/org-pkg.el X + tar cf org-$(TAG).tar org-$(TAG) --remove-files X + X makerelease: X @if [ X$(TAG) = X ]; then echo *** No tag ***; exit 1; fi X ${MAKE} distfile X Jambunathan K. ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode
Re: [Orgmode] Agenda sorting strategy
org-agenda-cmp-user-defined + org-entry-get = solution. On 2010-10-04, Carsten Dominik carsten.domi...@gmail.com wrote: On Oct 1, 2010, at 10:51 AM, Sébastien Vauban wrote: Hello, Here is a minimal example of problems I experience with the sorting strategy of the agenda. --8---cut here---start-8--- * Appointments ** Technician for washing machine 2010-10-01 Fri I don't know when he will come. He'll call a couple of minutes before coming. ** TV show 2010-10-01 Fri 19:00-20:00 * Task areas ** Work :PROPERTIES: :CATEGORY: Work :END: *** TODO [#A] Reply to mail SCHEDULED: 2010-09-29 Wed *** TODO Work on offer SCHEDULED: 2010-09-30 Thu *** TODO Have the report ready for my boss DEADLINE: 2010-10-08 Fri ** Personal :PROPERTIES: :CATEGORY: Personal :END: *** TODO [#A] Call neighbor SCHEDULED: 2010-09-27 Mon *** TODO Put oil on the outside table SCHEDULED: 2010-09-28 Tue *** TODO Invite some friends SCHEDULED: 2010-10-01 Fri * Agenda sorting strategy ** Objectives Get the tasks sorted: - by priority (A, B or C), then - by role (category personal or work), then - by delay i.e., : Sched: Technician for washing machine :8:00-09:00 : 10:00-11:00 : 12:00-13:00 : 14:00-15:00 : 16:00-17:00 : 18:00-19:00 : Sched: 19:00-20:00 TV show : 20:00-21:00 : 22:00-23:00 : Personal: Sched. 5x: TODO [#A] Call neighbor : Work: Sched. 3x: TODO [#A] Reply to mail : Personal: Sched. 4x: TODO Put oil on the outside table : Personal: Scheduled: TODO Invite some friends : Work: Sched. 2x: TODO Work on offer : Work: In 7 d.: TODO Have the report ready for my boss Note that I would like (well dated but) untimed events (such as The technician will come today) to be just before the day overview. Would it be just after, it's OK as well, but less visible. :8:00-09:00 : 10:00-11:00 : 12:00-13:00 : 14:00-15:00 : 16:00-17:00 : 18:00-19:00 : Sched: 19:00-20:00 TV show : 20:00-21:00 : 22:00-23:00 : Sched: Technician for washing machine : Personal: Sched. 5x: TODO [#A] Call neighbor : Work: Sched. 3x: TODO [#A] Reply to mail : Personal: Sched. 4x: TODO Put oil on the outside table : Personal: Scheduled: TODO Invite some friends : Work: Sched. 2x: TODO Work on offer : Work: In 7 d.: TODO Have the report ready for my boss But, anyway, I cannot get any of these! What is important to see as well is that all my A tasks are at the top of the list (sorted by category: first Personal, then Work), then all my B tasks (sorted by category: first Personal, then Work). ** Default value #+begin_src emacs-lisp (setq org-agenda-sorting-strategy '((agenda habit-down time-up priority-down category-keep) (todo priority-down category-keep) (tags priority-down category-keep) (search category-keep))) #+end_src #+results: :8:00-09:00 : 10:00-11:00 : 12:00-13:00 : 14:00-15:00 : 16:00-17:00 : 18:00-19:00 : Sched: 19:00-20:00 TV show : 20:00-21:00 : 22:00-23:00 : Personal: Sched. 5x: TODO [#A] Call neighbor : Work: Sched. 3x: TODO [#A] Reply to mail : Personal: Sched. 4x: TODO Put oil on the outside table : Work: Sched. 2x: TODO Work on offer : Personal: Scheduled: TODO Invite some friends : Sched: Technician for washing machine : Work: In 7 d.: TODO Have the report ready for my boss ** Custom value #+begin_src emacs-lisp (setq org-agenda-sorting-strategy '((agenda priority-down category-up time-up) (todo priority-down category-keep) (tags priority-down category-keep) (search category-keep))) #+end_src #+results: : Personal: Sched. 5x: TODO [#A] Call neighbor : Work: Sched. 3x: TODO [#A] Reply to mail : Personal: Sched. 4x: TODO Put oil on the outside table : Work: Sched. 2x: TODO Work on offer : Personal: Scheduled: TODO Invite some friends : Sched: 19:00-20:00 TV show : Sched: Technician for washing machine : Work: In 7 d.: TODO Have the report ready for my boss :8:00-09:00 : 10:00-11:00 : 12:00-13:00 : 14:00-15:00 :
[Orgmode] Exporting to html doesn't highlight code syntax. And a make doc error
I've tried to export a code block like this: --8---cut here---start-8--- #+BEGIN_SRC python L[1:2] = 'a' # L.insert(1, 'a') L[len(L):] = ['a', 'b', 'c'] # L.extend(['a', 'b', 'c']) L[3:] = [] # del L[3:] #+END_SRC --8---cut here---end---8--- The result html doesn't highlight the code. Instead it gives me: --8---cut here---start-8--- pre class=example L[1:2] = 'a' # L.insert(1, 'a') L[len(L):] = ['a', 'b', 'c'] # L.extend(['a', 'b', 'c']) L[3:] = [] # del L[3:] /pre --8---cut here---end---8--- And I have not changed any option related to org-babel or the exporting function. So how can I make the syntax highlighting work for exporting to html? And there is another problem when I tried to 'make doc'. It says: --8---cut here---start-8--- This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) %-line parsing enabled. entering extended mode (./orgcard.tex (./pdflayout.sty ! I can't find file `ifpdf.sty'. l.24 \input ifpdf.sty (Press Enter to retry, or Control-D to exit) Please type another input file name: --8---cut here---end---8--- ___ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode