Re: [O] ConTeXt export

2012-03-03 Thread Sebastien Vauban
Hi Markus, Markus Grebenstein wrote: Since the name of ConTeXt makes it almost impossible to search for that topic I'd like to ask you: Is there an ConTeXt exporter (planned??). I am getting more and more fed up with all the package trouble... I guess it's just a question of modifying some

Re: [O] ConTeXt export

2012-03-03 Thread Nick Dokos
Sebastien Vauban wxhgmqzgw...@spammotel.com wrote: Hi Markus, Markus Grebenstein wrote: Since the name of ConTeXt makes it almost impossible to search for that topic I'd like to ask you: Is there an ConTeXt exporter (planned??). I am getting more and more fed up with all the

Re: [O] Is it possible to run shell script src blocks as root or to export individual blocks?

2012-03-03 Thread Nick Dokos
Leo Alekseyev dnqu...@gmail.com wrote: I was wondering if there was an easy way to execute some shell commands contained in a src block as root. Alternatively, is there a quick way to export _just_ that one source block to a temp file so that I could run it as root manually? You could set

[O] org-babel-execute-src-block deletes its src block.

2012-03-03 Thread Daimrod
Hi, I've recently switched from Org 7.4 to the master branch on the git repository, and I've encountered this weird situation. #+name: foo #+begin_src emacs-lisp (defun foo () 42) (foo) #+end_src emacs-lisp If I evaluate this block I get: #+name: foo =42 =emacs-lisp

Re: [O] org-babel-execute-src-block deletes its src block.

2012-03-03 Thread Nick Dokos
Daimrod daim...@gmail.com wrote: Hi, I've recently switched from Org 7.4 to the master branch on the git repository, and I've encountered this weird situation. #+name: foo #+begin_src emacs-lisp (defun foo () 42) (foo) #+end_src emacs-lisp If I evaluate this

Re: [O] org-babel-execute-src-block deletes its src block.

2012-03-03 Thread Daimrod
Nick Dokos nicholas.do...@hp.com writes: Daimrod daim...@gmail.com wrote: Hi, I've recently switched from Org 7.4 to the master branch on the git repository, and I've encountered this weird situation. #+name: foo #+begin_src emacs-lisp (defun foo () 42) (foo)

Re: [O] Selectively export RESULTS

2012-03-03 Thread Sebastien Vauban
Hi Eric, Eric Schulte wrote: especially once I realized that the Property has to be set when the buffer is loaded. You can also press C-c C-c on the #+Property line to apply it's effects. Everybody seems to get bitten by this at least once. Would there be a possibility to avoid this extra

[O] How to fontify text within a table with elisp ?

2012-03-03 Thread Marc-Oliver Ihm
Hello, I would like to insert some fontified text into an org-buffer; this works, as long as I am not within a table. If you run this example within an org-mode buffer: (insert (org-add-props \n\nOutside table\n\n|Inside table|\n '(font-lock-face highlight))) the first line (Outside table)

Re: [O] Is it possible to run shell script src blocks as root or to export individual blocks?

2012-03-03 Thread Eric Schulte
Leo Alekseyev dnqu...@gmail.com writes: I was wondering if there was an easy way to execute some shell commands contained in a src block as root. Alternatively, is there a quick way to export _just_ that one source block to a temp file so that I could run it as root manually? Just call

Re: [O] org-babel-execute-src-block deletes its src block.

2012-03-03 Thread Eric Schulte
Nick Dokos nicholas.do...@hp.com writes: Daimrod daim...@gmail.com wrote: Hi, I've recently switched from Org 7.4 to the master branch on the git repository, and I've encountered this weird situation. #+name: foo #+begin_src emacs-lisp (defun foo () 42) (foo)

Re: [O] Selectively export RESULTS

2012-03-03 Thread Achim Gratz
Sebastien Vauban writes: You can also press C-c C-c on the #+Property line to apply it's effects. Everybody seems to get bitten by this at least once. Would there be a possibility to avoid this extra step for the user, and have such parameters automagically taken into account, without user

Re: [O] org-babel-execute-src-block deletes its src block.

2012-03-03 Thread Daimrod
Eric Schulte eric.schu...@gmx.com writes: Nick Dokos nicholas.do...@hp.com writes: Daimrod daim...@gmail.com wrote: Hi, I've recently switched from Org 7.4 to the master branch on the git repository, and I've encountered this weird situation. #+name: foo #+begin_src emacs-lisp

Re: [O] [BABEL] Redirect stderr to stdout?

2012-03-03 Thread Viktor Rosenfeld
Hi Eric, Eric Schulte wrote: Viktor Rosenfeld listuse...@googlemail.com writes: Hi Eric, Eric Schulte wrote: Currently the only action Babel takes with STDERR is to display it in a pop-up buffer when code block evaluation fails. On my system (OS X) the buffer does not popup.

[O] Archiving only with confirmation

2012-03-03 Thread Markus Grebenstein
Dear List, from time to time I involuntarily archive parts of my thesis when I want to save (it happens when I mess up the saving keys). Since I recognized this a couple of days or even weeks later this makes recovering complicated. Therefore I would love to have the possibility to be asked

Re: [O] ConTeXt export

2012-03-03 Thread David Rogers
Nick Dokos nicholas.do...@hp.com writes: Can ConTeXt handle a LaTeX program? No it can't, not that I'm aware of anyway. While both LaTeX and ConTeXt inherit from plain TeX, and therefore look somewhat similar cosmetically, they don't work the same. (e.g. ConTeXt does not use LaTeX

Re: [O] Agenda TODO sorting by date

2012-03-03 Thread James Harkins
At Fri, 02 Mar 2012 21:48:42 -0500, Bernt Hansen wrote: You could write a custom sorting function that parses out the date from the heading and compares them. There may be a better way to do this that I'm not aware of for this. Set this function up in org-agenda-cmp-user-defined and

Re: [O] Agenda TODO sorting by date

2012-03-03 Thread Alan E. Davis
I am definitely not a programmer, and for sure not the one who could guide you on writing a sort function. HOWEVER, emacs has a really nice facility for doing so, if you decide you want to try that. I had to write a program to alphabetize a lexical list in Chuukese, in an arbitrary order other

Re: [O] Is it possible to run shell script src blocks as root or to export individual blocks?

2012-03-03 Thread Andreas Leha
Eric Schulte eric.schu...@gmx.com writes: Leo Alekseyev dnqu...@gmail.com writes: I was wondering if there was an easy way to execute some shell commands contained in a src block as root. Alternatively, is there a quick way to export _just_ that one source block to a temp file so that I

Re: [O] [Bug] Tests for experimental org-features should expect to fail if not activated by the user

2012-03-03 Thread Achim Gratz
Achim Gratz strom...@nexgo.de writes: It all works now when adding testing/ to the load path. I'll add this to the default configuration in my Makefile fork. I've improved the test invocation in my Makefile fork. It now starts from a clean Emacs invocation withoutsite startup and loads the

Re: [O] Export to multiple HTML files?

2012-03-03 Thread Sean O'Halpin
On Mon, Feb 27, 2012 at 5:19 PM, Avdi Grimm gro...@inbox.avdi.org wrote: Is there a way to export a single Org file to a bunch of HTML files, one for each heading of a given level? E.g. the way the Org manual is presented at http://orgmode.org/manual ? (yes, I realize that's Info not

Re: [O] [Bug] Tests for experimental org-features should expect to fail if not activated by the user

2012-03-03 Thread Achim Gratz
Two test failures in current HEAD: --8---cut here---start-8--- Test test-org-footnote/normalize-outside-org backtrace: org-footnote-in-valid-context-p() org-footnote-at-reference-p() byte-code(\20\304\202 \305\n\306#\204\307\310\311\\21\20

Re: [O] Archiving only with confirmation

2012-03-03 Thread cberry
Markus Grebenstein p...@mgrebenstein.de writes: Dear List, from time to time I involuntarily archive parts of my thesis when I want to save (it happens when I mess up the saving keys). Since I recognized this a couple of days or even weeks later this makes recovering complicated.

[O] Japanese strings for Org-mode export

2012-03-03 Thread Hideki Saito
Hello, I would like to submit a patch adding Japanese text string for export. The following adds Japanese strings for Author Date Table of Contents and Footnotes Thank you. Hideki Saito hide...@gmail.com diff --git a/lisp/org-exp.el b/lisp/org-exp.el index 174619a..43c54b5 100644 ---

Re: [O] Japanese strings for Org-mode export

2012-03-03 Thread Hideki Saito
I think Gmail did bad to the patch snippet. Obviously, I haven't done much of patch contributions :-) I've attached one, or you can refer to: https://gist.github.com/1964802 Thank you. Hideki Saito hide...@gmail.com On Fri, Mar 2, 2012 at 5:55 PM, Hideki Saito hide...@gmail.com wrote: diff

Re: [O] Archiving only with confirmation

2012-03-03 Thread Marc-Oliver Ihm
Am 03.03.2012 16:54, schrieb Markus Grebenstein: Dear List, from time to time I involuntarily archive parts of my thesis when I want to save (it happens when I mess up the saving keys). Since I recognized this a couple of days or even weeks later this makes recovering complicated. Therefore

[O] org-mode as an accountability system?

2012-03-03 Thread Peter Salazar
I have an accountability partner with whom I exchange daily committed actions. Every morning, I e-mail him a list of the tasks I commit to completing that day. When I complete a task, I mark it DONE. If I don't complete a task that day, I mark it @didnotdo and manually cut and paste it to the

Re: [O] org-mode as an accountability system?

2012-03-03 Thread Thorsten
Peter Salazar cycleofs...@gmail.com writes: Hi Peter, without claiming being an expert org-mode user, I had the following thoughts when reading your post: I have an accountability partner with whom I exchange daily committed actions. Every morning, I e-mail him a list of the tasks I commit

Re: [O] Agenda TODO sorting by date

2012-03-03 Thread Bernt Hansen
James Harkins jamshar...@gmail.com writes: At Fri, 02 Mar 2012 21:48:42 -0500, Bernt Hansen wrote: You could write a custom sorting function that parses out the date from the heading and compares them. There may be a better way to do this that I'm not aware of for this. Set this function

Re: [O] org-mode as an accountability system?

2012-03-03 Thread Peter Salazar
Hi Thorsten, Thanks for the thoughts. Clarification: I send my accountability partner a summary of MY committed actions for the day for him to review. We dont' collaborate, and he does not touch or change my tasks. (Although he does send me a list of his own tasks, and how well he did each day.)

Re: [O] Export to multiple HTML files?

2012-03-03 Thread Christian Moe
On Mon, Feb 27, 2012 at 5:19 PM, Avdi Grimmgro...@inbox.avdi.org wrote: Is there a way to export a single Org file to a bunch of HTML files, one for each heading of a given level? E.g. the way the Org manual is presented at http://orgmode.org/manual ? (yes, I realize that's Info not

Re: [O] Bug: Org-mode don't export to html footnotes references inside footnotes as such. [7.8.03]

2012-03-03 Thread Jambunathan K
Nicolas Goaziou n.goaz...@gmail.com writes: Hello, oitofe...@gmail.com (Bruno Félix Rezende Ribeiro) writes: Consider the following org code: -- This is only a text.[1] [1] This is a text body's footnote.[2] [2] This is a footnote's footnote. -- When org-mode exports this code to

Re: [O] org-mode as an accountability system?

2012-03-03 Thread John Hendy
On Sat, Mar 3, 2012 at 1:18 PM, Peter Salazar cycleofs...@gmail.com wrote: Hi Thorsten, Thanks for the thoughts. Clarification: I send my accountability partner a summary of MY committed actions for the day for him to review. We dont' collaborate, and he does not touch or change my tasks.

Re: [O] Export to multiple HTML files?

2012-03-03 Thread Nicolas Goaziou
Hello, Christian Moe m...@christianmoe.com writes: On Mon, Feb 27, 2012 at 5:19 PM, Avdi Grimmgro...@inbox.avdi.org wrote: Is there a way to export a single Org file to a bunch of HTML files, one for each heading of a given level? E.g. the way the Org manual is presented at

Re: [O] Bug: Org-mode don't export to html footnotes references inside footnotes as such. [7.8.03]

2012-03-03 Thread Nicolas Goaziou
Hello, Jambunathan K kjambunat...@gmail.com writes: Nicolas Goaziou n.goaz...@gmail.com writes: Hello, oitofe...@gmail.com (Bruno Félix Rezende Ribeiro) writes: Consider the following org code: -- This is only a text.[1] [1] This is a text body's footnote.[2] [2] This is a

Re: [O] [Bug] Tests for experimental org-features should expect to fail if not activated by the user

2012-03-03 Thread Nicolas Goaziou
Hello, Achim Gratz strom...@nexgo.de writes: Two test failures in current HEAD: I cannot reproduce any of them, interactively or in batch mode[1]. I'm not sure where they could come from. Regards, [1] Though, I have 8 unexpected failures there, but not related to those described here. --

Re: [O] [Bug] Tests for experimental org-features should expect to fail if not activated by the user

2012-03-03 Thread Sebastien Vauban
Hello Achim, Achim Gratz wrote: Two test failures in current HEAD: Test test-org-footnote/normalize-outside-org backtrace: org-footnote-in-valid-context-p() [...] normal-top-level() Test test-org-footnote/normalize-outside-org condition: (void-variable

Re: [O] Selectively export RESULTS

2012-03-03 Thread Sebastien Vauban
Hi Achim, Achim Gratz wrote: Sebastien Vauban writes: You can also press C-c C-c on the #+Property line to apply it's effects. Everybody seems to get bitten by this at least once. Would there be a possibility to avoid this extra step for the user, and have such parameters automagically

Re: [O] Participating in Google Summer of Code 2012

2012-03-03 Thread Rasmus
Here are some ideas, which are maybe more from a user point of view. * Tables (babel) I would love to see work on making table work easy for non-programers; that is perhaps making babel 'easier' to use for common task. For text table I often have tasks that should be applied to say every other

Re: [O] Agenda TODO sorting by date

2012-03-03 Thread James Harkins
At Sat, 3 Mar 2012 08:38:32 -0800, Alan E. Davis wrote: I am definitely not a programmer, and for sure not the one who could guide you on writing a sort function.  HOWEVER, emacs has a really nice facility for doing so, if you decide you want to try that.  I had to write a program to

Re: [O] ConTeXt export

2012-03-03 Thread suvayu ali
On Sat, Mar 3, 2012 at 17:07, David Rogers davidandrewrog...@gmail.com wrote: Nick Dokos nicholas.do...@hp.com writes: Can ConTeXt handle a LaTeX program? No it can't, not that I'm aware of anyway. While both LaTeX and ConTeXt inherit from plain TeX, and therefore look somewhat similar

Re: [O] Agenda TODO sorting by date

2012-03-03 Thread James Harkins
At Sat, 03 Mar 2012 14:03:05 -0500, Bernt Hansen wrote: I think this works --8---cut here---start-8--- (defun bh/agenda-sort-by-heading-date (a b) Sorting strategy for agenda items. Late deadlines first, then scheduled, then non-late deadlines .

Re: [O] Agenda TODO sorting by date

2012-03-03 Thread Bernt Hansen
James Harkins jamshar...@gmail.com writes: At Sat, 03 Mar 2012 14:03:05 -0500, Bernt Hansen wrote: I think this works --8---cut here---start-8--- (defun bh/agenda-sort-by-heading-date (a b) Sorting strategy for agenda items. Late deadlines first,

[O] C-c a t doesn't give yield list of all TODO items

2012-03-03 Thread Christopher W. Ryan
I'm running GNU Emacs 23.1.1 (i486-pc-linux-gnu, GTK+ Version 2.20.1) of 2011-03-04 on palmer, modified by Debian, on Ubuntu 10.04 LTS. Org-mode version 7.6. The online Org-mode manual reads: 10.3.2 The global TODO list The global TODO list contains all unfinished TODO items formatted and

Re: [O] Japanese strings for Org-mode export

2012-03-03 Thread Takaaki ISHIKAWA
Dear Saito-san, I've tried to compile your patch with the latest org-mode. I got an error message: Error: Invalid character: 33879, #o102127, #x8457 I can apply the following line directly under UTF-8 env.: (ja 著者 日付 目次 脚注) Emacs 23.4 (nextstep) Org-version 7.8.03 Could you give me

Re: [O] Japanese strings for Org-mode export

2012-03-03 Thread Hideki Saito
Ishikawa-san, I've had that problem when I tried to do make' on Mac OS X, which I realized it was compiling in obsolete version of emacs. (like emacs 22) I believe it was happening when (require 'org-exp.el) In fact, I did see this would work if UTF-8ed in your example even in the above

Re: [O] Japanese strings for Org-mode export

2012-03-03 Thread Takaaki ISHIKAWA
Dear Saito-san, Thank you for comment. You mean OSX+emacs23 users cannot compile using the patch, right? (Or something wrong with me...) And I can compile it in SuSE Linux :-) Best regards, Takaaki Ishikawa On 2012/03/04, at 14:37, Hideki Saito wrote: Ishikawa-san, I've had that problem when

Re: [O] Japanese strings for Org-mode export

2012-03-03 Thread Hideki Saito
Hello Ishikiawa-san It is OSX at work, and it's still on Snow Leopard -- I haven't updated the console version of it, so I will have to check to see which version was it. It is now sound like to me that the way I've done on the patch is platform dependent at best -- which is strange as this

Re: [O] Agenda TODO sorting by date

2012-03-03 Thread James Harkins
At Sat, 03 Mar 2012 23:31:47 -0500, Bernt Hansen wrote: (defun bh/agenda-sort-by-heading-date (a b) Sorting strategy for agenda items. Late deadlines first, then scheduled, then non-late deadlines Oops... this description is all wrong - since I gutted my existing sorting function to

Re: [O] Japanese strings for Org-mode export

2012-03-03 Thread Hideki Saito
The attached is alternative of the patch using utf-8 encoding. Hideki Saito hide...@gmail.com On Sat, Mar 3, 2012 at 10:26 PM, Hideki Saito hide...@gmail.com wrote: Hello Ishikiawa-san It is OSX at work, and it's still on Snow Leopard -- I haven't updated the console version of it, so I

Re: [O] Export to multiple HTML files?

2012-03-03 Thread Christian Moe
On 3/3/12 9:28 PM, Nicolas Goaziou wrote: (...) Christian Moem...@christianmoe.com writes: On Mon, Feb 27, 2012 at 5:19 PM, Avdi Grimmgro...@inbox.avdi.org wrote: Is there a way to export a single Org file to a bunch of HTML files, one for each heading of a given level? (...) I don't