From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kaushal Modi Newsgroups: gmane.emacs.bugs Subject: bug#21597: 25.0.50; Extremely slow redisplay on emacsclient Date: Thu, 1 Oct 2015 10:26:31 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a11c2ef9ab4428105210bd792 X-Trace: ger.gmane.org 1443719445 13814 80.91.229.3 (1 Oct 2015 17:10:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 1 Oct 2015 17:10:45 +0000 (UTC) To: 21597@debbugs.gnu.org, eliz@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 01 19:10:36 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 1ZhhNH-0002J8-T9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 19:10:32 +0200 Original-Received: from localhost ([::1]:53692 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhhNH-0006D6-A9 for geb-bug-gnu-emacs@m.gmane.org; Thu, 01 Oct 2015 13:10:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52655) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zheq7-0004Sw-Pd for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 10:28:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zheq2-0008JE-Om for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 10:28:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33525) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zheq2-0008JA-MK for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 10:28:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zheq2-0007mZ-Im for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 10:28:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kaushal Modi Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 01 Oct 2015 14:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21597 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: "bug-gnu-emacs@gnu.org" , Eli Zaretskii Original-Received: via spool by submit@debbugs.gnu.org id=B.144370964629873 (code B ref -1); Thu, 01 Oct 2015 14:28:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 1 Oct 2015 14:27:26 +0000 Original-Received: from localhost ([127.0.0.1]:50729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZhepR-0007lj-MV for submit@debbugs.gnu.org; Thu, 01 Oct 2015 10:27:26 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:42418) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1ZhepP-0007la-51 for submit@debbugs.gnu.org; Thu, 01 Oct 2015 10:27:24 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhepM-00084m-OG for submit@debbugs.gnu.org; Thu, 01 Oct 2015 10:27:22 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:42250) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhepM-00084i-L0 for submit@debbugs.gnu.org; Thu, 01 Oct 2015 10:27:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52393) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhepF-0002vb-QS for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 10:27:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZhepD-00082i-TC for bug-gnu-emacs@gnu.org; Thu, 01 Oct 2015 10:27:13 -0400 Original-Received: from mail-ob0-x22b.google.com ([2607:f8b0:4003:c01::22b]:36537) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZhepD-00082R-M2; Thu, 01 Oct 2015 10:27:11 -0400 Original-Received: by obcgx8 with SMTP id gx8so58841967obc.3; Thu, 01 Oct 2015 07:27:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=JAd+/L+pLvaljpU2ZErPXmRIy24BChjZoF6Mr2B/7zA=; b=ZPzIxm1H6yXdpW890s0N+Rhe1EfU7LFt+j4GJLx95tGjrW70cuGcnapLm407Io0J0t w6SYQKEw+730cWgnQAOgpHlVEZUgYwNxUc+eqJteblvznstNz681K8vj/DoJnoa1UtHz bNI2uBqXC9F1JjSuFyIEccwmTwD0hIeAjQvguy7Ql4Dt9rvUcg0bgL1xh61LVXA57Mte nWJcHZhpOLZ8HIZSWl0GTZ2Fw1ohfSqAkIf57eEA5puQvZZQrbfOkQtkORavdvFIvV/a 3eVo0srBnuEoU0wNIEADVW/I4/pToTQ0zeKs1NZR7rExi6MDLqiRHx0NALQOrkEZXlVr sODw== X-Received: by 10.182.246.101 with SMTP id xv5mr5885064obc.5.1443709630822; Thu, 01 Oct 2015 07:27:10 -0700 (PDT) Original-Received: by 10.202.172.205 with HTTP; Thu, 1 Oct 2015 07:26:31 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). 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:107154 Archived-At: --001a11c2ef9ab4428105210bd792 Content-Type: text/plain; charset=UTF-8 Hi, 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. I believe this to have been caused by this commit: http://git.savannah.gnu.org/cgit/emacs.git/commit/?id=5c9304ea86b8cfc9d0b6d7769b90bd56e5dd1313 In GNU Emacs 25.0.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23) of 2015-10-01 Repository revision: 9c86325b69d75e9b17ff468f5a2220597979635f Windowing system distributor 'The X.Org Foundation', version 11.0.60900000 System Description: Red Hat Enterprise Linux Workstation release 6.6 (Santiago) Configured using: 'configure --prefix=/home/kmodi/usr_local/apps/6/emacs/master 'CPPFLAGS=-fgnu89-inline -I/home/kmodi/usr_local/6/include -I/usr/include/freetype2 -I/usr/include' 'LDFLAGS=-L/home/kmodi/usr_local/6/lib -L/home/kmodi/usr_local/6/lib64'' Configured features: XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS NOTIFY ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix Major mode: Fundamental Minor modes in effect: tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. Making completion list... Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib mail-prsvr mail-utils server time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese charscript case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote dbusbind inotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty make-network-process emacs) Memory information: ((conses 16 80898 8068) (symbols 48 19419 0) (miscs 40 74 110) (strings 32 13203 5056) (string-bytes 1 399479) (vectors 16 10847) (vector-slots 8 417204 6305) (floats 8 133 42) (intervals 56 222 0) (buffers 976 13) (heap 1024 27076 657)) -- Kaushal Modi --001a11c2ef9ab4428105210bd792 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

BUG:=C2=A0All basic operations like navigation (C-p= , C-n,..), typing in the minibuffer, etc are extremely sluggish.. latency i= n 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.

<= div class=3D"gmail_default" style=3D"">The bug is not seen when running emacs -Q&.

<= /font>
But it is seen if try to get "emacs -Q" behaviou= r in emacsclient.

So I moved my actu= al init.el to a temp file and add just the below code in the init.el=

(require '= ;server)
(if (not (server-running-p))
=C2=A0 =C2=A0 (server-start))

=
- After that, start "emacsclient -a '' -c &&quo= t;. The *scratch* buffer should open in a frame.=C2=A0
- Now when you do something simple like C-p, you won't see the c= ursor move at all. But as soon as you try to type something, it will get ty= ped 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.



In GNU Emacs 25.0.= 50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23)
=C2= =A0of 2015-10-01
Repository revision: 9c86325b69d75e9b17ff= 468f5a2220597979635f
Windowing system distributor 'The= X.Org Foundation', version 11.0.60900000
System Descr= iption: Red Hat Enterpris= e Linux Workstation release 6.6 (Santiago)

Configured using:
=C2=A0'configure --prefix=3D/= home/kmodi/usr_local/apps/6/emacs/master
=C2=A0'CPPFLA= GS=3D-fgnu89-inline -I/home/kmodi/usr_local/6/include
=C2= =A0-I/usr/include/freetype2 -I/usr/include'
=C2=A0'= ;LDFLAGS=3D-L/home/kmodi/usr_local/6/lib
=C2=A0-L/home/kmo= di/usr_local/6/lib64''

Confi= gured features:
XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOU= ND GPM DBUS GCONF GSETTINGS
NOTIFY ACL LIBSELINUX GNUTLS = LIBXML2 FREETYPE LIBOTF XFT ZLIB
TOOLKIT_SCROLL_BARS GTK2 = X11

Important settings:
=
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 value of $X= MODIFIERS: @im=3Dnone
<= font face=3D"trebuchet ms, sans-serif">=C2=A0 locale-coding-system: utf-8-u= nix

Major mode: Fundamental

Minor modes in effect:
=C2= =A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 electric-indent-mode: t
=C2=A0 mouse-wheel-m= ode: t
=C2=A0 menu-bar-mode: t
=C2=A0 fil= e-name-shadow-mode: t
<= font face=3D"trebuchet ms, sans-serif">=C2=A0 global-font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-compo= sition-mode: t
=C2=A0 auto-encryption-mode: t
=
=C2=A0 auto-compression-mode: t
=C2=A0 buffer-read-on= ly: t
=C2=A0 line-number-mode: t
=C2=A0 t= ransient-mark-mode: t
<= font face=3D"trebuchet ms, sans-serif">
Recent message= s:
For information about GNU Emacs and the GNU system, typ= e C-h C-a.
Making completion list...
Load-path shadows:
None found.<= /div>

Features:
(shadow sort gnu= s-util mail-extr emacsbug message dired format-spec
rfc82= 2 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
=
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util help-fns help-mode easymenu cl-loaddefs pcase cl-lib= mail-prsvr
mail-utils server time-date mule-util tooltip= eldoc electric uniquify
ediff-hook vc-hooks lisp-float-ty= pe mwheel x-win term/common-win x-dnd
tool-bar dnd fontset= image regexp-opt fringe tabulated-list newcomment
elisp= -mode lisp-mode prog-mode register page menu-bar rfn-eshadow timer
select scroll-bar mouse jit-lock font-lock syntax facemenu font-co= re
frame cl-generic cham georgian utf-8-lang misc-lang vie= tnamese tibetan
thai tai-viet lao korean japanese eucjp-ms= cp51932 hebrew greek romanian
slovak czech european ethio= pic indian cyrillic chinese charscript
case-table epa-hook= jka-cmpr-hook help simple abbrev minibuffer
cl-preloaded = nadvice loaddefs button faces cus-face macroexp files
text= -properties overlay sha1 md5 base64 format env code-pages mule
=
custom widget hashtable-print-readable backquote dbusbind inotify
dynamic-setting system-font-setting font-render-setting move-t= oolbar gtk
x-toolkit x multi-tty make-network-process em= acs)

Memory information:
((conses 16 80898 8068)
=C2=A0(symbols 48 19419 0)=
=C2=A0(miscs 40 74 110)
=C2=A0(strings 3= 2 13203 5056)
=C2=A0(string-bytes 1 399479)
=C2=A0(vectors 16 10847)
=C2=A0(vector-slots 8 417204 = 6305)
=C2=A0(floats 8 133 42)
=C2=A0(inte= rvals 56 222 0)
=C2=A0(buffers 976 13)
= =C2=A0(heap 1024 27076 657))



= --
Kaushal Modi
--001a11c2ef9ab4428105210bd792--