From: Eli Zaretskii <eliz@gnu.org>
To: clement.pit@gmail.com
Cc: acm@muc.de, schwab@suse.de, emacs-devel@gnu.org
Subject: Re: What makes set-window-buffer slow?
Date: Sat, 25 Jun 2016 17:39:52 +0300 [thread overview]
Message-ID: <83lh1tz613.fsf@gnu.org> (raw)
In-Reply-To: <83mvm9z6m2.fsf@gnu.org> (message from Eli Zaretskii on Sat, 25 Jun 2016 17:27:17 +0300)
> Date: Sat, 25 Jun 2016 17:27:17 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: acm@muc.de, emacs-devel@gnu.org, schwab@suse.de
>
> > Cc: acm@muc.de, schwab@suse.de, emacs-devel@gnu.org
> > From: Clément Pit--Claudel <clement.pit@gmail.com>
> > Date: Sat, 25 Jun 2016 10:07:11 -0400
> >
> > > Does the WINDOW argument of set-window-buffer name the selected window
> > > at the time of the call? If not, set-window-buffer will cause all the
> > > other windows to be redisplayed, so arranging for WINDOW to be the
> > > selected window might speed up things.
> >
> > The window was indeed not selected at the time of the call. Would a
> > simple with-selected-window around the call do it?
>
> Yes, I think so.
Actually, I see that in Emacs 24.4, this factor should have made no
difference, sorry. (I was looking at the current sources when I wrote
the above.)
prev parent reply other threads:[~2016-06-25 14:39 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-06-23 15:48 What makes set-window-buffer slow? Clément Pit--Claudel
2016-06-23 16:01 ` Andreas Schwab
2016-06-23 17:45 ` Clément Pit--Claudel
2016-06-23 18:12 ` Alan Mackenzie
2016-06-23 18:30 ` Clément Pit--Claudel
2016-06-23 19:11 ` Eli Zaretskii
2016-06-23 21:23 ` Clément Pit--Claudel
2016-06-24 6:54 ` Eli Zaretskii
2016-06-24 12:33 ` Clément Pit--Claudel
2016-06-24 13:56 ` Eli Zaretskii
2016-06-24 14:19 ` Clément Pit--Claudel
2016-06-24 18:31 ` Clément Pit--Claudel
2016-06-24 19:13 ` Eli Zaretskii
2016-06-24 21:33 ` Clément Pit--Claudel
2016-06-25 7:30 ` Eli Zaretskii
2016-06-25 14:07 ` Clément Pit--Claudel
2016-06-25 14:27 ` Eli Zaretskii
2016-06-25 14:39 ` Eli Zaretskii [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=83lh1tz613.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=acm@muc.de \
--cc=clement.pit@gmail.com \
--cc=emacs-devel@gnu.org \
--cc=schwab@suse.de \
/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.