GNU bug report logs - #21730
25.0.50; Random errors in redisplay--pre-redisplay-functions

Previous Next

Package: emacs;

Reported by: Michael Welsh Duggan <mwd <at> md5i.com>

Date: Thu, 22 Oct 2015 04:05: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


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Philipp Stephani <p.stephani2 <at> gmail.com>
Cc: 21730 <at> debbugs.gnu.org, mwd <at> md5i.com
Subject: bug#21730: 25.0.50; Random errors in redisplay--pre-redisplay-functions
Date: Thu, 15 Sep 2016 17:22:22 +0300
> From: Philipp Stephani <p.stephani2 <at> gmail.com>
> Date: Wed, 14 Sep 2016 19:48:23 +0000
> Cc: 21730 <at> debbugs.gnu.org, mwd <at> md5i.com
> 
>  If we want to dig deeper, I think we should first understand why bop
>  doesn't work. Is it indeed because the window's buffer is not the
>  current buffer when the hook is called?
> 
> Unfortunately the error doesn't trigger consistently. Maybe we are lucky and somebody manages to detect
> such an issue.
> 
> I'd also suggest to add
> (cl-assert (eq (current-buffer) (window-buffer window))) 
> to cursor-sensor--detect, because the function relies on this equality. 

Michael, could you please look some more into this?  I think we need
to understand the reason why bobp doesn't work, although the hook was
supposed to be called with the window's buffer the current buffer.

TIA




This bug report was last modified 7 years and 304 days ago.

Previous Next


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