emacs-devel
[Top][All Lists]
Advanced

[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: Wed, 03 Aug 2011 18:40:42 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

>> IIUC you mark the window as weakly dedicated which means that
>> `switch-to-buffer' can use it for showing another buffer.
>
> Just checking: the important thing here is that it can be used for
> showing another buffer, but only by hand: `display-buffer' won't
> select it, nor will it resize it?

If a window is weakly dedicated, `display-buffer' based functions are
not allowed to show another buffer in it (neither selection nor resizing
are affected by this).  If the window is strongly dedicated,
`set-window-buffer' based functions are not allowed to show another
buffer in it which means that virtually no function can.

The Elisp manual section on windows has an entire section devoted to
this subject.

martin



reply via email to

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