bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#6078: 23.1.90; switch-to-buffer does not redisplay until an event oc


From: martin rudalics
Subject: bug#6078: 23.1.90; switch-to-buffer does not redisplay until an event occurs
Date: Mon, 03 May 2010 19:17:07 +0200
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

>> (BTW, you need neither the `select-window' nor the `switch-to-buffer'
>> in your code, `set-window-buffer' is sufficient.)
>
> OTOH, you'll want to pay attention to dedicated windows
> (i.e. save&restore the window-dedicated-p value).

Dimitri already saves and restores the window configuration.  This
should handle "weakly" dedicated windows.  If he also wants to handle
strongly dedicated windows, `set-window-buffer' will barf anyway - he
has to reset the status manually for each window and have the restore
step take care of setting it again.

martin






reply via email to

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