GNU bug report logs - #6078
23.1.90; switch-to-buffer does not redisplay until an event occurs

Previous Next

Package: emacs;

Reported by: Dimitri Fontaine <dfontaine <at> hi-media.com>

Date: Sun, 2 May 2010 11:06:01 UTC

Severity: normal

Tags: notabug

Found in version 23.1.90

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Cc: Dimitri Fontaine <dfontaine <at> hi-media.com>, 6078 <at> debbugs.gnu.org
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
>> (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




This bug report was last modified 12 years and 171 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.