GNU bug report logs -
#4131
Emacs crashes with line-prefix text property and outline
Previous Next
Full log
Message #10 received at 4131 <at> emacsbugs.donarmstrong.com (full text, mbox):
Hi, somehow my description how to reproduce the bug seems to have not
made it with the report.
Here it is:
Emacs can be repeatedly crashed by using a combination of `outline-mode'
and line-prefix text properties. The crash happens when a call to
`(hide-sublevels 1)' makes everything currently visible in an Emacs
window
invisible, while the text in the window has line-prefix text properties.
Here is a way to reproduce this bug:
Put the following text into a file and open the file in Emacs:
----------------------8x------------8x----------------8x
-*- mode: outline -*-
* my test
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
(add-text-properties (point-min) (point-max) '(line-prefix " "))
(hide-sublevels 1)
----------------------8x------------8x----------------8x
The number of lines must be large enough so that scrolling to the end of
the buffer will move the outline headline "my test" out of view.
Move to the end of the file and evaluate the two lisp forms, first
adding the text properties and then hiding everything except top level.
- Carsten
This bug report was last modified 15 years and 333 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.