Re: master 8a88f3ed5ae: Add `outline-occur' command and `display-buffer-default-alist' variable
Juri Linkov <[email protected]> Tue, 11 Aug 2026 19:54:04 +0300
| Newsgroups | gmane.emacs.devel |
|---|---|
| Organization | LINKOV.NET |
| Message-ID | <[email protected]> |
> We obviously could have 'display-buffer-overriding-action' accept an
> alist as value with the justification that the ACTION argument of
> 'display-buffer' can be a scalar too. Would we like it?
Yes, I already thought about using the
existing 'display-buffer-overriding-action'
to support an alist with conditions as well.
Do you think it's possible to distinguish
these two cases in the same variable:
1. existing:
(FUNCTIONS . ALIST)
2. new like in 'display-buffer-alist':
((CONDITION-1 FUNCTIONS . ALIST)
(CONDITION-2 FUNCTIONS . ALIST)
...)