emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Foldout mode does not restore previous view correctly


From: Otto Maddox
Subject: Foldout mode does not restore previous view correctly
Date: Wed, 23 Nov 2005 16:03:10 +0000

Put the following text into a buffer in Outline mode:

--- BEGIN ---
* Food
This is the body,
which says something about the topic of food.

** Delicious Food
This is the body of the second-level header.

** Distasteful Food
This could have
a body too, with
several lines.

*** Dormitory Food

* Shelter
Another first-level topic with its header line.
--- END ---

Now do `M-x load-library RET foldout RET'.  Put point on the "* Food"
heading.  Do `C-c C-d' (`hide-subtree') and then `C-c C-z' to zoom in
on the level-1 heading, its body and its level-2 subheadings.

Now exit the fold with `C-c C-x'.  The previous view doesn't seem to
be restored correctly.  It looks like this:

--- BEGIN ---
...
* Shelter
Another first-level topic with its header line.
--- END ---

The level-1 heading is invisible.  Furthermore, the subtree
corresponding to that heading line cannot be expanded with `C-c C-s'
(I get an error message "before first heading").

In GNU Emacs 22.0.50.1 (powerpc-apple-darwin8.3.0)
 of 2005-11-22

-- 
http://www.fastmail.fm - IMAP accessible web-mail





reply via email to

[Prev in Thread] Current Thread [Next in Thread]