[Top][All Lists]

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

Re: Some question about display-buffer action functions

From: martin rudalics
Subject: Re: Some question about display-buffer action functions
Date: Tue, 31 Jan 2012 12:41:18 +0100

>> Another possibility would be to give the window a `no-switch-to-buffer'
>> dedicated value and have `switch-to-buffer' / `display-buffer' observe
>> that.
> Well, yes, but isn't that like doing dedication all over again?

It would be weaker than t and stronger than other non-nil values.

>> Maybe a `display-buffer-in-window-with-predicate'
>> would cover this.
> Yes, I proposed such function one or two messages ago ;-)

It was your proposal I had in mind.

>> (2) Provide some sort of a hook within `display-buffer-alist'.  That's
>>    easy to document and allows to call a function only for buffers that
>>    want it.  The downside of this is that a user has to replicate it
>>    for each and every alist entry since entries are not merged.
> Still, it seems quite flexible.

Let's add this for Emacs 24.2 then.


reply via email to

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