From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#21597: 25.0.50; Extremely slow redisplay on emacsclient Date: Thu, 01 Oct 2015 19:15:22 +0300 Message-ID: <831tdea7l1.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1443722218 27150 80.91.229.3 (1 Oct 2015 17:56:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Oct 2015 17:56:58 +0000 (UTC) Cc: 21597@debbugs.gnu.org To: Kaushal Modi Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 01 19:56:45 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zhi5z-0005jS-B2 for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 19:56:43 +0200 Original-Received: from localhost ([::1]:54525 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zhi5y-0000pL-AC for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 13:56:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37711) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhgbS-0002KR-8E for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 12:21:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhgbP-0006Iv-2c for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 12:21:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33576) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhgbO-0006Ie-Gh for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 12:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZhgbO-0001zw-5m for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 12:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Oct 2015 16:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 21597 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-Cc: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.14437164447645 (code B ref -1); Thu, 01 Oct 2015 16:21:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Oct 2015 16:20:44 +0000 Original-Received: from localhost ([127.0.0.1]:50780 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zhgb6-0001zF-8W for submit@debbugs.gnu.org; Thu, 01 Oct 2015 12:20:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55784) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zhgb4-0001z7-5N for submit@debbugs.gnu.org; Thu, 01 Oct 2015 12:20:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zhgb3-0006A5-0P for submit@debbugs.gnu.org; Thu, 01 Oct 2015 12:20:41 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:45640) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zhgb2-00069y-Tc for submit@debbugs.gnu.org; Thu, 01 Oct 2015 12:20:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37550) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zhgb1-0001vH-LV for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 12:20:40 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zhgav-0005sp-TO for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 12:20:39 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:48693) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zhgav-0005qd-LC for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 12:20:33 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NVJ00A00UAPWC00@a-mtaout22.012.net.il> for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 19:15:31 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NVJ00A35UHVPM60@a-mtaout22.012.net.il>; Thu, 01 Oct 2015 19:15:31 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:107160 Archived-At: > From: Kaushal Modi > Date: Thu, 1 Oct 2015 10:26:31 -0400 > > BUG: All basic operations like navigation (C-p, C-n,..), typing in the > minibuffer, etc are extremely sluggish.. latency in the order of 10s of > seconds! > > I am seeing this bug since the emacs built from master yesterday and even in > the latest build as of writing this email. > > The bug is not seen when running emacs -Q&. > > But it is seen if try to get "emacs -Q" behaviour in emacsclient. > > So I moved my actual init.el to a temp file and add just the below code in the > init.el > > (require 'server) > (if (not (server-running-p)) > (server-start)) > > - After that, start "emacsclient -a '' -c &". The *scratch* buffer should open > in a frame. > - Now when you do something simple like C-p, you won't see the cursor move at > all. But as soon as you try to type something, it will get typed on the above > line, that too with a huge latency between the moment you hit a character and > that char showing up in the *scratch* buffer. Very strange. I don't see anything like that here. Did you run emacsclient on the same machine where the Emacs server runs, or over a network? > I believe this to have been caused by this commit: > http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=5c9304ea86b8cfc9d0b6d7769b90bd56e5dd1313 If you revert the changes in that commit, does the problem go away? (Please disregard the changes in gdb-mi.el, they are unrelated.) If it does, can you try reverting each hunk separately, and tell which one has the most effect? Thanks.