From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: Emacs-26.0.91: switch-to-buffer-other-window runs too slowly (about 0.1s) Date: Mon, 26 Mar 2018 20:46:32 +0200 Message-ID: <5AB94008.5090401@gmx.at> References: <83efk6g93z.fsf@gnu.org> <544b8346-bda9-45eb-9573-1d51d9f768b2@Spark> <83bmfag8gu.fsf@gnu.org> <87y3ie24z1.fsf@gmail.com> <87sh8m23tc.fsf@gmail.com> <87k1ty22p1.fsf@gmail.com> <837epyg30w.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1522089960 24049 195.159.176.226 (26 Mar 2018 18:46:00 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Mar 2018 18:46:00 +0000 (UTC) To: Stefan Monnier , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 26 20:45:55 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1f0X7z-00069Y-Oj for ged-emacs-devel@m.gmane.org; Mon, 26 Mar 2018 20:45:55 +0200 Original-Received: from localhost ([::1]:58529 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0XA2-00018r-Tg for ged-emacs-devel@m.gmane.org; Mon, 26 Mar 2018 14:48:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49521) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0X8q-00016p-Tt for emacs-devel@gnu.org; Mon, 26 Mar 2018 14:46:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0X8n-0004Bo-P8 for emacs-devel@gnu.org; Mon, 26 Mar 2018 14:46:48 -0400 Original-Received: from mout.gmx.net ([212.227.17.21]:57425) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1f0X8n-00049L-Fe for emacs-devel@gnu.org; Mon, 26 Mar 2018 14:46:45 -0400 Original-Received: from [192.168.1.100] ([213.162.73.66]) by mail.gmx.com (mrgmx102 [212.227.17.168]) with ESMTPSA (Nemesis) id 0MLA45-1f0G9n3Qyf-000I7V; Mon, 26 Mar 2018 20:46:38 +0200 In-Reply-To: X-Provags-ID: V03:K0:f3pgZLzrRsq5x33OQMP/sI6mueierA1zhuvoADjFrUC0UFndPmN 5JF9lU3MOP9NS0idQizTC2r+cZTL+IVXUoJzpVuDbc9zwaAVamLK4g062ZRyTMUy0HteKoZ OexxGtait5apgHZ89y2SMSuQbGWgI2w9luYFLClIkcPOFeKebonpxpWSWKRfLqXJr5oDMv+ vrwYJCzuKBYSR9RQ78Mlg== X-UI-Out-Filterresults: notjunk:1;V01:K0:/Ryqo9Qp+NM=:EgtMY2d+rXeHtaudP8umB3 KjzPQ/C3ig5nNiRrYxbIsDQrbyp8WRT0lPh36UrKEv8t9XXDZOzaAhRn0asA8w64N6WEB0/kd lLMH7P2GeFIcSAEaoh3rn20tY3989UzSBx2lF6RB4NGzi8ubMzdnhQGqymqyPH2v/peKq6g5K f48zX6nnt4YOkMustpaI8KnjipjSL01EzgxLraILX1acTvelBMdrhu1kATuW9E1dYqtuRTsx1 /mprAalaN/huwvR5jwbbxR3xoWiorU/PyuhADLR3lSAz7NpdvRJSbaVARxMCmJZ4HMkYXw6r8 AfEz0kGUy0Xk101XB+iIdazHYPJZuQ0jTmTvyKqgCer38lcMIJFLc2Lmj0RuiIHdF4hJrAhCq QmMKqQNfBfDqjkjf8v2vxxF6Zg69cYWd8rP7RwiEzVAYOGbGz3HZcQ7Y+jIApL0eDSjj/oFXx 1ku2uyGa3RG56N9p4BJ7u4S3idDoTyNAnpTp318TlXhhuufR5XW56OfmZ7PAJm9nqVz8snql3 TbkoRr2IvlejMfAQ8c8QUqJH/W0kNshirAv4FpIvXcHOEPi5RR8+dlr9vPd5EgjRHhNXHeNur NMUeE9QK6/SwOY/Lbf9+2hryOL924L0AfpMkWP3Ksi085RGpqEfUy6j571GEIlXijOD0vXEii l4g9vqYDnSBJrdaDh4lI9iECU4NGpCIXCamY5A/zJtERZLRZC/jWRryz9gU96PX09TU8Z0lPi 936NjNnKBcB1tCFiLPjd6kG+5QIOj3NPAbMpcRh63+enZE6gd9DC6MkoneMU7rmQwPbJAX7V X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.17.21 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:224065 Archived-At: > Is it, really? Even tho we're just switching from one window to another > in the same frame? I suspect it happens because of that. The frame is already visible and we wait the whole timeout without ever receiving a notify event. 'switch-to-buffer-other-frame' should be considerably faster. martin