all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: Dimitri Fontaine <dfontaine@hi-media.com>, 6078@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	[thread overview]
Message-ID: <4BDF0513.40803@gmx.at> (raw)
In-Reply-To: <jwv4oip3q1r.fsf-monnier+emacs@gnu.org>

 >> (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	other threads:[~2010-05-03 17:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-30 18:35 bug#6078: 23.1.90; switch-to-buffer does not redisplay until an event occurs Dimitri Fontaine
     [not found] ` <handler.6078.B.127279835328349.ack@debbugs.gnu.org>
2010-05-02 16:00   ` bug#6078: Acknowledgement (23.1.90; switch-to-buffer does not redisplay until an event occurs) Dimitri Fontaine
2010-05-02 18:57 ` bug#6078: 23.1.90; switch-to-buffer does not redisplay until an event occurs martin rudalics
2010-05-02 19:52   ` Dimitri Fontaine
2010-05-03 16:32   ` Stefan Monnier
2010-05-03 17:17     ` martin rudalics [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4BDF0513.40803@gmx.at \
    --to=rudalics@gmx.at \
    --cc=6078@debbugs.gnu.org \
    --cc=dfontaine@hi-media.com \
    --cc=monnier@IRO.UMontreal.CA \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.