[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] What is the difference between `org-narrow-to-subtree' and `org-
From: |
Marcin Borkowski |
Subject: |
Re: [O] What is the difference between `org-narrow-to-subtree' and `org-narrow-to-element'? |
Date: |
Wed, 10 Oct 2018 22:05:11 +0200 |
User-agent: |
mu4e 1.1.0; emacs 27.0.50 |
On 2018-10-08, at 17:47, Marco Wahl <address@hidden> wrote:
> Hi!
>
>> I found these two commands. They seem to do the same thing. What is
>> the difference?
>
> This is an example illustrating the difference.
>
> - Have point on the *table* of the following subtree.
>
>
> --8<---------------cut here---------------start------------->8---
> * foo
>
> | foo | foo |
> | foo | foo |
>
> * bar
> --8<---------------cut here---------------end--------------->8---
>
>
> - Use command `org-narrow-to-subtree'. See the effect.
> - Use command `widen' to get rid of the restriction.
> - Make sure to have point on the table of the subtree again.
> - Use command `org-narrow-to-element. See the effect.
> - Compare!
Thanks, it did not occur to me that "element" may be something other
than a "subtree"!
Best,
--
Marcin Borkowski
http://mbork.pl