emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] #+begin_example lang used in manual and worg (was: [DISCUSSI


From: Ihor Radchenko
Subject: Re: [PATCH] #+begin_example lang used in manual and worg (was: [DISCUSSION] Refactoring fontification system)
Date: Thu, 16 Jun 2022 20:31:14 +0800

Max Nikulin <manikulin@gmail.com> writes:

>> -#+begin_example org
>> +#+begin_example
>>  ,* Parent capturing statistics [2/20]
>>    :PROPERTIES:
>>    :COOKIE_DATA: todo recursive
>
> It is consistent with other examples in the manual. Only one snippet is 
> wrapped into "#+begin_src org" and it is a recent addition caused a long 
> discussion on Shakespeare's poetry. I am curious why #+begin_src is used 
> for elisp examples, but not for org markup.

I am not sure. In theory, the only significant difference could be that
#+begin_src org could be fontified natively on export (some time in
future; they are not now), which might be slightly confusing.

In any case, I applied the Org manual patch onto main via 0cc4f492f.

> For worg pages #+begin_example to #+begin_src substitution may be a 
> better option than dropping language.

You are right. Would you mind checking if there are any #+begin_example
cases in worg with no language specified that are also worth converting
into #+begin_src?

Best,
Ihor




reply via email to

[Prev in Thread] Current Thread [Next in Thread]