emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Bug: [PATCH] Make org-narrow-to-subtree usable out of Org mode [


From: Nicolas Goaziou
Subject: Re: [O] Bug: [PATCH] Make org-narrow-to-subtree usable out of Org mode [8.2.7b (release_8.2.7b-6-g07d470 @ /home/youngfrog/sourcetrees/org-mode/lisp/)]
Date: Thu, 24 Jul 2014 16:02:50 +0200

Nicolas Richard <address@hidden> writes:

> I think it should try to have at least a sensible error message. The
> current "Before first headline" isn't quite clear (my patch doesn't
> address this, btw).

"Not in an Org mode buffer" could be better indeed.

Anyway, this kind of change (including compatibility with outline.el)
belongs to the high-level function `org-narrow-to-subtree', not the very
specific `org-get-limited-outline-regexp'.

> I guess you're talking about
> http://thread.gmane.org/gmane.emacs.orgmode/84782

Correct.

> If core Org functions only care about org-mode buffers, I guess it is
> hard to make a minor mode that reuses some of Org to do its job. Unless
> that mode is itself in the core of course. e.g. orgstruct-mode does that
> and it needs some "core support".

Orgstruct mode has indeed some core support, but that's a mistake IMO.


Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]