GNU bug report logs - #17746
24.4.50; "byte-code: `recenter'ing a window that does not display current-buffer." when composing a message

Previous Next

Packages: org-mode, emacs;

Reported by: David Griffiths <dogriffiths <at> gmail.com>

Date: Tue, 10 Jun 2014 15:39:01 UTC

Severity: normal

Merged with 17724, 17794, 18401, 18430, 18594

Found in version 24.4.50

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #44 received at 17746 <at> debbugs.gnu.org (full text, mbox):

From: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
To: Bastien <bzg <at> altern.org>
Cc: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>, 17746 <at> debbugs.gnu.org,
 David Griffiths <dogriffiths <at> gmail.com>
Subject: Re: bug#17746: 24.4.50;
 "byte-code: `recenter'ing a window that does not display
 current-buffer." when composing a message
Date: Wed, 11 Jun 2014 21:11:37 +0200
Bastien <bzg <at> altern.org> writes:

> Nicolas Richard <theonewiththeevillook <at> yahoo.fr> writes:
>
>> Bastien <bzg <at> altern.org> writes:
>>> PS: The change about throwing an error when recentering a window
>>> that does not display the current buffer breaks ~37 tests in Org
>>> master branch, even with this fix.  I need to digg this further.
>>
>> For me, fixing also org-fix-ellipsis-at-bol made all tests run as
>> expected.
>
> What do you mean by "fixing"?  Removing it entirely?

Yes, I admit, I did : (defsubst org-fix-ellipsis-at-bol () nil)
But I must have done something wrong or misread the results because now
I see some other failures. Moreover, the backtrace that I get from "make
test" seems incomplete and it's not obvious to me where the recenter
call is made.

OTOH I hope that wrapping every call to recenter in a
(when (eq (current-buffer) (window-buffer))
   (recenter ...))
would fix the tests, no ?

-- 
Nico.




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

Previous Next


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