GNU bug report logs - #55299
29.0.50; Bug with the mode-line and pixel-scroll-precision-mode

Previous Next

Package: emacs;

Reported by: Konrad Podczeck <konrad.podczeck <at> univie.ac.at>

Date: Sat, 7 May 2022 09:55:02 UTC

Severity: normal

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 55299 <at> debbugs.gnu.org, konrad.podczeck <at> univie.ac.at
Subject: Re: bug#55299: 29.0.50;
 Bug with the mode-line and pixel-scroll-precision-mode
Date: Sun, 08 May 2022 08:34:12 +0300
> Cc: 55299 <at> debbugs.gnu.org
> Date: Sun, 08 May 2022 09:01:32 +0800
> From:  Po Lu via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> Konrad Podczeck <konrad.podczeck <at> univie.ac.at> writes:
> 
> > With this patch, I don’t get any error message, but If a frame has
> > only one window, I cannot scroll (using the mouse wheel) downwards
> > anymore, and after doing C-x 2, the same is true if I scroll in the
> > active pane, while when I scroll in the inactive pane, I always get
> > scrolling upwards, regardless of which direction I rotate the wheel.
> 
> Does this fix your problem?
> 
> diff --git a/src/window.c b/src/window.c
> index 15d6cf94b0..1e719c2598 100644
> --- a/src/window.c
> +++ b/src/window.c
> @@ -7980,6 +7980,8 @@ DEFUN ("set-window-vscroll", Fset_window_vscroll, Sset_window_vscroll,
>  
>  	  /* Prevent redisplay shortcuts.  */
>  	  XBUFFER (w->contents)->prevent_redisplay_optimizations_p = true;
> +
> +	  windows_or_buffers_changed = 1013;

I'm not surer we want this.  It will slow down redisplay, so we need a
good understanding why this is required.  And the problem happens only
on macOS, isn't that so?




This bug report was last modified 3 years and 2 days ago.

Previous Next


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