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


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Juri Linkov <juri <at> linkov.net>
Cc: 69983 <at> debbugs.gnu.org
Subject: bug#69983: Use category for display-buffer-alist
Date: Sat, 30 Mar 2024 10:36:49 +0100
>> But if so, you should say that this works only
>> when called from 'display-buffer'.
>
> This already says so:
...
> +  * `category': the buffer matches a category as a symbol if
> +    the caller of `display-buffer' provides `(category . symbol)'
> +    in its action argument.
...

I was never really fond of using 'buffer-match-p' for 'display-buffer'.
This is an example why.  A caller of 'buffer-match-p' who does not know
about 'display-buffer' has to care about whether the CONDITION passed to
it contains a 'category' element.

martin




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

Previous Next


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