Hi Matt, Matt Lundin <m...@imapmail.org> writes:
> On further investigation, I can see very easily how much this cleans up > the code. Sorry for the noise! No problem! >> 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 > > I think the best approach here is to hard-code org-outline-regexp and > org-outline-regexp-bol (as you have done) but to make it more flexible > in the *few* instances where one would like to use visibility functions > in outline-mode. I've attached a simple patch that restores global > cycling in outline-mode buffers. IIUC we don't need such patch anymore -- can you confirm this? Thanks, -- Bastien