Re: [O] Source block processing changes

2012-11-06 Thread Sebastien Vauban
Hi Ista and Nicolas, Ista Zahn wrote: On Mon, Nov 5, 2012 at 12:25 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: Ista Zahn istaz...@gmail.com writes: The only way I can get the headlines and tables to be exported properly is to set ':results raw', but then I get duplicate results every

Re: [O] [PATCH] Separate clocksum format for durations = 1 day

2012-11-06 Thread Toby Cubitt
On Mon, Nov 05, 2012 at 11:45:24PM +0100, Nicolas Goaziou wrote: Toby Cubitt ts...@cantab.net writes: This is not far from your own suggestion to provide different functions depending on which output is desired, I just happen to think that these functions would all be so similar that they

Re: [O] [PATCH] Separate clocksum format for durations = 1 day

2012-11-06 Thread Nicolas Goaziou
Toby Cubitt ts...@cantab.net writes: I still think functions are the way to go. Three options in the defcustom: - One to provide regular time (i.e 14:40 or 3d 18:32) - One to provide decimal time with the highest unit available (i.e. 18,75 h or 2,5 d). - One free slot for an

[O] [PATCH] Make org-notify.el work with latest org-element.el

2012-11-06 Thread Peter Münster
* contrib/lisp/org-notify.el (org-notify-convert-deadline): New function. (org-notify-make-todo): Use that function. --- contrib/lisp/org-notify.el | 11 ++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/contrib/lisp/org-notify.el b/contrib/lisp/org-notify.el index

Re: [O] [PATCH] Separate clocksum format for durations = 1 day

2012-11-06 Thread Toby Cubitt
On Tue, Nov 06, 2012 at 11:57:25AM +0100, Nicolas Goaziou wrote: Toby Cubitt ts...@cantab.net writes: I still think functions are the way to go. Three options in the defcustom: - One to provide regular time (i.e 14:40 or 3d 18:32) - One to provide decimal time with the highest

[O] [PATCH] Make org-[beginning|end]-of-line respect visual-line-mode

2012-11-06 Thread Toby Cubitt
Subject line and commit message says it all. Toby -- Dr T. S. Cubitt Mathematics and Quantum Information group Department of Mathematics Complutense University Madrid, Spain email: ts...@cantab.net web: www.dr-qubit.org From bca045ffd27d41630c52a67390767cd622544bb9 Mon Sep 17 00:00:00 2001

Re: [O] [PATCH] Separate clocksum format for durations = 1 day

2012-11-06 Thread Nicolas Goaziou
Toby Cubitt ts...@cantab.net writes: How do I produce the format 5 h 32 min with your defcustom, without requiring the user to define their own function? (Assuming that 'regular produces the current default 5:32 format.) Why without defining their own function? My proposal was to use

Re: [O] [PATCH] Make org-[beginning|end]-of-line respect visual-line-mode

2012-11-06 Thread Nicolas Goaziou
Hello, Toby Cubitt ts...@cantab.net writes: Subject line and commit message says it all. `org-end-of-line' has been patched already. Is there a bug in `org-beginning-of-line'? Regards, -- Nicolas Goaziou

Re: [O] [PATCH] Make org-[beginning|end]-of-line respect visual-line-mode

2012-11-06 Thread Toby Cubitt
On Tue, Nov 06, 2012 at 01:31:41PM +0100, Nicolas Goaziou wrote: Toby Cubitt ts...@cantab.net writes: Subject line and commit message says it all. `org-end-of-line' has been patched already. Is there a bug in `org-beginning-of-line'? I forgot to pull and rebase before posting, so missed

Re: [O] [PATCH] Separate clocksum format for durations = 1 day

2012-11-06 Thread Toby Cubitt
On Tue, Nov 06, 2012 at 01:29:02PM +0100, Nicolas Goaziou wrote: Toby Cubitt ts...@cantab.net writes: How do I produce the format 5 h 32 min with your defcustom, without requiring the user to define their own function? (Assuming that 'regular produces the current default 5:32 format.)

Re: [O] Source block processing changes

2012-11-06 Thread Eric Schulte
Ista Zahn istaz...@gmail.com writes: Hi all, I've been silently suffering since the changes to source block processing announced at the end of September[1]. I had been using (abusing?) ':results org' to write results that would be processed as orgmode syntax and exported to both latex and

[O] BUG ? [new exporter HTML] subtree: Headlines numbering

2012-11-06 Thread Giovanni Ridolfi
Hello everybody, Org-mode version 7.9.2 (a99402fac GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN When I try to HTML export the whole file the result is as expected. When I try to HTML export *a subtree* with the new exporter the exporter does not complain with what I set

[O] BUG ? [new HTML exporter] subtree: newline and slash

2012-11-06 Thread Giovanni Ridolfi
Hello everybody, Org-mode version 7.9.2 (a99402fac GNU Emacs 24.2.1 (i386-mingw-nt6.1.7601) of 2012-08-29 on MARVIN When I try to HTML export the whole file the result is as expected. When I try to HTML export a *subtree* with the new exporter I get \\ if in the org file there is a newline

Re: [O] Source block processing changes

2012-11-06 Thread Ista Zahn
On Tue, Nov 6, 2012 at 8:22 AM, Eric Schulte schulte.e...@gmail.com wrote: Ista Zahn istaz...@gmail.com writes: Hi all, I've been silently suffering since the changes to source block processing announced at the end of September[1]. I had been using (abusing?) ':results org' to write results

[O] Text attributes, exporting

2012-11-06 Thread Fabrice Popineau
Hi, Maybe this is a silly question but who knows. Htmlize is able to tag elemnts in src blocks and wrap them with classes. I'd like to be able to do it for normal text too. There is // ++ == ** but I would like to define personalized modifiers. There is also the ability to inline src blocks like

Re: [O] Extending org-koma-letter.el

2012-11-06 Thread Alan Schmitt
Hello, Bastien b...@gnu.org writes: Hi Luis, Luis Anaya papoan...@hotmail.com writes: Nicolas Goaziou n.goaz...@gmail.com writes: Code for org-koma-letter.el is at: http://permalink.gmane.org/gmane.emacs.orgmode/57547 I added a link to this in

Re: [O] Text attributes, exporting

2012-11-06 Thread Suvayu Ali
Hello Fabrice, On Tue, Nov 06, 2012 at 04:14:10PM +0100, Fabrice Popineau wrote: Hi, Maybe this is a silly question but who knows. Htmlize is able to tag elemnts in src blocks and wrap them with classes. I'd like to be able to do it for normal text too. There is // ++ == ** but I would

Re: [O] Source block processing changes

2012-11-06 Thread Nicolas Goaziou
Hello, Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: That's normal with raw results: as I wrote it in http://lists.gnu.org/archive/html/emacs-orgmode/2012-09/msg01273.html, as there are *no obvious markers to delimit the results* in the Org mode file, there

Re: [O] error: Execution of bibtex2html

2012-11-06 Thread Suvayu Ali
On Tue, Nov 06, 2012 at 05:54:47AM +0900, Vikas Rawal wrote: But when I export a file having bibtex citations, orgmode complains saying Execution of bibtex2html failed. It seemed to me that orgmode was unable to find bibtex2html. bibtex2html is installed in /usr/local/bin/bibtex2html. Since

Re: [O] Text attributes, exporting

2012-11-06 Thread Nicolas Goaziou
Hello, Fabrice Popineau fabrice.popin...@gmail.com writes: Maybe this is a silly question but who knows. Htmlize is able to tag elemnts in src blocks and wrap them with classes. I'd like to be able to do it for normal text too. There is // ++ == ** but I would like to define personalized

Re: [O] Source block processing changes

2012-11-06 Thread Nicolas Goaziou
Ista Zahn istaz...@gmail.com writes: Thank you, all is working as desired now! One small niggle: the '::RESULTS:' and ':END:' strings are included in the exported html. Not sure if this is intentional, but it seems to me that they should be removed (or at lease given a class so we can hide

Re: [O] BUG ? [new exporter HTML] subtree: Headlines numbering

2012-11-06 Thread Nicolas Goaziou
Hello, Giovanni Ridolfi giovanni.rido...@yahoo.it writes: When I try to HTML export *a subtree* with the new exporter the exporter does not complain with what I set in the EXPORT_OPTIONS, Please try to export the second subtree I am interested in this with C-@ M-x org-export-dispatch h o

Re: [O] BUG ? [new HTML exporter] subtree: newline and slash

2012-11-06 Thread Nicolas Goaziou
Hello, Giovanni Ridolfi giovanni.rido...@yahoo.it writes: When I try to HTML export a *subtree* with the new exporter I get \\ if in the org file there is a newline You need to update Org. I fixed this several days ago. Regards, -- Nicolas Goaziou

Re: [O] BUG ? [new HTML exporter] subtree: newline and slash

2012-11-06 Thread Giovanni Ridolfi
Da: Nicolas Goaziou n.goaz...@gmail.com Inviato: Martedì 6 Novembre 2012 17:48 Giovanni Ridolfi giovanni.rido...@yahoo.it writes: When I try to HTML export a *subtree* with the new exporter I get \\ if in the org file there is a newline I fixed this several days ago. did you try to

Re: [O] [PATCH] Make org-[beginning|end]-of-line respect visual-line-mode

2012-11-06 Thread Nicolas Goaziou
Toby Cubitt ts...@cantab.net writes: org-beginning-of-line uses org-beginning-of-visual-line when line-move-visual is enabled. I'm not sure if line-mode-visual can be disabled when visual-line-mode is enabled. If so, org-beginning-of-line should maybe test for either line-mode-visual *or*

Re: [O] Source block processing changes

2012-11-06 Thread Ista Zahn
On Tue, Nov 6, 2012 at 11:44 AM, Nicolas Goaziou n.goaz...@gmail.com wrote: Ista Zahn istaz...@gmail.com writes: Thank you, all is working as desired now! One small niggle: the '::RESULTS:' and ':END:' strings are included in the exported html. Not sure if this is intentional, but it seems to

[O] orgmode html export - cygwin - browser

2012-11-06 Thread Jan-Mark Batke
Dear all, when exporting to html and starting a browser, I encounter the problem my browser cannot find the file. I am using win xp and run emacs inside cygwin. Therefore the exported path send to the browser is: file:///cygdrive/c/path/file.html Since the browser is running natively (outside

Re: [O] Source block processing changes

2012-11-06 Thread Nicolas Goaziou
Ista Zahn istaz...@gmail.com writes: On Tue, Nov 6, 2012 at 11:44 AM, Nicolas Goaziou n.goaz...@gmail.com wrote: Ista Zahn istaz...@gmail.com writes: Thank you, all is working as desired now! One small niggle: the '::RESULTS:' and ':END:' strings are included in the exported html. Not sure

Re: [O] BUG ? [new HTML exporter] subtree: newline and slash

2012-11-06 Thread Nicolas Goaziou
Giovanni Ridolfi giovanni.rido...@yahoo.it writes: did you try to replicate the bug?  Yes, sir. I get: --8---cut here---start-8--- body div id=content h1 class=titleI am interested in this/h1 div id=outline-container-1 class=outline-2

Re: [O] [PATCH] Make org-[beginning|end]-of-line respect visual-line-mode

2012-11-06 Thread Toby Cubitt
On Tue, Nov 06, 2012 at 06:02:40PM +0100, Nicolas Goaziou wrote: Toby Cubitt ts...@cantab.net writes: org-beginning-of-line uses org-beginning-of-visual-line when line-move-visual is enabled. I'm not sure if line-mode-visual can be disabled when visual-line-mode is enabled. If so,

Re: [O] [PATCH] Make org-[beginning|end]-of-line respect visual-line-mode

2012-11-06 Thread Nicolas Goaziou
Toby Cubitt ts...@cantab.net writes: I'm confused. Which variable are you talking about here? `line-move-visual' Anyway, I see that `visual-line-mode's sets `line-move-visual' to t buffer-locally. So checking only `line-move-visual' in `org-beginning-of-line' is fine... ...which strongly

Re: [O] [PATCH] Make org-[beginning|end]-of-line respect visual-line-mode

2012-11-06 Thread Toby Cubitt
On Tue, Nov 06, 2012 at 06:30:47PM +0100, Nicolas Goaziou wrote: Toby Cubitt ts...@cantab.net writes: I'm confused. Which variable are you talking about here? `line-move-visual' Anyway, I see that `visual-line-mode's sets `line-move-visual' to t buffer-locally. So checking only

Re: [O] [PATCH] Separate clocksum format for durations = 1 day

2012-11-06 Thread Nicolas Goaziou
Toby Cubitt ts...@cantab.net writes: 4. We replace the existing muddle with two defcustoms, one selecting regular or decimal (or user-defined function), and one specifying a list of standard format strings that the function can choose between, depending on the duration. No custom

Re: [O] Source block processing changes

2012-11-06 Thread Ista Zahn
On Tue, Nov 6, 2012 at 12:16 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: Ista Zahn istaz...@gmail.com writes: On Tue, Nov 6, 2012 at 11:44 AM, Nicolas Goaziou n.goaz...@gmail.com wrote: Ista Zahn istaz...@gmail.com writes: Thank you, all is working as desired now! One small niggle: the

Re: [O] Source block processing changes

2012-11-06 Thread Ista Zahn
On Tue, Nov 6, 2012 at 8:22 AM, Eric Schulte schulte.e...@gmail.com wrote: Ista Zahn istaz...@gmail.com writes: Using ':results drawer' or ':results org' gives me verbatim export This was a bug in :results drawer, which should *not* escape its results. I've just pushed up a fix for this so

Re: [O] [PATCH] Make org-[beginning|end]-of-line respect visual-line-mode

2012-11-06 Thread Nicolas Goaziou
Toby Cubitt ts...@cantab.net writes: Aha! You may well be right. In which case why is `org-beginning-of-line' doing this: (if (org-bound-and-true-p line-move-visual) (beginning-of-visual-line 1) (beginning-of-line 1)) Shouldn't it be doing this instead? (if

Re: [O] Source block processing changes

2012-11-06 Thread Ista Zahn
On Tue, Nov 6, 2012 at 12:48 PM, Ista Zahn istaz...@gmail.com wrote: On Tue, Nov 6, 2012 at 8:22 AM, Eric Schulte schulte.e...@gmail.com wrote: Ista Zahn istaz...@gmail.com writes: Using ':results drawer' or ':results org' gives me verbatim export This was a bug in :results drawer, which

Re: [O] [PATCH] Separate clocksum format for durations = 1 day

2012-11-06 Thread Achim Gratz
Nicolas Goaziou writes: Again, these are strange and very limiting rules. What if I want to have 5 h 32 min? And 5,3 days? You provide a format string like you do now. Achim didn't specify how he conceives the FMT argument. I thought that's obvious: the canned formats (the ones you'd want to

Re: [O] [PATCH] Make org-[beginning|end]-of-line respect visual-line-mode

2012-11-06 Thread Toby Cubitt
On Tue, Nov 06, 2012 at 06:46:27PM +0100, Nicolas Goaziou wrote: Toby Cubitt ts...@cantab.net writes: Aha! You may well be right. In which case why is `org-beginning-of-line' doing this: (if (org-bound-and-true-p line-move-visual) (beginning-of-visual-line 1)

Re: [O] Source block processing changes

2012-11-06 Thread Achim Gratz
Sebastien Vauban writes: That's normal with raw results: as I wrote it in http://lists.gnu.org/archive/html/emacs-orgmode/2012-09/msg01273.html, as there are *no obvious markers to delimit the results* in the Org mode file, there is no way to know where raw results begin or end: raw results

Re: [O] [PATCH] Separate clocksum format for durations = 1 day

2012-11-06 Thread Toby Cubitt
On Tue, Nov 06, 2012 at 06:41:06PM +0100, Nicolas Goaziou wrote: Toby Cubitt ts...@cantab.net writes: 4. We replace the existing muddle with two defcustoms, one selecting regular or decimal (or user-defined function), and one specifying a list of standard format strings that the

Re: [O] [PATCH] Make org-[beginning|end]-of-line respect visual-line-mode

2012-11-06 Thread Nicolas Goaziou
Toby Cubitt ts...@cantab.net writes: I guess you want regression tests for `end-of-line' with `visual-line-mode' enabled? (There aren't any tests for beginning-of-line in test-org.el currently, and the fix to org-beginning-of-line won't actually change the behaviour, just make the code more

Re: [O] Text attributes, exporting

2012-11-06 Thread Fabrice Popineau
Perfect. Thanks a lot. I knew I read about this. This is good for me. Fabrice 2012/11/6 Nicolas Goaziou n.goaz...@gmail.com Hello, Fabrice Popineau fabrice.popin...@gmail.com writes: Maybe this is a silly question but who knows. Htmlize is able to tag elemnts in src blocks and wrap

[O] [PATCH] Fix org-entry-put (trouble with org-columns-edit-value)

2012-11-06 Thread Takafumi Arakaki
I have a trouble with org-columns-edit-value; updating property using this command breaks property formatting. If I update MyProp_B in, :PROPERTIES: :MyProp_A: a :MyProp_B: b :END: I end up with: :PROPERTIES: :MyProp_A: :MyProp_B: x a :END: I found that (match-beginning

Re: [O] [PATCH] Separate clocksum format for durations = 1 day

2012-11-06 Thread Nicolas Goaziou
Toby Cubitt ts...@cantab.net writes: I doubt it can be done now, since we already allow user-defined format strings. I'm more focused on what we will be able to do. Where are displayed durations formatted with org-time-clocksum-format et al. parsed back to a number of minutes in the current

Re: [O] [PATCH] Separate clocksum format for durations = 1 day

2012-11-06 Thread Toby Cubitt
On Tue, Nov 06, 2012 at 07:42:54PM +0100, Achim Gratz wrote: Nicolas Goaziou writes: Again, these are strange and very limiting rules. What if I want to have 5 h 32 min? And 5,3 days? You provide a format string like you do now. That means if you want a format that's conditional on the

Re: [O] [PATCH] Separate clocksum format for durations = 1 day

2012-11-06 Thread Toby Cubitt
On Tue, Nov 06, 2012 at 08:55:12PM +0100, Nicolas Goaziou wrote: Toby Cubitt ts...@cantab.net writes: I doubt it can be done now, since we already allow user-defined format strings. I'm more focused on what we will be able to do. Where are displayed durations formatted with

Re: [O] [PATCH] Separate clocksum format for durations = 1 day

2012-11-06 Thread Achim Gratz
Toby Cubitt writes: On Tue, Nov 06, 2012 at 07:42:54PM +0100, Achim Gratz wrote: Nicolas Goaziou writes: Again, these are strange and very limiting rules. What if I want to have 5 h 32 min? And 5,3 days? You provide a format string like you do now. That means if you want a format that's

Re: [O] [new exporter] what is the label syntax for LaTeX export?

2012-11-06 Thread Myles English
Hi Nicolas, Nicolas Goaziou writes: Myles English mylesengl...@gmail.com writes: [..] So, the label tab:niceone exports as \label{tab-niceone}. Is that right or am I using the wrong syntax somewhere? The correct syntax is: [[tab:niceone]] It will allow to move back and forth

Re: [O] error: Execution of bibtex2html

2012-11-06 Thread Vikas Rawal
Just a couple of obvious suggestions; are you sure bibtex2html is in your path when you launch Emacs? Maybe adding /usr/local/bin to your PATH will do the trick. I would put such modifications in ~/bash_profile (assuming you use bash as shell), logout and login before trying again. The

[O] Sexp aganda entries broken?

2012-11-06 Thread Simon Thum
Dear all, I have a sexp entry that somehow works less good now. It's ** 11:00 Monthly PTB Telco %%(org-float t 2 3) (some more stuff) The agenda reads SEXP entry returned empty string, whereas previously I got the headline. Putting something behind the sexp get me that, but the time is

Re: [O] error: Execution of bibtex2html

2012-11-06 Thread Nick Dokos
Vikas Rawal vikasli...@agrarianresearch.org wrote: Just a couple of obvious suggestions; are you sure bibtex2html is in your path when you launch Emacs? Maybe adding /usr/local/bin to your PATH will do the trick. I would put such modifications in ~/bash_profile (assuming you use bash

Re: [O] error: Execution of bibtex2html

2012-11-06 Thread Myles English
Hi Vikas, Vikas Rawal writes: Just a couple of obvious suggestions; are you sure bibtex2html is in your path when you launch Emacs? Maybe adding /usr/local/bin to your PATH will do the trick. I would put such modifications in ~/bash_profile (assuming you use bash as shell), logout and

Re: [O] error: Execution of bibtex2html

2012-11-06 Thread Vikas Rawal
On Tue, Nov 06, 2012 at 05:43:32PM +0100, Suvayu Ali wrote: On Tue, Nov 06, 2012 at 05:54:47AM +0900, Vikas Rawal wrote: But when I export a file having bibtex citations, orgmode complains saying Execution of bibtex2html failed. It seemed to me that orgmode was unable to find

[O] Yes, I'm still alive

2012-11-06 Thread Luis Anaya
Hi: It has been a while since I've posted or said anything, but right now at work it's the mad dash before the holidays. I've been keeping the Groff exporter up to date from the changes in the main repository with the exception of the past few days because of Sandy. Sandy, the hurricane, that

Re: [O] Yes, I'm still alive

2012-11-06 Thread John Hendy
On Tue, Nov 6, 2012 at 7:35 PM, Luis Anaya papoan...@hotmail.com wrote: Hi: It has been a while since I've posted or said anything, but right now at work it's the mad dash before the holidays. I've been keeping the Groff exporter up to date from the changes in the main repository with the

Re: [O] error: Execution of bibtex2html

2012-11-06 Thread Vikas Rawal
Sorry, that was a typo. I am able to directly run bibtex2html from the bash shell prompt. ECHO $PATH shows /usr/local/bin. What does 'which bibtex2html' show? from within M-x shell: * [11:53:47][0][source]# bibtex2html This is bibtex2html version 1.97, compiled on Mon Nov 5

Re: [O] error: Execution of bibtex2html

2012-11-06 Thread Yagnesh Raghava Yakkala
Hello Vikas, On 11月 07 2012, Vikas Rawal vikasli...@agrarianresearch.org wrote: Sorry, that was a typo. I am able to directly run bibtex2html from the bash shell prompt. ECHO $PATH shows /usr/local/bin. What does 'which bibtex2html' show? from within M-x shell: As Nick said in his

[O] org reserved and special words in drawers

2012-11-06 Thread tony day
Hi, I've been thinking about a patch for org-mode that would give an option to place various org concepts in a drawer rather than automatically in the body of the document. The overall idea is that for some use cases, it makes sense to disturb the underlying content as little as possible. In

Re: [O] error: Execution of bibtex2html

2012-11-06 Thread Vikas Rawal
Sorry, that was a typo. I am able to directly run bibtex2html from the bash shell prompt. ECHO $PATH shows /usr/local/bin. So that should not be a problem. But somehow org-exp-bibtex.el cannot find it. I wonder if org-exp-bibtex has the path hard-coded into it! Or something else?

Re: [O] error: Execution of bibtex2html

2012-11-06 Thread Nick Dokos
Yagnesh Raghava Yakkala h...@yagnesh.org wrote: Hello Vikas, On 11 07 2012, Vikas Rawal vikasli...@agrarianresearch.org wrote: Sorry, that was a typo. I am able to directly run bibtex2html from the bash shell prompt. ECHO $PATH shows /usr/local/bin. What does 'which

Re: [O] Yes, I'm still alive

2012-11-06 Thread Aidan Gauland
John Hendy jw.he...@gmail.com writes: Thanks for sharing and you have my condolences. As others might say as well, I'd not sweat it if you drop org maintenance for a while. Just take care of yourself and any potential family. Stay safe and my best to you as you rebuild and recover in the time