unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Kaushal Modi <kaushal.modi@gmail.com>
Cc: 21597@debbugs.gnu.org
Subject: bug#21597: 25.0.50; Extremely slow redisplay on emacsclient
Date: Thu, 01 Oct 2015 19:15:22 +0300	[thread overview]
Message-ID: <831tdea7l1.fsf@gnu.org> (raw)
In-Reply-To: <CAFyQvY1iT07v_gs5aMfZBhfeUG2h-yZYNvZEPpSVxB047n9_DQ@mail.gmail.com>

> From: Kaushal Modi <kaushal.modi@gmail.com>
> 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.





  reply	other threads:[~2015-10-01 16:15 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-01 14:26 bug#21597: 25.0.50; Extremely slow redisplay on emacsclient Kaushal Modi
2015-10-01 16:15 ` Eli Zaretskii [this message]
2015-10-01 16:30   ` Kaushal Modi
2015-10-01 16:59     ` Eli Zaretskii
2015-10-01 17:30       ` Kaushal Modi
2015-10-01 17:05 ` Andrew Cohen
2015-10-01 17:10 ` bug#21597: fixed Andrew Cohen
  -- strict thread matches above, loose matches on Subject: below --
2015-10-01 17:39 bug#21600: 25.0.50; Extremely slow redisplay on emacsclient Kaushal Modi
2015-10-01 17:54 ` bug#21597: " Eli Zaretskii
2015-10-01 18:55   ` Kaushal Modi
2015-10-01 18:59     ` Eli Zaretskii

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=831tdea7l1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=21597@debbugs.gnu.org \
    --cc=kaushal.modi@gmail.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).