[Top][All Lists]

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

Re: Emacs-26.0.91: switch-to-buffer-other-window runs too slowly (about

From: Eli Zaretskii
Subject: Re: Emacs-26.0.91: switch-to-buffer-other-window runs too slowly (about 0.1s)
Date: Mon, 26 Mar 2018 20:28:15 +0300

> From: Robert Pluim <address@hidden>
> Date: Mon, 26 Mar 2018 18:59:06 +0200
> Cc: zhang cc <address@hidden>, Emacs developers <address@hidden>
> Noam Postavsky <address@hidden> writes:
> > On 26 March 2018 at 12:34, Robert Pluim <address@hidden> wrote:
> >> Robert Pluim <address@hidden> writes:
> >>
> >>> I get the same: 0.1 seconds under GTK, 0.000446348s under -nw
> >>
> >> And profiling pointed at window--maybe-raise-frame. Testing then
> >> pointed at make-frame-visible. Disabling the call to that in
> >> window--maybe-raise-frame makes the test virtually instantaneous for
> >> me. Looks like x_make_frame_visible is the culprit.
> >
> > Does changing x-wait-for-event-timeout affect this?
> Yes. 0.001990967s with that let-bound to nil. The time increases as I increase
> x-wait-for-event-timeout.

Right.  Then I guess this is expected, and users who are annoyed by
the additional 100 msec on the one hand, and see no adverse effects
when it is nil OTOH, should do that, and be done.

IOW, the default is sub-optimal, but safe, and we couldn't find a
better solution at the time.

reply via email to

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