emacs-devel
[Top][All Lists]
Advanced

[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: Stefan Monnier
Subject: Re: Emacs-26.0.91: switch-to-buffer-other-window runs too slowly (about 0.1s)
Date: Mon, 26 Mar 2018 23:41:47 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>> IOW I think that in window--maybe-raise-frame
>>
>>               ;; Assume the selected frame is already visible enough.
>>            (eq frame (selected-frame))
>>
>> should apply not just to raise-frame but also to make-frame-visible.
>
> Is it impossible to make , say, iconified frame the selected one?

No, it's very much possible and easy, but if we're in such a situation
before display-buffer is called (i.e. it was not considered a problem
before we called display-buffer), why should we assume that
display-buffer should change it?

This reasoning is currently applied to raise-frame and I don't see why
we should use a different reasoning for make-frame-visible (after all,
a frame buried under other frames is just as invisible as an iconified
frame).


        Stefan




reply via email to

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