Hide subtree before exposing the headings with `C-c C-k'
Proposed by Ali Tofigh. Now `C-c C-k' always creates the same view, independent of what the subtree visibility was before.
This commit is contained in:
parent
6f1bd65fb6
commit
7403cb1992
|
@ -1,3 +1,4 @@
|
|||
|
||||
\input texinfo
|
||||
@c %**start of header
|
||||
@setfilename ../../info/org
|
||||
|
@ -881,6 +882,9 @@ exposed by a sparse tree command (@pxref{Sparse trees}) or an agenda command
|
|||
(@pxref{Agenda commands}). With a prefix argument show, on each
|
||||
level, all sibling headings. With double prefix arg, also show the entire
|
||||
subtree of the parent.
|
||||
@kindex C-c C-k
|
||||
@item C-c C-k
|
||||
Expose all the headings of the subtree, CONTENT view for just one subtree.
|
||||
@kindex C-c C-x b
|
||||
@item C-c C-x b
|
||||
Show the current subtree in an indirect buffer@footnote{The indirect
|
||||
|
|
|
@ -1,3 +1,8 @@
|
|||
2010-05-20 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org.el (org-kill-note-or-show-branches): Hide subtree before
|
||||
exposing the headings.
|
||||
|
||||
2010-05-19 Carsten Dominik <carsten.dominik@gmail.com>
|
||||
|
||||
* org.el (org-add-planning-info): Remove the empty line also
|
||||
|
|
|
@ -16764,7 +16764,9 @@ Also updates the keyword regular expressions."
|
|||
"If this is a Note buffer, abort storing the note. Else call `show-branches'."
|
||||
(interactive)
|
||||
(if (not org-finish-function)
|
||||
(call-interactively 'show-branches)
|
||||
(progn
|
||||
(hide-subtree)
|
||||
(call-interactively 'show-branches))
|
||||
(let ((org-note-abort t))
|
||||
(funcall org-finish-function))))
|
||||
|
||||
|
|
Loading…
Reference in New Issue