all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Carsten Dominik <dominik@uva.nl>
To: 4131@emacsbugs.donarmstrong.com
Cc: Miles Bader <miles@gnu.org>
Subject: bug#4131: Description how to reproduce the bug
Date: Wed, 12 Aug 2009 12:13:57 +0200	[thread overview]
Message-ID: <2B1F6178-B525-4062-B054-2DC2197E88F0@uva.nl> (raw)

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









                 reply	other threads:[~2009-08-12 10:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2B1F6178-B525-4062-B054-2DC2197E88F0@uva.nl \
    --to=dominik@uva.nl \
    --cc=4131@emacsbugs.donarmstrong.com \
    --cc=miles@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.