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 14:03:29 +0300 Message-ID: <86ttk8tb3y.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27583"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69983@debbugs.gnu.org, juri@linkov.net To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 11 13:04:13 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 1rusE0-0006u9-VA for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 11 Apr 2024 13:04:13 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rusDo-0000Rk-91; Thu, 11 Apr 2024 07:04:00 -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 1rusDl-0000Ot-0r for bug-gnu-emacs@gnu.org; Thu, 11 Apr 2024 07:03:57 -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 1rusDi-0008L9-98 for bug-gnu-emacs@gnu.org; Thu, 11 Apr 2024 07:03:54 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rusDr-0006Nm-Db for bug-gnu-emacs@gnu.org; Thu, 11 Apr 2024 07:04: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: Thu, 11 Apr 2024 11:04: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.171283343324474 (code B ref 69983); Thu, 11 Apr 2024 11:04:03 +0000 Original-Received: (at 69983) by debbugs.gnu.org; 11 Apr 2024 11:03:53 +0000 Original-Received: from localhost ([127.0.0.1]:55060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rusDg-0006Mg-SS for submit@debbugs.gnu.org; Thu, 11 Apr 2024 07:03:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rusDe-0006MD-DV for 69983@debbugs.gnu.org; Thu, 11 Apr 2024 07:03:51 -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 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==; In-Reply-To: (message from martin rudalics on Thu, 11 Apr 2024 11:16:25 +0200) 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:283091 Archived-At: > Date: Thu, 11 Apr 2024 11:16:25 +0200 > Cc: 69983@debbugs.gnu.org > From: martin rudalics > > > 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.