GNU bug report logs - #19511
25.0.50; Failed assertions in redisplay() code. (dispnew.c:1405; xdisp.c:17524)

Previous Next

Package: emacs;

Reported by: Andreas Matthias <andreas.matthias <at> gmail.com>

Date: Sun, 4 Jan 2015 23:21:02 UTC

Severity: normal

Found in version 25.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 19511-done <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Vitalie Spinu <spinuvit <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Andreas Matthias <andreas.matthias <at> gmail.com>,
 19511-done <at> debbugs.gnu.org
Subject: Re: bug#19511: 25.0.50;
 Failed assertions in redisplay() code. (dispnew.c:1405; xdisp.c:17524)
Date: Mon, 05 Jan 2015 12:53:54 -0500
> Removing it doesn't change the fact that buffers are switched
> (with-current-buffer ...) inside font-lock-fontify-region-function.

with-current-buffer is basically equivalent to something like

  (let ((current-buffer ..)) ...)

[ tho implemented differently for technical reasons.  ]
So it doesn't have any undesirable interactions with the redisplay code.

> Would it be enough to remove `bury-buffer` call to get back the
> optimization? What are other elisp functions that can potentially
> invalidate window_end?

Any function which changes which buffer is being displayed in
a particular window.


        Stefan




This bug report was last modified 10 years and 190 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.