Re: [O] [ANN] Merge of new export framework on Wednesday

2013-02-09 Thread Achim Gratz
Nicolas Goaziou writes: […] Nicolas, moving the old exporter files to contrib/lisp/ will create problems for the org-plus-contrib ELPA archive. Can I move them to contrib/oldexp/ instead? Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+ SD adaptations for

Re: [O] Macro expansion in new exporter

2013-02-09 Thread Nicolas Goaziou
Hello, tftor...@tftorrey.com (T.F. Torrey) writes: Right now, though, it's giving me a small problem: in the export to HTML, macro's are not expanded, so I have {{{title}}}, for instance, in the HTML output. I haven't been following the list as closely as I'd like, so I'm hoping I missed

Re: [O] [ANN] Merge of new export framework on Wednesday

2013-02-09 Thread Nicolas Goaziou
Hello, Achim Gratz strom...@nexgo.de writes: Nicolas Goaziou writes: […] Nicolas, moving the old exporter files to contrib/lisp/ will create problems for the org-plus-contrib ELPA archive. Can I move them to contrib/oldexp/ instead? As far as I am concerned, you can. Bastien (CC'ed)

Re: [O] navigating between non-code blocks?

2013-02-09 Thread Bastien
Hi Bill, Bill White bi...@wolfram.com writes: And thanks for implementing it. One small code problem, though - I think BLOCK-REGEXP should default to org-block-regexp. Otherwise, block-regexp isn't defined and the function just goes to the next org-babel-src-block-regexp Of course, I just

Re: [O] [ANN] Merge of new export framework on Wednesday

2013-02-09 Thread Bastien
Achim Gratz strom...@nexgo.de writes: Nicolas, moving the old exporter files to contrib/lisp/ will create problems for the org-plus-contrib ELPA archive. Can I move them to contrib/oldexp/ instead? Yes, please go ahead. Thanks, -- Bastien

[O] Running a sudo in a #+begin_src sh fails to get tty and askpass

2013-02-09 Thread Emilio Torres Manzanera
Dear list, I want to compile (C-c C-c) the following code #+begin_src sh sudo apt-get update #+end_src The following warning/error appears in the Org-Babel Error Output: sudo: sin tty presente y no hay programa askpass especificado sudo: sin tty presente y no hay programa askpass especificado

Re: [O] Running a sudo in a #+begin_src sh fails to get tty and askpass

2013-02-09 Thread Michael Albinus
Emilio Torres Manzanera tor...@uniovi.es writes: Dear list, I want to compile (C-c C-c) the following code #+begin_src sh sudo apt-get update #+end_src #+begin_src sh :dir /sudo:: apt-get update #+end_src Thanks! Emilio Best regards, Michael.

Re: [O] [ANN] Merge of new export framework on Wednesday

2013-02-09 Thread Achim Gratz
Bastien writes: Nicolas, moving the old exporter files to contrib/lisp/ will create problems for the org-plus-contrib ELPA archive. Can I move them to contrib/oldexp/ instead? Yes, please go ahead. Done, please check that I didn't miss any file. Regards, Achim. -- +[Q+ Matrix-12

Re: [O] [ANN] Merge of new export framework on Wednesday

2013-02-09 Thread Nicolas Goaziou
Achim Gratz strom...@nexgo.de writes: Done, please check that I didn't miss any file. org2rem.el and org-export-generic.el both require org-exp.el. Shouldn't they go into oldexp, too? Regards, -- Nicolas Goaziou

Re: [O] [ANN] Merge of new export framework on Wednesday

2013-02-09 Thread Bastien
Nicolas Goaziou n.goaz...@gmail.com writes: Achim Gratz strom...@nexgo.de writes: Done, please check that I didn't miss any file. org2rem.el and org-export-generic.el both require org-exp.el. Shouldn't they go into oldexp, too? Indeed, done. -- Bastien

Re: [O] ocaml babel no longer works?

2013-02-09 Thread Alan Schmitt
Alan Schmitt writes: Hello, I recently updated org-mode (from git), and ocaml source code is no longer recognized. If I have a very simple file, like this: #+BEGIN_SRC ocaml let x = 2 in x #+END_SRC I don't get syntax highlighting, and trying to evaluate it result in an error:

Re: [O] edit-src on read-only files

2013-02-09 Thread Andreas Leha
Hi all, Eric S Fraga e.fr...@ucl.ac.uk writes: Greg Minshall minsh...@umich.edu writes: hi. i use RCS on my .org files. it's happened to me more than once (1 == shame on me) that i've entered C-c ' on a read-only .org file, spent some time editing the source code fragment, then done C-c

Re: [O] LaTeX export: Theorem with an author

2013-02-09 Thread Andreas Leha
Hi Nicolas, How to generate latex code for a theorem with an author, like this: \begin{theorem}[Newton] Blah. \end{theorem} With the old exporter, you could do this: #+BEGIN_theorem Newton Blah. #+END_theorem [...] I was not aware of that possibility in the old exporter. Neat!

Re: [O] LaTeX export: Theorem with an author

2013-02-09 Thread Nicolas Goaziou
Hello, Andreas Leha andreas.l...@med.uni-goettingen.de writes: #+attr_latex: :options [Newton] #+begin_theorem Blah. #+end_theorem It is heavier but it seems more consistent to me. Even if it *was* LaTeX only, shouldn't it be up to the backend to provide translation of such

Re: [O] LaTeX export: Theorem with an author

2013-02-09 Thread Andreas Leha
Hi Nicolas, #+attr_latex: :options [Newton] #+begin_theorem Blah. #+end_theorem It is heavier but it seems more consistent to me. Even if it *was* LaTeX only, shouldn't it be up to the backend to provide translation of such arguments? I'd vote for the shorter version to have a

Re: [O] [ANN] Merge of new export framework on Wednesday

2013-02-09 Thread Sean O'Halpin
On Fri, Feb 8, 2013 at 4:45 PM, Sebastien Vauban wxhgmqzgw...@spammotel.com wrote: Sean O'Halpin wrote: I suggest we rename it to #+HTML_HEAD. But I'd like to propose HTML_HEADER instead (?), to mirror what LaTeX_HEADER does -- at least, if that one still exists, which I'm not sure about

Re: [O] [ANN] Merge of new export framework on Wednesday

2013-02-09 Thread Nicolas Goaziou
Hello, Sean O'Halpin sean.ohal...@gmail.com writes: This raises another question which is more about Org document export headers in general: why do we have specific document headers for LaTeX and HTML? Because we need to able to insert raw markup at specific points in the exported document.

Re: [O] [ANN] Merge of new export framework on Wednesday

2013-02-09 Thread Jambunathan K
Achim Gratz strom...@nexgo.de writes: Nicolas Goaziou writes: […] Nicolas, moving the old exporter files to contrib/lisp/ will create problems for the org-plus-contrib ELPA archive. Can I move them to contrib/oldexp/ instead? I recommend contrib/obsolete/ or contrib/attic/. Regards,

[O] org-caldav problem: void-function url-http-options

2013-02-09 Thread Julien Cubizolles
Since a few days (maybe an emacs update) I get this error message whenever I run org-caldav-sync. --8---cut here---start-8--- Debugger entered--Lisp error: (void-function url-http-options)

Re: [O] org-caldav problem: void-function url-http-options

2013-02-09 Thread David Engster
Julien Cubizolles writes: Since a few days (maybe an emacs update) I get this error message whenever I run org-caldav-sync. Debugger entered--Lisp error: (void-function url-http-options) I've been digging around a bit and url-http-options is defined in url-http.el which is present on my

[O] format of the ID property in the new HTML exporter

2013-02-09 Thread Daniel Clemente
Hi, in ox-html.el there's a line with an assert (the only one): (assert (org-uuidgen-p path)) 1. I have some IDs like o5y98600aze0 which don't conform to that uuidgen format; they were created by early versions of org. Should only UUIDs be accepted as ID? 2. I think the ID

Re: [O] compilation issues of new export framework

2013-02-09 Thread Achim Gratz
Hi Nicolas, an oddity occurs since the new exporter moved into core (I don't think I had seen this before, so maybe you can relate to what is different now): --8---cut here---start-8--- Compiling /lisp/org-mode/lisp/org.el... Loading org-element... Loading

[O] freeplane exporter too?

2013-02-09 Thread scrawler
hey guys, would the new freemind exporter be able to handle files created with freeplane, or would there have to be a freeplane exporter too? Freeplane files and Freemind files are similar, but not the same. Just something to consider... -- -tom

[O] Highlighting LaTeX fragments

2013-02-09 Thread Rasmus
Hi, I was quite fond of org-highlight-latex-fragments-and-specials which was recently removed ¹. I'm sure there were good reasons for removing it. Basically stuff like α would be displayed with a special face. Likewise, \begin{equation} X \end{equation} would be highlighted. Does anybody have

Re: [O] org-caldav problem: void-function url-http-options

2013-02-09 Thread Julien Cubizolles
David Engster d...@randomsample.de writes: Julien Cubizolles writes: Since a few days (maybe an emacs update) I get this error message whenever I run org-caldav-sync. Debugger entered--Lisp error: (void-function url-http-options) I've been digging around a bit and url-http-options is

Re: [O] compilation issues of new export framework

2013-02-09 Thread Nicolas Goaziou
Hello, Achim Gratz strom...@nexgo.de writes: an oddity occurs since the new exporter moved into core (I don't think I had seen this before, so maybe you can relate to what is different now): Compiling /lisp/org-mode/lisp/org.el... Loading org-element... Loading org-element... Loading

Re: [O] compilation issues of new export framework

2013-02-09 Thread Achim Gratz
Nicolas Goaziou writes: Yes, I noticed this one too, but I don't know yet from where it could come from. Hmm. If you don't know, then this is even more worrysome. Can't spend more time on this now, unfortunately. Regards, Achim. -- +[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk

Re: [O] Highlighting LaTeX fragments

2013-02-09 Thread Nicolas Goaziou
Hello, Rasmus ras...@gmx.us writes: Basically stuff like α would be displayed with a special face. It's still the case. This part is done by `org-fontify-entities' (toggled by `org-pretty-entities'). Likewise, \begin{equation} X \end{equation} would be highlighted. Does anybody have a

Re: [O] [ANN] Merge of new export framework on Wednesday

2013-02-09 Thread Sean O'Halpin
On Sat, Feb 9, 2013 at 1:56 PM, Nicolas Goaziou n.goaz...@gmail.com wrote: Hello, Sean O'Halpin sean.ohal...@gmail.com writes: This raises another question which is more about Org document export headers in general: why do we have specific document headers for LaTeX and HTML? Because we

Re: [O] Still Wishing for Snooze

2013-02-09 Thread Samuel Loury
Hi, Michael Brand michael.ch.br...@gmail.com writes: The usefulness of a SCHEDULED delay I see together with a TODO and repeater to implement an _exception_ (to simplify: exception just for the first date, before the repetitions). For example SCHEDULED: 2013-02-01 Fri +1w -3d would mean:

Re: [O] org-caldav problem: void-function url-http-options

2013-02-09 Thread David Engster
Julien Cubizolles writes: David Engster d...@randomsample.de writes: Julien Cubizolles writes: Since a few days (maybe an emacs update) I get this error message whenever I run org-caldav-sync. Debugger entered--Lisp error: (void-function url-http-options) I've been digging around a bit

Re: [O] Bug? in texinfo exporter

2013-02-09 Thread Nicolas Goaziou
Hello, t...@tsdye.com (Thomas S. Dye) writes: The following text: LaTeX math snippets (see [[LaTeX fragments]]) is being exported to texinfo like this: @LaTeX{} math snippets (see @ref{@LaTeX{} fragments,}) ^ I think the marked

Re: [O] Highlighting LaTeX fragments

2013-02-09 Thread Rasmus
Nicolas Goaziou n.goaz...@gmail.com writes: Basically stuff like α would be displayed with a special face. It's still the case. This part is done by `org-fontify-entities' (toggled by `org-pretty-entities'). This just turns \alpha into α. It does not give it a special color (on my system at

Re: [O] How to pass a block of text to a code block as data?

2013-02-09 Thread Sean O'Halpin
On Sat, Feb 9, 2013 at 2:59 AM, Michael Baum maab...@gmail.com wrote: - What signals the end of the block of text to be used as data? I take it that it's important that these all be comment lines staring with a colon after the #+name label? Is there a way to do the same thing with a begin and

Re: [O] [ANN] Merge of new export framework on Wednesday

2013-02-09 Thread Nicolas Goaziou
Sean O'Halpin sean.ohal...@gmail.com writes: I haven't made myself clear. I'm not suggesting a general concept of head. What I am suggesting is that the back-ends handle these back-end specific concepts themselves, rather than add more buffer keywords for every new exporter. Each back-end

Re: [O] navigating between non-code blocks?

2013-02-09 Thread François Pinard
Bill White bi...@wolfram.com writes: C-c C-F (`org-next-block') C-c C-B (`org-previous-block') And, echoing Sebastien, `F' and `B' as speed commands would be very handy. Bastien b...@altern.org writes: Of course, I just push this change. Done! Hi, all. Quickly seeing this exchange,

Re: [O] Still Wishing for Snooze

2013-02-09 Thread Michael Brand
Hi Samuel On Sat, Feb 9, 2013 at 7:06 PM, Samuel Loury konubi...@gmail.com wrote: [...] I quite agree with you. It is also the way I understood it, with the automatic removal of the -3d. Only a tiny glitch there, I suppose you guessed it was written SCHEDULED: 2013-02-01 Fri +1m -3d and

Re: [O] [ANN] Merge of new export framework on Wednesday

2013-02-09 Thread Nicolas Richard
Nicolas Goaziou n.goaz...@gmail.com writes: Sean O'Halpin sean.ohal...@gmail.com writes: You would avoid having to add document level keywords such as HTML_STYLE and MAN_CLASS_OPTIONS for new exporters. It would be the back-end's responsibility to validate and document these options. My

Re: [O] navigating between non-code blocks?

2013-02-09 Thread Sebastien Vauban
Hi François, François Pinard wrote: Bill White bi...@wolfram.com writes: C-c C-F (`org-next-block') C-c C-B (`org-previous-block') And, echoing Sebastien, `F' and `B' as speed commands would be very handy. Bastien b...@altern.org writes: Of course, I just push this change. Done!

Re: [O] ocaml babel no longer works?

2013-02-09 Thread Eric Schulte
Alan Schmitt alan.schm...@polytechnique.org writes: Alan Schmitt writes: Hello, I recently updated org-mode (from git), and ocaml source code is no longer recognized. If I have a very simple file, like this: #+BEGIN_SRC ocaml let x = 2 in x #+END_SRC I don't get syntax highlighting,

Re: [O] navigating between non-code blocks?

2013-02-09 Thread Sebastien Vauban
Hi François, Sebastien Vauban wrote: François Pinard wrote: Bastien b...@altern.org writes: Bill White bi...@wolfram.com writes: C-c C-F (`org-next-block') C-c C-B (`org-previous-block') And, echoing Sebastien, `F' and `B' as speed commands would be very handy. Of course, I just push

Re: [O] ocaml babel no longer works?

2013-02-09 Thread Sebastien Vauban
Hi Eric, Eric Schulte wrote: Alan Schmitt alan.schm...@polytechnique.org writes: I have found the problem: I was missing a new line at the end of the #+END_SRC. Unfortunately the evaluation of the code does not work with recent tuareg. I first had to add: (defalias 'tuareg-run-caml

[O] make update failures

2013-02-09 Thread Thomas S. Dye
Aloha all, I just got around to 'make update', the first one in about a week. It usually runs smoothly, but now it doesn't. In toplevel form: ox.el:80:1:Error: Symbol's value as variable is void: org-ts-regexp Done (Total of 9 files compiled, 101 failed, 3 skipped) Scrolling through the many

[O] Fwd: Re: Bug? in texinfo exporter

2013-02-09 Thread Jonathan Leech-Pepin
-- Forwarded message -- From: Jonathan Leech-Pepin jonathan.leechpe...@gmail.com Date: Feb 9, 2013 8:57 AM Subject: Re: [O] Bug? in texinfo exporter To: Thomas S. Dye t...@tsdye.com Cc: Just realized I hit reply not reply-all If Nick's fix fixes it do much the better.com but I'm

Re: [O] make update failures

2013-02-09 Thread Eric Schulte
Hey Tom, I committed this problem this morning. I just pushed up a fix. Thanks for catching, t...@tsdye.com (Thomas S. Dye) writes: Aloha all, I just got around to 'make update', the first one in about a week. It usually runs smoothly, but now it doesn't. In toplevel form:

Re: [O] Highlighting LaTeX fragments

2013-02-09 Thread Nicolas Goaziou
Rasmus ras...@gmx.us writes: Nicolas Goaziou n.goaz...@gmail.com writes: To begin with, it should be useful to know what is missing exactly. Colors. E.g. it used to be that if an equation was too long to be supported by $-signs it would go from brown (on my system) to the normal black,

Re: [O] make update failures

2013-02-09 Thread Thomas S. Dye
Eric Schulte schulte.e...@gmail.com writes: Hey Tom, I committed this problem this morning. I just pushed up a fix. Done (Total of 110 files compiled, 3 skipped) Thanks for the quick fix. All the best, Tom -- Thomas S. Dye http://www.tsdye.com

Re: [O] navigating between non-code blocks?

2013-02-09 Thread François Pinard
Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: ;;** 15.3 (info (org)Speed keys) OK, got it now. I tried =?= as per the documentation suggests, and there is a great deal there indeed. Well, you know that since 25 Sep 2012 22:31; I remember an exchange on that

[O] [New exporter] custom emphasis in org-emphasis-alist

2013-02-09 Thread Gregor Kappler
Cudos for all the work that has been done on migrating to the new exporter. I so welcome that exporting now is approaching a clean design! I am currently migrating my system and contribute my first stop: custom emphasis characters that I use extensively: - ! is used for exclamations, - ? for

Re: [O] [New exporter] custom emphasis in org-emphasis-alist

2013-02-09 Thread François Pinard
Gregor Kappler g.kapp...@gmx.net writes: Cudos for all the work that has been done on migrating to the new exporter. I so welcome that exporting now is approaching a clean design! Let me join my voice to the chorus! Munch congratulations, and thanks! There is an impressive amount of work in

[O] bug#13668: 24.2.93; strike-through in org mode

2013-02-09 Thread Bastien
Hi Roland, Roland Winkler wink...@gnu.org writes: visit the following org file with emacs -Q cat foo.org EOF * foo bar (+.2 to .5) baz (+.2 to .5) bar (+.2 to .5) baz +.2 to .5) EOF Why are part of the second and third line striked through? Because + tries to add

[O] how to indent plain lists in ASCII

2013-02-09 Thread Samuel Wales
The old exporter indented plain lists. This does not seem to fix it: (add-to-list 'org-export-filter-plain-list-functions (lambda (plain-list back-end rest _rest) (if (eq back-end 'ascii) (replace-regexp-in-string ^plain-list) plain-list)) I

Re: [O] accessibility bug: export menu unusable

2013-02-09 Thread Samuel Wales
On 2/7/13, Nicolas Goaziou n.goaz...@gmail.com wrote: The new export window is unusable. It shows the second half of the menu. Out of curiosity, how did you make the previous export window usable under these conditions? It was 28-line high with no scrolling mechanism either. I don't

Re: [O] navigating between non-code blocks?

2013-02-09 Thread Sebastien Vauban
Hi François, François Pinard wrote: Sebastien Vauban writes: ;;** 15.3 (info (org)Speed keys) OK, got it now. I tried =?= as per the documentation suggests, and there is a great deal there indeed. As well, M-x org-speed-command-help... Hé, that's from here the fact I'm talking of speed