[emacs-berlin] Pushing org-mode

Andreas Röhler andreas.roehler at easy-emacs.de
Mon Feb 8 16:29:30 UTC 2016



On 08.02.2016 16:48, Rasmus wrote:
> Andreas Röhler <andreas.roehler at easy-emacs.de> writes:
>
>> However, org-mode has some limitations: basic features use hardcoded
>> characters, notably the star, (codepoint 42, #o52, #x2a). Other chars
>> are employed as formatters. This bites, if the code itself needs this
>> chars. The emacs-org mailing list receives respective
>> complaints/questions.
>>
>> Just to give an example:
>> https://lists.gnu.org/archive/html/emacs-orgmode/2011-02/msg01385.html
>> And yes, there is always a way around in Emacs...
>>
>> The surprising thing here: there is not need to hardcode this. Why not
>> use a customizable variable instead?
> Because of the Org format¹.

Hmm, what would be wrong when for example

org-insert-heading

instead of

(insert "* \n")

does

(insert (concat header-char " \n"))

Probably (newline) instead of "\n" should be used also, but thats 
another issue.
Accordingly the parser-side must be re-written, sure.




More information about the emacs-berlin mailing list