emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [PATCH] Use prefix arg to control scope of org-narrow-to-subtree.


From: Marco Wahl
Subject: Re: [PATCH] Use prefix arg to control scope of org-narrow-to-subtree.
Date: Mon, 02 Dec 2019 16:15:20 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Karl Fogel <address@hidden> writes:

> It allows you to choose what level subtree to narrow to.  There are
> two ways to specify the subtree: use repeated C-u's to select "upward"
> from the current subtree, or use a direct numeric prefix arg to
> specify the subtree "downward" from level 1.  (This is a somewhat
> unusual prefix argument usage, but it's useful to be able to choose
> from either direction, and the convenience of using C-u to select
> upward is quite enormous -- I expect it to be the common case, and
> it's pretty much the only way I use the feature.)
>
> The prefix arg is optional, of course: if you don't pass it, then
> `org-narrow-to-subtree' behaves the same way it has always behaved.

What about numeric prefix arg 0 to reveal the whole buffer (aka
'widen')?  I think this would be a logical completion to the feature.







reply via email to

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