GNU bug report logs -
#56008
29.0.50; image-mode buffer scrolled down automatically
Previous Next
Reported by: Visuwesh <visuweshm <at> gmail.com>
Date: Thu, 16 Jun 2022 04:02:01 UTC
Severity: normal
Found in version 29.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
[வியாழன் ஜூன் 16, 2022 18:49] Eli Zaretskii wrote:
>> From: Visuwesh <visuweshm <at> gmail.com>
>> Cc: Eli Zaretskii <eliz <at> gnu.org>, 56008 <at> debbugs.gnu.org
>> Date: Thu, 16 Jun 2022 19:44:13 +0530
>>
>> When I tried to dig around in ement.el's source code, I thought it was
>> `save-window-excursion' but that turned out not to be the case AFAIU.
>
> What do you mean by "it was `save-window-excursion'"? what is "it" in
> this case?
I thought the source of the random, unwarranted scrolling could be
`save-window-excursion' since it did come with the following warning,
BEWARE: Most uses of this macro introduce bugs.
E.g. it should not be used to try and prevent some code from opening
a new window, since that window may sometimes appear in another frame,
in which case ‘save-window-excursion’ cannot help.
> And how did you see that this is not the case?
Sorry, but it is close to a year since I looked at the source code. All
I remember is being annoyed by the bug despite removing the
`save-window-excursion' bit willy-nilly.
[ This was all in ement.el's source code if I wasn't clear, BTW. ]
This bug report was last modified 2 years and 335 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.