From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#69983: Use category for display-buffer-alist Date: Sun, 21 Apr 2024 12:13:19 +0300 Message-ID: <8634rf84eo.fsf@gnu.org> References: <86h6gv7e0z.fsf@mail.linkov.net> <86il0pd8da.fsf@mail.linkov.net> <864jc9wk5r.fsf@gnu.org> <861q7dgla3.fsf@mail.linkov.net> <86il0pulum.fsf@gnu.org> <86cyqwjtpr.fsf@mail.linkov.net> <86y19ktkj2.fsf@gnu.org> <86h6g7m773.fsf@mail.linkov.net> <86sezrrrgh.fsf@gnu.org> <86il0m7ceo.fsf@mail.linkov.net> <86a5lysah3.fsf@gnu.org> <86o7ad2j84.fsf@mail.linkov.net> <86mspxnkyt.fsf@gnu.org> <86bk6c5ke3.fsf@mail.linkov.net> <864jbyeo9y.fsf@gnu.org> <86jzkusidd.fsf@mail.linkov.net> <86h6fyd06g.fsf@gnu.org> <861q71rhtk.fsf@mail.linkov.net> <86ttjxq31i.fsf@mail.linkov.net> <86r0f1zaed.fsf@mail.linkov.net> <86ttjw8ce7.fsf@gnu.org> <86edazci5c.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9023"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, 69983@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 21 11:14:04 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ryTGu-0002CU-F5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Apr 2024 11:14:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ryTGf-0007EQ-Kk; Sun, 21 Apr 2024 05:13:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ryTGd-0007E8-8Y for bug-gnu-emacs@gnu.org; Sun, 21 Apr 2024 05:13:48 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ryTGd-0006tY-0m for bug-gnu-emacs@gnu.org; Sun, 21 Apr 2024 05:13:47 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ryTGr-0002zR-QI for bug-gnu-emacs@gnu.org; Sun, 21 Apr 2024 05:14:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Apr 2024 09:14:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69983 X-GNU-PR-Package: emacs Original-Received: via spool by 69983-submit@debbugs.gnu.org id=B69983.171369082711384 (code B ref 69983); Sun, 21 Apr 2024 09:14:01 +0000 Original-Received: (at 69983) by debbugs.gnu.org; 21 Apr 2024 09:13:47 +0000 Original-Received: from localhost ([127.0.0.1]:41610 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryTGc-0002xW-FY for submit@debbugs.gnu.org; Sun, 21 Apr 2024 05:13:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ryTGa-0002wO-FQ for 69983@debbugs.gnu.org; Sun, 21 Apr 2024 05:13:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ryTGF-0006sk-2k; Sun, 21 Apr 2024 05:13:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=HDVPnjlMh5HiDbqbdMu66G+HWLXso1IwQ29FfRWpZKo=; b=UfG7NJuhY6Tn oZTOoVJrBzx7+qo8xq42EJv2FEiKh0SViQA9cq4+HrDmriTNB1rQiFwtTXR7gFhTqESToiJNIJtqa lPQerRdnGrgXY9lNK5XVkaV667+M0kQKexIF/fPaYW3G6N1nIVKvqL1uJ2HbWiX7HqDW81cJofJR5 AUorbfCf6Fy9zDJMDXrAQXLqZPpggoS9526hDqKXU8+LiyT8gMmezQROb2ioA36Oro6g2VgfEbjqJ er/cWNo1R4ICktW80oBb+nSlf0+YK9RoHlJ4/GOvjn9U/CG28i50H+dZ9DxslxTEdjoMi73S9wfLC /5D8n0tWi4MmL9178yettg==; In-Reply-To: <86edazci5c.fsf@mail.linkov.net> (message from Juri Linkov on Sun, 21 Apr 2024 09:52:50 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:283763 Archived-At: > From: Juri Linkov > Cc: rudalics@gmx.at, 69983@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.