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


Message #8 received at 6078 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Dimitri Fontaine <dfontaine <at> hi-media.com>
Cc: 6078 <at> debbugs.gnu.org
Subject: Re: bug#6078: 23.1.90;	switch-to-buffer does not redisplay until
	an event occurs
Date: Sun, 02 May 2010 20:57:33 +0200
> The following code, an attempt to have a visual window switching
> facility, is failing to provide the visual clue it's meant to give. That
> seems to be because switch-to-buffer won't redisplay until some event
> occurred, and neither using sit-for nor redisplay helps.

Your problem is with `text-scale-adjust' which should be used only
interactively.  (BTW, you need neither the `select-window' nor the
`switch-to-buffer' in your code, `set-window-buffer' is sufficient.)

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.