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.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to