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: Fri, 12 Apr 2024 21:27:04 +0300 Message-ID: <86a5lysah3.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> <86y19ktkj2.fsf@gnu.org> <86h6g7m773.fsf@mail.linkov.net> <86sezrrrgh.fsf@gnu.org> <86il0m7ceo.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20371"; 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 Fri Apr 12 20:28:15 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 1rvLdF-00051T-Uz for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 12 Apr 2024 20:28:14 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rvLcz-0001pM-Qm; Fri, 12 Apr 2024 14:27:57 -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 1rvLcw-0001p3-Fp for bug-gnu-emacs@gnu.org; Fri, 12 Apr 2024 14:27:54 -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 1rvLcv-0005xu-R8 for bug-gnu-emacs@gnu.org; Fri, 12 Apr 2024 14:27:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rvLd5-0005Mg-Jp for bug-gnu-emacs@gnu.org; Fri, 12 Apr 2024 14:28:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Apr 2024 18:28: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.171294644820272 (code B ref 69983); Fri, 12 Apr 2024 18:28:03 +0000 Original-Received: (at 69983) by debbugs.gnu.org; 12 Apr 2024 18:27:28 +0000 Original-Received: from localhost ([127.0.0.1]:59567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvLcV-0005Gu-Lj for submit@debbugs.gnu.org; Fri, 12 Apr 2024 14:27:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59166) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rvLcS-0005G1-Tn for 69983@debbugs.gnu.org; Fri, 12 Apr 2024 14:27:25 -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 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==; In-Reply-To: <86il0m7ceo.fsf@mail.linkov.net> (message from Juri Linkov on Fri, 12 Apr 2024 19:50:55 +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:283144 Archived-At: > From: Juri Linkov > Cc: rudalics@gmx.at, 69983@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?