Hello, Nicolas Richard <theonewiththeevill...@yahoo.fr> writes:
> org-narrow-to-subtree is very nice, and I now have C-x n s hard-wired > into my fingers, but it doesn't work when outline-regexp is too > different from org-outline-regexp in Outline-but-non-Org mode buffers. `org-narrow-to-subtree' is an Org function. I don't think it should bother about non Org mode buffers. > It looked pretty easy to fix, so here is my suggestion, below. It should > be rather harmless since it only affects non-Org buffers (and might have > the nice side effect of allowing other commands to run in those buffers > -- but I haven't checked.) There was a discussion recently about making it easier to use some Org features outside of Org. IIRC, the conclusion was that should not happen at the core level, but as an external layer (e.g., a minor mode). Regards, -- Nicolas Goaziou