From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#69983: Use category for display-buffer-alist Date: Thu, 28 Mar 2024 19:50:59 +0200 Organization: LINKOV.NET Message-ID: <86y1a2cv6s.fsf@mail.linkov.net> References: <86h6gv7e0z.fsf@mail.linkov.net> <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@gmx.at> <86bk72dze6.fsf@mail.linkov.net> <69163329-d756-4747-9496-dd59e3c61c83@gmx.at> <86bk7040vo.fsf@mail.linkov.net> <86cyrevniu.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39595"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) Cc: 69983@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 28 19:06:17 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rpu8n-000AAK-P0 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 28 Mar 2024 19:06:17 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rpu8a-0006rQ-TW; Thu, 28 Mar 2024 14:06:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rpu8Y-0006qB-QD for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 14:06:02 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rpu8Y-00030x-HG for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 14:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rpu8Z-00021p-5F for bug-gnu-emacs@gnu.org; Thu, 28 Mar 2024 14:06:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 28 Mar 2024 18:06:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69983 X-GNU-PR-Package: emacs Original-Received: via spool by 69983-submit@debbugs.gnu.org id=B69983.17116491097634 (code B ref 69983); Thu, 28 Mar 2024 18:06:03 +0000 Original-Received: (at 69983) by debbugs.gnu.org; 28 Mar 2024 18:05:09 +0000 Original-Received: from localhost ([127.0.0.1]:41098 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpu7f-0001yr-PP for submit@debbugs.gnu.org; Thu, 28 Mar 2024 14:05:08 -0400 Original-Received: from relay8-d.mail.gandi.net ([217.70.183.201]:38793) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rpu7Z-0001xW-0E for 69983@debbugs.gnu.org; Thu, 28 Mar 2024 14:05:02 -0400 Original-Received: by mail.gandi.net (Postfix) with ESMTPSA id 2627B1BF20B; Thu, 28 Mar 2024 18:04:52 +0000 (UTC) In-Reply-To: (martin rudalics's message of "Thu, 28 Mar 2024 10:18:33 +0100") X-GND-Sasl: juri@linkov.net X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:282247 Archived-At: >> 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.