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

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Sun, 24 Mar 2024 17:22:01 UTC

Severity: normal

Fixed in version 30.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


Message #104 received at 69983 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: rudalics <at> gmx.at, 69983 <at> debbugs.gnu.org
Subject: Re: bug#69983: Use category for display-buffer-alist
Date: Fri, 12 Apr 2024 10:05:34 +0300
> From: Juri Linkov <juri <at> linkov.net>
> Cc: rudalics <at> gmx.at,  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




This bug report was last modified 1 year and 29 days ago.

Previous Next


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