From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Vitalie Spinu <spinuvit@gmail.com>
Cc: Andreas Matthias <andreas.matthias@gmail.com>,
19511-done@debbugs.gnu.org
Subject: 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 [thread overview]
Message-ID: <jwvoaqd9kuw.fsf-monnier+emacsbugs@gnu.org> (raw)
In-Reply-To: <87y4phupt5.fsf@gmail.com> (Vitalie Spinu's message of "Mon, 05 Jan 2015 08:59:02 -0800")
> 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
next prev parent reply other threads:[~2015-01-05 17:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-04 22:27 bug#19511: 25.0.50; Failed assertions in redisplay() code. (dispnew.c:1405; xdisp.c:17524) Andreas Matthias
2015-01-05 15:58 ` Eli Zaretskii
2015-01-05 16:59 ` Vitalie Spinu
2015-01-05 17:53 ` Stefan Monnier [this message]
2015-01-05 18:31 ` Eli Zaretskii
2015-01-05 18:24 ` Eli Zaretskii
2015-01-05 18:10 ` Andreas Matthias
2015-01-05 18:36 ` Eli Zaretskii
2015-01-05 18:41 ` Vitalie Spinu
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvoaqd9kuw.fsf-monnier+emacsbugs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=19511-done@debbugs.gnu.org \
--cc=andreas.matthias@gmail.com \
--cc=spinuvit@gmail.com \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).