[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] search and destroy bug?
From: |
Carsten Dominik |
Subject: |
Re: [Orgmode] search and destroy bug? |
Date: |
Sun, 30 Jan 2011 15:31:49 +0100 |
On Jan 30, 2011, at 3:14 PM, Fritjof wrote:
When searching for something with C-/-/ and then deleting found
subheadings with C-k, subheadings at the same level and below the
deleted subheading is also deleted. The same is true when deleting
subheadings found with C-/-m.
Reproduce with:
* heading
** 1
** 2
** 3
** 4
Then C-/-/ 2, and C-k the subheading "2", fold and unfold "heading",
only "1" remains.
Hi Fritjof,
this is because org tries to represent the results as compactly as
possible.
However, the state of the tree is not strictly like a tree you'd
create by drilling
into it with only TAB.
For a less compact (and safer) representation, see the variables
org-show-following-heading
org-show-siblings
org-show-entry-blow
These variables give very fine control about how the tree should look
after various operations. For example, try
(setq org-show-following-heading '((occur-tree . t) (default . nil)))
Hope this helps
- Carsten
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode