On Oct 14, 2010, at 9:04 PM, Andreas Röhler wrote:

Hi.

as org-mode knows a command `org-show-entry' looked for
`org-hide-entry', but couldn't get it.

So here it is.


This will leave the buffer in a pretty messy state.

It will hide a headline and the text below it, but not the subtree. The ellipsis will be on the text belonging to the entry before.

For example

* test
  aaa
** sub 1
   bbb
** sub2
   ccc

Call this command on sub one, and you get

* test
  aaa....
** sub2
   ccc


This is not good.  So I don't understand what this might be useful for.
Maybe there are outline-... commands which do what you really mean?

- Carsten

- Carsten


Andreas

--
https://code.launchpad.net/~a-roehler/python-mode/python-mode- components
https://code.launchpad.net/s-x-emacs-werkstatt/

<org-hide-entry.patch>_______________________________________________
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

- 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

Reply via email to