[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: display-buffer-alist simplifications
From: |
martin rudalics |
Subject: |
Re: display-buffer-alist simplifications |
Date: |
Tue, 09 Aug 2011 14:55:09 +0200 |
User-agent: |
Thunderbird 2.0.0.21 (Windows/20090302) |
> My current idea is to redefine RULEs from (FUNCTION . ARGS) to
> (FUNCTION . ALIST), and then FUNCTION called is the one from the highest
> precedence, and the ALIST passed to it is the concatenation of all the
> ALISTs (the one from display-buffer-default-rule, plus the one from the
> caller, plus the one from display-buffer-alist, plus the one from
> display-buffer-override-rule), and `not-this-window' would be one of the
> possible ALIST keys. So if it's provided by the caller it will appear
> as arg to FUNCTION, unless it's explicitly overridden by
> a (not-this-window . nil) element in the display-buffer-alist.
I begin to wonder how this differs from the current handling of
`display-buffer-alist'.
>>> Why wouldn't `display-buffer' prefer new settings in the `SPECIFIERS' arg
>>> over the old settings in `same-window-regexps' etc.? IOW, when the
>>> `SPECIFIERS' arg is `other-window' then `display-buffer' should ignore
>>> the values of `same-window-regexps' etc.
>> Because this would change the behavior of `display-buffer' for users who
>> prefer good ol' `display-buffer'.
>
> It should only change the behavior for calls to display-buffer which use
> the new RULE/SPECIFIER parameter
So when an application sets the argument, people who want the old
behavior are overridden. This means that such people can use
`message-mail' as before but any of their customizations affecting
`message-mail-other-window' or `message-mail-other-frame' are lost.
> or for users who set
> display-buffer-alist.
martin
- Re: display-buffer-alist simplifications, (continued)
- Re: display-buffer-alist simplifications, Chong Yidong, 2011/08/03
- Re: display-buffer-alist simplifications, martin rudalics, 2011/08/04
- Re: display-buffer-alist simplifications, Chong Yidong, 2011/08/05
- Re: display-buffer-alist simplifications, martin rudalics, 2011/08/06
- Re: display-buffer-alist simplifications, Stefan Monnier, 2011/08/07
- Re: display-buffer-alist simplifications, martin rudalics, 2011/08/08
- Re: display-buffer-alist simplifications, Andreas Röhler, 2011/08/08
- Re: display-buffer-alist simplifications, Juri Linkov, 2011/08/08
- Re: display-buffer-alist simplifications, martin rudalics, 2011/08/08
- Re: display-buffer-alist simplifications, Stefan Monnier, 2011/08/08
- Re: display-buffer-alist simplifications,
martin rudalics <=
- Re: display-buffer-alist simplifications, Stefan Monnier, 2011/08/09
- Re: display-buffer-alist simplifications, martin rudalics, 2011/08/10
- Re: display-buffer-alist simplifications, Stefan Monnier, 2011/08/10
- Re: display-buffer-alist simplifications, martin rudalics, 2011/08/11
- Re: display-buffer-alist simplifications, Stefan Monnier, 2011/08/11
- Re: display-buffer-alist simplifications, martin rudalics, 2011/08/12
- Re: display-buffer-alist simplifications, Chong Yidong, 2011/08/12
- Re: display-buffer-alist simplifications, Stefan Monnier, 2011/08/12
- Re: display-buffer-alist simplifications, martin rudalics, 2011/08/13
- Re: display-buffer-alist simplifications, Stefan Monnier, 2011/08/13