GNU bug report logs - #69983
Use category for display-buffer-alist

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Sun, 24 Mar 2024 17:22:01 UTC

Severity: normal

Fixed in version 30.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: rudalics <at> gmx.at, 69983 <at> debbugs.gnu.org
Subject: Re: bug#69983: Use category for display-buffer-alist
Date: Sun, 21 Apr 2024 12:13:19 +0300
> From: Juri Linkov <juri <at> linkov.net>
> Cc: rudalics <at> gmx.at,  69983 <at> debbugs.gnu.org
> Date: Sun, 21 Apr 2024 09:52:50 +0300
> 
> I don't understand why 'end-of-buffer' leaves 2 additional empty lines
> at bottom.

I think it's so you could type there without causing an immediate
scroll of the window.

> Maybe 'end-of-buffer' should use -1 when 'scroll-conservatively' is set
> as this FIXME comment in 'end-of-buffer' suggests:
> 
> 	 ;; FIXME: Arguably if `scroll-conservatively' is set, then
>          ;; we should pass -1 to `recenter'.
> 	 (recenter (if (and scroll-minibuffer-conservatively
> 	                    (window-minibuffer-p))
> 	               -1 -3))

Maybe.  I believe we added the scroll-minibuffer-conservatively
variable because some people may wish setting it to a value different
from scroll-conservatively.  But we could try your suggestion and see
if people complain.

> Anyway, the warning buffer is as narrow as the minibuffer,
> so -1 is the right value for 'display-warning'.

OK, thanks.




This bug report was last modified 1 year and 83 days ago.

Previous Next


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