Hi Bastien, Bastien <b...@altern.org> writes:
> Attached is a patch that replaces instances of outline-regexp > by org-outline-regexp. It also introduces more harmonization. > > I'd be interesed in hearing about feedback. What is the primary reason to use a hard-coded org-outline-regexp and org-outline-regexp-bol instead of the buffer local outline-regexp? Is it to clear up any confusion about whether the header regexp can be customized? One of the negative effects is (as reported in another post) that one can no longer use org-global-cycle in other modes (e.g., Auctex). Perhaps for the relevant functions (e.g., org-overview) we could construct org-outline-regexp-bol from the a bound version of org-outline-regexp (i.e., one that uses the buffer local value of outline-regexp). At the moment, this FAQ is obsolete: http://orgmode.org/worg/org-faq.html#use-visibility-cycling-in-outline-mode Best, Matt