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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Juri Linkov <juri@HIDDEN>; Done: Juri Linkov <juri@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug marked as fixed in version 30.0.50, send any further explanations to 69983 <at> debbugs.gnu.org and Juri Linkov <juri@HIDDEN> Request was from Juri Linkov <juri@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 22 Apr 2024 06:57:44 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Apr 22 02:57:44 2024
Received: from localhost ([127.0.0.1]:45594 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ryncV-00068W-OT
	for submit <at> debbugs.gnu.org; Mon, 22 Apr 2024 02:57:44 -0400
Received: from relay1-d.mail.gandi.net ([217.70.183.193]:42081)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>)
 id 1ryncJ-00066G-TX; Mon, 22 Apr 2024 02:57:32 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 4B409240004;
 Mon, 22 Apr 2024 06:57:08 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <8634rf84eo.fsf@HIDDEN> (Eli Zaretskii's message of "Sun, 21 Apr
 2024 12:13:19 +0300")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN> <861q7dgla3.fsf@HIDDEN>
 <86il0pulum.fsf@HIDDEN> <86cyqwjtpr.fsf@HIDDEN>
 <86y19ktkj2.fsf@HIDDEN> <86h6g7m773.fsf@HIDDEN>
 <86sezrrrgh.fsf@HIDDEN> <86il0m7ceo.fsf@HIDDEN>
 <86a5lysah3.fsf@HIDDEN> <86o7ad2j84.fsf@HIDDEN>
 <86mspxnkyt.fsf@HIDDEN> <86bk6c5ke3.fsf@HIDDEN>
 <864jbyeo9y.fsf@HIDDEN> <86jzkusidd.fsf@HIDDEN>
 <86h6fyd06g.fsf@HIDDEN> <861q71rhtk.fsf@HIDDEN>
 <86ttjxq31i.fsf@HIDDEN> <86r0f1zaed.fsf@HIDDEN>
 <86ttjw8ce7.fsf@HIDDEN> <86edazci5c.fsf@HIDDEN>
 <8634rf84eo.fsf@HIDDEN>
Date: Mon, 22 Apr 2024 09:50:50 +0300
Message-ID: <86msplao1h.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

close 69983 30.0.50
thanks

>> 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.

So now pushed to master and closed.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 21 Apr 2024 09:13:47 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 21 05:13:46 2024
Received: from localhost ([127.0.0.1]:41610 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ryTGc-0002xW-FY
	for submit <at> debbugs.gnu.org; Sun, 21 Apr 2024 05:13:46 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:39568)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ryTGa-0002wO-FQ
 for 69983 <at> debbugs.gnu.org; Sun, 21 Apr 2024 05:13:45 -0400
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 <eliz@HIDDEN>)
 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==;
Date: Sun, 21 Apr 2024 12:13:19 +0300
Message-Id: <8634rf84eo.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <86edazci5c.fsf@HIDDEN> (message from Juri Linkov on
 Sun, 21 Apr 2024 09:52:50 +0300)
Subject: Re: bug#69983: Use category for display-buffer-alist
References: <86h6gv7e0z.fsf@HIDDEN> <86il0pd8da.fsf@HIDDEN>
 <864jc9wk5r.fsf@HIDDEN> <861q7dgla3.fsf@HIDDEN>
 <86il0pulum.fsf@HIDDEN> <86cyqwjtpr.fsf@HIDDEN>
 <86y19ktkj2.fsf@HIDDEN> <86h6g7m773.fsf@HIDDEN>
 <86sezrrrgh.fsf@HIDDEN> <86il0m7ceo.fsf@HIDDEN>
 <86a5lysah3.fsf@HIDDEN> <86o7ad2j84.fsf@HIDDEN>
 <86mspxnkyt.fsf@HIDDEN> <86bk6c5ke3.fsf@HIDDEN>
 <864jbyeo9y.fsf@HIDDEN> <86jzkusidd.fsf@HIDDEN>
 <86h6fyd06g.fsf@HIDDEN> <861q71rhtk.fsf@HIDDEN>
 <86ttjxq31i.fsf@HIDDEN> <86r0f1zaed.fsf@HIDDEN>
 <86ttjw8ce7.fsf@HIDDEN> <86edazci5c.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Juri Linkov <juri@HIDDEN>
> Cc: rudalics@HIDDEN,  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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 21 Apr 2024 07:15:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 21 03:15:41 2024
Received: from localhost ([127.0.0.1]:41128 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ryRQK-0002oK-7m
	for submit <at> debbugs.gnu.org; Sun, 21 Apr 2024 03:15:41 -0400
Received: from relay5-d.mail.gandi.net ([217.70.183.197]:33079)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1ryRQG-0002nd-VQ
 for 69983 <at> debbugs.gnu.org; Sun, 21 Apr 2024 03:15:38 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id CAD731C0002;
 Sun, 21 Apr 2024 07:15:14 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <86ttjw8ce7.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 20 Apr
 2024 15:08:32 +0300")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN> <86il0pd8da.fsf@HIDDEN>
 <864jc9wk5r.fsf@HIDDEN> <861q7dgla3.fsf@HIDDEN>
 <86il0pulum.fsf@HIDDEN> <86cyqwjtpr.fsf@HIDDEN>
 <86y19ktkj2.fsf@HIDDEN> <86h6g7m773.fsf@HIDDEN>
 <86sezrrrgh.fsf@HIDDEN> <86il0m7ceo.fsf@HIDDEN>
 <86a5lysah3.fsf@HIDDEN> <86o7ad2j84.fsf@HIDDEN>
 <86mspxnkyt.fsf@HIDDEN> <86bk6c5ke3.fsf@HIDDEN>
 <864jbyeo9y.fsf@HIDDEN> <86jzkusidd.fsf@HIDDEN>
 <86h6fyd06g.fsf@HIDDEN> <861q71rhtk.fsf@HIDDEN>
 <86ttjxq31i.fsf@HIDDEN> <86r0f1zaed.fsf@HIDDEN>
 <86ttjw8ce7.fsf@HIDDEN>
Date: Sun, 21 Apr 2024 09:52:50 +0300
Message-ID: <86edazci5c.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> +		       (when warning-display-at-bottom
>> +                         (with-selected-window window
>> +                           (set-window-point window (point-max))
>> +                           (recenter -1)))
>
> Should we perhaps do the same as end-of-buffer does, i.e.
>
> 	 (recenter (if (and scroll-minibuffer-conservatively
> 	                    (window-minibuffer-p))
> 	               -1 -3)))))

I tried many different things before reaching the 'recenter' solution.
For example, tried everything from the Info node
(info "(emacs) Auto Scrolling") such as scroll-conservatively,
scroll-step, scroll-up-aggressively/scroll-down-aggressively
to avoid recentering after scrolling.  But none of them work,
so an extra step is required to use 'recenter' after moving point.

Also too bad that need to use 'with-selected-window' instead of
'with-current-buffer', since 'recenter' has no 'window' argument.

> (or, if the window here can never be a mini-window, just use -3
> instead of -1 in the call to recenter)?

I don't understand why 'end-of-buffer' leaves 2 additional empty lines
at bottom.  Every time when I use 'M->' (end-of-buffer), I need
to type additional keys to manually scroll more 2 lines down
to remove these 2 empty lines from the screen.

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))

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




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 20 Apr 2024 12:09:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 20 08:09:09 2024
Received: from localhost ([127.0.0.1]:36032 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ry9Wl-0004rw-Jp
	for submit <at> debbugs.gnu.org; Sat, 20 Apr 2024 08:09:08 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50288)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ry9Wi-0004qT-Vp
 for 69983 <at> debbugs.gnu.org; Sat, 20 Apr 2024 08:09:06 -0400
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 <eliz@HIDDEN>)
 id 1ry9WO-0005O9-Bf; Sat, 20 Apr 2024 08:08:44 -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=IrsKCfY4v3bT3vKLXUsvgakL4cDIlq3GQSVtAf4gRV8=; b=jyuudfUynTzT
 bDAFjO9MyawPXHEYis2R2k3Y9dG6Am6ANN7dLs1VoXw1gBP1Q8tHGvqgFfBBBhOCj1XEj/EXw+ZOe
 dS61FS8kP3ZF1AfShHih/WD3cp6wsznvbPjNnBnaf7gEDeSi1tTGkQi5/BpNma/z20d8Hf1BHM9Vx
 Cqux1dclWrgy2vCPZszmzdLuZxSG3z5gfNL3Hyj63Xc/f+XY7yf8GV9TUbyRwBqUyruPLoRJim5I2
 trXX2h2cqyf+WmYMebEDi5ytRFKZKPKvz63yBxjmM2l5j/GIZQ0mpP0FBD9gkrupax3wWuXXuJdY6
 Pfb+3QhMotc18yGFhGbp0Q==;
Date: Sat, 20 Apr 2024 15:08:32 +0300
Message-Id: <86ttjw8ce7.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <86r0f1zaed.fsf@HIDDEN> (message from Juri Linkov on
 Fri, 19 Apr 2024 19:17:14 +0300)
Subject: Re: bug#69983: Use category for display-buffer-alist
References: <86h6gv7e0z.fsf@HIDDEN> <867ch7gfa4.fsf@HIDDEN>
 <86bk6iwftq.fsf@HIDDEN> <86il0pd8da.fsf@HIDDEN>
 <864jc9wk5r.fsf@HIDDEN> <861q7dgla3.fsf@HIDDEN>
 <86il0pulum.fsf@HIDDEN> <86cyqwjtpr.fsf@HIDDEN>
 <86y19ktkj2.fsf@HIDDEN> <86h6g7m773.fsf@HIDDEN>
 <86sezrrrgh.fsf@HIDDEN> <86il0m7ceo.fsf@HIDDEN>
 <86a5lysah3.fsf@HIDDEN> <86o7ad2j84.fsf@HIDDEN>
 <86mspxnkyt.fsf@HIDDEN> <86bk6c5ke3.fsf@HIDDEN>
 <864jbyeo9y.fsf@HIDDEN> <86jzkusidd.fsf@HIDDEN>
 <86h6fyd06g.fsf@HIDDEN> <861q71rhtk.fsf@HIDDEN>
 <86ttjxq31i.fsf@HIDDEN> <86r0f1zaed.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Juri Linkov <juri@HIDDEN>
> Cc: rudalics@HIDDEN,  69983 <at> debbugs.gnu.org
> Date: Fri, 19 Apr 2024 19:17:14 +0300
> 
> The reason why a new option is needed is because display-warning
> doesn't move point to the bottom line with the last message.
> 
> So when the warning buffer will be displayed at the bottom of
> the screen in a narrow window, but the window always stays
> displaying the top of the warning buffer, the users will miss
> the last unseen message.
> 
> To solve this problem, a new option 'warning-display-at-bottom'
> (whose name has the same prefix as all other options in the same file)
> will scroll the bottom window, so the last message will always
> be visible to the user.

Thanks.

> +		       (when warning-display-at-bottom
> +                         (with-selected-window window
> +                           (set-window-point window (point-max))
> +                           (recenter -1)))

Should we perhaps do the same as end-of-buffer does, i.e.

	 (recenter (if (and scroll-minibuffer-conservatively
	                    (window-minibuffer-p))
	               -1 -3)))))

(or, if the window here can never be a mini-window, just use -3
instead of -1 in the call to recenter)?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 19 Apr 2024 16:21:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 19 12:21:24 2024
Received: from localhost ([127.0.0.1]:59015 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rxqzL-0004XR-QT
	for submit <at> debbugs.gnu.org; Fri, 19 Apr 2024 12:21:24 -0400
Received: from relay6-d.mail.gandi.net ([217.70.183.198]:51647)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1rxqzI-0004W0-HV
 for 69983 <at> debbugs.gnu.org; Fri, 19 Apr 2024 12:21:21 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 5997EC0007;
 Fri, 19 Apr 2024 16:20:59 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <86ttjxq31i.fsf@HIDDEN> (Juri Linkov's message of "Fri, 
 19 Apr 2024 09:28:41 +0300")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN> <867ch7gfa4.fsf@HIDDEN>
 <86bk6iwftq.fsf@HIDDEN> <86il0pd8da.fsf@HIDDEN>
 <864jc9wk5r.fsf@HIDDEN> <861q7dgla3.fsf@HIDDEN>
 <86il0pulum.fsf@HIDDEN> <86cyqwjtpr.fsf@HIDDEN>
 <86y19ktkj2.fsf@HIDDEN> <86h6g7m773.fsf@HIDDEN>
 <86sezrrrgh.fsf@HIDDEN> <86il0m7ceo.fsf@HIDDEN>
 <86a5lysah3.fsf@HIDDEN> <86o7ad2j84.fsf@HIDDEN>
 <86mspxnkyt.fsf@HIDDEN> <86bk6c5ke3.fsf@HIDDEN>
 <864jbyeo9y.fsf@HIDDEN> <86jzkusidd.fsf@HIDDEN>
 <86h6fyd06g.fsf@HIDDEN> <861q71rhtk.fsf@HIDDEN>
 <86ttjxq31i.fsf@HIDDEN>
Date: Fri, 19 Apr 2024 19:17:14 +0300
Message-ID: <86r0f1zaed.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain

> Sorry, actually you are right, let's add a new option.
> Will do this soon.

The reason why a new option is needed is because display-warning
doesn't move point to the bottom line with the last message.

So when the warning buffer will be displayed at the bottom of
the screen in a narrow window, but the window always stays
displaying the top of the warning buffer, the users will miss
the last unseen message.

To solve this problem, a new option 'warning-display-at-bottom'
(whose name has the same prefix as all other options in the same file)
will scroll the bottom window, so the last message will always
be visible to the user.


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline; filename=warning-display-at-bottom.patch

diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el
index 8b43c6a8726..672c9ed4618 100644
--- a/lisp/emacs-lisp/warnings.el
+++ b/lisp/emacs-lisp/warnings.el
@@ -120,6 +120,14 @@ warning-suppress-types
 See also `warning-suppress-log-types'."
   :type '(repeat (repeat symbol))
   :version "22.1")
+
+(defcustom warning-display-at-bottom t
+  "Display the warning buffer at the bottom of the screen.
+The output window will be scrolled to the bottom of the buffer
+to show the last warning message."
+  :type 'boolean
+  :version "30.1")
+
 
 ;; The autoload cookie is so that programs can bind this variable
 ;; safely, testing the existing value, before they call one of the
@@ -362,10 +370,20 @@ display-warning
 		 (or (< (warning-numeric-level level)
 			(warning-numeric-level warning-minimum-level))
 		     (warning-suppress-p type warning-suppress-types)
-		     (let ((window (display-buffer buffer)))
+		     (let ((window (display-buffer
+				    buffer
+				    (when warning-display-at-bottom
+                                      '(display-buffer--maybe-at-bottom
+				        (window-height . (lambda (window)
+                                          (fit-window-to-buffer window 10)))
+				        (category . warning))))))
 		       (when (and (markerp warning-series)
 				  (eq (marker-buffer warning-series) buffer))
 			 (set-window-start window warning-series))
+		       (when warning-display-at-bottom
+                         (with-selected-window window
+                           (set-window-point window (point-max))
+                           (recenter -1)))
 		       (sit-for 0)))))))))
 
 ;; Use \\<special-mode-map> so that help-enable-autoload can do its thing.

--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 19 Apr 2024 07:20:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 19 03:20:18 2024
Received: from localhost ([127.0.0.1]:57287 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rxiXi-00006r-40
	for submit <at> debbugs.gnu.org; Fri, 19 Apr 2024 03:20:18 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43124)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rxiXg-00006Z-Ij
 for 69983 <at> debbugs.gnu.org; Fri, 19 Apr 2024 03:20:17 -0400
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 <eliz@HIDDEN>)
 id 1rxiXI-0007VP-Fs; Fri, 19 Apr 2024 03:19:57 -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=wQwxOYmrY+GCF3Y+0llw3jHX9tUUvMLKSbwAs6ahgDM=; b=oq1sEA2uU7/1
 xdvD/IzFIYg2xRcp3fyckani/8xdhklfVWcNdESiDlSZW71CWvR/1OIgB93Cd15xrnEvuK67V2HQX
 FQa0g9rKNUeeLv+EJfaxkFt66V8NmtXGUCFgpnsSa4tsJusB4O7yMXmn9XCR2U3OQmlEwlYFAJCA4
 90cvb6XZyIs0jkQIPN1pSTFBAZnmRL4WyZ+kVgOOXtokXlnnLgSdE3Vqwc3sdyVg0lUZR+Ix+jdcG
 zOXVyzkss59WHt01FbhssVXtKjxrYqmfq895vIz2vN3N8uISom7a+JH611yoEA3xGl5Ppu+OEzNP7
 C3D5SjiOKFrZKa4pBEj8zQ==;
Date: Fri, 19 Apr 2024 10:19:51 +0300
Message-Id: <86y199byzs.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <86ttjxq31i.fsf@HIDDEN> (message from Juri Linkov on
 Fri, 19 Apr 2024 09:28:41 +0300)
Subject: Re: bug#69983: Use category for display-buffer-alist
References: <86h6gv7e0z.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
 <86il0pd8da.fsf@HIDDEN> <864jc9wk5r.fsf@HIDDEN>
 <861q7dgla3.fsf@HIDDEN> <86il0pulum.fsf@HIDDEN>
 <86cyqwjtpr.fsf@HIDDEN> <86y19ktkj2.fsf@HIDDEN>
 <86h6g7m773.fsf@HIDDEN> <86sezrrrgh.fsf@HIDDEN>
 <86il0m7ceo.fsf@HIDDEN> <86a5lysah3.fsf@HIDDEN>
 <86o7ad2j84.fsf@HIDDEN> <86mspxnkyt.fsf@HIDDEN>
 <86bk6c5ke3.fsf@HIDDEN> <864jbyeo9y.fsf@HIDDEN>
 <86jzkusidd.fsf@HIDDEN> <86h6fyd06g.fsf@HIDDEN>
 <861q71rhtk.fsf@HIDDEN> <86ttjxq31i.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Juri Linkov <juri@HIDDEN>
> Cc: rudalics@HIDDEN,  69983 <at> debbugs.gnu.org
> Date: Fri, 19 Apr 2024 09:28:41 +0300
> 
> > This is not about customizing display-warning.  This is about
> > customizing the display of the warning buffer.  When other
> > functions such as 'lwarn' and 'warn' display the warning buffer
> > the only way to customize the display of the warning buffer
> > is display-buffer-alist.
> 
> Sorry, actually you are right, let's add a new option.
> Will do this soon.

Thank you!




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 19 Apr 2024 07:19:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 19 03:19:31 2024
Received: from localhost ([127.0.0.1]:57280 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rxiWw-000057-8a
	for submit <at> debbugs.gnu.org; Fri, 19 Apr 2024 03:19:30 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:41510)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rxiWu-0008Vi-4e
 for 69983 <at> debbugs.gnu.org; Fri, 19 Apr 2024 03:19:29 -0400
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 <eliz@HIDDEN>)
 id 1rxiWa-0007Q0-2B; Fri, 19 Apr 2024 03:19:08 -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=eE+AU85Ma+XtaTpaJdsH4FqAwaCaRJ6yhuxxFL8FVQs=; b=HIVCINsLibNP
 sf84V8ORIlMn30nA48mDnC9n5a7gnKqsn74aCpKanFONIuXm9YItvJi5mySBUsVufdQ/duefcnt/c
 1D4TyaNKQAc6iwC1TqRUFWMrX4t4CGInMROFvyHEAvkInrdq6yfKkc30BNmtOpWiJBuhzqVVT1A2G
 RDdECG+Nzp6ghpOUbU8QTJ/CaeC89/Wk3LFeqS0awhoE2rfyEqUz1PSrHEGlwKGAIF6EWTTmOlID5
 8HzTEVvMSqSP0CP+aDHARQcdUuk9IQo17uFkxhSB4pjbYWbaxYZWf5ytAckjzj2YKASy7XYzh50Z9
 UkQXQjWndUvRCr2Vn5iW5g==;
Date: Fri, 19 Apr 2024 10:19:06 +0300
Message-Id: <86zftpbz11.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <861q71rhtk.fsf@HIDDEN> (message from Juri Linkov on
 Fri, 19 Apr 2024 09:24:10 +0300)
Subject: Re: bug#69983: Use category for display-buffer-alist
References: <86h6gv7e0z.fsf@HIDDEN> <86a5m3jboy.fsf@HIDDEN>
 <86v84rvwpa.fsf@HIDDEN> <867ch7gfa4.fsf@HIDDEN>
 <86bk6iwftq.fsf@HIDDEN> <86il0pd8da.fsf@HIDDEN>
 <864jc9wk5r.fsf@HIDDEN> <861q7dgla3.fsf@HIDDEN>
 <86il0pulum.fsf@HIDDEN> <86cyqwjtpr.fsf@HIDDEN>
 <86y19ktkj2.fsf@HIDDEN> <86h6g7m773.fsf@HIDDEN>
 <86sezrrrgh.fsf@HIDDEN> <86il0m7ceo.fsf@HIDDEN>
 <86a5lysah3.fsf@HIDDEN> <86o7ad2j84.fsf@HIDDEN>
 <86mspxnkyt.fsf@HIDDEN> <86bk6c5ke3.fsf@HIDDEN>
 <864jbyeo9y.fsf@HIDDEN> <86jzkusidd.fsf@HIDDEN>
 <86h6fyd06g.fsf@HIDDEN> <861q71rhtk.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Juri Linkov <juri@HIDDEN>
> Cc: rudalics@HIDDEN,  69983 <at> debbugs.gnu.org
> Date: Fri, 19 Apr 2024 09:24:10 +0300
> 
> >> Adding dozens of new variables that replace display-buffer-alist
> >> makes no sense.
> >
> > So we disagree.  I stand by my opinion, and will object to making
> > display-buffer-alist the way of customizing display-warning.
> 
> This is not about customizing display-warning.  This is about
> customizing the display of the warning buffer.  When other
> functions such as 'lwarn' and 'warn' display the warning buffer
> the only way to customize the display of the warning buffer
> is display-buffer-alist.

I think the proper solution for that is to introduce a new variable
that would customize what display-warning does.  Doing it with
display-buffer-alist is IMO wrong, for the reasons I explained
up-thread.  I realize that you disagree, but I stand by my opinion.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 19 Apr 2024 06:29:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 19 02:29:46 2024
Received: from localhost ([127.0.0.1]:57043 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rxhkn-0005uZ-K3
	for submit <at> debbugs.gnu.org; Fri, 19 Apr 2024 02:29:45 -0400
Received: from relay7-d.mail.gandi.net ([217.70.183.200]:55671)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1rxhkm-0005tk-18
 for 69983 <at> debbugs.gnu.org; Fri, 19 Apr 2024 02:29:44 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 11F2B20008;
 Fri, 19 Apr 2024 06:29:22 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <861q71rhtk.fsf@HIDDEN> (Juri Linkov's message of "Fri, 
 19 Apr 2024 09:24:10 +0300")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
 <86il0pd8da.fsf@HIDDEN> <864jc9wk5r.fsf@HIDDEN>
 <861q7dgla3.fsf@HIDDEN> <86il0pulum.fsf@HIDDEN>
 <86cyqwjtpr.fsf@HIDDEN> <86y19ktkj2.fsf@HIDDEN>
 <86h6g7m773.fsf@HIDDEN> <86sezrrrgh.fsf@HIDDEN>
 <86il0m7ceo.fsf@HIDDEN> <86a5lysah3.fsf@HIDDEN>
 <86o7ad2j84.fsf@HIDDEN> <86mspxnkyt.fsf@HIDDEN>
 <86bk6c5ke3.fsf@HIDDEN> <864jbyeo9y.fsf@HIDDEN>
 <86jzkusidd.fsf@HIDDEN> <86h6fyd06g.fsf@HIDDEN>
 <861q71rhtk.fsf@HIDDEN>
Date: Fri, 19 Apr 2024 09:28:41 +0300
Message-ID: <86ttjxq31i.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>>> >> >> > If we want to enable user control of displaying warnings, we will have
>>> >> >> > to add an option for that, because currently that cannot be
>>> >> >> > controlled.  display-buffer-alist is inappropriate for such control,
>>> >> >> > since in some cases warnings are not displayed in pop-up windows.
>>> >> >>
>>> >> >> Could you show an example when warnings are not displayed in pop-up windows.
>>> >> >
>>> >> > The two calls to 'message' there.
>>> >>
>>> >> These calls are irrelevant.  It makes no sense to add an option
>>> >> to display text "at the bottom of 'message'".
>>> >
>>> > Of course.  But what if some user would like to display the warnings
>>> > in the echo-area?  Don't we want to allow such customization?  If we
>>> > do, then display-buffer machinery is not relevant, exactly as it is
>>> > not relevant for those two calls.
>>>
>>> This proves that a new option is not needed.  QED.
>>>
>>> >> >> > Thanks, but what do you mean by "at the bottom"?  Can you describe
>>> >> >> > that place more precisely?
>>> >> >>
>>> >> >> Here is an example:
>>> >> >
>>> >> > I understand what this means in the simple cases, but not necessarily
>>> >> > what happens in more complex cases.
>>> >>
>>> >> This case is not simple.  It demonstrates the problem
>>> >> in horizontally split windows.
>>> >>
>>> >> > This is why I asked for a detailed definition of "at bottom".
>>> >>
>>> >> The detailed definition is in the documentation of
>>> >> 'display-buffer-at-bottom'.
>>> >
>>> > I agree that "display at bottom" is a useful feature, but why should
>>> > we decide that users could have no control of that, either?  E.g.,
>>> > another reasonable MO is to split the selected window vertically and
>>> > show the warning in the lower window.
>>>
>>> This is easy to customize with a category in display-buffer-alist.
>>>
>>> > So I think display-warning should have a variable to customize its
>>> > display, and limiting that only to what display-buffer can produce
>>> > doesn't support all the optional behaviors people could reasonably
>>> > want.  Moreover, display-buffer is IMO overly-complex for this simple
>>> > job; a simple variable with several distinct values would do.
>>>
>>> Adding dozens of new variables that replace display-buffer-alist
>>> makes no sense.
>>
>> So we disagree.  I stand by my opinion, and will object to making
>> display-buffer-alist the way of customizing display-warning.
>
> This is not about customizing display-warning.  This is about
> customizing the display of the warning buffer.  When other
> functions such as 'lwarn' and 'warn' display the warning buffer
> the only way to customize the display of the warning buffer
> is display-buffer-alist.

Sorry, actually you are right, let's add a new option.
Will do this soon.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 19 Apr 2024 06:25:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 19 02:25:41 2024
Received: from localhost ([127.0.0.1]:57018 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rxhgr-0005YC-Hr
	for submit <at> debbugs.gnu.org; Fri, 19 Apr 2024 02:25:41 -0400
Received: from relay4-d.mail.gandi.net ([217.70.183.196]:46789)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1rxhgp-0005Y5-Bq
 for 69983 <at> debbugs.gnu.org; Fri, 19 Apr 2024 02:25:39 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 29997E0003;
 Fri, 19 Apr 2024 06:25:17 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <86h6fyd06g.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 18 Apr
 2024 20:56:39 +0300")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN> <86a5m3jboy.fsf@HIDDEN>
 <86v84rvwpa.fsf@HIDDEN> <867ch7gfa4.fsf@HIDDEN>
 <86bk6iwftq.fsf@HIDDEN> <86il0pd8da.fsf@HIDDEN>
 <864jc9wk5r.fsf@HIDDEN> <861q7dgla3.fsf@HIDDEN>
 <86il0pulum.fsf@HIDDEN> <86cyqwjtpr.fsf@HIDDEN>
 <86y19ktkj2.fsf@HIDDEN> <86h6g7m773.fsf@HIDDEN>
 <86sezrrrgh.fsf@HIDDEN> <86il0m7ceo.fsf@HIDDEN>
 <86a5lysah3.fsf@HIDDEN> <86o7ad2j84.fsf@HIDDEN>
 <86mspxnkyt.fsf@HIDDEN> <86bk6c5ke3.fsf@HIDDEN>
 <864jbyeo9y.fsf@HIDDEN> <86jzkusidd.fsf@HIDDEN>
 <86h6fyd06g.fsf@HIDDEN>
Date: Fri, 19 Apr 2024 09:24:10 +0300
Message-ID: <861q71rhtk.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> >> >> > If we want to enable user control of displaying warnings, we will have
>> >> >> > to add an option for that, because currently that cannot be
>> >> >> > controlled.  display-buffer-alist is inappropriate for such control,
>> >> >> > since in some cases warnings are not displayed in pop-up windows.
>> >> >>
>> >> >> Could you show an example when warnings are not displayed in pop-up windows.
>> >> >
>> >> > The two calls to 'message' there.
>> >>
>> >> These calls are irrelevant.  It makes no sense to add an option
>> >> to display text "at the bottom of 'message'".
>> >
>> > Of course.  But what if some user would like to display the warnings
>> > in the echo-area?  Don't we want to allow such customization?  If we
>> > do, then display-buffer machinery is not relevant, exactly as it is
>> > not relevant for those two calls.
>>
>> This proves that a new option is not needed.  QED.
>>
>> >> >> > Thanks, but what do you mean by "at the bottom"?  Can you describe
>> >> >> > that place more precisely?
>> >> >>
>> >> >> Here is an example:
>> >> >
>> >> > I understand what this means in the simple cases, but not necessarily
>> >> > what happens in more complex cases.
>> >>
>> >> This case is not simple.  It demonstrates the problem
>> >> in horizontally split windows.
>> >>
>> >> > This is why I asked for a detailed definition of "at bottom".
>> >>
>> >> The detailed definition is in the documentation of
>> >> 'display-buffer-at-bottom'.
>> >
>> > I agree that "display at bottom" is a useful feature, but why should
>> > we decide that users could have no control of that, either?  E.g.,
>> > another reasonable MO is to split the selected window vertically and
>> > show the warning in the lower window.
>>
>> This is easy to customize with a category in display-buffer-alist.
>>
>> > So I think display-warning should have a variable to customize its
>> > display, and limiting that only to what display-buffer can produce
>> > doesn't support all the optional behaviors people could reasonably
>> > want.  Moreover, display-buffer is IMO overly-complex for this simple
>> > job; a simple variable with several distinct values would do.
>>
>> Adding dozens of new variables that replace display-buffer-alist
>> makes no sense.
>
> So we disagree.  I stand by my opinion, and will object to making
> display-buffer-alist the way of customizing display-warning.

This is not about customizing display-warning.  This is about
customizing the display of the warning buffer.  When other
functions such as 'lwarn' and 'warn' display the warning buffer
the only way to customize the display of the warning buffer
is display-buffer-alist.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 18 Apr 2024 17:57:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 18 13:57:06 2024
Received: from localhost ([127.0.0.1]:53750 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rxW0N-0000Kc-Q4
	for submit <at> debbugs.gnu.org; Thu, 18 Apr 2024 13:57:06 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53992)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rxW0L-0000J8-IT
 for 69983 <at> debbugs.gnu.org; Thu, 18 Apr 2024 13:57:02 -0400
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 <eliz@HIDDEN>)
 id 1rxW01-0000QI-Ny; Thu, 18 Apr 2024 13:56:41 -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=Ovaqu3ebwR5kW++Wif9j+BmsJnCk4wWpKXQ8DKDyp0g=; b=U7qVNdTm+4Oo
 CRqDUykv39z3X17iDuZxLviVxTkLMFqgwUa367ZfQtHALdaovWoqhPBU10BLyIsWnnHg5e0iuTMpI
 NpChY6qq8ho5IZ/cCkJzoZ8/YiW/D/I+PAcc2VhHaLSa/G5hd5sXrKUdK74sBVO4YuP4Ucts/GuYh
 4Irr1azATWQvsjwWm3N7A38afGSOnCcN4iZaVTG7lIqdrvg8M/WIrs4ekJ+dYFO8VFN1fYSQJDAmZ
 UEqWoCcHzl7Q7TtOOiyPgKCV2E7k1WnYHZmOKnWsF/y7T1UXB3Ja2PRbukfV1W/9eJopIFAo4FgsZ
 GVtA+ifltEZQYfo9m8L96Q==;
Date: Thu, 18 Apr 2024 20:56:39 +0300
Message-Id: <86h6fyd06g.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <86jzkusidd.fsf@HIDDEN> (message from Juri Linkov on
 Thu, 18 Apr 2024 20:16:30 +0300)
Subject: Re: bug#69983: Use category for display-buffer-alist
References: <86h6gv7e0z.fsf@HIDDEN> <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
 <86il0pd8da.fsf@HIDDEN> <864jc9wk5r.fsf@HIDDEN>
 <861q7dgla3.fsf@HIDDEN> <86il0pulum.fsf@HIDDEN>
 <86cyqwjtpr.fsf@HIDDEN> <86y19ktkj2.fsf@HIDDEN>
 <86h6g7m773.fsf@HIDDEN> <86sezrrrgh.fsf@HIDDEN>
 <86il0m7ceo.fsf@HIDDEN> <86a5lysah3.fsf@HIDDEN>
 <86o7ad2j84.fsf@HIDDEN> <86mspxnkyt.fsf@HIDDEN>
 <86bk6c5ke3.fsf@HIDDEN> <864jbyeo9y.fsf@HIDDEN>
 <86jzkusidd.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Juri Linkov <juri@HIDDEN>
> Cc: rudalics@HIDDEN,  69983 <at> debbugs.gnu.org
> Date: Thu, 18 Apr 2024 20:16:30 +0300
> 
> >> >> > If we want to enable user control of displaying warnings, we will have
> >> >> > to add an option for that, because currently that cannot be
> >> >> > controlled.  display-buffer-alist is inappropriate for such control,
> >> >> > since in some cases warnings are not displayed in pop-up windows.
> >> >>
> >> >> Could you show an example when warnings are not displayed in pop-up windows.
> >> >
> >> > The two calls to 'message' there.
> >>
> >> These calls are irrelevant.  It makes no sense to add an option
> >> to display text "at the bottom of 'message'".
> >
> > Of course.  But what if some user would like to display the warnings
> > in the echo-area?  Don't we want to allow such customization?  If we
> > do, then display-buffer machinery is not relevant, exactly as it is
> > not relevant for those two calls.
> 
> This proves that a new option is not needed.  QED.
> 
> >> >> > Thanks, but what do you mean by "at the bottom"?  Can you describe
> >> >> > that place more precisely?
> >> >>
> >> >> Here is an example:
> >> >
> >> > I understand what this means in the simple cases, but not necessarily
> >> > what happens in more complex cases.
> >>
> >> This case is not simple.  It demonstrates the problem
> >> in horizontally split windows.
> >>
> >> > This is why I asked for a detailed definition of "at bottom".
> >>
> >> The detailed definition is in the documentation of
> >> 'display-buffer-at-bottom'.
> >
> > I agree that "display at bottom" is a useful feature, but why should
> > we decide that users could have no control of that, either?  E.g.,
> > another reasonable MO is to split the selected window vertically and
> > show the warning in the lower window.
> 
> This is easy to customize with a category in display-buffer-alist.
> 
> > So I think display-warning should have a variable to customize its
> > display, and limiting that only to what display-buffer can produce
> > doesn't support all the optional behaviors people could reasonably
> > want.  Moreover, display-buffer is IMO overly-complex for this simple
> > job; a simple variable with several distinct values would do.
> 
> Adding dozens of new variables that replace display-buffer-alist
> makes no sense.

So we disagree.  I stand by my opinion, and will object to making
display-buffer-alist the way of customizing display-warning.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 18 Apr 2024 17:35:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 18 13:35:17 2024
Received: from localhost ([127.0.0.1]:53651 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rxVfI-0005xA-Dv
	for submit <at> debbugs.gnu.org; Thu, 18 Apr 2024 13:35:17 -0400
Received: from relay9-d.mail.gandi.net ([2001:4b98:dc4:8::229]:49311)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1rxVf9-0005ui-7u
 for 69983 <at> debbugs.gnu.org; Thu, 18 Apr 2024 13:35:08 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 6F203FF806;
 Thu, 18 Apr 2024 17:34:46 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <864jbyeo9y.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 18 Apr
 2024 17:30:49 +0300")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN> <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
 <86il0pd8da.fsf@HIDDEN> <864jc9wk5r.fsf@HIDDEN>
 <861q7dgla3.fsf@HIDDEN> <86il0pulum.fsf@HIDDEN>
 <86cyqwjtpr.fsf@HIDDEN> <86y19ktkj2.fsf@HIDDEN>
 <86h6g7m773.fsf@HIDDEN> <86sezrrrgh.fsf@HIDDEN>
 <86il0m7ceo.fsf@HIDDEN> <86a5lysah3.fsf@HIDDEN>
 <86o7ad2j84.fsf@HIDDEN> <86mspxnkyt.fsf@HIDDEN>
 <86bk6c5ke3.fsf@HIDDEN> <864jbyeo9y.fsf@HIDDEN>
Date: Thu, 18 Apr 2024 20:16:30 +0300
Message-ID: <86jzkusidd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> >> > If we want to enable user control of displaying warnings, we will have
>> >> > to add an option for that, because currently that cannot be
>> >> > controlled.  display-buffer-alist is inappropriate for such control,
>> >> > since in some cases warnings are not displayed in pop-up windows.
>> >>
>> >> Could you show an example when warnings are not displayed in pop-up windows.
>> >
>> > The two calls to 'message' there.
>>
>> These calls are irrelevant.  It makes no sense to add an option
>> to display text "at the bottom of 'message'".
>
> Of course.  But what if some user would like to display the warnings
> in the echo-area?  Don't we want to allow such customization?  If we
> do, then display-buffer machinery is not relevant, exactly as it is
> not relevant for those two calls.

This proves that a new option is not needed.  QED.

>> >> > Thanks, but what do you mean by "at the bottom"?  Can you describe
>> >> > that place more precisely?
>> >>
>> >> Here is an example:
>> >
>> > I understand what this means in the simple cases, but not necessarily
>> > what happens in more complex cases.
>>
>> This case is not simple.  It demonstrates the problem
>> in horizontally split windows.
>>
>> > This is why I asked for a detailed definition of "at bottom".
>>
>> The detailed definition is in the documentation of
>> 'display-buffer-at-bottom'.
>
> I agree that "display at bottom" is a useful feature, but why should
> we decide that users could have no control of that, either?  E.g.,
> another reasonable MO is to split the selected window vertically and
> show the warning in the lower window.

This is easy to customize with a category in display-buffer-alist.

> So I think display-warning should have a variable to customize its
> display, and limiting that only to what display-buffer can produce
> doesn't support all the optional behaviors people could reasonably
> want.  Moreover, display-buffer is IMO overly-complex for this simple
> job; a simple variable with several distinct values would do.

Adding dozens of new variables that replace display-buffer-alist
makes no sense.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 18 Apr 2024 14:31:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 18 10:31:14 2024
Received: from localhost ([127.0.0.1]:52772 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rxSnC-0000La-1s
	for submit <at> debbugs.gnu.org; Thu, 18 Apr 2024 10:31:14 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48838)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rxSnA-00006R-M5
 for 69983 <at> debbugs.gnu.org; Thu, 18 Apr 2024 10:31:13 -0400
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 <eliz@HIDDEN>)
 id 1rxSmq-0002eA-WE; Thu, 18 Apr 2024 10:30:53 -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=t1afo7fm4aAYv4SXTF4z6Df/PqLjQa5fnJp9MzU5MvI=; b=KtHSr+b9ayLt
 BWw7dLqNPWrh4Ma0Xd+A06JtY5RwFgNYYBcC9Ie9hgL5nV+DkIXGpNanfffqvfD23TgKaBSXVXWfB
 w9alay/X0Fo5qohPtBfxG5JNIToj3qaxhbInt1eAe85JYNqmwJRxXONHRXkgzaLKkyGtrwDaGbR/+
 ZhNhm6Zr9zwxHM0hUXAL7Kj+GU/Tng0gm7A5Y2by+E6cO4TMM+1+XgtDbxtq82+FM8BNHfNABqLVb
 NvHPcyZhgGeGu9Me9BYOfr8EOkBmDnCLlos1byhAZmi2D3SQfSHdAmPoApO2Glm1POjOrvAlRuI9e
 zR7MND/LO8R2N6rPFgrt9w==;
Date: Thu, 18 Apr 2024 17:30:49 +0300
Message-Id: <864jbyeo9y.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <86bk6c5ke3.fsf@HIDDEN> (message from Juri Linkov on
 Sun, 14 Apr 2024 19:04:13 +0300)
Subject: Re: bug#69983: Use category for display-buffer-alist
References: <86h6gv7e0z.fsf@HIDDEN> <86wmpdu0fa.fsf@HIDDEN>
 <86h6gf69jd.fsf@HIDDEN> <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
 <86il0pd8da.fsf@HIDDEN> <864jc9wk5r.fsf@HIDDEN>
 <861q7dgla3.fsf@HIDDEN> <86il0pulum.fsf@HIDDEN>
 <86cyqwjtpr.fsf@HIDDEN> <86y19ktkj2.fsf@HIDDEN>
 <86h6g7m773.fsf@HIDDEN> <86sezrrrgh.fsf@HIDDEN>
 <86il0m7ceo.fsf@HIDDEN> <86a5lysah3.fsf@HIDDEN>
 <86o7ad2j84.fsf@HIDDEN> <86mspxnkyt.fsf@HIDDEN>
 <86bk6c5ke3.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Juri Linkov <juri@HIDDEN>
> Cc: rudalics@HIDDEN,  69983 <at> debbugs.gnu.org
> Date: Sun, 14 Apr 2024 19:04:13 +0300
> 
> >> > If we want to enable user control of displaying warnings, we will have
> >> > to add an option for that, because currently that cannot be
> >> > controlled.  display-buffer-alist is inappropriate for such control,
> >> > since in some cases warnings are not displayed in pop-up windows.
> >>
> >> Could you show an example when warnings are not displayed in pop-up windows.
> >
> > The two calls to 'message' there.
> 
> These calls are irrelevant.  It makes no sense to add an option
> to display text "at the bottom of 'message'".

Of course.  But what if some user would like to display the warnings
in the echo-area?  Don't we want to allow such customization?  If we
do, then display-buffer machinery is not relevant, exactly as it is
not relevant for those two calls.

> >> > Thanks, but what do you mean by "at the bottom"?  Can you describe
> >> > that place more precisely?
> >>
> >> Here is an example:
> >
> > I understand what this means in the simple cases, but not necessarily
> > what happens in more complex cases.
> 
> This case is not simple.  It demonstrates the problem
> in horizontally split windows.
> 
> > This is why I asked for a detailed definition of "at bottom".
> 
> The detailed definition is in the documentation of
> 'display-buffer-at-bottom'.

I agree that "display at bottom" is a useful feature, but why should
we decide that users could have no control of that, either?  E.g.,
another reasonable MO is to split the selected window vertically and
show the warning in the lower window.

So I think display-warning should have a variable to customize its
display, and limiting that only to what display-buffer can produce
doesn't support all the optional behaviors people could reasonably
want.  Moreover, display-buffer is IMO overly-complex for this simple
job; a simple variable with several distinct values would do.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 14 Apr 2024 16:17:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 14 12:17:38 2024
Received: from localhost ([127.0.0.1]:36010 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rw2Xw-0007Uo-NO
	for submit <at> debbugs.gnu.org; Sun, 14 Apr 2024 12:17:38 -0400
Received: from relay1-d.mail.gandi.net ([2001:4b98:dc4:8::221]:47655)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1rw2Xt-0007Sk-Go
 for 69983 <at> debbugs.gnu.org; Sun, 14 Apr 2024 12:17:34 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 86C21240002;
 Sun, 14 Apr 2024 16:17:12 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <86mspxnkyt.fsf@HIDDEN> (Eli Zaretskii's message of "Sat, 13 Apr
 2024 22:03:54 +0300")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN> <86wmpdu0fa.fsf@HIDDEN>
 <86h6gf69jd.fsf@HIDDEN> <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
 <86il0pd8da.fsf@HIDDEN> <864jc9wk5r.fsf@HIDDEN>
 <861q7dgla3.fsf@HIDDEN> <86il0pulum.fsf@HIDDEN>
 <86cyqwjtpr.fsf@HIDDEN> <86y19ktkj2.fsf@HIDDEN>
 <86h6g7m773.fsf@HIDDEN> <86sezrrrgh.fsf@HIDDEN>
 <86il0m7ceo.fsf@HIDDEN> <86a5lysah3.fsf@HIDDEN>
 <86o7ad2j84.fsf@HIDDEN> <86mspxnkyt.fsf@HIDDEN>
Date: Sun, 14 Apr 2024 19:04:13 +0300
Message-ID: <86bk6c5ke3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> > If we want to enable user control of displaying warnings, we will have
>> > to add an option for that, because currently that cannot be
>> > controlled.  display-buffer-alist is inappropriate for such control,
>> > since in some cases warnings are not displayed in pop-up windows.
>>
>> Could you show an example when warnings are not displayed in pop-up windows.
>
> The two calls to 'message' there.

These calls are irrelevant.  It makes no sense to add an option
to display text "at the bottom of 'message'".

>> > Thanks, but what do you mean by "at the bottom"?  Can you describe
>> > that place more precisely?
>>
>> Here is an example:
>
> I understand what this means in the simple cases, but not necessarily
> what happens in more complex cases.

This case is not simple.  It demonstrates the problem
in horizontally split windows.

> This is why I asked for a detailed definition of "at bottom".

The detailed definition is in the documentation of
'display-buffer-at-bottom'.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 13 Apr 2024 19:04:23 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 13 15:04:22 2024
Received: from localhost ([127.0.0.1]:33785 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rvifl-0002v3-JB
	for submit <at> debbugs.gnu.org; Sat, 13 Apr 2024 15:04:22 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:53818)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rvifg-0002tK-H8
 for 69983 <at> debbugs.gnu.org; Sat, 13 Apr 2024 15:04:19 -0400
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 <eliz@HIDDEN>)
 id 1rvifQ-0003Lh-3R; Sat, 13 Apr 2024 15:04:00 -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=KLFPWDfA8hNX7N1fmWmfVVdjtM2utxGpCdJonbJ7z50=; b=WR4sMBHHF/4w
 939du0moTyEmlmX/10VGS7fP67WpSjXtAwY1PSTubP3faM3vxhC1rStEBfUDMBCjvheBIpmnZudVt
 gITmXKVwuo+Wh73PeJ8E1qeKwShUJsYJe6W+9PRqEuUav4qoI/jCSxc5auFTp+ysy/NNfZNFEQrC0
 pO2giTP/3Q5NBl/XBI6zRP0QYZGynNS9TNnT4jCGAXhTuoOmXQKg6hzo0VHEZ7mW1y5D6LNDGwez+
 nO2KkJVhoHAojR1dZ9YFx15pfVr/T3Kyvnl2MAEbLCwBa6vxZd24r2d8rFB20J4DggZAuWbXSvfxQ
 LfvpAIZDNWErScm+67VZiQ==;
Date: Sat, 13 Apr 2024 22:03:54 +0300
Message-Id: <86mspxnkyt.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <86o7ad2j84.fsf@HIDDEN> (message from Juri Linkov on
 Sat, 13 Apr 2024 21:49:13 +0300)
Subject: Re: bug#69983: Use category for display-buffer-alist
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
 <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
 <86il0pd8da.fsf@HIDDEN> <864jc9wk5r.fsf@HIDDEN>
 <861q7dgla3.fsf@HIDDEN> <86il0pulum.fsf@HIDDEN>
 <86cyqwjtpr.fsf@HIDDEN> <86y19ktkj2.fsf@HIDDEN>
 <86h6g7m773.fsf@HIDDEN> <86sezrrrgh.fsf@HIDDEN>
 <86il0m7ceo.fsf@HIDDEN> <86a5lysah3.fsf@HIDDEN>
 <86o7ad2j84.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Juri Linkov <juri@HIDDEN>
> Cc: rudalics@HIDDEN,  69983 <at> debbugs.gnu.org
> Date: Sat, 13 Apr 2024 21:49:13 +0300
> 
> > If we want to enable user control of displaying warnings, we will have
> > to add an option for that, because currently that cannot be
> > controlled.  display-buffer-alist is inappropriate for such control,
> > since in some cases warnings are not displayed in pop-up windows.
> 
> Could you show an example when warnings are not displayed in pop-up windows.

The two calls to 'message' there.

> > Thanks, but what do you mean by "at the bottom"?  Can you describe
> > that place more precisely?
> 
> Here is an example:

I understand what this means in the simple cases, but not necessarily
what happens in more complex cases.  This is why I asked for a
detailed definition of "at bottom".




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 13 Apr 2024 18:50:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 13 14:50:54 2024
Received: from localhost ([127.0.0.1]:33772 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rviSh-0000hu-Mv
	for submit <at> debbugs.gnu.org; Sat, 13 Apr 2024 14:50:54 -0400
Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]:38469)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1rviSd-0000fh-63
 for 69983 <at> debbugs.gnu.org; Sat, 13 Apr 2024 14:50:49 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id E46181C0004;
 Sat, 13 Apr 2024 18:50:27 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <86a5lysah3.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 12 Apr
 2024 21:27:04 +0300")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
 <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
 <86il0pd8da.fsf@HIDDEN> <864jc9wk5r.fsf@HIDDEN>
 <861q7dgla3.fsf@HIDDEN> <86il0pulum.fsf@HIDDEN>
 <86cyqwjtpr.fsf@HIDDEN> <86y19ktkj2.fsf@HIDDEN>
 <86h6g7m773.fsf@HIDDEN> <86sezrrrgh.fsf@HIDDEN>
 <86il0m7ceo.fsf@HIDDEN> <86a5lysah3.fsf@HIDDEN>
Date: Sat, 13 Apr 2024 21:49:13 +0300
Message-ID: <86o7ad2j84.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.5 (/)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.5 (-)

--=-=-=
Content-Type: text/plain

>> >> Adding hundreds of separate options for every display-buffer call
>> >> makes no sense.
>> >
>> > Adding hundreds of separate options indeed doesn't make sense, but I
>> > suggested to add just one.
>> 
>> The point of this bug report is to remove options, not to add a new ones.
>
> If we want to enable user control of displaying warnings, we will have
> to add an option for that, because currently that cannot be
> controlled.  display-buffer-alist is inappropriate for such control,
> since in some cases warnings are not displayed in pop-up windows.

Could you show an example when warnings are not displayed in pop-up windows.

>> > In addition:
>> >
>> >   . you haven't addressed my comments that currently we don't even
>> >     document that warnings.el uses display-buffer (and neither do I
>> >     think we _should_ document that);
>> 
>> I agree, this should be documented.  Then problem solved.
>
> That's not TRT, because in some cases warnings are not displayed via
> display-buffer.  So documenting this would produce inaccurate
> documentation.

I can't find cases when warnings are not displayed via display-buffer.

>> >   . you haven't explained what kind of behavior change would you like
>> >     to make in how warnings.el displays the warnings, without which
>> >     I'm not even sure I understand the intended change of behavior
>> 
>> The problem of the users of horizontally split windows
>> is that the warning buffer pops up in unpredictable places,
>> thus disrupting the user's window layout.
>> 
>> The proposed change is to always display the warning buffer at the bottom
>> where most contemporary IDEs are displaying such information.
>
> Thanks, but what do you mean by "at the bottom"?  Can you describe
> that place more precisely?

Here is an example:


--=-=-=
Content-Type: image/png
Content-Disposition: inline; filename=warning.png
Content-Transfer-Encoding: base64

iVBORw0KGgoAAAANSUhEUgAAA0AAAAFcCAIAAABuikncAAAACXBIWXMAABDDAAAQwwHmNsGNAAAg
AElEQVR42uzdeVwU9RsH8GdmdpcFdjnlRpBbFBDF+z4zMzXUzCMrNTUts9TMTOuXqeVRHll5pHmb
931baqEI3jcgiKKAitywyx4z8/sDVFBgl0tBP++XvV7ELDPf89lnvjOzy1y7do0AAAAAoOZgK2Mn
YtrFXSsWLT+WJLzYyojZ8REHd+y7kCaiY6F6qS5zBDCiAOBVTuB00RvGDez/6aqreURExKec27P9
0Nm76hecOPEJh5csWnEgKlsoppA1RQ0ttlG0d8P+nD52yDuhPXuG9nt/3NpreiIS1fF/L/vfmPf7
hfbqFfrOkMlb4viXcKI95znyMo8iNFG1iroA8KJISjq9yzz07fsLzuqe/r00+JM/p3eTpd5NysoR
7qZoRZIzRCzLEDEsU8mnmCWUgfMYtGDBQA+umHSUK1QObdFC6qM2TvlpD/PGrBmhzhVbd9SnRR3d
s+dY5JW45Iw8xszGxTe4Zeee3VvVUZSlAUoqz1PFrhZyTy+bsvTfpLQslYYXOampwsaxjl+jNj3e
6uJvzRndnbnnln0ze3+GXXDH0NcdZNoMxteJIzHz5KJv5x3PdQ7p1Lu+nVSdLvVxZJ97/f6e9u7P
EdriNzK23WeuGB0kqeipUiXPkfzZcdF/1PKZb9Z6Zq9VN4pKP67x4/y5qYYTrcQ21F/6bejk/ZJe
Py4dXl/yvEcUALwkCRwxnISItW/0Rntvs8LJk6uPGUPytl8sc+8vOntaMroqPP8roQysbaC1EW8F
iqKFFFX3bydnubIVexMR08+tnDFna1S2xKJOYKP2Tc359NuXLxxec+bvA00/nPJFDy9To/dUQnkU
z6dty1RpPispPimjVtPQUH8FaXPS7t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Ky7Tx+VMbfu9fNOl3K8HzGbJjTsULLVvVT
P5jiu/8uuVvxfsG087z1I71IfnJitpplIncvjXy9UXptZm75PqCu52zaISjI+tDFO4nqAM/X60r0
A7r2TD938+rBiMNSOYhN7Dw6jO/fL8S8wk7TCfq6j+jqtsV7pbRpg9AJo4YGvLw11LLvNmOh0b+7
jhxceSy3lKdrYuPi26S948uASMTeQ+fNs9i15+Te5cdlrNhU4tuqT/nzEOoHWyfOfv1deBvGDd8A
QFv3/n3lYBeaaDca9uuQ9eu3/jjwb6Jr5dm6z+iOe/88W/kmrvpjQ/ko8n6JXYemttgAhxD6oHkk
PDzc1dUVC+LzxknTUtSmElMhAWByLi2dtPRKvpb/2A2z2hliKwH60Edf9vEZ4w9YTlk9VuPvJmCS
dk6YfNp9xuax/vWtIVh+86/RywoGrZzZzgTPLYTQh5KQkMDDUvgvUMfv/XXhVU7HQF+bkufmFKo4
ot8otJEBXmHQR7hLNAvtGxq2MOxyX//PPtRwzy8cjdBpN7MVpjeE0AeGrfz/jd1s5t7Yy0aPyPNe
5JUKTZ0adRk/e3wwtr6hj0Po1W/CEE8qp/hzf7EGJ8vR8hv2fZ8GfNzpCKEPfXMcHh6OpYAQQggh
VJ8CnEwmq3KCrq4ulg5CCCGE0HtUWFj4XnIXdqEihBBCCNUzGOAQQgghhDDAIYQQQgghDHAIIYQQ
QggDHEIIIYQQBjiEEEIIIYQBDiGEEEIIYYBDCCGEEMIAhxBCCCGEMMAhhBBCCCEMcAghhBBCGOAQ
QgghhBAGOIQQQgghhAEOIYQQQggDHEIIIYQQwgCHEEIIIYQwwCGEEEIIYYBDCCGEEEJ1xv8B4EJk
OOxvvzgAAAAASUVORK5CYII=
--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 12 Apr 2024 18:27:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 12 14:27:28 2024
Received: from localhost ([127.0.0.1]:59567 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rvLcV-0005Gu-Lj
	for submit <at> debbugs.gnu.org; Fri, 12 Apr 2024 14:27:28 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:59166)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rvLcS-0005G1-Tn
 for 69983 <at> debbugs.gnu.org; Fri, 12 Apr 2024 14:27:25 -0400
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 <eliz@HIDDEN>)
 id 1rvLcB-0005px-Jr; Fri, 12 Apr 2024 14:27:07 -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=yntNH8Z3bkMNx/KtNGY04XzNn97GuMbdOmfQzn89OzM=; b=saDivDAJVd7m
 ZFciXRGJqtv94kLYCX6dOPOgseY136hppidtNYlnPWlVCOnASxCjTjjPOebIsI4wjuKxx5W9K6gJi
 vYVK+sHD7+c27fHnJZH4TEaFHHZN35VUd9AluqSWMYF6eE+hZJSv+KzMhw19utGcw8/PB/7CMiLev
 QqMPp9IVXhb9arsedC5eKhJ8+i2xBn+R3MNST53gHxQT+Tu5VbkYqdvX/otmsU1jdkWJjWypn34g8
 JFZJ4fbNSnuur2ziUEhCIM0BJ9WRiDHhHUWwnRrIGZXHZCT60T2vETlJzdbMimQpH48oHgdMX3YKt
 IH4ZYUPTOHf8Cn3Hb+aBAw==;
Date: Fri, 12 Apr 2024 21:27:04 +0300
Message-Id: <86a5lysah3.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <86il0m7ceo.fsf@HIDDEN> (message from Juri Linkov on
 Fri, 12 Apr 2024 19:50:55 +0300)
Subject: Re: bug#69983: Use category for display-buffer-alist
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
 <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
 <86il0pd8da.fsf@HIDDEN> <864jc9wk5r.fsf@HIDDEN>
 <861q7dgla3.fsf@HIDDEN> <86il0pulum.fsf@HIDDEN>
 <86cyqwjtpr.fsf@HIDDEN> <86y19ktkj2.fsf@HIDDEN>
 <86h6g7m773.fsf@HIDDEN> <86sezrrrgh.fsf@HIDDEN>
 <86il0m7ceo.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Juri Linkov <juri@HIDDEN>
> Cc: rudalics@HIDDEN,  69983 <at> debbugs.gnu.org
> Date: Fri, 12 Apr 2024 19:50:55 +0300
> 
> >> Adding hundreds of separate options for every display-buffer call
> >> makes no sense.
> >
> > Adding hundreds of separate options indeed doesn't make sense, but I
> > suggested to add just one.
> 
> The point of this bug report is to remove options, not to add a new ones.

If we want to enable user control of displaying warnings, we will have
to add an option for that, because currently that cannot be
controlled.  display-buffer-alist is inappropriate for such control,
since in some cases warnings are not displayed in pop-up windows.

> > In addition:
> >
> >   . you haven't addressed my comments that currently we don't even
> >     document that warnings.el uses display-buffer (and neither do I
> >     think we _should_ document that);
> 
> I agree, this should be documented.  Then problem solved.

That's not TRT, because in some cases warnings are not displayed via
display-buffer.  So documenting this would produce inaccurate
documentation.

> >   . you haven't explained what kind of behavior change would you like
> >     to make in how warnings.el displays the warnings, without which
> >     I'm not even sure I understand the intended change of behavior
> 
> The problem of the users of horizontally split windows
> is that the warning buffer pops up in unpredictable places,
> thus disrupting the user's window layout.
> 
> The proposed change is to always display the warning buffer at the bottom
> where most contemporary IDEs are displaying such information.

Thanks, but what do you mean by "at the bottom"?  Can you describe
that place more precisely?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 12 Apr 2024 16:51:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 12 12:51:58 2024
Received: from localhost ([127.0.0.1]:59513 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rvK85-0007oE-0A
	for submit <at> debbugs.gnu.org; Fri, 12 Apr 2024 12:51:58 -0400
Received: from relay2-d.mail.gandi.net ([217.70.183.194]:42295)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1rvK81-0007mN-5v
 for 69983 <at> debbugs.gnu.org; Fri, 12 Apr 2024 12:51:54 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id A846340005;
 Fri, 12 Apr 2024 16:51:35 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <86sezrrrgh.fsf@HIDDEN> (Eli Zaretskii's message of "Fri, 12 Apr
 2024 10:05:34 +0300")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
 <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
 <86il0pd8da.fsf@HIDDEN> <864jc9wk5r.fsf@HIDDEN>
 <861q7dgla3.fsf@HIDDEN> <86il0pulum.fsf@HIDDEN>
 <86cyqwjtpr.fsf@HIDDEN> <86y19ktkj2.fsf@HIDDEN>
 <86h6g7m773.fsf@HIDDEN> <86sezrrrgh.fsf@HIDDEN>
Date: Fri, 12 Apr 2024 19:50:55 +0300
Message-ID: <86il0m7ceo.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> Adding hundreds of separate options for every display-buffer call
>> makes no sense.
>
> Adding hundreds of separate options indeed doesn't make sense, but I
> suggested to add just one.

The point of this bug report is to remove options, not to add a new ones.

> In addition:
>
>   . you haven't addressed my comments that currently we don't even
>     document that warnings.el uses display-buffer (and neither do I
>     think we _should_ document that);

I agree, this should be documented.  Then problem solved.

>   . you haven't explained what kind of behavior change would you like
>     to make in how warnings.el displays the warnings, without which
>     I'm not even sure I understand the intended change of behavior

The problem of the users of horizontally split windows
is that the warning buffer pops up in unpredictable places,
thus disrupting the user's window layout.

The proposed change is to always display the warning buffer at the bottom
where most contemporary IDEs are displaying such information.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 12 Apr 2024 07:06:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 12 03:06:01 2024
Received: from localhost ([127.0.0.1]:57776 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rvAz2-000326-6s
	for submit <at> debbugs.gnu.org; Fri, 12 Apr 2024 03:06:01 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:50100)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rvAyy-00030X-Un
 for 69983 <at> debbugs.gnu.org; Fri, 12 Apr 2024 03:05:58 -0400
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 <eliz@HIDDEN>)
 id 1rvAyf-0002lT-7g; Fri, 12 Apr 2024 03:05:38 -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=JN27V/sEj5JcrQx2sAJCkqunjwgtf2zvED9Cuv1c21I=; b=iY5EyBblhkkv
 562sy7oo3P3zG5zHbsu1YgSfgPl0Sob4fwz2eosan+3SHx33AGe6w+K82tOZB4GbQXLSsiBLW9PY+
 beFZ5IiWnI7BZIEVhk754tTjeGX+ms4aHrndkUiMkS+N2wf15hW7tZEctLa6u3yK3WbWwPjt0koD4
 gVEyULrHSHYEcJk/mCo+r9JCXvHup4C5KPolWzZJRt3ZSVrxXUTuRBiPI4pxuyspSqeV4un6Hsoe+
 JDKoNQVBK8WUzftQG5GLA3Y6C6CIrl5saOtfIpRfRyTgtKxXlteQgSrARc3sxnH9PnZuCJGJoJFj7
 ykgZvQLMhHuZ3DRc8te9PQ==;
Date: Fri, 12 Apr 2024 10:05:34 +0300
Message-Id: <86sezrrrgh.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <86h6g7m773.fsf@HIDDEN> (message from Juri Linkov on
 Fri, 12 Apr 2024 09:37:10 +0300)
Subject: Re: bug#69983: Use category for display-buffer-alist
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
 <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
 <86il0pd8da.fsf@HIDDEN> <864jc9wk5r.fsf@HIDDEN>
 <861q7dgla3.fsf@HIDDEN> <86il0pulum.fsf@HIDDEN>
 <86cyqwjtpr.fsf@HIDDEN> <86y19ktkj2.fsf@HIDDEN>
 <86h6g7m773.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Juri Linkov <juri@HIDDEN>
> Cc: rudalics@HIDDEN,  69983 <at> debbugs.gnu.org
> Date: Fri, 12 Apr 2024 09:37:10 +0300
> 
> >> There is already the option display-buffer-alist.
> >
> > Which I think is not appropriate for customizing what warnings.el
> > does, for the reasons I explained above.
> 
> As you can see in the Subject, the whole point of this bug report is to
> add a category to display-buffer calls, so displaying the warning buffer
> can be customized by the existing option 'display-buffer-alist'.

I don't object to adding the category to display-buffer-alist.  I
object to using that as a means to control what warnings.el does.  In
particular, as I already pointed out, some warnings don't pop up a
window with a special buffer, so if the users use display-buffer-alist
for controlling warnings.el, they will be disappointed in some cases.

> Adding hundreds of separate options for every display-buffer call
> makes no sense.

Adding hundreds of separate options indeed doesn't make sense, but I
suggested to add just one.  In addition:

  . you haven't addressed my comments that currently we don't even
    document that warnings.el uses display-buffer (and neither do I
    think we _should_ document that);
  . you haven't explained what kind of behavior change would you like
    to make in how warnings.el displays the warnings, without which
    I'm not even sure I understand the intended change of behavior




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 12 Apr 2024 06:49:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 12 02:49:58 2024
Received: from localhost ([127.0.0.1]:57744 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rvAjV-0006xa-TJ
	for submit <at> debbugs.gnu.org; Fri, 12 Apr 2024 02:49:58 -0400
Received: from relay2-d.mail.gandi.net ([217.70.183.194]:60739)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1rvAjB-0006sU-Cl
 for 69983 <at> debbugs.gnu.org; Fri, 12 Apr 2024 02:49:38 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id E5A284000A;
 Fri, 12 Apr 2024 06:49:20 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <86y19ktkj2.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 11 Apr
 2024 10:40:01 +0300")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
 <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
 <86il0pd8da.fsf@HIDDEN> <864jc9wk5r.fsf@HIDDEN>
 <861q7dgla3.fsf@HIDDEN> <86il0pulum.fsf@HIDDEN>
 <86cyqwjtpr.fsf@HIDDEN> <86y19ktkj2.fsf@HIDDEN>
Date: Fri, 12 Apr 2024 09:37:10 +0300
Message-ID: <86h6g7m773.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> There is already the option display-buffer-alist.
>
> Which I think is not appropriate for customizing what warnings.el
> does, for the reasons I explained above.

As you can see in the Subject, the whole point of this bug report is to
add a category to display-buffer calls, so displaying the warning buffer
can be customized by the existing option 'display-buffer-alist'.

Adding hundreds of separate options for every display-buffer call
makes no sense.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 11 Apr 2024 11:03:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 11 07:03:53 2024
Received: from localhost ([127.0.0.1]:55060 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rusDg-0006Mg-SS
	for submit <at> debbugs.gnu.org; Thu, 11 Apr 2024 07:03:53 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:54514)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rusDe-0006MD-DV
 for 69983 <at> debbugs.gnu.org; Thu, 11 Apr 2024 07:03:51 -0400
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 <eliz@HIDDEN>)
 id 1rusDO-0008Fv-BH; Thu, 11 Apr 2024 07:03:34 -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=HfQ/8Ngj0vwTT7B+otSbra7jhpzBx6oBi3O1EempR70=; b=msGC5bS9XFXm
 QDuBiFwtUp701WSDI+0sM3yRwSup34fSKu0iERHMthZky5tEhCJisga4DUZ06ZIblST1f3epL5bKH
 7gafvZQbBs0uiI5FHEZRp5nY4pKsAPj1PAJP19SZ+mmNUI41wREKkFS+qgGs6qpby2xq7ElNDC51l
 QLy7/ZAUHg37sCvPaztTgf9Wcf2uxoGhxtiYeLmb6sBMO9tZR8zvAAFo8oxy8NjrBQyUsAMD+Gk9i
 oR/6fABT4sUqZ0B5AQP35XMY0csKyhkQJkrdKsuemIxykDOxoe14u+OMEJJHD+wMG35PARvLb+mUS
 nFF5w4hZkGUGn5INuJFsLg==;
Date: Thu, 11 Apr 2024 14:03:29 +0300
Message-Id: <86ttk8tb3y.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <f3e87f20-d909-419f-b058-a1c960c501d0@HIDDEN> (message from
 martin rudalics on Thu, 11 Apr 2024 11:16:25 +0200)
Subject: Re: bug#69983: Use category for display-buffer-alist
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
 <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
 <86il0pd8da.fsf@HIDDEN> <864jc9wk5r.fsf@HIDDEN>
 <f3e87f20-d909-419f-b058-a1c960c501d0@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 69983
Cc: 69983 <at> debbugs.gnu.org, juri@HIDDEN
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Date: Thu, 11 Apr 2024 11:16:25 +0200
> Cc: 69983 <at> debbugs.gnu.org
> From: martin rudalics <rudalics@HIDDEN>
> 
>  > In any case, if you are suggesting to change the "random" place where
>  > warnings are displayed, we should first discuss that, because your
>  > assertion that no one will dislike the change sounds very much like
>  > famous last words to me, so to speak ;-)
> 
> This part
> 
> +				    '(display-buffer--maybe-at-bottom
> +				      (window-height . (lambda (window)
> +					(fit-window-to-buffer window 10)))
> 
> would hard-code a new preference which might cause problems indeed.  But
> the subsequent
> 
> +				      (category . warning)))))
> 
> would allow users to customize the display of warnings via
> 'display-buffer-alist' and cannot harm otherwise.

I understand, and might even agree.  But (a) as I wrote elsewhere in
this thread, I don't think display-buffer-alist should be the
advertised means of controlling display of warnings, and (b) I happen
to think that display-buffer-alist is so complex and arcane that
asking users to use it as the means of customizing such simple
settings is not very user-friendly, to say the least, especially when
we change existing behavior (which is likely to cause users to want to
get the previous behavior back).

This is why I suggested to discuss the proposed new behavior.  It is
possible that we will all agree that it is superior to the old one, in
which case the above-mentioned considerations will not apply.  But if
not, then the default should reflect what we think most users will
want, and how to implement that takes a back seat.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 11 Apr 2024 09:16:49 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 11 05:16:49 2024
Received: from localhost ([127.0.0.1]:54936 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ruqY5-0000Zb-2E
	for submit <at> debbugs.gnu.org; Thu, 11 Apr 2024 05:16:49 -0400
Received: from mout.gmx.net ([212.227.17.20]:49189)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1ruqXy-0000Yc-WA
 for 69983 <at> debbugs.gnu.org; Thu, 11 Apr 2024 05:16:46 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1712826987; x=1713431787; i=rudalics@HIDDEN;
 bh=htJ5AFKDruynnEzGnPHX38CEvjV7z94haDxNHzx6B10=;
 h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc:
 References:From:In-Reply-To:Content-Type:
 Content-Transfer-Encoding:cc:content-transfer-encoding:
 content-type:date:from:message-id:mime-version:reply-to:subject:
 to;
 b=uT6x27D4BHVkSZW7F0y8RgoygRm4RjcxVDUltgUOFKSXT2n83Q8/QSlTeFuZrCUN
 I9pMA3OlHC4z1ht5ApryxbQSROtBSH73ylObWhVI6GyHVKcDtttunJuLnhBjCiIKu
 n0gt96nqrSOlOyI7cxZ1PmC6ObPuoB29kyPxw0Ho5D24g8my6vi/VcNJhS7LFxYc9
 17nmBzl2jOQEj6o5Ttj24655PWh42djqwkKTUsofh8yj9rP01YdtFxt1r45FvVXpK
 ILHWjSuQ8Lgd+78O/hOUhIzDAnbMDTH4kJvrg0J1K6BgvsFfyWNQB6HiNgXm2jDsw
 xL3USq2NucZtdbR0nA==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([213.142.96.248]) by mail.gmx.net (mrgmx105
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1N49hB-1su48B1r0L-0106Lw; Thu, 11
 Apr 2024 11:16:27 +0200
Message-ID: <f3e87f20-d909-419f-b058-a1c960c501d0@HIDDEN>
Date: Thu, 11 Apr 2024 11:16:25 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#69983: Use category for display-buffer-alist
To: Eli Zaretskii <eliz@HIDDEN>, Juri Linkov <juri@HIDDEN>
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
 <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
 <86il0pd8da.fsf@HIDDEN> <864jc9wk5r.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <864jc9wk5r.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:OwoTnaYJL6g00aqq6VI2Q8sz8TJgfB+yGjw/ja8LCy0dO6Rbc97
 nntHIe6GcW2hlUboULNpjcgrequIP2y8Ig6eniBrB+gMEm5Ztp27mGUBN/cbDiru6kzfhCv
 xDhIpqD1tWowILM99JDEsphEGDlsNrddFzWDhi5hInF+PhJ35JN0U3zLp1jQwpXJr+J14Ft
 QFp7f/8pcS+HEZTdSob6Q==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:JECB1Q0gJa4=;zqcJMaSmQI9h8wGl2sOpNLkT+gU
 DQAh2kJYIvWnzyy0AOcI75aUhNyB0lQ47BmjBXXWPTZl61GaqwLC74mFHnn0daOT3CTvvl+uB
 Whk5cUzZvVa/dz+M8j3aLgEaWzSWuNjh6vHnqz1gER2uyrz7HlFQvOw8/wP+jC2CTWns5vq3M
 SNncZQF+FN1VBE01jGEY1JwmNIYhPMy9xrEH+82M5gpV/KYE4SY/I5M6Q2kqM2eonfk1CJfgY
 4T88yS1U+tNSzRWAvk+VY/ZTA2Lju42v3j4neqv1g3xhzuYvTeI3JJEypzyrgPxmSdDymdaa6
 VQkHqcSxYWJ1+E29HZHa+2wqAiJsjnYc9pE9mammH2aGKcSYDrqE1aEVnY3igK1iFFWqRJT+L
 vG9wdSl2sMszPw7ZekRPWhkdT3M4FJ1r+uf9yrAtN0qGIyU2XFfHD92PTXIAKkYuTAmLBuihZ
 JDd1buNhxyiAHtYF3Fq/76SnA26mVs9jFpiuf0aHbyzZS66aUpfyEgOVQJVjaHzbFu5Es6/nh
 gQNGMZlMJtqHRHNCv8AwpfdFg7PZl0ImgM+4vj+hNdbfLYBWd48Dlsb8RSB7xw9f7d8YtchTS
 Cnhz2/gJHwS5xkj6ObHHpQ1c2VByqwaw2o2tKIqbGzASi50KxRks37QvMthFKoV8cLDmJiNcI
 IRkJCbjJJo7zcA/pMJJuZk/PZ5/JnXy/1XDMNnFydpPD5o25Ua7bLfICp8nTZxlqwYj5N4Aq/
 i09godAM4P9iolhW8aJJpXuSnyuVOxbH4LM5mdzGH+lRb4l2Z2qszm8jiJTyJ7XG17+ozmGcQ
 TVO3E+DXne1S1LzLrD1qGgu4WAdqNjpl1k4EGP0l2wTuKPtt80DraWLnXEljhsro1c
X-Spam-Score: 2.9 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  > In any case, if you are suggesting to change the "random"
 place where > warnings are displayed, we should first discuss that, because
 your > assertion that no one will dislike the change sounds ver [...] 
 Content analysis details:   (2.9 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (rudalics[at]gmx.at)
 3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
 [213.142.96.248 listed in zen.spamhaus.org]
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
 [212.227.17.20 listed in wl.mailspike.net]
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [212.227.17.20 listed in list.dnswl.org]
X-Debbugs-Envelope-To: 69983
Cc: 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.9 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  > In any case, if you are suggesting to change the "random"
    place where > warnings are displayed, we should first discuss that, because
    your > assertion that no one will dislike the change sounds ver [...] 
 
 Content analysis details:   (1.9 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
                             low trust
                             [212.227.17.20 listed in list.dnswl.org]
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [213.142.96.248 listed in zen.spamhaus.org]
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
                             [212.227.17.20 listed in wl.mailspike.net]
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (rudalics[at]gmx.at)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

 > In any case, if you are suggesting to change the "random" place where
 > warnings are displayed, we should first discuss that, because your
 > assertion that no one will dislike the change sounds very much like
 > famous last words to me, so to speak ;-)

This part

+				    '(display-buffer--maybe-at-bottom
+				      (window-height . (lambda (window)
+					(fit-window-to-buffer window 10)))

would hard-code a new preference which might cause problems indeed.  But
the subsequent

+				      (category . warning)))))

would allow users to customize the display of warnings via
'display-buffer-alist' and cannot harm otherwise.

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 11 Apr 2024 07:40:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 11 03:40:20 2024
Received: from localhost ([127.0.0.1]:54830 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rup2i-00050X-EM
	for submit <at> debbugs.gnu.org; Thu, 11 Apr 2024 03:40:20 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:35846)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rup2g-0004zX-N5
 for 69983 <at> debbugs.gnu.org; Thu, 11 Apr 2024 03:40:20 -0400
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 <eliz@HIDDEN>)
 id 1rup2S-0007pR-2R; Thu, 11 Apr 2024 03:40:04 -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=NMxH8llSiG6L6uzVlcSlnUWvPxeinaA37KE+kiaRjiE=; b=XmbM6CqRCTUE
 JZOb/jW3QlK/RiUouDi7vJNsc0r9GmpRjTA09quqX2kX87WcN84jtQbvZ5zvkdcOGvrdik93dQtov
 7pZ0hrmEioxK97J0fNGFr5d+voU157RV4YQmbLRyDlol/fDFw/xu7JxuU+dQ0Yw3BxC6l3Z2+paF9
 hPeJ7TJgw+9Vqcoj9X7MITAaHTEU/OLnoAA1ap0USvq1X0g/iQIbM2zQfy9TR40O++3N/vEXMNLfi
 vznk3v5wrXnAqwKKmZelOTc36URPxfrgNPP+YhfQ19CF72S8OarDBxHUQPsuTA2Sly0SIX1R0lUuL
 nzhkwTyPK2tQnee+NPB11w==;
Date: Thu, 11 Apr 2024 10:40:01 +0300
Message-Id: <86y19ktkj2.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <86cyqwjtpr.fsf@HIDDEN> (message from Juri Linkov on
 Thu, 11 Apr 2024 09:31:45 +0300)
Subject: Re: bug#69983: Use category for display-buffer-alist
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
 <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
 <86il0pd8da.fsf@HIDDEN> <864jc9wk5r.fsf@HIDDEN>
 <861q7dgla3.fsf@HIDDEN> <86il0pulum.fsf@HIDDEN>
 <86cyqwjtpr.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Juri Linkov <juri@HIDDEN>
> Cc: rudalics@HIDDEN,  69983 <at> debbugs.gnu.org
> Date: Thu, 11 Apr 2024 09:31:45 +0300
> 
> >> > More importantly, if we want to let programs and users control where
> >> > the warnings are displayed, I'd rather we introduced a new,
> >> > warning.el-specific option.  Up front, there's no reason for anyone to
> >> > assume that display-buffer-alist will have _any_ effect on
> >> > display-warning, because we don't document that display-warning uses
> >> > display-buffer.  So we could one day decide to implement the display
> >> > of the warnings in an entirely different fashion, and then no
> >> > customizations of display-buffer-alist will be able to affect the
> >> > display.  In fact, in some situations we already display the warning
> >> > other than via display-buffer.
> >>
> >> These are just excuses to not make life easier for users of
> >> horizontally split windows.
> >
> > I don't see how a warning-specific option could be an "excuse".  It
> > can solve the problem you attempt to solve as well as what you
> > propose.
> 
> There is already the option display-buffer-alist.

Which I think is not appropriate for customizing what warnings.el
does, for the reasons I explained above.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 11 Apr 2024 06:35:20 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 11 02:35:20 2024
Received: from localhost ([127.0.0.1]:54778 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ruo1n-0005yM-AJ
	for submit <at> debbugs.gnu.org; Thu, 11 Apr 2024 02:35:19 -0400
Received: from relay8-d.mail.gandi.net ([217.70.183.201]:60361)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1ruo1j-0005wz-IZ
 for 69983 <at> debbugs.gnu.org; Thu, 11 Apr 2024 02:35:17 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 09D631BF209;
 Thu, 11 Apr 2024 06:34:58 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <86il0pulum.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 10 Apr
 2024 21:13:53 +0300")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
 <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
 <86il0pd8da.fsf@HIDDEN> <864jc9wk5r.fsf@HIDDEN>
 <861q7dgla3.fsf@HIDDEN> <86il0pulum.fsf@HIDDEN>
Date: Thu, 11 Apr 2024 09:31:45 +0300
Message-ID: <86cyqwjtpr.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> > More importantly, if we want to let programs and users control where
>> > the warnings are displayed, I'd rather we introduced a new,
>> > warning.el-specific option.  Up front, there's no reason for anyone to
>> > assume that display-buffer-alist will have _any_ effect on
>> > display-warning, because we don't document that display-warning uses
>> > display-buffer.  So we could one day decide to implement the display
>> > of the warnings in an entirely different fashion, and then no
>> > customizations of display-buffer-alist will be able to affect the
>> > display.  In fact, in some situations we already display the warning
>> > other than via display-buffer.
>>
>> These are just excuses to not make life easier for users of
>> horizontally split windows.
>
> I don't see how a warning-specific option could be an "excuse".  It
> can solve the problem you attempt to solve as well as what you
> propose.

There is already the option display-buffer-alist.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 10 Apr 2024 18:14:26 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 10 14:14:26 2024
Received: from localhost ([127.0.0.1]:54356 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rucSo-0003QO-7V
	for submit <at> debbugs.gnu.org; Wed, 10 Apr 2024 14:14:26 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:43390)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rucSk-0003Ok-NJ
 for 69983 <at> debbugs.gnu.org; Wed, 10 Apr 2024 14:14:24 -0400
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 <eliz@HIDDEN>)
 id 1rucSO-0006NX-BT; Wed, 10 Apr 2024 14:14:06 -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=3MSCouDGMWk4rOAs/HP3yl/DMY5kyWzUd/hg6VmRm1E=; b=TLrGjkc7aaIp
 +7prLDw/5VufZH93LhV3ALwC9Oi31ALyhbLLCaquVbzem2qVm+n73r9LvARxzRGK2OLTlep2ID43C
 SSMqpvQP4okRmuSb7FqTbWJTYnYa9BN4mKnnC6x0Q11t4qezsfL3HThrwZ70/mEQIiRKsOB9+AHm2
 5WOdPQk9OdXVuO4OU4wkMAtD02bYL+jsA5ndCDZHvmE564STagJEu24D5SJsg5wkMsCpA/C5ySSj1
 kdCGTl9Dk2h7aZfu+0AqdCE4h8bHbPQ/QJRr3Vm/r19fHbjlocO5+AULkyiGh0CO6A6kHvsIw+5BQ
 ACQrL8upVMsKsZtWy2RffQ==;
Date: Wed, 10 Apr 2024 21:13:53 +0300
Message-Id: <86il0pulum.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <861q7dgla3.fsf@HIDDEN> (message from Juri Linkov on
 Wed, 10 Apr 2024 20:49:50 +0300)
Subject: Re: bug#69983: Use category for display-buffer-alist
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
 <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
 <86il0pd8da.fsf@HIDDEN> <864jc9wk5r.fsf@HIDDEN>
 <861q7dgla3.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Juri Linkov <juri@HIDDEN>
> Cc: rudalics@HIDDEN,  69983 <at> debbugs.gnu.org
> Date: Wed, 10 Apr 2024 20:49:50 +0300
> 
> > More importantly, if we want to let programs and users control where
> > the warnings are displayed, I'd rather we introduced a new,
> > warning.el-specific option.  Up front, there's no reason for anyone to
> > assume that display-buffer-alist will have _any_ effect on
> > display-warning, because we don't document that display-warning uses
> > display-buffer.  So we could one day decide to implement the display
> > of the warnings in an entirely different fashion, and then no
> > customizations of display-buffer-alist will be able to affect the
> > display.  In fact, in some situations we already display the warning
> > other than via display-buffer.
> 
> These are just excuses to not make life easier for users of
> horizontally split windows.

I don't see how a warning-specific option could be an "excuse".  It
can solve the problem you attempt to solve as well as what you
propose.

And if you think that referring to my views as "excuses" somehow makes
your opinions more convincing, you are wrong.

> > In any case, if you are suggesting to change the "random" place where
> > warnings are displayed, we should first discuss that, because your
> > assertion that no one will dislike the change sounds very much like
> > famous last words to me, so to speak ;-)
> 
> Why discriminate users by their orientation?  If users prefer
> nontraditional horizontal orientation why not help them
> in situations of horizontally split windows?

I don't see how the discussion I suggested could be viewed as
"discrimination".  I feel that there's some fundamental
misunderstanding here.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 10 Apr 2024 18:03:16 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 10 14:03:16 2024
Received: from localhost ([127.0.0.1]:54333 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rucHz-0001hv-Ev
	for submit <at> debbugs.gnu.org; Wed, 10 Apr 2024 14:03:15 -0400
Received: from relay5-d.mail.gandi.net ([217.70.183.197]:32877)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1rucHp-0001ew-Ut
 for 69983 <at> debbugs.gnu.org; Wed, 10 Apr 2024 14:03:08 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 9DED01C0006;
 Wed, 10 Apr 2024 18:02:50 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <864jc9wk5r.fsf@HIDDEN> (Eli Zaretskii's message of "Wed, 10 Apr
 2024 14:07:28 +0300")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
 <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
 <86il0pd8da.fsf@HIDDEN> <864jc9wk5r.fsf@HIDDEN>
Date: Wed, 10 Apr 2024 20:49:50 +0300
Message-ID: <861q7dgla3.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> >> > Why does adding a new feature require changes in existing features,
>> >> > let alone such basic features as warnings.el?  Can't we introduce the
>> >> > category and leave warnings.el, flymake.el, and others alone?  I don't
>> >> > want to make unsolicited changes in those other places, because that
>> >> > runs the risk of disturbing people's arrangements of windows and their
>> >> > habits as to where the various windows pop up.
>> >>
>> >> This is part of continuing development to improve
>> >> window handling for users of horizontally split windows.
>> >
>> > I don't think I understand how category is related to horizontally
>> > split windows, please explain.  We are still in the context of
>> > bug#69983 and its Subject, aren't we?
>> >
>> > If there are some problems related to horizontally split windows that
>> > interfere with showing warnings, please describe them.
>>
>> The function 'display-warning' has the argument 'buffer-name'.
>> This means it's impossible to match the buffer name in
>> 'display-buffer-alist', because the buffer name can be anything.
>> Therefore the 'category' should be added to the 'display-buffer'
>> call in 'display-warning'.
>>
>> Currently the warning buffer is displayed in a random place
>> in horizontally split windows.  The change is needed to display it
>> in the consistent place.  This change is accompanied with adding
>> the category for the case if someone don't like this change
>> (very unlikely) and wants to revert it to display the buffer
>> in a random place.  It will be possible to customize this
>> by using the category in 'display-buffer-alist'.
>
> First, as Martin says, the place is never "random".

The "random" place was meant in the sense "unpredictable".
It uses some least recently used window, but with many windows
it's hard to remember what window was least recently used.

> More importantly, if we want to let programs and users control where
> the warnings are displayed, I'd rather we introduced a new,
> warning.el-specific option.  Up front, there's no reason for anyone to
> assume that display-buffer-alist will have _any_ effect on
> display-warning, because we don't document that display-warning uses
> display-buffer.  So we could one day decide to implement the display
> of the warnings in an entirely different fashion, and then no
> customizations of display-buffer-alist will be able to affect the
> display.  In fact, in some situations we already display the warning
> other than via display-buffer.

These are just excuses to not make life easier for users of
horizontally split windows.

> In any case, if you are suggesting to change the "random" place where
> warnings are displayed, we should first discuss that, because your
> assertion that no one will dislike the change sounds very much like
> famous last words to me, so to speak ;-)

Why discriminate users by their orientation?  If users prefer
nontraditional horizontal orientation why not help them
in situations of horizontally split windows?




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 10 Apr 2024 11:07:50 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 10 07:07:50 2024
Received: from localhost ([127.0.0.1]:52221 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ruVny-0003ym-0d
	for submit <at> debbugs.gnu.org; Wed, 10 Apr 2024 07:07:50 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:34288)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ruVnt-0003yX-Uy
 for 69983 <at> debbugs.gnu.org; Wed, 10 Apr 2024 07:07:48 -0400
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 <eliz@HIDDEN>)
 id 1ruVnf-0007mT-Fj; Wed, 10 Apr 2024 07:07:31 -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=bEzyG5LO072EYl3RImw1ao7N91VDvAil/prPmTa/P3U=; b=Sa18NqZG4n7M
 ZlKlZIE51Hh0uUeJh+YlXTIJHZvLyXIRkTqtXszQeTfm/TmKBYx+iRRkA/vXjS79slAKAo50A6Ork
 4bqRFcXY4fxg1EEDpHdMMAWCpHJW/MVx2LaXyD6eFWyzhn9OODouedhK5aBQoUDCEMWakJEWwrrLi
 ncqDylYqWzM5cbCHOMAQqcxkkM9t+QDAY6L22f+92mKXNTMWdOYYXLD4iM80bK6DLTcCOgz5mXU53
 ro6ny58lepRSVQJBSERTN1mFsbu1dbMV8C7ai1VCLLj41+McJgeoWws81et4bKGd0IM4dNakTTHDa
 UpM0pAn06LFlQYsoiceCcQ==;
Date: Wed, 10 Apr 2024 14:07:28 +0300
Message-Id: <864jc9wk5r.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <86il0pd8da.fsf@HIDDEN> (message from Juri Linkov on
 Wed, 10 Apr 2024 09:45:49 +0300)
Subject: Re: bug#69983: Use category for display-buffer-alist
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
 <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
 <86il0pd8da.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Juri Linkov <juri@HIDDEN>
> Cc: rudalics@HIDDEN,  69983 <at> debbugs.gnu.org
> Date: Wed, 10 Apr 2024 09:45:49 +0300
> 
> >> > Why does adding a new feature require changes in existing features,
> >> > let alone such basic features as warnings.el?  Can't we introduce the
> >> > category and leave warnings.el, flymake.el, and others alone?  I don't
> >> > want to make unsolicited changes in those other places, because that
> >> > runs the risk of disturbing people's arrangements of windows and their
> >> > habits as to where the various windows pop up.
> >>
> >> This is part of continuing development to improve
> >> window handling for users of horizontally split windows.
> >
> > I don't think I understand how category is related to horizontally
> > split windows, please explain.  We are still in the context of
> > bug#69983 and its Subject, aren't we?
> >
> > If there are some problems related to horizontally split windows that
> > interfere with showing warnings, please describe them.
> 
> The function 'display-warning' has the argument 'buffer-name'.
> This means it's impossible to match the buffer name in
> 'display-buffer-alist', because the buffer name can be anything.
> Therefore the 'category' should be added to the 'display-buffer'
> call in 'display-warning'.
> 
> Currently the warning buffer is displayed in a random place
> in horizontally split windows.  The change is needed to display it
> in the consistent place.  This change is accompanied with adding
> the category for the case if someone don't like this change
> (very unlikely) and wants to revert it to display the buffer
> in a random place.  It will be possible to customize this
> by using the category in 'display-buffer-alist'.

First, as Martin says, the place is never "random".

More importantly, if we want to let programs and users control where
the warnings are displayed, I'd rather we introduced a new,
warning.el-specific option.  Up front, there's no reason for anyone to
assume that display-buffer-alist will have _any_ effect on
display-warning, because we don't document that display-warning uses
display-buffer.  So we could one day decide to implement the display
of the warnings in an entirely different fashion, and then no
customizations of display-buffer-alist will be able to affect the
display.  In fact, in some situations we already display the warning
other than via display-buffer.

In any case, if you are suggesting to change the "random" place where
warnings are displayed, we should first discuss that, because your
assertion that no one will dislike the change sounds very much like
famous last words to me, so to speak ;-)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 10 Apr 2024 08:48:05 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 10 04:48:04 2024
Received: from localhost ([127.0.0.1]:52125 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ruTcg-0001B0-KG
	for submit <at> debbugs.gnu.org; Wed, 10 Apr 2024 04:48:04 -0400
Received: from mout.gmx.net ([212.227.17.21]:33957)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1ruTcd-00019B-ED
 for 69983 <at> debbugs.gnu.org; Wed, 10 Apr 2024 04:48:00 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1712738864; x=1713343664; i=rudalics@HIDDEN;
 bh=7kMG7RR76kN1366GddexGJj2aLl6NOE8mJFvDOjs0Jc=;
 h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:
 In-Reply-To;
 b=BnF3wGh+Igl/ZGxoksLrKKEKTdakYj/dpwx7kz7VxISLf3dqHAt8jwMS2WAPj1pd
 qkxhQNdEKBj63pu+chKwu7XzC7fNvR+y9m8zWzg2T4JuG0ZHMLhWmssJSnfM6go8R
 jgg0+eVOkr19nd02bKOanzynUBFQvERPzZjKhGrJP+IHdq1CtHp2OtaQpAyEwY38o
 nQlPnp0ClzHFu21QtvMFZVoBmapjMOSYu5lnWfYtd2cFs/BChr68lCjjGrDnzurUD
 tQoWDL95m53wuQuZSIJXD2k7F2TX+Ej7uy6V9+Qj1HHcOgWdbrP9ynRFRT8fFl02z
 5mcBG/hPoN17Xysr4g==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([46.125.249.84]) by mail.gmx.net (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1ML9uU-1sBSGw2l2Q-00IArW; Wed, 10
 Apr 2024 10:47:44 +0200
Message-ID: <f1ad0a40-e52b-455e-bee5-9be993b40e80@HIDDEN>
Date: Wed, 10 Apr 2024 10:47:44 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#69983: Use category for display-buffer-alist
To: Juri Linkov <juri@HIDDEN>, Eli Zaretskii <eliz@HIDDEN>
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
 <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
 <86il0pd8da.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <86il0pd8da.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:V9GLgRkXBlwn/eGcR0vXWThhz27GywXxJXdqI8NtTuOCGQSFtUx
 9581dKeHGQ5CuPpkEKsdVwuvB0c4RpD/VXEAlQaSCcxXgvoXJfL9mbawm5QHBs5n6wb1Q6h
 R3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, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: > The function 'display-warning' has the argument
 'buffer-name'.
 > This means it's impossible to match the buffer name in >
 'display-buffer-alist', 
 because the buffer name can be anything. > Therefor [...] 
 Content analysis details:   (4.3 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [212.227.17.21 listed in list.dnswl.org]
 3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
 [46.125.249.84 listed in zen.spamhaus.org]
 1.5 RCVD_IN_SORBS_WEB      RBL: SORBS: sender is an abusable web server
 [46.125.249.84 listed in dnsbl.sorbs.net]
 -0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
 [212.227.17.21 listed in wl.mailspike.net]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (rudalics[at]gmx.at)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
X-Debbugs-Envelope-To: 69983
Cc: 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 3.3 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  > The function 'display-warning' has the argument 'buffer-name'.
    > This means it's impossible to match the buffer name in > 'display-buffer-alist',
    because the buffer name can be anything. > Therefor [...] 
 
 Content analysis details:   (3.3 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
                             low trust
                             [212.227.17.21 listed in list.dnswl.org]
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [46.125.249.84 listed in zen.spamhaus.org]
  1.5 RCVD_IN_SORBS_WEB      RBL: SORBS: sender is an abusable web server
                             [46.125.249.84 listed in dnsbl.sorbs.net]
 -0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
                             [212.227.17.21 listed in wl.mailspike.net]
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (rudalics[at]gmx.at)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

 > The function 'display-warning' has the argument 'buffer-name'.
 > This means it's impossible to match the buffer name in
 > 'display-buffer-alist', because the buffer name can be anything.
 > Therefore the 'category' should be added to the 'display-buffer'
 > call in 'display-warning'.
 >
 > Currently the warning buffer is displayed in a random place
 > in horizontally split windows.

'display-buffer' never chooses a random place.

 > The change is needed to display it
 > in the consistent place.  This change is accompanied with adding
 > the category for the case if someone don't like this change
 > (very unlikely) and wants to revert it to display the buffer
 > in a random place.  It will be possible to customize this
 > by using the category in 'display-buffer-alist'.

I agree with everything else Juri says here.

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 10 Apr 2024 06:53:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Apr 10 02:53:38 2024
Received: from localhost ([127.0.0.1]:51935 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ruRpx-0003fR-T0
	for submit <at> debbugs.gnu.org; Wed, 10 Apr 2024 02:53:38 -0400
Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]:38385)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1ruRpg-0003bO-0T
 for 69983 <at> debbugs.gnu.org; Wed, 10 Apr 2024 02:53:25 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id CFFC31C0003;
 Wed, 10 Apr 2024 06:53:03 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <86bk6iwftq.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 09 Apr
 2024 21:28:49 +0300")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
 <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN> <86bk6iwftq.fsf@HIDDEN>
Date: Wed, 10 Apr 2024 09:45:49 +0300
Message-ID: <86il0pd8da.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> >> >>> One problem is that I can't find an alist item to limit
>> >> >>> the window height, i.e. can't find window-max-height
>> >> >>> that would be like window-min-height, but to set a max height.
>> >> >>> Could you suggest such an alist item?
>> >> >>
>> >> >> The intention was to have such behavior:
>> >> >> 1. after the first call that adds 1 line to the output buffer,
>> >> >>     resize the displayed buffer to 1 line height;
>> >> >> 2. after the second call grow the output window height to 2 lines,
>> >> >>     it seems fit-window-to-buffer should do this;
>> >> >> 3. after 10th call limit the window height to 10 lines only,
>> >> >>     so later calls should not increase the output window height
>> >> >>     more than 10 lines.
>> >> >
>> >> > You mean that when a 'window-height' action alist entry is provided that
>> >> > specifies 'fit-window-to-buffer' as 'window-height' value, we should
>> >> > pass it the value of any 'window-max-height' entry present as MAX-HEIGHT
>> >> > argument here
>> >> >
>> >> >          ((functionp height)
>> >> > 	  (ignore-errors (funcall height window))
>> >> >
>> >> > and probably do the same for all the other arguments of
>> >> > 'fit-window-to-buffer'?
>> >>
>> >> Probably we can't change the existing arguments to not break
>> >> backward-compatibility.  But this is fine since still can use
>> >> the explicit function call:
>> >>
>> >> diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el
>> >> index 8b43c6a8726..75b519067ac 100644
>> >> --- a/lisp/emacs-lisp/warnings.el
>> >> +++ b/lisp/emacs-lisp/warnings.el
>> >> @@ -362,7 +362,12 @@ display-warning
>> >
>> > Why does adding a new feature require changes in existing features,
>> > let alone such basic features as warnings.el?  Can't we introduce the
>> > category and leave warnings.el, flymake.el, and others alone?  I don't
>> > want to make unsolicited changes in those other places, because that
>> > runs the risk of disturbing people's arrangements of windows and their
>> > habits as to where the various windows pop up.
>>
>> This is part of continuing development to improve
>> window handling for users of horizontally split windows.
>
> I don't think I understand how category is related to horizontally
> split windows, please explain.  We are still in the context of
> bug#69983 and its Subject, aren't we?
>
> If there are some problems related to horizontally split windows that
> interfere with showing warnings, please describe them.

The function 'display-warning' has the argument 'buffer-name'.
This means it's impossible to match the buffer name in
'display-buffer-alist', because the buffer name can be anything.
Therefore the 'category' should be added to the 'display-buffer'
call in 'display-warning'.

Currently the warning buffer is displayed in a random place
in horizontally split windows.  The change is needed to display it
in the consistent place.  This change is accompanied with adding
the category for the case if someone don't like this change
(very unlikely) and wants to revert it to display the buffer
in a random place.  It will be possible to customize this
by using the category in 'display-buffer-alist'.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 9 Apr 2024 18:29:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 09 14:29:11 2024
Received: from localhost ([127.0.0.1]:51551 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ruGDW-0008MF-Jq
	for submit <at> debbugs.gnu.org; Tue, 09 Apr 2024 14:29:11 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:39764)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ruGDU-0008LW-8Y
 for 69983 <at> debbugs.gnu.org; Tue, 09 Apr 2024 14:29:09 -0400
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 <eliz@HIDDEN>)
 id 1ruGDF-0001XD-WA; Tue, 09 Apr 2024 14:28:54 -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=1zq+ikOGqOU+2TogfOGclNJmjcjonMybG6WJ7duMjz0=; b=Nn1aNhUWUa4o
 JVCgvGB1+gemnKn393Qzh/RcNdnu6C0+6TU5+1ee3G2xboWg9sRFY9DNJ0qdVrdcpXZk+wjNg8cbB
 Qy7Ry0fdzVeG9cUx6I4NmxdjmysMHPgIKI2i0O3Emf+y9Wf4dEq9zVMIJFn7KQKe0irwbdG7qbOrT
 iqzbvhOMUyPvW0o7oouKUlsonHzJL47u7YpDrbpQDMzwnlYL57uM7tupX1uPOuahZ2JNdStFLC/zo
 pqnFwjlzLVDY99sL5FQYGcQgjmGKSNxk1QKyRcxhcoB+RyCv1pofxIwtqAyxsKJUAT6ofDrFNa0CP
 Z84gmBAPmRf1wrPuqMbhsQ==;
Date: Tue, 09 Apr 2024 21:28:49 +0300
Message-Id: <86bk6iwftq.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <867ch7gfa4.fsf@HIDDEN> (message from Juri Linkov on
 Tue, 09 Apr 2024 19:34:59 +0300)
Subject: Re: bug#69983: Use category for display-buffer-alist
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
 <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
 <867ch7gfa4.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Juri Linkov <juri@HIDDEN>
> Cc: rudalics@HIDDEN,  69983 <at> debbugs.gnu.org
> Date: Tue, 09 Apr 2024 19:34:59 +0300
> 
> >> >>> One problem is that I can't find an alist item to limit
> >> >>> the window height, i.e. can't find window-max-height
> >> >>> that would be like window-min-height, but to set a max height.
> >> >>> Could you suggest such an alist item?
> >> >>
> >> >> The intention was to have such behavior:
> >> >> 1. after the first call that adds 1 line to the output buffer,
> >> >>     resize the displayed buffer to 1 line height;
> >> >> 2. after the second call grow the output window height to 2 lines,
> >> >>     it seems fit-window-to-buffer should do this;
> >> >> 3. after 10th call limit the window height to 10 lines only,
> >> >>     so later calls should not increase the output window height
> >> >>     more than 10 lines.
> >> >
> >> > You mean that when a 'window-height' action alist entry is provided that
> >> > specifies 'fit-window-to-buffer' as 'window-height' value, we should
> >> > pass it the value of any 'window-max-height' entry present as MAX-HEIGHT
> >> > argument here
> >> >
> >> >          ((functionp height)
> >> > 	  (ignore-errors (funcall height window))
> >> >
> >> > and probably do the same for all the other arguments of
> >> > 'fit-window-to-buffer'?
> >>
> >> Probably we can't change the existing arguments to not break
> >> backward-compatibility.  But this is fine since still can use
> >> the explicit function call:
> >>
> >> diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el
> >> index 8b43c6a8726..75b519067ac 100644
> >> --- a/lisp/emacs-lisp/warnings.el
> >> +++ b/lisp/emacs-lisp/warnings.el
> >> @@ -362,7 +362,12 @@ display-warning
> >
> > Why does adding a new feature require changes in existing features,
> > let alone such basic features as warnings.el?  Can't we introduce the
> > category and leave warnings.el, flymake.el, and others alone?  I don't
> > want to make unsolicited changes in those other places, because that
> > runs the risk of disturbing people's arrangements of windows and their
> > habits as to where the various windows pop up.
> 
> This is part of continuing development to improve
> window handling for users of horizontally split windows.

I don't think I understand how category is related to horizontally
split windows, please explain.  We are still in the context of
bug#69983 and its Subject, aren't we?

If there are some problems related to horizontally split windows that
interfere with showing warnings, please describe them.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 9 Apr 2024 16:47:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 09 12:47:32 2024
Received: from localhost ([127.0.0.1]:51310 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ruEd9-0000xW-Tm
	for submit <at> debbugs.gnu.org; Tue, 09 Apr 2024 12:47:32 -0400
Received: from relay9-d.mail.gandi.net ([2001:4b98:dc4:8::229]:43211)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1ruEd8-0000wh-6P
 for 69983 <at> debbugs.gnu.org; Tue, 09 Apr 2024 12:47:30 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 52198FF806;
 Tue,  9 Apr 2024 16:47:14 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <86v84rvwpa.fsf@HIDDEN> (Eli Zaretskii's message of "Tue, 09 Apr
 2024 10:09:37 +0300")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
 <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
 <86a5m3jboy.fsf@HIDDEN> <86v84rvwpa.fsf@HIDDEN>
Date: Tue, 09 Apr 2024 19:34:59 +0300
Message-ID: <867ch7gfa4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> >>> One problem is that I can't find an alist item to limit
>> >>> the window height, i.e. can't find window-max-height
>> >>> that would be like window-min-height, but to set a max height.
>> >>> Could you suggest such an alist item?
>> >>
>> >> The intention was to have such behavior:
>> >> 1. after the first call that adds 1 line to the output buffer,
>> >>     resize the displayed buffer to 1 line height;
>> >> 2. after the second call grow the output window height to 2 lines,
>> >>     it seems fit-window-to-buffer should do this;
>> >> 3. after 10th call limit the window height to 10 lines only,
>> >>     so later calls should not increase the output window height
>> >>     more than 10 lines.
>> >
>> > You mean that when a 'window-height' action alist entry is provided that
>> > specifies 'fit-window-to-buffer' as 'window-height' value, we should
>> > pass it the value of any 'window-max-height' entry present as MAX-HEIGHT
>> > argument here
>> >
>> >          ((functionp height)
>> > 	  (ignore-errors (funcall height window))
>> >
>> > and probably do the same for all the other arguments of
>> > 'fit-window-to-buffer'?
>>
>> Probably we can't change the existing arguments to not break
>> backward-compatibility.  But this is fine since still can use
>> the explicit function call:
>>
>> diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el
>> index 8b43c6a8726..75b519067ac 100644
>> --- a/lisp/emacs-lisp/warnings.el
>> +++ b/lisp/emacs-lisp/warnings.el
>> @@ -362,7 +362,12 @@ display-warning
>
> Why does adding a new feature require changes in existing features,
> let alone such basic features as warnings.el?  Can't we introduce the
> category and leave warnings.el, flymake.el, and others alone?  I don't
> want to make unsolicited changes in those other places, because that
> runs the risk of disturbing people's arrangements of windows and their
> habits as to where the various windows pop up.

This is part of continuing development to improve
window handling for users of horizontally split windows.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 9 Apr 2024 07:09:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 09 03:09:58 2024
Received: from localhost ([127.0.0.1]:48141 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ru5cE-0003uf-Fj
	for submit <at> debbugs.gnu.org; Tue, 09 Apr 2024 03:09:58 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:46992)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1ru5c9-0003tB-Oz
 for 69983 <at> debbugs.gnu.org; Tue, 09 Apr 2024 03:09:57 -0400
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 <eliz@HIDDEN>)
 id 1ru5bv-0005Ez-U2; Tue, 09 Apr 2024 03:09:39 -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=KSK36AjfRK459SE38rdBwc9p8vwtM0fn1WXtv32jTH4=; b=iyCeSlxilij1
 3L/jh9WwCcZkgz4XaGznq5m7f/Sdks5lU1JSt32DCQRiW20UYG9yQlPxdH8fQxny1lOUZcIwqr5BO
 OKvUpU9Hz4hTQc+Wlg/ckj/1r/MqKUb0m3nxqPUtgq1Q/UVgcdLy6AakTYaa9pBFsfQh7DJmYW/iW
 jmRNNIzvVla6HQzM6KuDvIhMarAa05qyCE0y5NoV7BykLzovo6ExwTuLtDbdfw1B4+YAg6xVnyDLZ
 uRiByRrZ/vN0b0BlekxkjHxc/I6X4ECjkgXFtq7Wn1T2YZAbXcW00y35dkOp6t+qJidMyGMTjW6Ge
 fzZFCG3gh8ZuFK5SxXRaRg==;
Date: Tue, 09 Apr 2024 10:09:37 +0300
Message-Id: <86v84rvwpa.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <86a5m3jboy.fsf@HIDDEN> (message from Juri Linkov on
 Tue, 09 Apr 2024 09:30:31 +0300)
Subject: Re: bug#69983: Use category for display-buffer-alist
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
 <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN> <86a5m3jboy.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: 69983 <at> debbugs.gnu.org
> From: Juri Linkov <juri@HIDDEN>
> Date: Tue, 09 Apr 2024 09:30:31 +0300
> 
> >>> One problem is that I can't find an alist item to limit
> >>> the window height, i.e. can't find window-max-height
> >>> that would be like window-min-height, but to set a max height.
> >>> Could you suggest such an alist item?
> >>
> >> The intention was to have such behavior:
> >> 1. after the first call that adds 1 line to the output buffer,
> >>     resize the displayed buffer to 1 line height;
> >> 2. after the second call grow the output window height to 2 lines,
> >>     it seems fit-window-to-buffer should do this;
> >> 3. after 10th call limit the window height to 10 lines only,
> >>     so later calls should not increase the output window height
> >>     more than 10 lines.
> >
> > You mean that when a 'window-height' action alist entry is provided that
> > specifies 'fit-window-to-buffer' as 'window-height' value, we should
> > pass it the value of any 'window-max-height' entry present as MAX-HEIGHT
> > argument here
> >
> >          ((functionp height)
> > 	  (ignore-errors (funcall height window))
> >
> > and probably do the same for all the other arguments of
> > 'fit-window-to-buffer'?
> 
> Probably we can't change the existing arguments to not break
> backward-compatibility.  But this is fine since still can use
> the explicit function call:
> 
> diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el
> index 8b43c6a8726..75b519067ac 100644
> --- a/lisp/emacs-lisp/warnings.el
> +++ b/lisp/emacs-lisp/warnings.el
> @@ -362,7 +362,12 @@ display-warning

Why does adding a new feature require changes in existing features,
let alone such basic features as warnings.el?  Can't we introduce the
category and leave warnings.el, flymake.el, and others alone?  I don't
want to make unsolicited changes in those other places, because that
runs the risk of disturbing people's arrangements of windows and their
habits as to where the various windows pop up.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 9 Apr 2024 06:42:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 09 02:42:55 2024
Received: from localhost ([127.0.0.1]:48121 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ru5C2-0000at-E1
	for submit <at> debbugs.gnu.org; Tue, 09 Apr 2024 02:42:55 -0400
Received: from relay8-d.mail.gandi.net ([217.70.183.201]:51751)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1ru5Bw-0000Zg-PG
 for 69983 <at> debbugs.gnu.org; Tue, 09 Apr 2024 02:42:52 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id F2B621BF208;
 Tue,  9 Apr 2024 06:42:33 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN> (martin rudalics's
 message of "Sun, 7 Apr 2024 10:22:40 +0200")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
 <86sezyjpsn.fsf@HIDDEN>
 <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
Date: Tue, 09 Apr 2024 09:30:31 +0300
Message-ID: <86a5m3jboy.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>>> One problem is that I can't find an alist item to limit
>>> the window height, i.e. can't find window-max-height
>>> that would be like window-min-height, but to set a max height.
>>> Could you suggest such an alist item?
>>
>> The intention was to have such behavior:
>> 1. after the first call that adds 1 line to the output buffer,
>>     resize the displayed buffer to 1 line height;
>> 2. after the second call grow the output window height to 2 lines,
>>     it seems fit-window-to-buffer should do this;
>> 3. after 10th call limit the window height to 10 lines only,
>>     so later calls should not increase the output window height
>>     more than 10 lines.
>
> You mean that when a 'window-height' action alist entry is provided that
> specifies 'fit-window-to-buffer' as 'window-height' value, we should
> pass it the value of any 'window-max-height' entry present as MAX-HEIGHT
> argument here
>
>          ((functionp height)
> 	  (ignore-errors (funcall height window))
>
> and probably do the same for all the other arguments of
> 'fit-window-to-buffer'?

Probably we can't change the existing arguments to not break
backward-compatibility.  But this is fine since still can use
the explicit function call:

diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el
index 8b43c6a8726..75b519067ac 100644
--- a/lisp/emacs-lisp/warnings.el
+++ b/lisp/emacs-lisp/warnings.el
@@ -362,7 +362,12 @@ display-warning
 		 (or (< (warning-numeric-level level)
 			(warning-numeric-level warning-minimum-level))
 		     (warning-suppress-p type warning-suppress-types)
-		     (let ((window (display-buffer buffer)))
+		     (let ((window (display-buffer
+				    buffer
+				    '(display-buffer--maybe-at-bottom
+				      (window-height . (lambda (window)
+					(fit-window-to-buffer window 10)))
+				      (category . warning)))))
 		       (when (and (markerp warning-series)
 				  (eq (marker-buffer warning-series) buffer))
 			 (set-window-start window warning-series))
diff --git a/lisp/progmodes/flymake.el b/lisp/progmodes/flymake.el
index 779c612f479..3344402c893 100644
--- a/lisp/progmodes/flymake.el
+++ b/lisp/progmodes/flymake.el
@@ -1866,7 +1866,11 @@ flymake-show-buffer-diagnostics
                        (current-buffer)))))
     (with-current-buffer target
       (setq flymake--diagnostics-buffer-source source)
-      (display-buffer (current-buffer))
+      (display-buffer (current-buffer)
+                      `((display-buffer-reuse-window
+                         display-buffer-below-selected)
+                        (window-height . (lambda (window)
+                          (fit-window-to-buffer window 10)))))
       (revert-buffer))))
 
 




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 7 Apr 2024 08:22:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Apr 07 04:22:59 2024
Received: from localhost ([127.0.0.1]:41535 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rtNnm-00058C-UX
	for submit <at> debbugs.gnu.org; Sun, 07 Apr 2024 04:22:59 -0400
Received: from mout.gmx.net ([212.227.17.21]:59141)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1rtNnj-00057I-6Q
 for 69983 <at> debbugs.gnu.org; Sun, 07 Apr 2024 04:22:57 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1712478161; x=1713082961; i=rudalics@HIDDEN;
 bh=ioOYziBZTC8UrNCweluVAErUvIgvqkTRvrxtzhS/zrg=;
 h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:
 In-Reply-To;
 b=tQ+OhRih5w+2M+Tf62EOTz8rTyrGOcef5Q9a0KlHLiJ6aROQVkklIFpXPRJpF7Qo
 RDCZvJhMbeXAygpD5Ncmu49ik5gccv0VOJRarej8SnFw8+ZkHemBCBrdDpGvN7jNx
 QyI9Axg+ps5eiBSXJv7/Wm0QVvDPcc5s2E2I+ZPasOSWSo4ZZPucCTmzb7K/LoUCo
 KutGxuUgDQj2FLBkKGl9eoF/B6hC/EX+VqJyXi/YrJpadCv/Q1yPoOSc5G53Y87dp
 SMe4XdXF6UwAa6iBp1Sy4pMXUhtu6hfPawQ0rJX7xXqhJNB7i3T2x3NOUMCn7UmHl
 bPVc/XyiHxPmJFZD9w==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([212.95.5.44]) by mail.gmx.net (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MEFzx-1s3aPk1yDN-00AISr; Sun, 07
 Apr 2024 10:22:41 +0200
Message-ID: <b1fa6752-d193-4d05-9ad3-53731e31d3ff@HIDDEN>
Date: Sun, 7 Apr 2024 10:22:40 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#69983: Use category for display-buffer-alist
To: Juri Linkov <juri@HIDDEN>
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
 <86sezyjpsn.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <86sezyjpsn.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:j0kAw9wzjR42CJ/QhgIa8a/WV/hpYU1SbnWhaZWQW8MVYWePzHs
 CiFD9ShZH7xCbVzFgwU376OcC9XvmjkQZwEUfuzxsK9nv6N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6h2Iz5wOBTZMUW/weEMz5+
X-Spam-Score: 2.8 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  >> One problem is that I can't find an alist item to limit
 >> the window height, i.e. can't find window-max-height >> that would be
 like window-min-height, but to set a max height. >> Could you sugge [...] 
 Content analysis details:   (2.8 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
 [212.95.5.44 listed in zen.spamhaus.org]
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [212.227.17.21 listed in list.dnswl.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (rudalics[at]gmx.at)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
 [212.227.17.21 listed in wl.mailspike.net]
 -0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
X-Debbugs-Envelope-To: 69983
Cc: 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.8 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  >> One problem is that I can't find an alist item to limit
    >> the window height, i.e. can't find window-max-height >> that would be
   like window-min-height, but to set a max height. >> Could you sugge [...] 
 
 Content analysis details:   (1.8 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
                             low trust
                             [212.227.17.21 listed in list.dnswl.org]
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [212.95.5.44 listed in zen.spamhaus.org]
 -0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
                             [212.227.17.21 listed in wl.mailspike.net]
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (rudalics[at]gmx.at)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

 >> One problem is that I can't find an alist item to limit
 >> the window height, i.e. can't find window-max-height
 >> that would be like window-min-height, but to set a max height.
 >> Could you suggest such an alist item?
 >
 > The intention was to have such behavior:
 > 1. after the first call that adds 1 line to the output buffer,
 >     resize the displayed buffer to 1 line height;
 > 2. after the second call grow the output window height to 2 lines,
 >     it seems fit-window-to-buffer should do this;
 > 3. after 10th call limit the window height to 10 lines only,
 >     so later calls should not increase the output window height
 >     more than 10 lines.

You mean that when a 'window-height' action alist entry is provided that
specifies 'fit-window-to-buffer' as 'window-height' value, we should
pass it the value of any 'window-max-height' entry present as MAX-HEIGHT
argument here

          ((functionp height)
	  (ignore-errors (funcall height window))

and probably do the same for all the other arguments of
'fit-window-to-buffer'?

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 6 Apr 2024 18:45:53 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Apr 06 14:45:52 2024
Received: from localhost ([127.0.0.1]:40958 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rtB32-0001un-IX
	for submit <at> debbugs.gnu.org; Sat, 06 Apr 2024 14:45:52 -0400
Received: from relay1-d.mail.gandi.net ([217.70.183.193]:42463)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1rtB2y-0001Xf-PQ
 for 69983 <at> debbugs.gnu.org; Sat, 06 Apr 2024 14:45:51 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 95820240003;
 Sat,  6 Apr 2024 18:45:35 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <86h6gf69jd.fsf@HIDDEN> (Juri Linkov's message of "Fri, 
 05 Apr 2024 19:47:50 +0300")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN> <86h6gf69jd.fsf@HIDDEN>
Date: Sat, 06 Apr 2024 21:42:48 +0300
Message-ID: <86sezyjpsn.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> One problem is that I can't find an alist item to limit
> the window height, i.e. can't find window-max-height
> that would be like window-min-height, but to set a max height.
> Could you suggest such an alist item?

The intention was to have such behavior:
1. after the first call that adds 1 line to the output buffer,
   resize the displayed buffer to 1 line height;
2. after the second call grow the output window height to 2 lines,
   it seems fit-window-to-buffer should do this;
3. after 10th call limit the window height to 10 lines only,
   so later calls should not increase the output window height
   more than 10 lines.

But I can't find a setting for this.

> +		     (let ((window (display-buffer
> +                                    buffer
> +                                    '(display-buffer--maybe-at-bottom
> +                                      (window-min-height . 10)
> +                                      (window-height . fit-window-to-buffer)





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 5 Apr 2024 16:52:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 05 12:52:59 2024
Received: from localhost ([127.0.0.1]:37419 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rsmoF-0006fv-0r
	for submit <at> debbugs.gnu.org; Fri, 05 Apr 2024 12:52:59 -0400
Received: from relay7-d.mail.gandi.net ([217.70.183.200]:32983)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1rsmoC-0006f3-S5
 for 69983 <at> debbugs.gnu.org; Fri, 05 Apr 2024 12:52:58 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id B277B20002;
 Fri,  5 Apr 2024 16:52:43 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <86wmpdu0fa.fsf@HIDDEN> (Juri Linkov's message of "Thu, 
 04 Apr 2024 09:16:17 +0300")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86wmpdu0fa.fsf@HIDDEN>
Date: Fri, 05 Apr 2024 19:47:50 +0300
Message-ID: <86h6gf69jd.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>>> 'display-comint-buffer-action' and 'display-tex-shell-buffer-action'
>>> are out of place in window.el, and they are redundant per se.
>>>
>>> What these variables are trying to achieve is already possible
>>> to do by using a 'category' in 'display-buffer-alist'.
>>>
>>> Or we need to keep backward-compatibility?  Then the first step
>>> to deprecate there variables would be something like this:
>>
>> Please proceed as carefully as possible, here might be dragons.
>
> Ok, here is a complete patch:

So now pushed.

Here is a new patch that adds the category 'warning' to 'display-warning',
as well as adds the default display action that is like the action in
'debug' that displays the "*Backtrace*" buffer.

One problem is that I can't find an alist item to limit
the window height, i.e. can't find window-max-height
that would be like window-min-height, but to set a max height.
Could you suggest such an alist item?

diff --git a/lisp/emacs-lisp/warnings.el b/lisp/emacs-lisp/warnings.el
index 6c62a56e99c..2a9f5e5d9f9 100644
--- a/lisp/emacs-lisp/warnings.el
+++ b/lisp/emacs-lisp/warnings.el
@@ -358,7 +358,12 @@ display-warning
 		 (or (< (warning-numeric-level level)
 			(warning-numeric-level warning-minimum-level))
 		     (warning-suppress-p type warning-suppress-types)
-		     (let ((window (display-buffer buffer)))
+		     (let ((window (display-buffer
+                                    buffer
+                                    '(display-buffer--maybe-at-bottom
+                                      (window-min-height . 10)
+                                      (window-height . fit-window-to-buffer)
+                                      (category . warning)))))
 		       (when (and (markerp warning-series)
 				  (eq (marker-buffer warning-series) buffer))
 			 (set-window-start window warning-series))




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 4 Apr 2024 06:19:22 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 04 02:19:22 2024
Received: from localhost ([127.0.0.1]:60385 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rsGRV-0004hE-CM
	for submit <at> debbugs.gnu.org; Thu, 04 Apr 2024 02:19:21 -0400
Received: from relay7-d.mail.gandi.net ([2001:4b98:dc4:8::227]:37345)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1rsGRT-0004gK-2F
 for 69983 <at> debbugs.gnu.org; Thu, 04 Apr 2024 02:19:20 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 9D50B20004;
 Thu,  4 Apr 2024 06:19:06 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN> (martin rudalics's
 message of "Mon, 25 Mar 2024 10:41:33 +0100")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
Date: Thu, 04 Apr 2024 09:16:17 +0300
Message-ID: <86wmpdu0fa.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> 'display-comint-buffer-action' and 'display-tex-shell-buffer-action'
>> are out of place in window.el, and they are redundant per se.
>>
>> What these variables are trying to achieve is already possible
>> to do by using a 'category' in 'display-buffer-alist'.
>>
>> Or we need to keep backward-compatibility?  Then the first step
>> to deprecate there variables would be something like this:
>
> Please proceed as carefully as possible, here might be dragons.

Ok, here is a complete patch:

diff --git a/lisp/window.el b/lisp/window.el
index 3867f6fa6ef..29e7310958b 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -8923,7 +8923,8 @@ pop-to-buffer-same-window
 another window."
   (pop-to-buffer buffer display-buffer--same-window-action norecord))
 
-(defcustom display-comint-buffer-action display-buffer--same-window-action
+(defcustom display-comint-buffer-action
+  (append display-buffer--same-window-action '((category . comint)))
   "`display-buffer' action for displaying comint buffers."
   :type display-buffer--action-custom-type
   :risky t
@@ -8931,8 +8932,14 @@ display-comint-buffer-action
   :group 'windows
   :group 'comint)
 
+(make-obsolete-variable
+ 'display-comint-buffer-action
+ "use a `(category . comint)' condition in `display-buffer-alist'."
+ "30.1")
+
 (defcustom display-tex-shell-buffer-action '(display-buffer-in-previous-window
-                                             (inhibit-same-window . t))
+                                             (inhibit-same-window . t)
+                                             (category . tex-shell))
   "`display-buffer' action for displaying TeX shell buffers."
   :type display-buffer--action-custom-type
   :risky t
@@ -8940,6 +8947,11 @@ display-tex-shell-buffer-action
   :group 'windows
   :group 'tex-run)
 
+(make-obsolete-variable
+ 'display-tex-shell-buffer-action
+ "use a `(category . tex-shell)' condition in `display-buffer-alist'."
+ "30.1")
+
 (defun read-buffer-to-switch (prompt)
   "Read the name of a buffer to switch to, prompting with PROMPT.
 Return the name of the buffer as a string.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 2 Apr 2024 16:54:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 02 12:54:09 2024
Received: from localhost ([127.0.0.1]:56115 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rrhOj-0002X9-CK
	for submit <at> debbugs.gnu.org; Tue, 02 Apr 2024 12:54:09 -0400
Received: from relay9-d.mail.gandi.net ([2001:4b98:dc4:8::229]:55393)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1rrhOh-0002WV-0l
 for 69983 <at> debbugs.gnu.org; Tue, 02 Apr 2024 12:54:07 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 75EA3FF802;
 Tue,  2 Apr 2024 16:53:54 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <86frw7d2xf.fsf@HIDDEN> (Juri Linkov's message of "Sat, 
 30 Mar 2024 20:22:36 +0200")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86bk72dze6.fsf@HIDDEN>
 <69163329-d756-4747-9496-dd59e3c61c83@HIDDEN>
 <86bk7040vo.fsf@HIDDEN> <86cyrevniu.fsf@HIDDEN>
 <fd578266-f9ef-4c14-8c5f-8fe065cb287c@HIDDEN>
 <86y1a2cv6s.fsf@HIDDEN>
 <6d19927f-0ec9-425e-8e5e-4c0102682fae@HIDDEN>
 <868r21hvdc.fsf@HIDDEN>
 <aae3a601-7e81-41bd-ae88-c722038e6ecb@HIDDEN>
 <86frw7d2xf.fsf@HIDDEN>
Date: Tue, 02 Apr 2024 19:52:38 +0300
Message-ID: <86edbnemg9.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

> A caller of 'buffer-match-p' does not need to care about 'category'.
> Only a user who customizes 'display-buffer-alist' needs to care about 'category'.

So pushed now.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 30 Mar 2024 18:24:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 30 14:24:57 2024
Received: from localhost ([127.0.0.1]:46148 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rqdNw-0006TJ-MZ
	for submit <at> debbugs.gnu.org; Sat, 30 Mar 2024 14:24:56 -0400
Received: from relay8-d.mail.gandi.net ([2001:4b98:dc4:8::228]:56871)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1rqdNk-0006RV-0q
 for 69983 <at> debbugs.gnu.org; Sat, 30 Mar 2024 14:24:45 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id C4B351BF203;
 Sat, 30 Mar 2024 18:24:34 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <aae3a601-7e81-41bd-ae88-c722038e6ecb@HIDDEN> (martin rudalics's
 message of "Sat, 30 Mar 2024 10:36:49 +0100")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86bk72dze6.fsf@HIDDEN>
 <69163329-d756-4747-9496-dd59e3c61c83@HIDDEN>
 <86bk7040vo.fsf@HIDDEN> <86cyrevniu.fsf@HIDDEN>
 <fd578266-f9ef-4c14-8c5f-8fe065cb287c@HIDDEN>
 <86y1a2cv6s.fsf@HIDDEN>
 <6d19927f-0ec9-425e-8e5e-4c0102682fae@HIDDEN>
 <868r21hvdc.fsf@HIDDEN>
 <aae3a601-7e81-41bd-ae88-c722038e6ecb@HIDDEN>
Date: Sat, 30 Mar 2024 20:22:36 +0200
Message-ID: <86frw7d2xf.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>>> But if so, you should say that this works only
>>> when called from 'display-buffer'.
>>
>> This already says so:
> ...
>> +  * `category': the buffer matches a category as a symbol if
>> +    the caller of `display-buffer' provides `(category . symbol)'
>> +    in its action argument.
> ...
>
> I was never really fond of using 'buffer-match-p' for 'display-buffer'.
> This is an example why.  A caller of 'buffer-match-p' who does not know
> about 'display-buffer' has to care about whether the CONDITION passed to
> it contains a 'category' element.

A caller of 'buffer-match-p' does not need to care about 'category'.
Only a user who customizes 'display-buffer-alist' needs to care about 'category'.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 30 Mar 2024 09:37:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Mar 30 05:37:00 2024
Received: from localhost ([127.0.0.1]:43980 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rqV91-0001uX-Sl
	for submit <at> debbugs.gnu.org; Sat, 30 Mar 2024 05:37:00 -0400
Received: from mout.gmx.net ([212.227.15.18]:41635)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1rqV90-0001uL-AY
 for 69983 <at> debbugs.gnu.org; Sat, 30 Mar 2024 05:36:59 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1711791410; x=1712396210; i=rudalics@HIDDEN;
 bh=J7fI9NCDT+Otr9wygWOyvEs7CmTtubkPc3rR77OyjZ4=;
 h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:
 In-Reply-To;
 b=G79Es6WbN3Eh6q7wWECnfOoN0m2ZX28+XsjSjF89OtyM1dNrrmJ0lzSO4LZ2m+CM
 p8kJk3DMwi39McwecowBJ6ulU5ySPeh9I6s6/2koeD+VoARzgrfc9NZl3tW6oy/e+
 GolbX/WA8u+fpUlbKjXOHpVKfFfXhfFz1g6L5BV0DAGugl7ou1CGYYkQfocoAmkHE
 RZEWw17Kr2/8LU7jTy+PQb4I42h/vp54DPS0w8jPdqiWSld43HWuH34/NJrdPFLf0
 /pyM3XfnRbHjAXmdwX0qsil08SxkcwKm8giE+EP+kCaxHwO/bUamj7uzhsuX2qG0A
 xImjrxDXwRuNlFuNxw==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([46.125.249.110]) by mail.gmx.net (mrgmx004
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N9MpS-1stCje0pLI-015JN3; Sat, 30
 Mar 2024 10:36:50 +0100
Message-ID: <aae3a601-7e81-41bd-ae88-c722038e6ecb@HIDDEN>
Date: Sat, 30 Mar 2024 10:36:49 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#69983: Use category for display-buffer-alist
To: Juri Linkov <juri@HIDDEN>
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86bk72dze6.fsf@HIDDEN>
 <69163329-d756-4747-9496-dd59e3c61c83@HIDDEN>
 <86bk7040vo.fsf@HIDDEN> <86cyrevniu.fsf@HIDDEN>
 <fd578266-f9ef-4c14-8c5f-8fe065cb287c@HIDDEN>
 <86y1a2cv6s.fsf@HIDDEN>
 <6d19927f-0ec9-425e-8e5e-4c0102682fae@HIDDEN>
 <868r21hvdc.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <868r21hvdc.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:NN8pXgpurkVL/ZRZfjJx2742JWVXHpWqQKFMNup+ttNz8bL275s
 0RHYAJvUWeiLX+e64MlFfFLjQfa2uWYdN/44tXqsLZUnjO5yUlYW5Gev3DOpn1rxSEERrbh
 mlp3B0ZyvUHQQyVtmrTwr1nFdt7WBgeqLveAufNyHwVwI41Qkp5UXLHbexRLI1uuw3Fl3ov
 fSg7JOECGvX+eI86KJ0Lw==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:cll1EbKYAXE=;5r/tHTm1RswD1Jph61yRwKyZcDu
 KkKWuBsrzaBEvrIlRgenN29PJc+X+gll95oSgt7LmBuGejHyK/aMzH/x+dkTtbEaEcI8GKqUs
 kxAuspNHTsr2/GfKClil0h1Ij71LXiNGIynO+qKQvx3+ES5/Zb6EDZHV0OG8c6kG37zrgQUui
 oZlGE3H9QNs0XeCMq5XNGbt98furIo/+PVMKdmqW0rzY9qbBsz0WODHdsWllzVQqOn8k1jSQN
 EFDHysqkOq36mxujNMgE3W1v3Z7oIV9Vc1r0Hf5xtowtR61dEvcCdw9h9wlzorZfruhEWm+ZW
 us8ouQbBkClFOQvDmqpZyU1oCqPHpty9txdQyx4ApsLDEY8axow/oMUyE2OtVZKQp/J5SVtQ0
 4++yVRnLg3yTk66CrdbT+D2yPuUU+0hr12n/w0Qbe7uugStsvllL/rANwLxXa7fFL7AMlgF4o
 fFVed+hTTNEYheigpByLUpQGpDsSfebAE9AhBxfjpzOSHgcGZddcmnDn8b8JfRdv0su93QtIL
 QpjG7G84iWsEuGkVp1ezF5pRSCMzQBh2GVNSvzQOa6+Ybz+EucDu4hV2/LFhwQ/rhEla5QlZS
 oSURHiD1uQ7YTu0smD/rumyPMukOU3rTIeHkJeX15oEngMl1M+0FOooUFZV4CZE2fGjHXwsiC
 mmElsFv3OMrRWVd4aXyB7DIhdJ9fie22Aq341kaxquCsWBvAOqCgqWPZWCeD/Y82TEvB3dJq6
 RtcXcsvAytq/g8jRV8neXchb0r+Fqk+KQUvSRZSTLMvBjXeZyXxXL/fjqZkd+DEPLJcAwxh5k
 Lq+czR+fvz2mPqpiDzsc2RgMFhgBweowPWUKjzVlEG5HA=
X-Spam-Score: 4.4 (++++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  >> But if so, you should say that this works only >> when
 called from 'display-buffer'. > > This already says so: ... > + * `category':
 the buffer matches a category as a symbol if > + the caller of [...] 
 Content analysis details:   (4.4 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
 [46.125.249.110 listed in zen.spamhaus.org]
 1.5 RCVD_IN_SORBS_WEB      RBL: SORBS: sender is an abusable web server
 [46.125.249.110 listed in dnsbl.sorbs.net]
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [212.227.15.18 listed in list.dnswl.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (rudalics[at]gmx.at)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
 [212.227.15.18 listed in wl.mailspike.net]
X-Debbugs-Envelope-To: 69983
Cc: 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 3.4 (+++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  >> But if so, you should say that this works only >> when
    called from 'display-buffer'. > > This already says so: ... > + * `category':
    the buffer matches a category as a symbol if > + the caller of [...] 
 
 Content analysis details:   (3.4 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
                             low trust
                             [212.227.15.18 listed in list.dnswl.org]
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [46.125.249.110 listed in zen.spamhaus.org]
  1.5 RCVD_IN_SORBS_WEB      RBL: SORBS: sender is an abusable web server
                             [46.125.249.110 listed in dnsbl.sorbs.net]
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
                             [212.227.15.18 listed in wl.mailspike.net]
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (rudalics[at]gmx.at)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

 >> But if so, you should say that this works only
 >> when called from 'display-buffer'.
 >
 > This already says so:
...
 > +  * `category': the buffer matches a category as a symbol if
 > +    the caller of `display-buffer' provides `(category . symbol)'
 > +    in its action argument.
...

I was never really fond of using 'buffer-match-p' for 'display-buffer'.
This is an example why.  A caller of 'buffer-match-p' who does not know
about 'display-buffer' has to care about whether the CONDITION passed to
it contains a 'category' element.

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 29 Mar 2024 16:35:58 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 29 12:35:58 2024
Received: from localhost ([127.0.0.1]:43284 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rqFCw-0002cc-9U
	for submit <at> debbugs.gnu.org; Fri, 29 Mar 2024 12:35:58 -0400
Received: from relay8-d.mail.gandi.net ([217.70.183.201]:50117)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1rqFCq-0002be-D6
 for 69983 <at> debbugs.gnu.org; Fri, 29 Mar 2024 12:35:52 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 0A6301BF203;
 Fri, 29 Mar 2024 16:35:43 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <6d19927f-0ec9-425e-8e5e-4c0102682fae@HIDDEN> (martin rudalics's
 message of "Fri, 29 Mar 2024 09:43:33 +0100")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86bk72dze6.fsf@HIDDEN>
 <69163329-d756-4747-9496-dd59e3c61c83@HIDDEN>
 <86bk7040vo.fsf@HIDDEN> <86cyrevniu.fsf@HIDDEN>
 <fd578266-f9ef-4c14-8c5f-8fe065cb287c@HIDDEN>
 <86y1a2cv6s.fsf@HIDDEN>
 <6d19927f-0ec9-425e-8e5e-4c0102682fae@HIDDEN>
Date: Fri, 29 Mar 2024 18:30:23 +0200
Message-ID: <868r21hvdc.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> But only 'display-buffer' provides a category.
>> We can't suggest to use it for other purposes.
>
> I don't understand why.

None of other callers supplies its action list to 'buffer-match-p'.

> But if so, you should say that this works only
> when called from 'display-buffer'.

This already says so:

diff --git a/lisp/subr.el b/lisp/subr.el
index b68aa073ba0..da57f917da8 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -7474,6 +7474,9 @@ buffer-match-p
   * `major-mode': the buffer matches if the buffer's major mode
     is eq to the cons-cell's cdr.  Prefer using `derived-mode'
     instead when both can work.
+  * `category': the buffer matches a category as a symbol if
+    the caller of `display-buffer' provides `(category . symbol)'
+    in its action argument.
   * `not': the cadr is interpreted as a negation of a condition.
   * `and': the cdr is a list of recursive conditions, that all have
     to be met.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 29 Mar 2024 08:43:45 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 29 04:43:45 2024
Received: from localhost ([127.0.0.1]:41670 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rq7px-0005I5-43
	for submit <at> debbugs.gnu.org; Fri, 29 Mar 2024 04:43:45 -0400
Received: from mout.gmx.net ([212.227.15.15]:40523)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1rq7pu-0005Gx-85
 for 69983 <at> debbugs.gnu.org; Fri, 29 Mar 2024 04:43:44 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1711701814; x=1712306614; i=rudalics@HIDDEN;
 bh=zgGHGRqdus7YJPGhGS1IZWwjJwcwGXv6e1Rq29zhf5U=;
 h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:
 In-Reply-To;
 b=Wj1DtO2lvLyZeDRSYR1ONKNDHD8YmFzkPMuCQolS2IACC5cH3zOFaEsYa+PdNdMG
 90gW+z2BNW9X8UfARpcNvpkMQ2N4VDf/4W8Jwjkug32SHXkwbB8f2cgUzQOdWvxwB
 ZWfFE1DPJHGqW9ALctDviMX1t+ofrBtPUvnXpmtdKmvP28vNjr7FMXYAixQS8ROaf
 z8BO8lWs98YAqC098W0OnbEn7u9XwVsQLhzj2QK9mD8fXv5fcRCYXAB+kEj8qjRm8
 QlsYytTHJDcAIvYBnhJj04q80cdD8I8A1th1NHXlnYP7WqeF70AP491scR9SFceVC
 FETUykElLlEwA+D2Ww==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([46.125.249.18]) by mail.gmx.net (mrgmx005
 [212.227.17.190]) with ESMTPSA (Nemesis) id 1N7zBR-1strQT30Kp-0154QM; Fri, 29
 Mar 2024 09:43:34 +0100
Message-ID: <6d19927f-0ec9-425e-8e5e-4c0102682fae@HIDDEN>
Date: Fri, 29 Mar 2024 09:43:33 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#69983: Use category for display-buffer-alist
To: Juri Linkov <juri@HIDDEN>
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86bk72dze6.fsf@HIDDEN>
 <69163329-d756-4747-9496-dd59e3c61c83@HIDDEN>
 <86bk7040vo.fsf@HIDDEN> <86cyrevniu.fsf@HIDDEN>
 <fd578266-f9ef-4c14-8c5f-8fe065cb287c@HIDDEN>
 <86y1a2cv6s.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <86y1a2cv6s.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:H6TyAGW1feQTQIr4OlZqmMATtU0wB1zRxe4tPrZEK3vMapqgV1F
 tybTb7xzl1iQKvzBIVYQINQWXVT7mAUmrkhSBESOgHuXabFWhBXM2zOkpXmWKLlF1+a83Xu
 UVyBmKMSk3eBl76aj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at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

 > But only 'display-buffer' provides a category.
 > We can't suggest to use it for other purposes.

I don't understand why.  But if so, you should say that this works only
when called from 'display-buffer'.

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 28 Mar 2024 18:05:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 28 14:05:09 2024
Received: from localhost ([127.0.0.1]:41098 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rpu7f-0001yr-PP
	for submit <at> debbugs.gnu.org; Thu, 28 Mar 2024 14:05:08 -0400
Received: from relay8-d.mail.gandi.net ([217.70.183.201]:38793)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1rpu7Z-0001xW-0E
 for 69983 <at> debbugs.gnu.org; Thu, 28 Mar 2024 14:05:02 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 2627B1BF20B;
 Thu, 28 Mar 2024 18:04:52 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <fd578266-f9ef-4c14-8c5f-8fe065cb287c@HIDDEN> (martin rudalics's
 message of "Thu, 28 Mar 2024 10:18:33 +0100")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86bk72dze6.fsf@HIDDEN>
 <69163329-d756-4747-9496-dd59e3c61c83@HIDDEN>
 <86bk7040vo.fsf@HIDDEN> <86cyrevniu.fsf@HIDDEN>
 <fd578266-f9ef-4c14-8c5f-8fe065cb287c@HIDDEN>
Date: Thu, 28 Mar 2024 19:50:59 +0200
Message-ID: <86y1a2cv6s.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> Ok, here is a complete patch with documentation:
>
> +  * `category': the buffer matches if the caller of `display-buffer'
> +    provided `(category . symbol)' in its ACTION argument.
>
> IIUC 'buffer-match-p' may be called from anywhere.  Hence,
> mentioning 'display-buffer' here seems confusing at least.

But only 'display-buffer' provides a category.
We can't suggest to use it for other purposes.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 28 Mar 2024 18:05:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 28 14:05:02 2024
Received: from localhost ([127.0.0.1]:41094 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rpu7a-0001yD-61
	for submit <at> debbugs.gnu.org; Thu, 28 Mar 2024 14:05:02 -0400
Received: from relay4-d.mail.gandi.net ([2001:4b98:dc4:8::224]:38419)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1rpu7X-0001xS-FX
 for 69983 <at> debbugs.gnu.org; Thu, 28 Mar 2024 14:05:01 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id CF0C3E0005;
 Thu, 28 Mar 2024 18:04:49 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Eli Zaretskii <eliz@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <86msqihiiu.fsf@HIDDEN> (Eli Zaretskii's message of "Thu, 28 Mar
 2024 10:23:21 +0200")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86bk72dze6.fsf@HIDDEN>
 <69163329-d756-4747-9496-dd59e3c61c83@HIDDEN>
 <86bk7040vo.fsf@HIDDEN> <86cyrevniu.fsf@HIDDEN>
 <86msqihiiu.fsf@HIDDEN>
Date: Thu, 28 Mar 2024 19:46:48 +0200
Message-ID: <867chme9t7.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain

> Please use "If", not "When" in such cases.  "When" has a meaning of
> time, which is not what you mean here.
>
>> +in its @var{action} argument, then @code{display-buffer-alist} can use it
>> +to match a whole category of buffers with different buffer names,
>> +for example:
>> +
>> +@example
>> +@group
>> +(setopt
>> + display-buffer-alist
>> + (cons '((category . comint) (display-buffer-same-window))
>> +        display-buffer-alist))
>> +
>> +(display-buffer (get-buffer-create "*my-shell*")
>> +		'(nil (category . comint)))
>> +@end group
>
> I failed to understand from the description and the example the
> meaning of 'category' in this case.  Specifically, I think the
> description should tell more about the interpretation of the symbol in
> (category . SYMBOL).  The example gives 'comint' as the category
> symbol and says this matches "a whole category of buffers", but
> doesn't explain enough to understand which buffers will match this
> category and which won't.  IOW, the meaning of 'comint' as "category
> of buffers" is not sufficiently explained.

Now this is improved in the patch below.

>> --- a/lisp/subr.el
>> +++ b/lisp/subr.el
>> @@ -7476,6 +7474,8 @@ buffer-match-p
>>    * `major-mode': the buffer matches if the buffer's major mode
>>      is eq to the cons-cell's cdr.  Prefer using `derived-mode'
>>      instead when both can work.
>> +  * `category': the buffer matches if the caller of `display-buffer'
>> +    provided `(category . symbol)' in its ACTION argument.
>
> Same here.  (And "symbol" should be "SYMBOL", upper-case, I think.

Actually symbol is not a function argument here.


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline; filename=buffer-match-category.patch

diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index eef05d94fdb..90cd8d2f2da 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -2638,6 +2638,29 @@ Choosing Window
 @code{buffer-match-p} could fail to report a match if
 @code{display-buffer} is called before the major mode of the buffer is
 set.
+
+If the caller of @code{display-buffer} passes a category as a symbol
+in its @var{action} argument, then you can use the same category in
+@code{display-buffer-alist} to match buffers with different names,
+for example:
+
+@example
+@group
+(setopt
+ display-buffer-alist
+ (cons '((category . comint) (display-buffer-same-window))
+        display-buffer-alist))
+
+(display-buffer (get-buffer-create "*my-shell*")
+		'(nil (category . comint)))
+@end group
+@end example
+
+Regardless of the displayed buffer's name the caller defines a category
+as a symbol @code{comint}.  Then @code{display-buffer-alist} matches
+this category for all buffers displayed with the same category.
+This avoids the need to construct a complex regular expression
+that matches a buffer name.
 @end defopt
 
 @defopt display-buffer-base-action
diff --git a/lisp/subr.el b/lisp/subr.el
index 90dbfc75d52..da57f917da8 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -7476,6 +7474,9 @@ buffer-match-p
   * `major-mode': the buffer matches if the buffer's major mode
     is eq to the cons-cell's cdr.  Prefer using `derived-mode'
     instead when both can work.
+  * `category': the buffer matches a category as a symbol if
+    the caller of `display-buffer' provides `(category . symbol)'
+    in its action argument.
   * `not': the cadr is interpreted as a negation of a condition.
   * `and': the cdr is a list of recursive conditions, that all have
     to be met.
@@ -7504,6 +7505,8 @@ buffer-match-p
                               (push condition buffer-match-p--past-warnings))
                             (apply condition buffer-or-name
                                    (if args nil '(nil)))))))
+                      (`(category . ,category)
+                       (eq (alist-get 'category (cdar args)) category))
                       (`(major-mode . ,mode)
                        (eq
                         (buffer-local-value 'major-mode buffer)

--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 28 Mar 2024 09:18:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 28 05:18:43 2024
Received: from localhost ([127.0.0.1]:39041 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rpluE-0002TC-VD
	for submit <at> debbugs.gnu.org; Thu, 28 Mar 2024 05:18:43 -0400
Received: from mout.gmx.net ([212.227.17.21]:35335)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1rpluD-0002Sx-5d
 for 69983 <at> debbugs.gnu.org; Thu, 28 Mar 2024 05:18:41 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1711617514; x=1712222314; i=rudalics@HIDDEN;
 bh=OxMEGgnkMTZV2O8j/g1AlJC/qKQXw1FDG6WaoRVPv7M=;
 h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:
 In-Reply-To;
 b=nW68rjVZbSpsRy2B2omb8Xfb2/9QScwPonOOPoU4JqEY/50/whj6Im6gINxiCJP2
 fZHSHVqRuu2BDjnn3PnGFi7WZ/bAFNjuVlH4jhzVE3A+7LK3gJzcZ1RW3DvwYhryM
 FcEZYDNV4Sqm/f1f5KzMoRgxyGpmqQHZjIOG6FoZArGzlB0EtYIJoupFqMo5MBnSn
 IEn4YUPePGivDgJrZk3/X2tiCmkCM9JVqCeJsX1E/TcR6JuSAn2AbN7LxHRsO+RfV
 uLWH80l1+YAXDLv9+cAUg4elQRNsRd899f6ezFr5ko8H3Tyv3tDLWF4cwqzqisSq2
 Jmb4Y8yKiI5b4inXUg==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([213.142.97.35]) by mail.gmx.net (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MZTmY-1sK2CC1MLG-00WTuA; Thu, 28
 Mar 2024 10:18:34 +0100
Message-ID: <fd578266-f9ef-4c14-8c5f-8fe065cb287c@HIDDEN>
Date: Thu, 28 Mar 2024 10:18:33 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#69983: Use category for display-buffer-alist
To: Juri Linkov <juri@HIDDEN>
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86bk72dze6.fsf@HIDDEN>
 <69163329-d756-4747-9496-dd59e3c61c83@HIDDEN>
 <86bk7040vo.fsf@HIDDEN> <86cyrevniu.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <86cyrevniu.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:6jbGRIU8jbBHG2xbxFzhHue+QR+yXDJRTawRxhZzYHmmr5YgMmT
 T588Cry+w2M9t0ZDMdW1iERDJ2DfSjpGXU0R/NzZgxkqU47J56Nv1dmS673v6CG7RKeltV2
 daBcm45rZ6lP7CJUkV24EKD4Xfc5w0FXdAux8dl1QtTdYb4xg8HJSh+uLJincoDYpuQb/Cj
 oa8Q80wKxQXLXgI7xKRAw==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:TrvFHXa9Bzk=;Cm71xXS3Er1DENj0XB8ESf8QRTc
 Qm6fQdPBGeVJ9Vuf9Uztupxk2JtkgVwwdDAs8MDhN5VbYHYgBOLBLBjKCo8I2KAzEh66gnPfX
 Y+msuSgT7fga2pV41oVawPgWQogFk23bV/zY3vQqWLTzLcazhbD1bsDTh7UX91p9lod1DYWBg
 H9u+F00I5vo8im0CwW+yEWx1lctgv9k+jk9aAs6pN1jghghKh7tQo4bS3lqseelM1nkmfkIiW
 S2FlvW7GctOXjEBUNn/AgK/gDGhAlWrEm19BmQ+FDQq8XDNwVIS1j68d1jcqd59nxbFNDir9r
 a9xF9MBDIB7zWOi3wlSRsOcQ1wAId8lGRieg8dcoLwJYXY+JG8zcKsZ9+rj4B3zPEMst5rYT+
 XRHsi4iU7pzgb8YYlDfw4y1fHVzkGut39UPGDJ4lzCml10bTIIM6D4DAeHE0/jlY/Wyv9puvl
 HDesWqE2zg+mAtqky751VF4NajfMzd8OOla056SdFY3099nT2nd6WNwGYp4OaUsbuGRMPJy8o
 CrAJO5w9B58JLEbAch4wfmeQ5f97S8dTmF7T3ikV83fh/aBuLF597UBidcrVSoSCgOvwEAPo3
 1RKtbL7P8+eMY+cdanR0FoCXHlO49pRgh8kUX/fLjv3/XeCe8BxKLLAsMiqynY2Z79DFF/2p6
 NP8yQrwY/7W250CB58cROqwdxkOUYkpHsA5jzov1QnghEv52NSSKyUirio/vU9VogmRIMvx9G
 Ee+y4ljLz2U6wTfSAznzMoEYcTJsw4XqoBz+uYKpR7/PG28NIMUpAzkb7ZcH365CE6xZYneDl
 QMKJwel1EdwfoHcuYKAY3MSIMFCnstqa/lLsC7NOQZBiE=
X-Spam-Score: 2.8 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  > Ok,
 here is a complete patch with documentation: + * `category':
 the buffer matches if the caller of `display-buffer' + provided `(category
 . symbol)' in its ACTION argument. IIUC 'buffer-match-p' may be called from
 anywhere. Hence, mentioning 'display-buffer' here seems confusing at least.
 Content analysis details:   (2.8 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [212.227.17.21 listed in list.dnswl.org]
 3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
 [213.142.97.35 listed in zen.spamhaus.org]
 -0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
 [212.227.17.21 listed in wl.mailspike.net]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (rudalics[at]gmx.at)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
X-Debbugs-Envelope-To: 69983
Cc: 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.8 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  > Ok, here is a complete patch with documentation: + * `category':
    the buffer matches if the caller of `display-buffer' + provided `(category
    . symbol)' in its ACTION argument. IIUC 'buffer-match-p' may be called from
    anywhere. Hence, mentioning 'display-buffer' here seems confusing at least.
    
 
 Content analysis details:   (1.8 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
                             low trust
                             [212.227.17.21 listed in list.dnswl.org]
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [213.142.97.35 listed in zen.spamhaus.org]
 -0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
                             [212.227.17.21 listed in wl.mailspike.net]
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (rudalics[at]gmx.at)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

 > Ok, here is a complete patch with documentation:

+  * `category': the buffer matches if the caller of `display-buffer'
+    provided `(category . symbol)' in its ACTION argument.

IIUC 'buffer-match-p' may be called from anywhere.  Hence,
mentioning 'display-buffer' here seems confusing at least.

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 28 Mar 2024 08:23:38 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 28 04:23:38 2024
Received: from localhost ([127.0.0.1]:38977 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rpl2v-0006SC-JI
	for submit <at> debbugs.gnu.org; Thu, 28 Mar 2024 04:23:37 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:56982)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1rpl2q-0006Rs-Al
 for 69983 <at> debbugs.gnu.org; Thu, 28 Mar 2024 04:23:35 -0400
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 <eliz@HIDDEN>)
 id 1rpl2j-0002X0-Tc; Thu, 28 Mar 2024 04:23:25 -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=qcDAR0HOrFYuGiRPakJnrW8DNYlHEqmqW6NDIJCxKgo=; b=I7hoU3g0hcE3
 m1+YZ+WEAG4afFMKcenYufRH5vo8I1Txrp+/2gn28IQg2cTat4RLz531Ku7hv62FoOGSuG+ZWv2Us
 m2Iv0Lwk3AQHwHX7ZP4OelOsNdrc0z6sYp5a6Wc8uMpEYPF+CrMnBtPD8iCd6MJ9Dfy/jVQ2r6Pb9
 cggfk49TdHJbWnk967YfLPTOfuLmvXs9zRJkrKC3A+/h/HUxY6dGKLBiqVNMPS3OQql6PjKbCKWbh
 RNbil+H2+Znp/csBJ0YBX0R1nqicuiJpq6ka2mqncC+IPR3mrw3Jh1uxJ0+ssVe2bRRSHp7IcufRD
 G1A02g4Xmjmlg5pNQcPBzQ==;
Date: Thu, 28 Mar 2024 10:23:21 +0200
Message-Id: <86msqihiiu.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Juri Linkov <juri@HIDDEN>
In-Reply-To: <86cyrevniu.fsf@HIDDEN> (message from Juri Linkov on
 Thu, 28 Mar 2024 09:47:37 +0200)
Subject: Re: bug#69983: Use category for display-buffer-alist
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86bk72dze6.fsf@HIDDEN>
 <69163329-d756-4747-9496-dd59e3c61c83@HIDDEN>
 <86bk7040vo.fsf@HIDDEN> <86cyrevniu.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 69983
Cc: rudalics@HIDDEN, 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> Cc: 69983 <at> debbugs.gnu.org
> From: Juri Linkov <juri@HIDDEN>
> Date: Thu, 28 Mar 2024 09:47:37 +0200
> 
> diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
> index eef05d94fdb..54e563eeb58 100644
> --- a/doc/lispref/windows.texi
> +++ b/doc/lispref/windows.texi
> @@ -2638,6 +2638,23 @@ Choosing Window
>  @code{buffer-match-p} could fail to report a match if
>  @code{display-buffer} is called before the major mode of the buffer is
>  set.
> +
> +When the caller of @code{display-buffer} passes a category as a symbol

Please use "If", not "When" in such cases.  "When" has a meaning of
time, which is not what you mean here.

> +in its @var{action} argument, then @code{display-buffer-alist} can use it
> +to match a whole category of buffers with different buffer names,
> +for example:
> +
> +@example
> +@group
> +(setopt
> + display-buffer-alist
> + (cons '((category . comint) (display-buffer-same-window))
> +        display-buffer-alist))
> +
> +(display-buffer (get-buffer-create "*my-shell*")
> +		'(nil (category . comint)))
> +@end group

I failed to understand from the description and the example the
meaning of 'category' in this case.  Specifically, I think the
description should tell more about the interpretation of the symbol in
(category . SYMBOL).  The example gives 'comint' as the category
symbol and says this matches "a whole category of buffers", but
doesn't explain enough to understand which buffers will match this
category and which won't.  IOW, the meaning of 'comint' as "category
of buffers" is not sufficiently explained.

> --- a/lisp/subr.el
> +++ b/lisp/subr.el
> @@ -7476,6 +7474,8 @@ buffer-match-p
>    * `major-mode': the buffer matches if the buffer's major mode
>      is eq to the cons-cell's cdr.  Prefer using `derived-mode'
>      instead when both can work.
> +  * `category': the buffer matches if the caller of `display-buffer'
> +    provided `(category . symbol)' in its ACTION argument.

Same here.  (And "symbol" should be "SYMBOL", upper-case, I think.

Thanks.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 28 Mar 2024 07:57:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Mar 28 03:57:17 2024
Received: from localhost ([127.0.0.1]:38950 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rpkdP-0004O1-W9
	for submit <at> debbugs.gnu.org; Thu, 28 Mar 2024 03:57:17 -0400
Received: from relay6-d.mail.gandi.net ([2001:4b98:dc4:8::226]:53399)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1rpkdG-0004Mc-2R
 for 69983 <at> debbugs.gnu.org; Thu, 28 Mar 2024 03:57:08 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 3612AC0002;
 Thu, 28 Mar 2024 07:56:57 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <86bk7040vo.fsf@HIDDEN> (Juri Linkov's message of "Wed, 
 27 Mar 2024 09:15:19 +0200")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86bk72dze6.fsf@HIDDEN>
 <69163329-d756-4747-9496-dd59e3c61c83@HIDDEN>
 <86bk7040vo.fsf@HIDDEN>
Date: Thu, 28 Mar 2024 09:47:37 +0200
Message-ID: <86cyrevniu.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="=-=-="
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

--=-=-=
Content-Type: text/plain

>> Would this imply a change in 'buffer-match-p'?
>
> Indeed, here it a simple change in 'buffer-match-p'
> that will support this case:

Ok, here is a complete patch with documentation:


--=-=-=
Content-Type: text/x-diff
Content-Disposition: inline; filename=buffer-match-category.patch

diff --git a/doc/lispref/windows.texi b/doc/lispref/windows.texi
index eef05d94fdb..54e563eeb58 100644
--- a/doc/lispref/windows.texi
+++ b/doc/lispref/windows.texi
@@ -2638,6 +2638,23 @@ Choosing Window
 @code{buffer-match-p} could fail to report a match if
 @code{display-buffer} is called before the major mode of the buffer is
 set.
+
+When the caller of @code{display-buffer} passes a category as a symbol
+in its @var{action} argument, then @code{display-buffer-alist} can use it
+to match a whole category of buffers with different buffer names,
+for example:
+
+@example
+@group
+(setopt
+ display-buffer-alist
+ (cons '((category . comint) (display-buffer-same-window))
+        display-buffer-alist))
+
+(display-buffer (get-buffer-create "*my-shell*")
+		'(nil (category . comint)))
+@end group
+@end example
 @end defopt
 
 @defopt display-buffer-base-action
diff --git a/lisp/subr.el b/lisp/subr.el
index 90dbfc75d52..9319acefbf1 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -7476,6 +7474,8 @@ buffer-match-p
   * `major-mode': the buffer matches if the buffer's major mode
     is eq to the cons-cell's cdr.  Prefer using `derived-mode'
     instead when both can work.
+  * `category': the buffer matches if the caller of `display-buffer'
+    provided `(category . symbol)' in its ACTION argument.
   * `not': the cadr is interpreted as a negation of a condition.
   * `and': the cdr is a list of recursive conditions, that all have
     to be met.
@@ -7504,6 +7504,8 @@ buffer-match-p
                               (push condition buffer-match-p--past-warnings))
                             (apply condition buffer-or-name
                                    (if args nil '(nil)))))))
+                      (`(category . ,category)
+                       (eq (alist-get 'category (cdar args)) category))
                       (`(major-mode . ,mode)
                        (eq
                         (buffer-local-value 'major-mode buffer)

--=-=-=--




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 27 Mar 2024 07:21:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Mar 27 03:21:03 2024
Received: from localhost ([127.0.0.1]:35640 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rpNao-0007B4-Ik
	for submit <at> debbugs.gnu.org; Wed, 27 Mar 2024 03:21:03 -0400
Received: from relay2-d.mail.gandi.net ([217.70.183.194]:55193)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1rpNai-00079g-IT
 for 69983 <at> debbugs.gnu.org; Wed, 27 Mar 2024 03:20:57 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id B2DEA40006;
 Wed, 27 Mar 2024 07:20:49 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <69163329-d756-4747-9496-dd59e3c61c83@HIDDEN> (martin rudalics's
 message of "Tue, 26 Mar 2024 10:55:47 +0100")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86bk72dze6.fsf@HIDDEN>
 <69163329-d756-4747-9496-dd59e3c61c83@HIDDEN>
Date: Wed, 27 Mar 2024 09:15:19 +0200
Message-ID: <86bk7040vo.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> Ok, but before proceeding I propose the following change.
>
> Would this imply a change in 'buffer-match-p'?

Indeed, here it a simple change in 'buffer-match-p'
that will support this case:

(add-to-list 'display-buffer-alist
             `((category . comint)
               (display-buffer-in-direction)
	       (direction . top)))

(display-buffer (get-buffer-create "blablabla")
		'(nil (category . comint)))

diff --git a/lisp/subr.el b/lisp/subr.el
index b68aa073ba0..2d104c545f0 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -7502,6 +7502,8 @@ buffer-match-p
                               (push condition buffer-match-p--past-warnings))
                             (apply condition buffer-or-name
                                    (if args nil '(nil)))))))
+                      (`(category . ,category)
+                       (eq (alist-get 'category (car args)) category))
                       (`(major-mode . ,mode)
                        (eq
                         (buffer-local-value 'major-mode buffer)




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 26 Mar 2024 14:05:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 26 10:05:30 2024
Received: from localhost ([127.0.0.1]:34380 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1rp7Qg-0004Zd-JM
	for submit <at> debbugs.gnu.org; Tue, 26 Mar 2024 10:05:30 -0400
Received: from mout.gmx.net ([212.227.17.22]:38383)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1rp7Qe-0004ZM-Fa
 for 69983 <at> debbugs.gnu.org; Tue, 26 Mar 2024 10:05:29 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1711461923; x=1712066723; i=rudalics@HIDDEN;
 bh=HhlBUs3kCjsfdD7cvpVLlWbNiMdxJDeCE7+7fOrwPes=;
 h=X-UI-Sender-Class:Date:Subject:To:Cc:References:From:
 In-Reply-To;
 b=Xrw51xXQ8E3lMfGCHtn7nLd4r7XEevQZk2hjKelctyzT2OLr8oD3hYLLYJBbmFA5
 tfHaxfL8uQQEZquXTCk2YgTT9aySTczKX0yPEnPP/5ja4spMfYHkr4FKfcFcWIXJq
 SRRDTgkBLYhCLJGjS3e20KiLnVonF0u8CsVIvHuTIn756yTrFUS1PnS2h3i5DEgcN
 RStLBmEmbjDi0ObYEQY1EO9DZr1OVcFa+qbfYGDGjG+VI4rkSaN030fivMSTp+3aE
 lcslwbaD8V3aXFdLIFdlPX0nOrGaHrSAvNCrKnsmgH3RX59W1wnVISp7ZAODV7BoD
 xYRje5B2w1Wy/68Yjg==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([213.142.96.219]) by mail.gmx.net (mrgmx105
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MuUnK-1sfEPZ4AVu-00rZus; Tue, 26
 Mar 2024 10:55:48 +0100
Message-ID: <69163329-d756-4747-9496-dd59e3c61c83@HIDDEN>
Date: Tue, 26 Mar 2024 10:55:47 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#69983: Use category for display-buffer-alist
To: Juri Linkov <juri@HIDDEN>
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
 <86bk72dze6.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <86bk72dze6.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:CXCfBTMeoCxRKrLfF5crKWlL2eM2TCe7ZylrOv1Bf5HvR6mKPME
 8yTiYsx/QUBr+y41zMh3o3tKKbW31wgbFQNDJzyV92F7r/HoBYys00ruLgK9DMVssFk6b4t
 4HglB9/kFFkn5xgWwRAsc4tM8ca1qnkFb+/aBbfq4uDLwhCKkJKAvo+a5W6lfUVhU7d7Gcq
 T45zliQzEwlmS5tvWBxxA==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:zFrZxjXV/j0=;Cjd3ZxxBkvP1sWES0zsdL3tGWXU
 Uh20xQw3pPwmoWafBxh+fskbCsohK0lwwfrmHEGZSuvUUPStSZXdsJ8lmaI1orOZpHjeedy6d
 3DEZ8k8CqUApxYJP6KhGENAWkGd83eosaI3PjVVdBjkdzl0Pl8QwhFysTnRqb0MvXIcg9I8Fb
 uxCRxB8c5wWMPVmfJP0cslHuAXLRRhL3UrXZD3VqBk9RbMeDoj16SYLu2uf+GMBQ0dL1S5EQt
 c3ECKEJ4H4e2NeQwcWtD1xaMgXftpn6oj9kM5GOCjFnzTUBwR22odiRzdGfFEZXfSzEgAnrxH
 sEEv1dNRLw3kLFaFbygQXBIpbDy3erZcOo5ONOGM0tqw6oqyUG3qfyBrBGafAaUxsP1Nbrt1D
 MR2HyP9FrlHKWRxHhuFJ2+85lwqmhGkqUqn2tbrZw0EOOsZGbNPbA0Ktrw3YxGhl1fTFqAU+/
 Rzbpat0n4qaMC73upMhHJhe8g3YkOdEq+KqkQ16kilsgKaYAX2NiloPM5kM8O7iloj+ex/xSt
 N9FAkmoHhvuRR4wU4nO2PXGvBp8afWJ7eQ+rJG7bdTzqwqbX24nQpULwgjGjFwRFhB+wx6b6/
 WndCUcYEXb1Gpe/24mUHHm1qVNfbtozQq6A55NKzl4cJkTDdsS+4+OQgw9EljU7XeDOeK7kyv
 YxDUm9r+k/Z21Wpvm+dPceDPu1iFdOfAo2JfA2ba5EOMCupYAEdr3HmYtAI2lOsNCbIhs1wOh
 8a0p2t5ji2F8QJ/86GhyznXApWqxZah5QO+cBEMdCwTY+g9PaM54ffRdF1QDDsDLMbRS6ZQuL
 ONy0H+NN6XUl9KzrnFEKvCJR9ZCIX7gfToN0GbWzMeNWM=
X-Spam-Score: 2.9 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  > Ok, but before proceeding I propose the following change.
 Would this imply a change in 'buffer-match-p'? martin 
 Content analysis details:   (2.9 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
 [213.142.96.219 listed in zen.spamhaus.org]
 -0.0 SPF_PASS               SPF: sender matches SPF record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (rudalics[at]gmx.at)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [212.227.17.22 listed in list.dnswl.org]
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
 [212.227.17.22 listed in wl.mailspike.net]
X-Debbugs-Envelope-To: 69983
Cc: 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.9 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  > Ok, but before proceeding I propose the following change.
    Would this imply a change in 'buffer-match-p'? martin 
 
 Content analysis details:   (1.9 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
                             low trust
                             [212.227.17.22 listed in list.dnswl.org]
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [213.142.96.219 listed in zen.spamhaus.org]
 -0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
                             [212.227.17.22 listed in wl.mailspike.net]
 -0.0 SPF_PASS               SPF: sender matches SPF record
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (rudalics[at]gmx.at)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

 > Ok, but before proceeding I propose the following change.

Would this imply a change in 'buffer-match-p'?

martin





Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 25 Mar 2024 17:21:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 25 13:21:06 2024
Received: from localhost ([127.0.0.1]:36121 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1roo0P-0006Fy-Qx
	for submit <at> debbugs.gnu.org; Mon, 25 Mar 2024 13:21:06 -0400
Received: from relay1-d.mail.gandi.net ([217.70.183.193]:35169)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1roo0K-0006EW-9K
 for 69983 <at> debbugs.gnu.org; Mon, 25 Mar 2024 13:21:00 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 06036240007;
 Mon, 25 Mar 2024 17:20:54 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#69983: Use category for display-buffer-alist
In-Reply-To: <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN> (martin rudalics's
 message of "Mon, 25 Mar 2024 10:41:33 +0100")
Organization: LINKOV.NET
References: <86h6gv7e0z.fsf@HIDDEN>
 <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
Date: Mon, 25 Mar 2024 19:12:45 +0200
Message-ID: <86bk72dze6.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 69983
Cc: 69983 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.7 (-)

>> What these variables are trying to achieve is already possible
>> to do by using a 'category' in 'display-buffer-alist'.
>
> Please proceed as carefully as possible, here might be dragons.

Ok, but before proceeding I propose the following change.
To simplify a complicated lambda condition in

(add-to-list 'display-buffer-alist
             `(,(lambda (_buffer-name action)
                  (eq (alist-get 'category action) 'comint))
               (display-buffer-in-direction)
	       (direction . top)))

let's use a symbol instead of the lambda:

(add-to-list 'display-buffer-alist
             `(comint
               (display-buffer-in-direction)
	       (direction . top)))

Then like strings are used as regexp to match a buffer name
symbols will match a category.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at 69983 <at> debbugs.gnu.org:


Received: (at 69983) by debbugs.gnu.org; 25 Mar 2024 16:01:04 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 25 12:01:04 2024
Received: from localhost ([127.0.0.1]:35812 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1romky-0006BT-9c
	for submit <at> debbugs.gnu.org; Mon, 25 Mar 2024 12:01:04 -0400
Received: from mout.gmx.net ([212.227.17.20]:56965)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <rudalics@HIDDEN>) id 1romkw-0005tQ-7i
 for 69983 <at> debbugs.gnu.org; Mon, 25 Mar 2024 12:01:02 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1711382457; x=1711987257; i=rudalics@HIDDEN;
 bh=GWEbJUFNEce/uef7XKKlShI/GVICGvYj7IxHykqYy50=;
 h=X-UI-Sender-Class:Date:Subject:To:References:From:In-Reply-To;
 b=kXmnO6QInAljB9NjPq8vsu1uzNZ39JVcQMrAPCOfNbUNbNYyohCDchixDCbZZKNA
 5JvNXoSgLqXgJOzOQSOhQXdbC/Tbyv4m2TG4QjRYbgMwSUJ2vfwMjF07UgAZ0XgVa
 ERnRt+94c/EOopjS0rrR6+1neNVVVkv3lk1kXoG8p4S8jwU73+AdxJyaWEiRdXQ8g
 JUzF70ifymZctRjo1mnNAzv8tOXggrAx+GV7cq9SX+OQj+hkFPdU1OmfMmxfG0w0X
 B49jfOvGPz32ixSp0Izb072nlVwF1jF3kr7xpbudFpNMZQ12ADFeoX4kL7vtYt5/R
 AbVNWnFgop3+TOZqxQ==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([212.95.5.240]) by mail.gmx.net (mrgmx104
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MMGNC-1s7rZo1aNi-00JKv6; Mon, 25
 Mar 2024 10:41:34 +0100
Message-ID: <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@HIDDEN>
Date: Mon, 25 Mar 2024 10:41:33 +0100
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#69983: Use category for display-buffer-alist
To: Juri Linkov <juri@HIDDEN>, 69983 <at> debbugs.gnu.org
References: <86h6gv7e0z.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <86h6gv7e0z.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Provags-ID: V03:K1:drUSPXi4qhKEiMvDSc98kWstYXX62La6IfElnDnJC32F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cv
 qYLZh5+Oty0apAxo3bGs43PenOaDzQ+gY3Gr8mD7e4cRgBBsVq6GanrNM2JLvoXZh6
X-Spam-Score: 2.8 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview: > 'display-comint-buffer-action' and
 'display-tex-shell-buffer-action'
 > are out of place in window.el, and they are redundant per se. > > What
 these variables are trying to achieve is already possib [...] 
 Content analysis details:   (2.8 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
 low trust [212.227.17.20 listed in list.dnswl.org]
 3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
 [212.95.5.240 listed in zen.spamhaus.org]
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (rudalics[at]gmx.at)
 0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
 [212.227.17.20 listed in wl.mailspike.net]
 -0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
X-Debbugs-Envelope-To: 69983
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: 1.8 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  > 'display-comint-buffer-action' and 'display-tex-shell-buffer-action'
    > are out of place in window.el, and they are redundant per se. > > What
   these variables are trying to achieve is already possib [...] 
 
 Content analysis details:   (1.8 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
  3.6 RCVD_IN_SBL_CSS        RBL: Received via a relay in Spamhaus SBL-CSS
                             [212.95.5.240 listed in zen.spamhaus.org]
 -0.7 RCVD_IN_DNSWL_LOW      RBL: Sender listed at https://www.dnswl.org/,
                             low trust
                             [212.227.17.20 listed in list.dnswl.org]
 -0.0 RCVD_IN_MSPIKE_H3      RBL: Good reputation (+3)
                             [212.227.17.20 listed in wl.mailspike.net]
  0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
                             provider (rudalics[at]gmx.at)
  0.0 SPF_HELO_NONE          SPF: HELO does not publish an SPF Record
 -0.0 SPF_PASS               SPF: sender matches SPF record
 -0.0 RCVD_IN_MSPIKE_WL      Mailspike good senders
 -1.0 MAILING_LIST_MULTI     Multiple indicators imply a widely-seen list
                             manager

 > 'display-comint-buffer-action' and 'display-tex-shell-buffer-action'
 > are out of place in window.el, and they are redundant per se.
 >
 > What these variables are trying to achieve is already possible
 > to do by using a 'category' in 'display-buffer-alist'.

...

 > Or we need to keep backward-compatibility?  Then the first step
 > to deprecate there variables would be something like this:

Please proceed as carefully as possible, here might be dragons.

martin




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 24 Mar 2024 17:21:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Mar 24 13:21:33 2024
Received: from localhost ([127.0.0.1]:45354 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1roRXJ-0004s0-2c
	for submit <at> debbugs.gnu.org; Sun, 24 Mar 2024 13:21:33 -0400
Received: from lists.gnu.org ([209.51.188.17]:40140)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <juri@HIDDEN>) id 1roRXG-0004rk-9I
 for submit <at> debbugs.gnu.org; Sun, 24 Mar 2024 13:21:30 -0400
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 <juri@HIDDEN>) id 1roRWa-0006mw-1G
 for bug-gnu-emacs@HIDDEN; Sun, 24 Mar 2024 13:20:48 -0400
Received: from relay1-d.mail.gandi.net ([217.70.183.193])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <juri@HIDDEN>) id 1roRWX-0000m5-TK
 for bug-gnu-emacs@HIDDEN; Sun, 24 Mar 2024 13:20:47 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 52127240004
 for <bug-gnu-emacs@HIDDEN>; Sun, 24 Mar 2024 17:20:42 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: Use category for display-buffer-alist
Organization: LINKOV.NET
X-Debbugs-Cc: martin rudalics <rudalics@HIDDEN>
Date: Sun, 24 Mar 2024 19:19:16 +0200
Message-ID: <86h6gv7e0z.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain
X-GND-Sasl: juri@HIDDEN
Received-SPF: pass client-ip=217.70.183.193; envelope-from=juri@HIDDEN;
 helo=relay1-d.mail.gandi.net
X-Spam_score_int: -25
X-Spam_score: -2.6
X-Spam_bar: --
X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7,
 RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_PASS=-0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.7 (-)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.7 (--)

'display-comint-buffer-action' and 'display-tex-shell-buffer-action'
are out of place in window.el, and they are redundant per se.

What these variables are trying to achieve is already possible
to do by using a 'category' in 'display-buffer-alist'.
Here is an already supported example:

#+begin_src emacs-lisp
(add-to-list 'display-buffer-alist
             `(,(lambda (_buffer-name action)
                  (eq (alist-get 'category action) 'comint))
               (display-buffer-in-direction)
	       (direction . top)))

(display-buffer (get-buffer-create "blablabla")
		'(nil (category . comint)))
#+end_src

The advantage of this approach is removing a need
of writing a complex regexp to match the buffer name.

Using this approach it's possible just to mark
all related callers with the same category, e.g.:

diff --git a/lisp/cmuscheme.el b/lisp/cmuscheme.el
index c84a1809322..ccd7f2f713f 100644
--- a/lisp/cmuscheme.el
+++ b/lisp/cmuscheme.el
@@ -238,7 +238,7 @@ run-scheme
 	(inferior-scheme-mode)))
   (setq scheme-program-name cmd)
   (setq scheme-buffer "*scheme*")
-  (pop-to-buffer "*scheme*" display-comint-buffer-action))
+  (pop-to-buffer "*scheme*" '(nil (category . comint))))

diff --git a/lisp/progmodes/inf-lisp.el b/lisp/progmodes/inf-lisp.el
index 141bd18cf1e..1aa3bbd4239 100644
--- a/lisp/progmodes/inf-lisp.el
+++ b/lisp/progmodes/inf-lisp.el
@@ -308,7 +308,7 @@ inferior-lisp
 			   "inferior-lisp" (car cmdlist) nil (cdr cmdlist)))
 	(inferior-lisp-mode)))
   (setq inferior-lisp-buffer "*inferior-lisp*")
-  (pop-to-buffer "*inferior-lisp*" display-comint-buffer-action))
+  (pop-to-buffer "*inferior-lisp*" '(nil (category . comint))))

Or we need to keep backward-compatibility?  Then the first step
to deprecate there variables would be something like this:

diff --git a/lisp/window.el b/lisp/window.el
index bea050e181c..fa417817d1d 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -8912,7 +8944,7 @@ pop-to-buffer-same-window
 another window."
   (pop-to-buffer buffer display-buffer--same-window-action norecord))
 
-(defcustom display-comint-buffer-action display-buffer--same-window-action
+(defcustom display-comint-buffer-action (append display-buffer--same-window-action '((category . comint)))
   "`display-buffer' action for displaying comint buffers."
   :type display-buffer--action-custom-type
   :risky t




Acknowledgement sent to Juri Linkov <juri@HIDDEN>:
New bug report received and forwarded. Copy sent to rudalics@HIDDEN, bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to rudalics@HIDDEN, bug-gnu-emacs@HIDDEN:
bug#69983; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Mon, 22 Apr 2024 07:00:02 UTC

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