Re: [O] Inserting a comma as prefix of headlines (in Org code blocks)

2013-03-01 Thread Takafumi Arakaki
Hi, Indeed, orgparse can parse only subset of org syntax. It is primary developed for OrgViz [1] which is an app to view your org files in various formats including calendar, graph and table. That's why it doesn't understand babel stuff. I thought I'd advertise it in org ML at some point but I

Re: [O] Inserting a comma as prefix of headlines (in Org code blocks)

2013-02-28 Thread Bastien
Hi Nicolas, thanks for the thorough feedback. I reverted the change I made. I need to think more about the issue. Best, -- Bastien

Re: [O] Inserting a comma as prefix of headlines (in Org code blocks)

2013-02-28 Thread Nicolas Goaziou
Hello, Bastien b...@altern.org writes: thanks for the thorough feedback. I reverted the change I made. Thank you. I need to think more about the issue. I can write a document describing Org syntax, as seen by the parser, if needed. It may serve as a first draft for an appendix in the

Re: [O] Inserting a comma as prefix of headlines (in Org code blocks)

2013-02-28 Thread Bastien
Hi Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: I can write a document describing Org syntax, as seen by the parser, if needed. It may serve as a first draft for an appendix in the Org manual. It will be useful in general; it will spare us miscommunication on various aspects of the

Re: [O] Inserting a comma as prefix of headlines (in Org code blocks)

2013-02-28 Thread Nicolas Goaziou
Bastien b...@altern.org writes: But be prepared for dealing with some stubbornness on my side: documenting the parser does not mean every issue should be solved thinking in terms of the parser. Sometimes there should be a tradeoff between what the parser can parse and what the UI should

Re: [O] Inserting a comma as prefix of headlines (in Org code blocks)

2013-02-28 Thread Achim Gratz
Nicolas Goaziou n.goaziou at gmail.com writes: I can write a document describing Org syntax, as seen by the parser, if needed. It may serve as a first draft for an appendix in the Org manual. This would be very welcome. If you think I can be of help with any of this, please let me know.

Re: [O] Inserting a comma as prefix of headlines (in Org code blocks)

2013-02-28 Thread François Pinard
Nicolas Goaziou n.goaz...@gmail.com writes: I can write a document describing Org syntax, as seen by the parser [...] That would undoubtedly be useful. There is a need I often have, and never found the time to fill so far, for a dependable Python parser for Org syntax. I thought I could read

Re: [O] Inserting a comma as prefix of headlines (in Org code blocks)

2013-02-28 Thread Yagnesh Raghava Yakkala
On Mar 01 2013, François Pinard pin...@iro.umontreal.ca wrote: Nicolas Goaziou n.goaz...@gmail.com writes: I can write a document describing Org syntax, as seen by the parser [...] That would undoubtedly be useful. There is a need I often have, and never found the time to fill so far,

Re: [O] Inserting a comma as prefix of headlines (in Org code blocks)

2013-02-28 Thread François Pinard
Yagnesh Raghava Yakkala h...@yagnesh.org writes: There is a need I often have, and never found the time to fill so far, for a dependable Python parser for Org syntax. Not sure how complete it is [...] https://github.com/tkf/orgparse Thanks for the pointer. With about 150 commits already,

Re: [O] Inserting a comma as prefix of headlines (in Org code blocks)

2013-02-28 Thread Yagnesh Raghava Yakkala
[CC'ed to Takafumi Arakaki, author of orgparse] Hello François, Do you know happen to know how conforming it is? I can't comment on that, since I haven't really used it for anything. I wrote many ad hoc parsers for Org already, but what I would like is something really close to the parser

Re: [O] Inserting a comma as prefix of headlines (in Org code blocks)

2013-02-28 Thread Nicolas Goaziou
Achim Gratz strom...@nexgo.de writes: Nicolas Goaziou n.goaziou at gmail.com writes: I can write a document describing Org syntax, as seen by the parser, if needed. It may serve as a first draft for an appendix in the Org manual. This would be very welcome. If you think I can be of help

Re: [O] Inserting a comma as prefix of headlines (in Org code blocks)

2013-02-27 Thread Bastien
Hi Sébastien, Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: IMHO, such a question should not be asked, and the `,' should be inserted literally, as we're in the context of a code block. Fixed in master, thanks. -- Bastien

Re: [O] Inserting a comma as prefix of headlines (in Org code blocks)

2013-02-27 Thread Nicolas Goaziou
Hello, Sebastien Vauban wxhgmqzgwmuf-genee64ty+gs+fvcfc7...@public.gmane.org writes: Consider this Org block: #+begin_src org * Headline inside an Org block Text of that entry. #+end_src Technically, this is not an Org block for any serious function in Org. Headlines have precedence

Re: [O] Inserting a comma as prefix of headlines (in Org code blocks)

2013-02-27 Thread Bastien
Hi Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: What about # for priorities? # is already taken, for comments. I think , is good for priorities, and that preventing speed commands in the several blocks is safe and non-intrusive, that's what my patch did. Let me know if you

Re: [O] Inserting a comma as prefix of headlines (in Org code blocks)

2013-02-27 Thread Nicolas Goaziou
Hello, Bastien b...@gnu.org writes: # is already taken, for comments. Ok then another binding. I still think freeing , key is the best thing to do. More on this below. I think , is good for priorities, and that preventing speed commands in the several blocks is safe and non-intrusive,

Re: [O] Inserting a comma as prefix of headlines (in Org code blocks)

2013-02-27 Thread Bastien
Hi Nicolas, Nicolas Goaziou n.goaz...@gmail.com writes: Ok then another binding. I still think freeing , key is the best thing to do. More on this below. Users will still be able to use the , so this will not really fix the issue. I think , is good for priorities, and that preventing

Re: [O] Inserting a comma as prefix of headlines (in Org code blocks)

2013-02-27 Thread Nicolas Goaziou
Bastien b...@altern.org writes: Nicolas Goaziou n.goaz...@gmail.com writes: Ok then another binding. I still think freeing , key is the best thing to do. More on this below. Users will still be able to use the , so this will not really fix the issue. That's the whole point: leave the