emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: master 18b680cfd1: Fix bug#52467 by adding a new custom variable 'di


From: martin rudalics
Subject: Re: master 18b680cfd1: Fix bug#52467 by adding a new custom variable 'display-comint-buffer-action'
Date: Wed, 12 Jan 2022 09:43:12 +0100

> The latter, that already can be used.  Only one convenience change
> could be added to allow symbols in conditions:
>
>    (add-to-list 'display-buffer-alist
>                 '((*comint* display-buffer-reuse-or-same-window (nil))))

As mentioned before, 'display-buffer-assq-regexp' would have to
recognize that too.  ‘functionp’ fails on *comint*.

>> The former also requires a few code changes and a decision how to
>> handle
>>
>> (pop-to-buffer "*shell*" '(display-buffer-reuse-or-same-window
>>                           . ((label . *shell*) (label . *comint*))))
>
> Maybe then allow a list: ((label . '(*shell* *comint*)))

Then we could simply write '*shell-or-comint*'.  What I had in mind are
cascaded calls in the sense that 'pop-to-shell' calls 'pop-to-comint'
and both would be allowed to add their own label.

martin




reply via email to

[Prev in Thread] Current Thread [Next in Thread]