From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#69983: Use category for display-buffer-alist Date: Thu, 11 Apr 2024 10:40:01 +0300 Message-ID: <86y19ktkj2.fsf@gnu.org> References: <86h6gv7e0z.fsf@mail.linkov.net> <3e7b8e64-0a5f-4888-a443-9c69a5fffd98@gmx.at> <86wmpdu0fa.fsf@mail.linkov.net> <86h6gf69jd.fsf@mail.linkov.net> <86sezyjpsn.fsf@mail.linkov.net> <86a5m3jboy.fsf@mail.linkov.net> <86v84rvwpa.fsf@gnu.org> <867ch7gfa4.fsf@mail.linkov.net> <86bk6iwftq.fsf@gnu.org> <86il0pd8da.fsf@mail.linkov.net> <864jc9wk5r.fsf@gnu.org> <861q7dgla3.fsf@mail.linkov.net> <86il0pulum.fsf@gnu.org> <86cyqwjtpr.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10677"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, 69983@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 11 09:41:16 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 1rup3c-0002Wy-A3 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Apr 2024 09:41:16 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rup3H-00084c-G4; Thu, 11 Apr 2024 03:40:55 -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 1rup3F-00084E-Nt for bug-gnu-emacs@gnu.org; Thu, 11 Apr 2024 03:40:53 -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 1rup3F-00080G-1t for bug-gnu-emacs@gnu.org; Thu, 11 Apr 2024 03:40:53 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rup3O-00055j-4T for bug-gnu-emacs@gnu.org; Thu, 11 Apr 2024 03:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Apr 2024 07:41:02 +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.171282122019259 (code B ref 69983); Thu, 11 Apr 2024 07:41:02 +0000 Original-Received: (at 69983) by debbugs.gnu.org; 11 Apr 2024 07:40:20 +0000 Original-Received: from localhost ([127.0.0.1]:54830 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rup2i-00050X-EM for submit@debbugs.gnu.org; Thu, 11 Apr 2024 03:40:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rup2g-0004zX-N5 for 69983@debbugs.gnu.org; Thu, 11 Apr 2024 03:40:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 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==; In-Reply-To: <86cyqwjtpr.fsf@mail.linkov.net> (message from Juri Linkov on Thu, 11 Apr 2024 09:31:45 +0300) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:283084 Archived-At: > From: Juri Linkov > Cc: rudalics@gmx.at, 69983@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.