Hello, Bastien <b...@altern.org> writes:
> Nicolas Goaziou <n.goaz...@gmail.com> writes: > >> I think some parts of Org code use `outline-regexp', some others use >> `org-outline-regexp' and some parts have it hard-coded. >> >> For the sake of consistency, It would certainly be a good idea to >> generalize the use of `org-outline-regexp'. > > Actually, I think "*" _should_ be hardcoded. > > Org is a text format (.org) meant to be usable outside Emacs. > > Such a fundamental part of the format should be an invariant, > easily recognized by any tool. > > What do you think? I do not disagree. My point is that it could be hard-coded in a consistent way, i.e. all references to an headline could look for `org-outline-regexp' instead of some custom string (even though it may be shorter and easier to write). This isn't related to `org-outline-regexp' being a defconst. Regards, -- Nicolas Goaziou