Re: [O] Org syntax inside verbatim/literal blocks

2019-08-17 Thread Nicolas Goaziou
Štěpán Němec writes: > Hm, but the version in my patch does seem to work correctly, i.e. it is > exported as (snipped) > > You need to exit by pressing @kbd{C-c '} again@footnote{@cindex escape > character > @cindex comma > Upon exit, lines starting with @samp{*}, @samp{,*}, @samp{#+} and

Re: [O] Org syntax inside verbatim/literal blocks

2019-08-17 Thread Štěpán Němec
On Sat, 17 Aug 2019 15:24:56 +0200 Nicolas Goaziou wrote: > I thought the idea was to move the information outside of the footnote. > I applied a different patch, in master. Let me know if it is enough. I agree that is even better; I guess I was aiming at minimal changes, plus the footnote

Re: [O] Org syntax inside verbatim/literal blocks

2019-08-17 Thread Nicolas Goaziou
Hello, Štěpán Němec writes: > Yes, thank you, patch attached (on top of current maint branch). > > I don't know how robust the footnote indexing is, e.g. putting #+cindex > above instead of below [fn] lead to errors during 'make info'; but the > version attached does work (for the texinfo

Re: [O] Org syntax inside verbatim/literal blocks

2019-08-15 Thread Štěpán Němec
> Certainly. Would you want to provide a patch to the manual? Yes, thank you, patch attached (on top of current maint branch). I don't know how robust the footnote indexing is, e.g. putting #+cindex above instead of below [fn] lead to errors during 'make info'; but the version attached does

Re: [O] Org syntax inside verbatim/literal blocks

2019-08-15 Thread Nicolas Goaziou
Hello, Štěpán Němec writes: > I think it would be much more helpful if, instead of a footnote to one > related special case (`org-edit-special'), this information was indexed > ("escape character" and "comma" come to mind) and also mentioned in or > linked to from section 16.3 (Escape

Re: [O] Org syntax inside verbatim/literal blocks

2019-08-09 Thread Štěpán Němec
On Fri, 09 Aug 2019 22:39:44 +0200 Nicolas Goaziou wrote: >> But all I could find in the manual regarding "verbatim", "escaping" etc. >> are sections 12.2 and 16.3, neither of which mentions comma. > > See "Literal Examples" section, fourth footnote. Thanks. I think it would be much more

Re: [O] Org syntax inside verbatim/literal blocks

2019-08-09 Thread Nicolas Goaziou
Hello, Štěpán Němec writes: > I notice that even inside example blocks, some strings are still parsed > as Org syntax, e.g. the asterisk becomes a bogus heading: > > #+begin_example > * _ > \| @ \ > |_/ >/\ /\ > #+end_example This is expected. Headlines bind stronger than