From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 13:04:15 2016 Received: (at submit) by debbugs.gnu.org; 11 Aug 2016 17:04:15 +0000 Received: from localhost ([127.0.0.1]:54266 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXtOw-0007By-Pa for submit@debbugs.gnu.org; Thu, 11 Aug 2016 13:04:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:34932) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXtOu-0007Bk-L1 for submit@debbugs.gnu.org; Thu, 11 Aug 2016 13:04:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXtOm-0005Zx-Sk for submit@debbugs.gnu.org; Thu, 11 Aug 2016 13:04:07 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:46377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXtOm-0005Ze-Os for submit@debbugs.gnu.org; Thu, 11 Aug 2016 13:04:04 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:54121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXtOj-0006Mu-1q for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 13:04:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXtOf-0005Z9-LW for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 13:04:00 -0400 Received: from mail-oi0-x229.google.com ([2607:f8b0:4003:c06::229]:36227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXtOf-0005Z5-E9; Thu, 11 Aug 2016 13:03:57 -0400 Received: by mail-oi0-x229.google.com with SMTP id f189so2214713oig.3; Thu, 11 Aug 2016 10:03:56 -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:cc; bh=PqEeP2NZzCDc3QGL6iD1AQFCbd5DcOyTlD01/lK4/0w=; b=eGUuzyFLZjcnmxdk9s1ZqOyMcRDH70jAG/E4ye8ikpwsJnxUKCO/2BmOuffo4Qxeh5 PTqJrlA1ZizYwOUXrbJCrcrrbet2jxCJxzYvPdVtGwOwvyuqBhZRMHn0tLyfzEWRfsUF VLYMu+oxQZXPy9fRolVpf/iQsZiFlHKo/WkTJemyv3/t6gr6LZUR9myTbPiFxV8McBiw gAIBHSDCXIPn2mKZ+5I6O4mBVLSzMen4RyARgjYfqBjja1ZleGx0ELm4p4CuWdJa2nTY KGdUjrLeLZj3rW6eIDvzp1GFYb6NPBlsuM2amJfCOGTOl3vwSLfmDcpiO95nPPkNv1UU SONw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=PqEeP2NZzCDc3QGL6iD1AQFCbd5DcOyTlD01/lK4/0w=; b=VK5DnWXGnapwbdzJX4SDvNL6rG8JxnYX3LVV2r9f0gCpgGSPVBIu0OOwz1RSVOjEer HttT2bo4A+yD7N1Qw/bd1idU0VkiZUQF8edaqAkvcO853rwxH+LUC3AnE95XjkMXMy2Q +8XQZfh/VliPu3UBR9+sXpHXXLOpsuZsjpLIcuowxUNGyNIDgcVuIipS/N+AYgLDlmji u4DxetmZ4GrpiG8K0VaG+A1nzw7xchwDvjyIoD8VlBLNue9nlpF7gnjlTEztkdyY1eu1 G87/FwyT/A2J8kTWlqb89wytsb8f7XD8LmRsxeevLM4KrGuJ2w5TSopvPkgdRgOZJJS8 ovRA== X-Gm-Message-State: AEkoouux5ovBFoVZH482iIv/z4Qb0SmgBaU208eXQPTtSm4vOJEvHHAy/r63TNmXZVFfdZvrsRZnDEsX9uF9rg== X-Received: by 10.157.9.175 with SMTP id q44mr2710925otd.164.1470935035990; Thu, 11 Aug 2016 10:03:55 -0700 (PDT) MIME-Version: 1.0 From: Kaushal Modi Date: Thu, 11 Aug 2016 17:03:44 +0000 Message-ID: Subject: 25.1.50; Re-display issue (lag) when opening certain files [sml-mode] To: "bug-gnu-emacs@gnu.org" Content-Type: multipart/alternative; boundary=001a1134fa3e4eda060539cec059 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: Eli Zaretskii , Stefan Monnier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a1134fa3e4eda060539cec059 Content-Type: text/plain; charset=UTF-8 Hi, Below code easily recreates the issue on emacs -Q on the latest master build of emacs as of now (2e0a2b3). Please evaluate the macro definition and the macro call form below. In short, this will install the sml-mode package from GNU Elpa to the temporary-file-directory for your system, and also generate a test .sml file that happened to show this issue. I do not see this lag on opening other .sml files. For some reason, this .sml file (that the below example creates) has ONLY comments and that causes emacs to stall for 10's of seconds. After evaluating the code below, you should (too, hopefully) see emacs stall for 10-20 seconds. All it was doing was opening this file: ===== (* ''a is a special equality type (it is not the same as the generic 'a type. It *) (* means that both arguments can be of any type as long as you can use the *) (* equality operation between them. So both can be int, both can be strings, *) (* both can be int tuples. TH*) ===== After that, on doing M-x profiler-report, I get: ===== + redisplay_internal (C function) 14724 99% + command-execute 42 0% + ... 27 0% ===== I am copying Eli (for possibly re-display issue) and Stefan (for I have seen for the first and only time in sml-mode). I have started using sml-mode just recently (2 weeks), and my emacs froze as I was typing out that comment in the test file. So I have no idea if the bug is specific to 25.1/25.2 versions. ===== (defmacro emacs-pkg-debug-setup (pkg-alist &rest body) "Install packages in PKG-ALIST and evaluate BODY. Each element of PKG-ALIST has the form (((ID . LOCATION) . (PKG1 PKG2 ..)) ..). The ID and LOCATION are the same as the ones in `package-archives'. PKG1, PKG2, .. are package names from the ID archive. Example usage: 1. Launch 'emacs -Q'. 2. Copy this macro definition to its scratch buffer and evaluate it. 3. Evaluate a minimum working example using this macro as below: (emacs-pkg-debug-setup '(;; Install hydra from GNU Elpa (nil . (hydra)) ;; Install org from Org Elpa ((\"org\" . \"http://orgmode.org/elpa/\") . (org))) ;; Then evaluate the below forms (org-mode)) " (declare (indent 1) (debug t)) `(progn (require 'package) (setq user-emacs-directory (concat temporary-file-directory (getenv "USER") "/" ".emacs.d-debug/")) (setq package-user-dir (concat user-emacs-directory "elpa/")) (let (archive pkgs) (dolist (archive-alist ,pkg-alist) (setq archive (car archive-alist)) (when archive (add-to-list 'package-archives archive :append)) (setq pkgs (append pkgs (cdr archive-alist)))) (package-initialize) (package-refresh-contents) (dolist (pkg pkgs) (when (and pkg (not (package-installed-p pkg))) (package-install pkg)) (require pkg)) ,@body))) (emacs-pkg-debug-setup '(;; Install sml-mode from GNU Elpa (nil . (sml-mode))) (let ((test-file (expand-file-name "lag_test.sml" temporary-file-directory))) (with-temp-buffer (insert (concat "(* ''a is a special equality type (it is not the same as the generic 'a type. It *)\n" "(* means that both arguments can be of any type as long as you can use the *)\n" "(* equality operation between them. So both can be int, both can be strings, *)\n" "(* both can be int tuples. TH*)")) (write-file test-file)) (profiler-start 'cpu) (find-file test-file))) ===== In GNU Emacs 25.1.50.25 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23) of 2016-08-11 built on Repository revision: 2e0a2b376f51dd515ffeb6449181cc37fe912f5e 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 --with-modules --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' 'CFLAGS=-ggdb3 -O0' 'CXXFLAGS=-ggdb3 -O0' 'LDFLAGS=-L/home/kmodi/usr_local/6/lib -L/home/kmodi/usr_local/6/lib64 -ggdb3'' 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 MODULES Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=none locale-coding-system: utf-8-unix Major mode: Profiler-Report Minor modes in effect: diff-auto-refine-mode: t tooltip-mode: t global-eldoc-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t 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 Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug sendmail profiler vc-git diff-mode easy-mmode sml-mode skeleton warnings smie cl compile comint ansi-color ring autoload radix-tree lisp-mnt cus-edit cus-start cus-load wid-edit mm-archive message dired dired-loaddefs format-spec rfc822 mml mml-sec epa derived gnus-util rmail rmail-loaddefs mailabbrev gmm-utils mailheader mm-decode mm-bodies mm-encode mail-utils network-stream starttls url-http tls gnutls mail-parse rfc2231 rfc2047 rfc2045 mm-util ietf-drums mail-prsvr url-gw nsm subr-x puny url-cache url-auth url url-proxy url-privacy url-expand url-methods url-history url-cookie url-domsuf url-util mailcap epg finder-inf package epg-config url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs eieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp byte-compile cl-extra cconv help-mode easymenu cl-loaddefs pcase cl-lib debug time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel term/x-win 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 term/tty-colors 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 obarray 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 153840 33952) (symbols 48 25942 2) (miscs 40 104 407) (strings 32 35522 6421) (string-bytes 1 1074371) (vectors 16 46905) (vector-slots 8 1777619 18518) (floats 8 269 573) (intervals 56 782 163) (buffers 976 16) (heap 1024 36043 2798)) -- Kaushal Modi --001a1134fa3e4eda060539cec059 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

Below code easily r= ecreates the issue on emacs -Q on the latest master build of emacs as of no= w (2e0a2b3).

Please evaluate the macro definiti= on and the macro call form below.

In short, t= his will install the sml-mode package from GNU Elpa to the temporary-file-d= irectory for your system, and also generate a test .sml file that happened = to show this issue. I do not see this lag on opening other .sml files. For = some reason, this .sml file (that the below example creates) has ONLY comme= nts and that causes emacs to stall for 10's of seconds. =C2=A0
After evaluatin= g the code below, you should (too, hopefully) see emacs stall for 10-20 sec= onds. All it was doing was opening this file:

=3D= =3D=3D=3D=3D
(* ''a is a special equality type (it i= s not the same as the generic 'a type. It *)
(* means that bo= th arguments can be of any type as long as you can use the *)
(* = equality operation between them. So both can be int, both can be strings, *= )
(* both can be int tuples. TH*)
=3D=3D=3D=3D=3D=

After that, on doing M-x profiler-report, I get:<= /div>

=3D=3D=3D=3D=3D
+ redisplay_interna= l (C function) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 14724 =C2=A099%
+ c= ommand-execute =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A042 =C2=A0 0%
+ ... =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A027 =C2=A0= 0%
=3D=3D=3D=3D=3D

I am copying E= li (for possibly re-display issue) and Stefan (for I have seen for the firs= t and only time in sml-mode).

I have started using= sml-mode just recently (2 weeks), and my emacs froze as I was typing out t= hat comment in the test file. So I have no idea if the bug is specific to 2= 5.1/25.2 versions.

=3D=3D=3D=3D=3D

<= /div>
(defmacro emacs-pkg-debug-setup (pkg-alist &rest body)
<= div>=C2=A0 "Install packages in PKG-ALIST and evaluate BODY.
Each element of PKG-ALIST has the form (((ID . LOCATION) . (PKG1 PKG2 ..))= ..).
The ID and LOCATION are the same as the ones in `package-ar= chives'.
PKG1, PKG2, .. are package names from the ID archive= .

Example usage:

1. Launc= h 'emacs -Q'.
2. Copy this macro definition to its scratc= h buffer and evaluate it.
3. Evaluate a minimum working example u= sing this macro as below:
=C2=A0 =C2=A0 =C2=A0(emacs-pkg-debug-se= tup '(;; Install hydra from GNU Elpa
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 (nil . (hydra))
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ;; Install o= rg from Org Elpa
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ((\"org\"= ; . \"http://orgmode.org/elpa/\<= /a>") . (org)))


(emacs-pkg-debug-setup '(;; Install sml-mode from GNU Elpa
=
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0(nil . (sml-mode)))
=C2=A0 (let ((test-file (= expand-file-name "lag_test.sml" temporary-file-directory)))
=
=C2=A0 =C2=A0 (with-temp-buffer
=C2=A0 =C2=A0 =C2=A0 (insert= (concat
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0&= quot;(* ''a is a special equality type (it is not the same as the g= eneric 'a type. It *)\n"
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0"(* means that both arguments can be of any ty= pe as long as you can use the *)\n"
=C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"(* equality operation between them. So= both can be int, both can be strings, *)\n"
=C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0"(* both can be int tuples. T= H*)"))
=C2=A0 =C2=A0 =C2=A0 (write-file test-file))
=C2=A0 =C2=A0 (profiler-start 'cpu)

=3D=3D=3D=3D=3D

In GNU Emacs 25.1.50.25 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.23= )
=C2=A0of 2016-08-11 built on=C2=A0
Reposit= ory revision: 2e0a2b376f51dd515ffeb6449181cc37fe912f5e
Windowing = system distributor 'The X.Org Foundation', version 11.0.60900000
System Description: Red Hat Enterprise Linux Workstation release 6.6 (Santiago= )

Configured using= :
=C2=A0'configure --with-modules
=C2=A0= --prefix=3D/home/kmodi/usr_local/apps/6/emacs/master
=C2=A0'C= PPFLAGS=3D-fgnu89-inline -I/home/kmodi/usr_local/6/include
=C2=A0= -I/usr/include/freetype2 -I/usr/include' 'CFLAGS=3D-ggdb3 -O0'<= /div>
=C2=A0'CXXFLAGS=3D-ggdb3 -O0' 'LDFLAGS=3D-L/home/kmod= i/usr_local/6/lib
=C2=A0-L/home/kmodi/usr_local/6/lib64 -ggdb3= 9;'

Configured features:
XPM JPEG TI= FF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GCONF GSETTINGS
NOTIFY= ACL LIBSELINUX GNUTLS LIBXML2 FREETYPE LIBOTF XFT ZLIB
TOOLKIT_S= CROLL_BARS GTK2 X11 MODULES

Important settings:
=C2=A0 value of $LANG: en_US.UTF-8
=C2=A0 value of $XMODI= FIERS: @im=3Dnone
=C2=A0 locale-coding-system: utf-8-unix

Major mode: Profiler-Report

Mino= r modes in effect:
=C2=A0 diff-auto-refine-mode: t
=C2= =A0 tooltip-mode: t
=C2=A0 global-eldoc-mode: t
=C2=A0 = electric-indent-mode: t
=C2=A0 mouse-wheel-mode: t
=C2= =A0 tool-bar-mode: t
=C2=A0 menu-bar-mode: t
=C2=A0 fil= e-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
= =C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
= =C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mode: t
=C2=A0 auto-compression-mode: t
=C2=A0 buffer-read-only: = t
=C2=A0 line-number-mode: t
=C2=A0 transient-mark-mode= : t

Load-path shadows:
None found.
=

Features:
(shadow sort mail-extr emacsbug sen= dmail profiler vc-git diff-mode
easy-mmode sml-mode skeleton warn= ings smie cl compile comint ansi-color
ring autoload radix-tree l= isp-mnt cus-edit cus-start cus-load wid-edit
mm-archive message d= ired dired-loaddefs format-spec rfc822 mml mml-sec
epa derived gn= us-util rmail rmail-loaddefs mailabbrev gmm-utils
mailheader mm-d= ecode mm-bodies mm-encode mail-utils network-stream
starttls url-= http tls gnutls mail-parse rfc2231 rfc2047 rfc2045 mm-util
ietf-d= rums mail-prsvr url-gw nsm subr-x puny url-cache url-auth url
url= -proxy url-privacy url-expand url-methods url-history url-cookie
= url-domsuf url-util mailcap epg finder-inf package epg-config
url= -handlers url-parse auth-source cl-seq eieio eieio-core cl-macs
e= ieio-loaddefs password-cache url-vars seq byte-opt gv bytecomp
by= te-compile cl-extra cconv help-mode easymenu cl-loaddefs pcase cl-lib
=
debug time-date mule-util tooltip eldoc electric uniquify ediff-hook
vc-hooks lisp-float-type mwheel term/x-win 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 synt= ax facemenu font-core
term/tty-colors frame cl-generic cham georg= ian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao kor= ean japanese eucjp-ms cp51932
hebrew greek romanian slovak czech = european ethiopic indian cyrillic
chinese charscript case-table e= pa-hook jka-cmpr-hook help simple abbrev
obarray minibuffer cl-pr= eloaded nadvice loaddefs button faces cus-face
macroexp files tex= t-properties overlay sha1 md5 base64 format env
code-pages mule c= ustom widget hashtable-print-readable backquote
dbusbind inotify = dynamic-setting system-font-setting font-render-setting
move-tool= bar gtk x-toolkit x multi-tty make-network-process emacs)

Memory information:
((conses 16 153840 33952)
= =C2=A0(symbols 48 25942 2)
=C2=A0(miscs 40 104 407)
=C2= =A0(strings 32 35522 6421)
=C2=A0(string-bytes 1 1074371)
=C2=A0(vectors 16 46905)
=C2=A0(vector-slots 8 1777619 18518)<= /div>
=C2=A0(floats 8 269 573)
=C2=A0(intervals 56 782 163)
=C2=A0(buffers 976 16)
=C2=A0(heap 1024 36043 2798))

--

Kaushal Modi

--001a1134fa3e4eda060539cec059-- From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 13:22:34 2016 Received: (at submit) by debbugs.gnu.org; 11 Aug 2016 17:22:34 +0000 Received: from localhost ([127.0.0.1]:54276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXtgg-0007dU-3r for submit@debbugs.gnu.org; Thu, 11 Aug 2016 13:22:34 -0400 Received: from eggs.gnu.org ([208.118.235.92]:38738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXtge-0007dH-7A for submit@debbugs.gnu.org; Thu, 11 Aug 2016 13:22:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXtgY-0001NT-39 for submit@debbugs.gnu.org; Thu, 11 Aug 2016 13:22:27 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:40839) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXtgY-0001NG-0N for submit@debbugs.gnu.org; Thu, 11 Aug 2016 13:22:26 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXtgV-0007Qn-QI for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 13:22:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXtgU-0001Mv-Ra for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 13:22:23 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXtgQ-0001MY-VW; Thu, 11 Aug 2016 13:22:19 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2053 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bXtgP-0004za-A8; Thu, 11 Aug 2016 13:22:18 -0400 Date: Thu, 11 Aug 2016 20:22:05 +0300 Message-Id: <837fbnfcg2.fsf@gnu.org> From: Eli Zaretskii To: Kaushal Modi In-reply-to: (message from Kaushal Modi on Thu, 11 Aug 2016 17:03:44 +0000) Subject: Re: 25.1.50; Re-display issue (lag) when opening certain files [sml-mode] References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) > From: Kaushal Modi > Date: Thu, 11 Aug 2016 17:03:44 +0000 > Cc: Stefan Monnier , Eli Zaretskii > > Below code easily recreates the issue on emacs -Q on the latest master build of emacs as of now > (2e0a2b3). > > Please evaluate the macro definition and the macro call form below. > > In short, this will install the sml-mode package from GNU Elpa to the temporary-file-directory for your system, > and also generate a test .sml file that happened to show this issue. I do not see this lag on opening other .sml > files. For some reason, this .sml file (that the below example creates) has ONLY comments and that causes > emacs to stall for 10's of seconds. I'd prefer not to install anything. I do have the Git repo for ELPA, though. So could you please modify your recipe so that the required packages are loaded from the Git repo (by modifying load-path), and then the rest is done as needed? Better yet, just post the file that causes the trouble, there's no need for everybody to recreate it, right? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 13:30:57 2016 Received: (at submit) by debbugs.gnu.org; 11 Aug 2016 17:30:57 +0000 Received: from localhost ([127.0.0.1]:54280 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXton-0007qJ-0T for submit@debbugs.gnu.org; Thu, 11 Aug 2016 13:30:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXtol-0007q6-C4 for submit@debbugs.gnu.org; Thu, 11 Aug 2016 13:30:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXtob-0002wQ-NX for submit@debbugs.gnu.org; Thu, 11 Aug 2016 13:30:50 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:32998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXtob-0002wK-Jy for submit@debbugs.gnu.org; Thu, 11 Aug 2016 13:30:45 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59504) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXtoX-0005iG-32 for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 13:30:42 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXtoU-0002w0-Oe for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 13:30:39 -0400 Received: from mail-oi0-x22f.google.com ([2607:f8b0:4003:c06::22f]:34434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXtoR-0002ve-MS; Thu, 11 Aug 2016 13:30:35 -0400 Received: by mail-oi0-x22f.google.com with SMTP id l203so3379538oib.1; Thu, 11 Aug 2016 10:30:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tdiGXY8Saaf8AcjTdj9i6xqlVE07IVUY17BinQ+8pKY=; b=mKshuUjjywVQS/FX7TQJNPrN6BHsL8s4MjivAv+LV1bAOxqeZ7omlo4d8bdYAENNS2 7hAcENvzRJ0kiTypm/PH+FzxqykJbL+kI195HVvoVZ4W55EDdM9V99omvE22e26f2JSZ j6f3nKBsRtOi0XbDPJXlrKGGjd1wKSctheDjg30PaVjRdtYB/tHaZW394yeF7i2jRfcV xCRd7Y2vkY/O0w2mJXb2aq1xDXLRlw3gWFbPw+m2UOVtdaGGjryE3xjQjzq3Sw9vmKYa NqV0igy1mnjgSq1nZQQT+596+s0G6l1U5NbPKuwRWx41x5iAX6HkXQhN8EYCX8IWvwcY q8fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tdiGXY8Saaf8AcjTdj9i6xqlVE07IVUY17BinQ+8pKY=; b=BKXqpcPnKVDtn65PmZHk/zsUEVibq0tZaFNgV7H4nK/WbCLtHRT1WdMf7EAosjWxpy xqDdVuTGimo29StLFw21KEBDOUeGZN5HuJBBbnmsWHxU2VpfE8TOG2Z/U94w3p3xa/0e 6GZDI3axArNeRYjdYN9UoHuGQWci7AOckR7cmzisPo5iZOeIk0Gqb4fKgaaGYBaBbhOy nXWCWw7nYWaBPRWOvu618X53g7eFzBDIJrJ37DGpLnsn7/Ghnmr3BDzEbvdeuifWphXh hM4oOuuKHsP9NKvjanZSRRiA49ERz1V3h4zW/Fn+Oy7wmBS7EnFFH+ufjwTxPZLsvDZX xMcA== X-Gm-Message-State: AEkoousc6SJfPvbfkugxec9MZubhht/krZACNN96N8tbLGg91KnASNQb6BH1UJD5cTMqAYfqCEX9oaNZcJgy8w== X-Received: by 10.157.5.141 with SMTP id 13mr2861415otd.60.1470936634579; Thu, 11 Aug 2016 10:30:34 -0700 (PDT) MIME-Version: 1.0 References: <837fbnfcg2.fsf@gnu.org> In-Reply-To: <837fbnfcg2.fsf@gnu.org> From: Kaushal Modi Date: Thu, 11 Aug 2016 17:30:23 +0000 Message-ID: Subject: Re: 25.1.50; Re-display issue (lag) when opening certain files [sml-mode] To: Eli Zaretskii Content-Type: multipart/alternative; boundary=001a114414949763b90539cf1ff6 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --001a114414949763b90539cf1ff6 Content-Type: text/plain; charset=UTF-8 On Thu, Aug 11, 2016 at 1:22 PM Eli Zaretskii wrote: > I'd prefer not to install anything. Hi Eli, To avoid people's personal emacs config from polluting, I change the user-emacs-directory and package-user-dir in the macro. Things get installed to the /tmp/ dir by default on unix systems. > I do have the Git repo for ELPA, > though. So could you please modify your recipe so that the required > packages are loaded from the Git repo (by modifying load-path), and > then the rest is done as needed? > Please let me know if this is still necessary to help debug this problem. The current macro definition is very generic and works for GNU Elpa + other Elpas out there. It does not pollute your personal area as I mentioned above. After done with this, just rm -rf (concat temporary-file-directory (getenv "USER") "/" ".emacs.d-debug/") > Better yet, just post the file that causes the trouble, there's no > need for everybody to recreate it, right? > I wanted the mininum working example to be all inclusive. If I do not do so, then I need to rely on manual steps like saving the file, opening the exact same file using M-x find-file (and all that). Isn't my method more reliable? All you do is eval the whole thing and check the profiler report. Here is the file that my example creates: (* ''a is a special equality type (it is not the same as the generic 'a type. It *) (* means that both arguments can be of any type as long as you can use the *) (* equality operation between them. So both can be int, both can be strings, *) (* both can be int tuples. TH*) -- Kaushal Modi --001a114414949763b90539cf1ff6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

=


(* ''a is a special equalit= y type (it is not the same as the generic 'a type. It *)
(* m= eans that both arguments can be of any type as long as you can use the *)
(* equality operation between them. So both can be int, both can b= e strings, *)
(* both can be int tuples. TH*)
--
<= div dir=3D"ltr">

Kaushal Modi

--001a114414949763b90539cf1ff6-- From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 13:45:39 2016 Received: (at 24205) by debbugs.gnu.org; 11 Aug 2016 17:45:39 +0000 Received: from localhost ([127.0.0.1]:54289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXu31-0008Ie-5M for submit@debbugs.gnu.org; Thu, 11 Aug 2016 13:45:39 -0400 Received: from mail-oi0-f47.google.com ([209.85.218.47]:35201) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXu2z-0008IP-Ib for 24205@debbugs.gnu.org; Thu, 11 Aug 2016 13:45:37 -0400 Received: by mail-oi0-f47.google.com with SMTP id 4so3817383oih.2 for <24205@debbugs.gnu.org>; Thu, 11 Aug 2016 10:45:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=tYnNDIYGr7G1QnobJinRXPgXSMI7YdN86E7Y8nWUlGE=; b=ZSFhPu9/NzkMbyIemphZFt90HmOhaIs3KTaeV81BE8DRekR+C30pQ0dAwOXw5sLlht Mu7MTbVjLwX1dS5hM7T58rvUTnSxyoXxHCwsoZAvmNzeDc9DaLLcYyfwM3pExvztvRPf A8FrARFSUbeRgdh+BlG5L2Ehorqel2g91RrXuua5lHXQjtmsf60eIIW6vzH+7VmRTacA 6g+eNi41ZS/3gFx6sTKFATx27bppl3G3O/ht6rABj8xd22mxwnz+pCGw8nXNua/Y6q8I 4WWuzWOmbtLQwOAaBSzN8yIR05kK7J7GOCbzc1A1DtLc25IZQcXuyAlFGU6cxnl3Vqj+ j7OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=tYnNDIYGr7G1QnobJinRXPgXSMI7YdN86E7Y8nWUlGE=; b=hgLzFSKU/mqNnA8e7YVZYcYRQWz6JjFSN3jkSoCLB0jlESG3wbI4max3VPMGz+xiUl zeldcDzksCkjSkx+GLk5kw+nUaaDjFC8Il/b8OKsf9dWWCkSXa8gWx+TXo0z8bZsvQY1 /DtzsuxKjU1tOfEMZ8YEy//rMC8Q+0rV+PsC4MjxDNMCw9fHJv4zVf21f/mPwvkxiDUI 4uIFt+iROcet4fj/K8oHBoehybZDhIn3FEZby2GVkr7EnTZoa2XtmxeufSZM15+WLCBT vL4XJYiwUmN4v+hLr0KfrJ7FeQOHXKBSetoUXLlCud7kqfelsApf/Yll29E921GMzT8o CQBg== X-Gm-Message-State: AEkoouvALUTDIOlqcEI4QFPr3d6cf2M5nU9T+4ATyRhHS38/eIXNQOog7cax2cIsENo9bmOnIKeNEdO0DG/GzA== X-Received: by 10.202.220.87 with SMTP id t84mr1986074oig.197.1470937531753; Thu, 11 Aug 2016 10:45:31 -0700 (PDT) MIME-Version: 1.0 References: <837fbnfcg2.fsf@gnu.org> In-Reply-To: From: Kaushal Modi Date: Thu, 11 Aug 2016 17:45:21 +0000 Message-ID: Subject: Re: 25.1.50; Re-display issue (lag) when opening certain files [sml-mode] To: Eli Zaretskii , 24205@debbugs.gnu.org Content-Type: multipart/alternative; boundary=001a113d30b21129d00539cf557a X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24205 Cc: monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a113d30b21129d00539cf557a Content-Type: text/plain; charset=UTF-8 It turns out that just one line in that example is responsible for causing that lag: (* ''a is a special equality type (it is not the same as the generic 'a type. It *) I have updated the MWE. After evaluating the macro definition I posted earlier and the new example below, hit "C-c r". Installing a package from Elpa is also good for sanity. That way I do not worry about local changes made in your or my Elpa git clones. Installing from Elpa ensures that you and I are using the exact same version of the package (assuming that the package did not update in the meanwhile :)). ===== (emacs-pkg-debug-setup '(;; Install sml-mode from GNU Elpa (nil . (sml-mode))) (let ((test-file (expand-file-name "lag_test.sml" user-emacs-directory))) ; the macro sets user-emacs-directory to (concat temporary-file-directory (getenv "USER") "/" ".emacs.d-debug/") (defun my-report () (interactive) (profiler-report) (profiler-stop) (profiler-reset)) (global-set-key (kbd "C-c r") #'my-report) (with-temp-buffer (insert "(* ''a is a special equality type (it is not the same as the generic 'a type. It *)") (write-file test-file)) (profiler-start 'cpu) (find-file test-file))) ===== -- Kaushal Modi --001a113d30b21129d00539cf557a Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It turns out that just one line in that example is re= sponsible for causing that lag:

(= * ''a is a special equality type (it is not the same as the generic= 'a type. It *)=C2=A0

I= have updated the MWE. After evaluating the macro definition I posted earli= er and the new example below, hit "C-c r".

Installing a package from Elpa is also good for sanity. That way I d= o not worry about local changes made in your or my Elpa git clones. Install= ing from Elpa ensures that you and I are using the exact same version of th= e package (assuming that the package did not update in the meanwhile :)).

=3D=3D=3D=3D=3D
(e= macs-pkg-debug-setup '(;; Install sml-mode from GNU Elpa
=C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0(nil . (sml-mode)))
=C2=A0 (let ((test-file (expand-= file-name "lag_test.sml" =C2=A0
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0user-emacs-direc= tory)))=C2=A0; the macro sets user-emacs-di= rectory to (concat temporary-file-directory=C2=A0(getenv "USER") "/"=C2=A0".emacs.d-debug/")
=C2=A0 = =C2=A0 (defun my-report ()
=C2=A0 =C2=A0 =C2=A0 (interactive)
=C2=A0 =C2=A0 =C2=A0 (profiler-report)
=C2=A0 =C2=A0 =C2= =A0 (profiler-stop)
=C2=A0 =C2=A0 =C2=A0 (profiler-reset))
<= div>=C2=A0 =C2=A0 (global-set-key (kbd "C-c r") #'my-report)<= /div>
=C2=A0 =C2=A0=C2=A0
=C2=A0 =C2=A0 (with-temp-buffer
=C2=A0 =C2=A0 =C2=A0 (insert "(* ''a is a special equal= ity type (it is not the same as the generic 'a type. It *)")
=
=C2=A0 =C2=A0 =C2=A0 (write-file test-file))
=C2=A0 =C2=A0 (profiler-start 'cpu)
=C2=A0 =C2=A0 (fi= nd-file test-file)))
=3D=3D=3D=3D=3D
= --

Kaushal Modi

--001a113d30b21129d00539cf557a-- From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 15:43:05 2016 Received: (at submit) by debbugs.gnu.org; 11 Aug 2016 19:43:05 +0000 Received: from localhost ([127.0.0.1]:54367 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXvsf-0004Nw-Fg for submit@debbugs.gnu.org; Thu, 11 Aug 2016 15:43:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37284) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXvsd-0004NQ-Ic for submit@debbugs.gnu.org; Thu, 11 Aug 2016 15:43:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXvsX-0006dM-D5 for submit@debbugs.gnu.org; Thu, 11 Aug 2016 15:42:58 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_05,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52139) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXvsX-0006dA-9w for submit@debbugs.gnu.org; Thu, 11 Aug 2016 15:42:57 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXvsW-0003Ub-48 for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 15:42:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXvsV-0006cN-2X for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 15:42:56 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37716) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXvsQ-0006ZR-R2; Thu, 11 Aug 2016 15:42:50 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2134 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bXvsM-0005IJ-DY; Thu, 11 Aug 2016 15:42:49 -0400 Date: Thu, 11 Aug 2016 22:42:23 +0300 Message-Id: <8360r7f5y8.fsf@gnu.org> From: Eli Zaretskii To: Kaushal Modi In-reply-to: (message from Kaushal Modi on Thu, 11 Aug 2016 17:30:23 +0000) Subject: Re: 25.1.50; Re-display issue (lag) when opening certain files [sml-mode] References: <837fbnfcg2.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) > From: Kaushal Modi > Date: Thu, 11 Aug 2016 17:30:23 +0000 > Cc: bug-gnu-emacs@gnu.org, monnier@iro.umontreal.ca > > To avoid people's personal emacs config from polluting, I change the user-emacs-directory and > package-user-dir in the macro. Things get installed to the /tmp/ dir by default on unix systems. > > I do have the Git repo for ELPA, > though. So could you please modify your recipe so that the required > packages are loaded from the Git repo (by modifying load-path), and > then the rest is done as needed? > > Please let me know if this is still necessary to help debug this problem. It would help immensely. Unless visiting the file is all that's needed, see below. > Here is the file that my example creates: > > (* ''a is a special equality type (it is not the same as the generic 'a type. It *) > (* means that both arguments can be of any type as long as you can use the *) > (* equality operation between them. So both can be int, both can be strings, *) > (* both can be int tuples. TH*) Are you saying that just visiting this file exhibits the problem? If so, what modes should be turned on in the visiting buffer to see the problem? Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 15:53:31 2016 Received: (at submit) by debbugs.gnu.org; 11 Aug 2016 19:53:31 +0000 Received: from localhost ([127.0.0.1]:54377 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXw2k-0004dZ-U4 for submit@debbugs.gnu.org; Thu, 11 Aug 2016 15:53:31 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39797) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXw2j-0004dO-Gt for submit@debbugs.gnu.org; Thu, 11 Aug 2016 15:53:29 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXw2d-0000cK-3H for submit@debbugs.gnu.org; Thu, 11 Aug 2016 15:53:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:34752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXw2c-0000cG-Vt for submit@debbugs.gnu.org; Thu, 11 Aug 2016 15:53:23 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58999) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXw2a-0007jb-Qz for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 15:53:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXw2Z-0000c2-OG for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 15:53:20 -0400 Received: from mail-oi0-x231.google.com ([2607:f8b0:4003:c06::231]:36475) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXw2X-0000bj-Qz; Thu, 11 Aug 2016 15:53:17 -0400 Received: by mail-oi0-x231.google.com with SMTP id f189so8250333oig.3; Thu, 11 Aug 2016 12:53:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Q2erAeLXI5Dc9k0/kEeIxqTO9UwL360+7YGGDZKJFMU=; b=ALGswk6mlurHe6P+mcPPgSLsSXpSD/heFdVtYEChI+Zj1YrNFsjHhl63KZqDF7vnUy Gqu1tddrvdjtto9I8KNiaa0pkGnEaM0hO024alGzuz77Y7Ag07k+qNRhgerLt4YqiwR3 glJshdfODvMk0wbvPpuyw6XJkW+FGocOXLKC+f/OBCeQk+DxgeAaT64dmrD9p6fhixEt kucwvy+p383TcNsVLauKXC4qCkFC6q0DuzECKzN57Rtw1LAmmzwB9g4gO14dE39cDEbt xMsFaR22Nu2KnORtfbGsvD7kJERFPvxFSMxwCjIoL56h/OnCLZy58TtOh1lqf3wmefbW B01A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Q2erAeLXI5Dc9k0/kEeIxqTO9UwL360+7YGGDZKJFMU=; b=OeR4+8jiDSSG0jQng/+RLWTFbHPpHd5b/gy7jTZqSwpjAK/x1Y33kNUg3qFGA9bQzf pzHZi4r9zhWvmfO5K39YTuWAcCz2T+DqGgAaaoHsTURL5dEwHY7oxFsKvR0taSpTmgKG Uz5rMGN+pEYIU9m6uQl4lNpDv58vl6qy1QiU7LnglfJXn2ziVv2LJ4mamDQ4VsJjI2sR IJuYdP9YMIOjqPHXP3lW8Jkpgya7FuA6cpx/MReWo1sTrljzd6YCQzjFADcAEoQTLJLp c36QxOs+Pq5fV562BlX/oYBZCQD7vfhPA+dgVpZtc5CacMYO5yQc0nVbrc8DR1Sugqyj OtFA== X-Gm-Message-State: AEkoousRsV9btGLxQXTEmJBHhjiBUwWt5Wtqxu4NZ/+AFZ6JUqNwOhLJKBoKsa1wTH+In4YoRj8tDWaNFRIxmA== X-Received: by 10.157.41.7 with SMTP id d7mr3218168otb.165.1470945196664; Thu, 11 Aug 2016 12:53:16 -0700 (PDT) MIME-Version: 1.0 References: <837fbnfcg2.fsf@gnu.org> <8360r7f5y8.fsf@gnu.org> In-Reply-To: <8360r7f5y8.fsf@gnu.org> From: Kaushal Modi Date: Thu, 11 Aug 2016 19:53:05 +0000 Message-ID: Subject: Re: 25.1.50; Re-display issue (lag) when opening certain files [sml-mode] To: Eli Zaretskii Content-Type: multipart/alternative; boundary=94eb2c0484b0ee6ce90539d11d23 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --94eb2c0484b0ee6ce90539d11d23 Content-Type: text/plain; charset=UTF-8 On Thu, Aug 11, 2016 at 3:42 PM Eli Zaretskii wrote: > It would help immensely. Unless visiting the file is all that's > needed, see below. > Correct, visiting the file is all that's needed, with the correct major mode turning on. That's why the file name ends in .sml and I made my MWE install the sml-mode package from GNU Elpa so that that mode is autoloaded on visiting any .sml file. To clarify, this issue does not occur for ANY .sml file. It happens to occur only due to this example file: The file has to contain just this sml comment: ===== (* ''a is a special equality type (it is not the same as the generic 'a type. It *) ===== I cannot figure out what's special about this comment that freaks the re-display. Are you saying that just visiting this file exhibits the problem? Yes, in sml-mode. > If > so, what modes should be turned on in the visiting buffer to see the > problem? > All my MWE is doing is: - Install sml-mode from GNU Elpa - Create a specific example file that causes this issue - Start profiler - Visit the file You will then see a 10-20 second lag. After which you hit C-c r (that shows the profiler report and also resets the profiler. My MWE sets that binding.). Here's the MWE once again: ===== (emacs-pkg-debug-setup '((nil . (sml-mode))) ; Install sml-mode from GNU Elpa (let ((test-file (expand-file-name "lag_test.sml" user-emacs-directory))) ;; The `emacs-pkg-debug-setup' macro sets user-emacs-directory to ;; (concat temporary-file-directory (getenv "USER") "/" ".emacs.d-debug/") (defun my-report () (interactive) (profiler-report) (profiler-stop) (profiler-reset)) (global-set-key (kbd "C-c r") #'my-report) (with-temp-buffer (insert (concat "(* ''a is a special equality type (it is not " "the same as the generic 'a type. It *)")) (write-file test-file)) (profiler-start 'cpu) (find-file test-file))) ===== -- Kaushal Modi --94eb2c0484b0ee6ce90539d11d23 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
It would help = immensely.=C2=A0 Unless visiting the file is all that's
needed, see below.

Correct, visiting th= e file is all that's needed, with the correct major mode turning on.
That's why the file name ends in .sml and I made my MWE install= the sml-mode package from GNU Elpa so that that mode is autoloaded on visi= ting any .sml file.

To clarify, this issue does no= t occur for ANY .sml file. It happens to occur only due to this example fil= e:

The file has to contain just this sml comment:<= /div>

=3D=3D=3D=3D=3D
(* ''a is a special e= quality type (it is not the same as the generic 'a type. It *)
=3D=3D=3D=3D=3D=C2=A0
I cannot figure out what's special about this comment that = freaks the re-display.

A= re you saying that just visiting this file exhibits the problem?=C2=A0

Yes, in sml-mode.
=C2=A0
If
so, what modes should be turned on in the visiting buffer to see the
problem?

All my MWE is doing is:
<= div>- Install sml-mode from GNU Elpa
- Create a specific example = file that causes this issue
- Start profiler
- Visit th= e file

You will then see a 10-20 second lag.
=

After which you hit C-c r (that shows the profiler repo= rt and also resets the profiler. My MWE sets that binding.).

=
Here's the MWE once again:

=3D=3D= =3D=3D=3D
(emacs-pkg-debug-setup
=C2=A0 =C2=A0 = 9;((nil . (sml-mode))) ; Install sml-mode from GNU Elpa
=C2=A0 (l= et ((test-file (expand-file-name
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "lag_test.sml"
= =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 user-= emacs-directory)))
=C2=A0 =C2=A0 ;; The `emacs-pkg-debug-setup= 9; macro sets user-emacs-directory to
=C2=A0 =C2=A0 ;; (concat te= mporary-file-directory (getenv "USER") "/" ".emacs= .d-debug/")
=C2=A0 =C2=A0 (defun my-report ()
=C2= =A0 =C2=A0 =C2=A0 (interactive)
=C2=A0 =C2=A0 =C2=A0 (profiler-re= port)
=C2=A0 =C2=A0 =C2=A0 (profiler-stop)
=C2=A0 =C2= =A0 =C2=A0 (profiler-reset))
=C2=A0 =C2=A0 (global-set-key (kbd &= quot;C-c r") #'my-report)

=C2=A0 =C2=A0 (= with-temp-buffer
=C2=A0 =C2=A0 =C2=A0 (insert (concat "(* &#= 39;'a is a special equality type (it is not "
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 "th= e same as the generic 'a type. It *)"))
=C2=A0 =C2=A0 = =C2=A0 (write-file test-file))
=C2=A0 =C2=A0 (profiler-start '= ;cpu)
=C2=A0 =C2=A0 (find-file test-file)))
=3D= =3D=3D=3D=3D
--94eb2c0484b0ee6ce90539d11d23-- From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 16:28:27 2016 Received: (at submit) by debbugs.gnu.org; 11 Aug 2016 20:28:27 +0000 Received: from localhost ([127.0.0.1]:54410 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXwaZ-0005gr-Ix for submit@debbugs.gnu.org; Thu, 11 Aug 2016 16:28:27 -0400 Received: from eggs.gnu.org ([208.118.235.92]:48105) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXwaY-0005gf-JA for submit@debbugs.gnu.org; Thu, 11 Aug 2016 16:28:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXwaQ-0000Tv-5z for submit@debbugs.gnu.org; Thu, 11 Aug 2016 16:28:21 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.3 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:47649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXwaQ-0000Tj-32 for submit@debbugs.gnu.org; Thu, 11 Aug 2016 16:28:18 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39062) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXwaN-0006rn-Sm for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 16:28:16 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXwaL-0000T6-QW for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 16:28:14 -0400 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38838) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXwaH-0000Rp-9b; Thu, 11 Aug 2016 16:28:09 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2229 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bXwaE-0001cJ-RT; Thu, 11 Aug 2016 16:28:07 -0400 Date: Thu, 11 Aug 2016 23:27:52 +0300 Message-Id: <83twerdp9z.fsf@gnu.org> From: Eli Zaretskii To: Kaushal Modi In-reply-to: (message from Kaushal Modi on Thu, 11 Aug 2016 19:53:05 +0000) Subject: Re: 25.1.50; Re-display issue (lag) when opening certain files [sml-mode] References: <837fbnfcg2.fsf@gnu.org> <8360r7f5y8.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) > From: Kaushal Modi > Date: Thu, 11 Aug 2016 19:53:05 +0000 > Cc: bug-gnu-emacs@gnu.org, monnier@iro.umontreal.ca > > The file has to contain just this sml comment: > > ===== > (* ''a is a special equality type (it is not the same as the generic 'a type. It *) > ===== > > I cannot figure out what's special about this comment that freaks the re-display. Most probably the unbalanced parentheses. Something in sml-mode causes the display engine to hit on that many times. I will look into this. > Are you saying that just visiting this file exhibits the problem? > > Yes, in sml-mode. > > If > so, what modes should be turned on in the visiting buffer to see the > problem? > > All my MWE is doing is: > - Install sml-mode from GNU Elpa > - Create a specific example file that causes this issue > - Start profiler > - Visit the file I must explain something so that my requests don't sound arbitrary. When I work on a problem, I usually run Emacs many times in different ways, most of the times under a debugger. Since the debugger (and other tools) need to read my init files for working properly as I'm used to, I cannot easily change my home directory, or mess with my init files during the debugging session. In addition, with 10-20 sec delay I don't need a profiler to notice it. So it is much more helpful to have a recipe that is as simple as possible (so invoking it many times won't be painful), avoids interfering with my init files and system configuration, and includes only the stuff that is directly relevant to the bug reproduction. A good recipe along the above lines could easily speed up a bugfix by hours and even days. So if you can afford that, please try to follow these guidelines when you prepare a recipe. I hope this clarifies the reason for my requests. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 16:59:01 2016 Received: (at 24205) by debbugs.gnu.org; 11 Aug 2016 20:59:01 +0000 Received: from localhost ([127.0.0.1]:54426 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXx49-0006Ow-07 for submit@debbugs.gnu.org; Thu, 11 Aug 2016 16:59:01 -0400 Received: from mail-out.m-online.net ([212.18.0.10]:36308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXx46-0006Om-5F for 24205@debbugs.gnu.org; Thu, 11 Aug 2016 16:58:59 -0400 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3s9L3L0jLtz3hjqg; Thu, 11 Aug 2016 22:58:53 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.6.68]) by mail.m-online.net (Postfix) with ESMTP id 3s9L3K0QLHzvkdb; Thu, 11 Aug 2016 22:58:53 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.68]) (amavisd-new, port 10024) with ESMTP id 7vmTEHVRP4Lf; Thu, 11 Aug 2016 22:58:51 +0200 (CEST) X-Auth-Info: bd2pF6maZM5bF4TIdqEtJP2mEN6Ozxp8cE6XzLYh6oKDTLOBK1TI33T/p2q7Vm6X Received: from igel.home (ppp-88-217-10-144.dynamic.mnet-online.de [88.217.10.144]) by mail.mnet-online.de (Postfix) with ESMTPA; Thu, 11 Aug 2016 22:58:51 +0200 (CEST) Received: by igel.home (Postfix, from userid 1000) id 93FCA2C381B; Thu, 11 Aug 2016 22:58:51 +0200 (CEST) From: Andreas Schwab To: Eli Zaretskii Subject: Re: bug#24205: 25.1.50; Re-display issue (lag) when opening certain files [sml-mode] References: <837fbnfcg2.fsf@gnu.org> <8360r7f5y8.fsf@gnu.org> <83twerdp9z.fsf@gnu.org> X-Yow: .. over in west Philadelphia a puppy is vomiting.. Date: Thu, 11 Aug 2016 22:58:51 +0200 In-Reply-To: <83twerdp9z.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 11 Aug 2016 23:27:52 +0300") Message-ID: <87eg5v9g50.fsf@linux-m68k.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24205 Cc: monnier@iro.umontreal.ca, 24205@debbugs.gnu.org, Kaushal Modi X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) On Aug 11 2016, Eli Zaretskii wrote: >> From: Kaushal Modi >> Date: Thu, 11 Aug 2016 19:53:05 +0000 >> Cc: bug-gnu-emacs@gnu.org, monnier@iro.umontreal.ca >> >> The file has to contain just this sml comment: >> >> ===== >> (* ''a is a special equality type (it is not the same as the generic 'a type. It *) >> ===== >> >> I cannot figure out what's special about this comment that freaks the re-display. > > Most probably the unbalanced parentheses. Something in sml-mode > causes the display engine to hit on that many times. Maybe because comments in SML can be nested. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different." From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 17:16:20 2016 Received: (at submit) by debbugs.gnu.org; 11 Aug 2016 21:16:20 +0000 Received: from localhost ([127.0.0.1]:54434 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXxKu-0006wA-GN for submit@debbugs.gnu.org; Thu, 11 Aug 2016 17:16:20 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXxKs-0006vx-Gc for submit@debbugs.gnu.org; Thu, 11 Aug 2016 17:16:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXxKl-00034J-SO for submit@debbugs.gnu.org; Thu, 11 Aug 2016 17:16:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:57804) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXxKl-000331-Of for submit@debbugs.gnu.org; Thu, 11 Aug 2016 17:16:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49365) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXxKj-0007Cm-6T for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 17:16:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bXxKi-00030z-0K for bug-gnu-emacs@gnu.org; Thu, 11 Aug 2016 17:16:09 -0400 Received: from mail-oi0-x22e.google.com ([2607:f8b0:4003:c06::22e]:33859) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bXxKe-0002xh-Tk; Thu, 11 Aug 2016 17:16:05 -0400 Received: by mail-oi0-x22e.google.com with SMTP id l203so11197478oib.1; Thu, 11 Aug 2016 14:16:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Xumj0mjYUR58340cKv7EOx823K5qjVMifaICSdFlqvs=; b=hXhTdqAct8VdADTj1MVfYeW1s3a5kISlQvhfOCRxo+PXUWXQX5/8931MA+8AVrFTuo ryIE/6b8QZM8LYV94JPqe09jrkR+pizHyOvjE6XFRkT6kyoPPjuQFMeN5lrvEhMrMBli rPUzAMfiXf/fMOQNmQ2vdHR1dIOBLhIGM6rr8nk8AvOhDOUMaIPcucEQQtXk3b8BND7k Gt0j0a3sNh+bh6W9oyGZcjOcaWy+nxsZAR4rKeAuep80OmZg3v1nbMyU84R1OxfqDItS aNlvpSkeQ/YDqACPMsP6+NF3f5sp1KoqgA/ucQR0JhREXk3/3PFcB3yCuvQrzcddFfsX /pyQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Xumj0mjYUR58340cKv7EOx823K5qjVMifaICSdFlqvs=; b=Zur1yVuDAizCABCT/omduNisiru4wxrrAueuP7SrevB0LfTA6FSOluJ9vnEhTPtosg 5+fW7CkDxluwyk+7E5JohUjt7ojnxKtNP8qPpgQWgzB4mt1gX5o84vxEi4KosjgN7G5o lzWzVdOsMDGcMCgq+2ziPbyPTWntc230xnbyDoYzECw4KeOurB/1vX8QL6soHASz9too pocrBO7d5SEmqjqMIKXM3ala59z6ulfow5sF5XkyEOXutpKqNLK0cslQgT0SYdQa/ZnC jxYAzUiqQivnI96/JOMccP+UXTCpnI3gEA0cOlQbgPvilJ1/aGrQtue9sj2YfI81rorB cJXA== X-Gm-Message-State: AEkoouuZkoaMdy8WSKJhqPO8vLR4HwosQ84SDSw1pqllzc6qMSaEeHoTIVgt06B6oRsUPXqObiJsM+V2UdSEJA== X-Received: by 10.157.2.10 with SMTP id 10mr3013926otb.11.1470950164154; Thu, 11 Aug 2016 14:16:04 -0700 (PDT) MIME-Version: 1.0 References: <837fbnfcg2.fsf@gnu.org> <8360r7f5y8.fsf@gnu.org> <83twerdp9z.fsf@gnu.org> In-Reply-To: <83twerdp9z.fsf@gnu.org> From: Kaushal Modi Date: Thu, 11 Aug 2016 21:15:52 +0000 Message-ID: Subject: Re: 25.1.50; Re-display issue (lag) when opening certain files [sml-mode] To: Eli Zaretskii Content-Type: multipart/alternative; boundary=94eb2c114d2a0451d00539d246b5 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit Cc: bug-gnu-emacs@gnu.org, monnier@iro.umontreal.ca X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --94eb2c114d2a0451d00539d246b5 Content-Type: text/plain; charset=UTF-8 On Thu, Aug 11, 2016 at 4:28 PM Eli Zaretskii wrote: > I must explain something so that my requests don't sound arbitrary. > When I work on a problem, I usually run Emacs many times in different > ways, most of the times under a debugger. Since the debugger (and > other tools) need to read my init files for working properly as I'm > used to, I cannot easily change my home directory, or mess with my > init files during the debugging session. In addition, with 10-20 sec > delay I don't need a profiler to notice it. > > So it is much more helpful to have a recipe that is as simple as > possible (so invoking it many times won't be painful), avoids > interfering with my init files and system configuration, and includes > only the stuff that is directly relevant to the bug reproduction. > > A good recipe along the above lines could easily speed up a bugfix by > hours and even days. So if you can afford that, please try to follow > these guidelines when you prepare a recipe. > > I hope this clarifies the reason for my requests. > Makes sense. I was under the impression that having an all-inclusive MWE was more useful and so I went through the effort of creating one :) I was under the impression that you would run "r -Q" in gdb and simply paste my code in there to get going. But now I understand that you need your personal config too to help you debug in the most efficient way. As for the recipe for this one: 1. Install sml-mode from GNU Elpa. 2. Save a file called foo.sml with below content: ===== (* ''a is a special equality type (it is not the same as the generic 'a type. It *) ===== Note that while doing so, if the buffer is already in sml-mode, you might not even need to go to step 3. Because the same thing happened to me when I encountered this bug for the first time. I was actually typing out that comment, and my emacs started freezing as I was typing. 3. Open it. Thanks for working on this. -- Kaushal Modi --94eb2c114d2a0451d00539d246b5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
I must explain= something so that my requests don't sound arbitrary.
When I work on a problem, I usually run Emacs many times in different
ways, most of the times under a debugger.=C2=A0 Since the debugger (and
other tools) need to read my init files for working properly as I'm
used to, I cannot easily change my home directory, or mess with my
init files during the debugging session.=C2=A0 In addition, with 10-20 sec<= br> delay I don't need a profiler to notice it.

So it is much more helpful to have a recipe that is as simple as
possible (so invoking it many times won't be painful), avoids
interfering with my init files and system configuration, and includes
only the stuff that is directly relevant to the bug reproduction.

A good recipe along the above lines could easily speed up a bugfix by
hours and even days.=C2=A0 So if you can afford that, please try to follow<= br> these guidelines when you prepare a recipe.

I hope this clarifies the reason for my requests.

=
Makes sense. I was under the impression that having an all-inclu= sive MWE was more useful and so I went through the effort of creating one := ) I was under the impression that you would run "r -Q" in gdb and= simply paste my code in there to get going. But now I understand that you = need your personal config too to help you debug in the most efficient way.<= /div>

As for the recipe for this one:

1. Install sml-mode from GNU Elpa.
2. Save a file called f= oo.sml with below content:
=3D=3D=3D=3D=3D
=C2=A0(* ''a is a special equality type (it is not = the same as the generic 'a type. It *)=C2=A0
=3D=3D=3D= =3D=3D=C2=A0
Note that while doing so, if the buffer is alrea= dy in sml-mode, you might not even need to go to step 3. Because the same t= hing happened to me when I encountered this bug for the first time. I was a= ctually typing out that comment, and my emacs started freezing as I was typ= ing.
3. Open it.

Thanks for working on t= his.=C2=A0=C2=A0
--

Kaushal Mo= di

--94eb2c114d2a0451d00539d246b5-- From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 11 18:19:20 2016 Received: (at 24205) by debbugs.gnu.org; 11 Aug 2016 22:19:21 +0000 Received: from localhost ([127.0.0.1]:54470 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXyJs-0001oa-Mm for submit@debbugs.gnu.org; Thu, 11 Aug 2016 18:19:20 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:59498) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bXyJr-0001oT-7P for 24205@debbugs.gnu.org; Thu, 11 Aug 2016 18:19:19 -0400 Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.7/8.14.1) with ESMTP id u7BMJHj9020223; Thu, 11 Aug 2016 18:19:17 -0400 Received: by ceviche.home (Postfix, from userid 20848) id D700D66171; Thu, 11 Aug 2016 18:21:59 -0400 (EDT) From: Stefan Monnier To: Kaushal Modi Subject: Re: 25.1.50; Re-display issue (lag) when opening certain files [sml-mode] Message-ID: References: <837fbnfcg2.fsf@gnu.org> <8360r7f5y8.fsf@gnu.org> <83twerdp9z.fsf@gnu.org> Date: Thu, 11 Aug 2016 18:21:59 -0400 In-Reply-To: (Kaushal Modi's message of "Thu, 11 Aug 2016 21:15:52 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5763=0 X-NAI-Spam-Version: 2.3.0.9418 : core <5763> : inlines <5085> : streams <1682595> : uri <2265123> X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 24205 Cc: Eli Zaretskii , 24205@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.9 (-) > (* ''a is a special equality type (it is not the same as the generic 'a > type. It *) Apparently, it's the following font-lock rule which takes forever: (,(concat "\\_<\\(\\(?:data\\|abs\\|with\\|eq\\)?type\\)\\s-+" sml-tyvarseq-re "\\(" sml-id-re "\\)") (1 font-lock-keyword-face) (2 font-lock-type-def-face)) The sml-tyvarseq-re part of it matches type annotation which typically take the form ('a, 'b), so it normally matches things like datatype ('a, 'b) foo or type ('a, 'b) foo and the regexp is loose enough to match any mix of , ' and identifiers inside parentheses. This in itself is not a big problem, except that the regexp is not careful enough and match "abc" either as a single identifier, or as 2 identifiers (in two different ways: "a" followed by "bc" or "ab" "followed by "c"), or as 3 identifiers. For longish words like "generic" you can guess that it ends up with very many different ways to match, so when the match fails, it takes many trials to notice that none of the ways succeeds. Can you try the patch below, which tightens the regexp a bit and tries to remove these redundant ways to match the same thing? Stefan diff --git a/packages/sml-mode/sml-mode.el b/packages/sml-mode/sml-mode.el index e94b571..f4adf11 100644 --- a/packages/sml-mode/sml-mode.el +++ b/packages/sml-mode/sml-mode.el @@ -257,8 +257,8 @@ notion of \"the end of an outline\".") (defconst sml-id-re "\\sw\\(?:\\sw\\|\\s_\\)*")) (defconst sml-tyvarseq-re - (concat "\\(?:\\(?:'+" sml-id-re "\\|(\\(?:[,']\\|" sml-id-re - "\\|\\s-\\)+)\\)\\s-+\\)?")) + (concat "\\(?:\\(?:'+" sml-id-re "\\|(\\(?:[,' \t\n]+" sml-id-re + "\\)+)\\)\\s-+\\)?")) ;;; Font-lock settings ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 12 14:31:43 2016 Received: (at 24205) by debbugs.gnu.org; 12 Aug 2016 18:31:43 +0000 Received: from localhost ([127.0.0.1]:55391 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYHF9-0005xH-7B for submit@debbugs.gnu.org; Fri, 12 Aug 2016 14:31:43 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:42446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYHF7-0005qe-Fm for 24205@debbugs.gnu.org; Fri, 12 Aug 2016 14:31:42 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BhCACJI6tX/yonq8BdHAEBJIMDhEuFUIRkq3mBfYYXBAICgV05FAEBAQEBAQFdJ4RfAQEEViMQCzQSFBgNJIhEwVwBAQgCJYp3iX4dAQSZPJBnAYdxhXyQLB42hBYgh14BAQE X-IPAS-Result: A0BhCACJI6tX/yonq8BdHAEBJIMDhEuFUIRkq3mBfYYXBAICgV05FAEBAQEBAQFdJ4RfAQEEViMQCzQSFBgNJIhEwVwBAQgCJYp3iX4dAQSZPJBnAYdxhXyQLB42hBYgh14BAQE X-IronPort-AV: E=Sophos;i="5.28,500,1464667200"; d="scan'208";a="251799623" Received: from 192-171-39-42.cpe.pppoe.ca (HELO pastel.home) ([192.171.39.42]) by smtp.teksavvy.com with ESMTP; 12 Aug 2016 14:31:29 -0400 Received: by pastel.home (Postfix, from userid 20848) id 3836564E3A; Thu, 11 Aug 2016 14:19:33 -0400 (EDT) From: Stefan Monnier To: Kaushal Modi Subject: Re: 25.1.50; Re-display issue (lag) when opening certain files [sml-mode] Message-ID: References: <837fbnfcg2.fsf@gnu.org> Date: Thu, 11 Aug 2016 14:19:33 -0400 In-Reply-To: (Kaushal Modi's message of "Thu, 11 Aug 2016 17:45:21 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: 24205 Cc: Eli Zaretskii , 24205@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.7 (/) > (* ''a is a special equality type (it is not the same as the generic 'a > type. It *) Sounds like we're hitting some pathological regexp-matching situation. Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 14 09:26:44 2016 Received: (at 24205-done) by debbugs.gnu.org; 14 Aug 2016 13:26:44 +0000 Received: from localhost ([127.0.0.1]:56854 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYvR6-00073v-0C for submit@debbugs.gnu.org; Sun, 14 Aug 2016 09:26:44 -0400 Received: from ironport2-out.teksavvy.com ([206.248.154.181]:9447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bYvR4-00073h-A8 for 24205-done@debbugs.gnu.org; Sun, 14 Aug 2016 09:26:43 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: A0BLCACJI6tX/9+cs2tdHAEBgyeES4VQhGSreYF9hhcEAgKBXTkUAQEBAQEBAV0nhF8BAQMBViMFCws0EhQYDSSIPAjBXAEBCAIlineJfh0BBJk8kGcBh3GFfJAsHjaEFiCHXgEBAQ X-IPAS-Result: A0BLCACJI6tX/9+cs2tdHAEBgyeES4VQhGSreYF9hhcEAgKBXTkUAQEBAQEBAV0nhF8BAQMBViMFCws0EhQYDSSIPAjBXAEBCAIlineJfh0BBJk8kGcBh3GFfJAsHjaEFiCHXgEBAQ X-IronPort-AV: E=Sophos;i="5.28,500,1464667200"; d="scan'208";a="253664072" Received: from 107-179-156-223.cpe.teksavvy.com (HELO pastel.home) ([107.179.156.223]) by smtp.teksavvy.com with ESMTP; 14 Aug 2016 09:26:33 -0400 Received: by pastel.home (Postfix, from userid 20848) id DA64664C63; Sun, 14 Aug 2016 09:26:32 -0400 (EDT) From: Stefan Monnier To: Kaushal Modi Subject: Re: 25.1.50; Re-display issue (lag) when opening certain files [sml-mode] Message-ID: References: <837fbnfcg2.fsf@gnu.org> <8360r7f5y8.fsf@gnu.org> <83twerdp9z.fsf@gnu.org> Date: Sun, 14 Aug 2016 09:26:32 -0400 In-Reply-To: (Stefan Monnier's message of "Thu, 11 Aug 2016 18:21:59 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 24205-done Cc: Eli Zaretskii , 24205-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.3 (/) > Can you try the patch below, which tightens the regexp a bit and tries > to remove these redundant ways to match the same thing? For the lack of answer I assume that it fixes the problem and doesn't introduce new ones (and hopefully it might bring world peace while it's at it), so installed, Stefan From debbugs-submit-bounces@debbugs.gnu.org Sun Aug 14 19:14:58 2016 Received: (at 24205-done) by debbugs.gnu.org; 14 Aug 2016 23:14:58 +0000 Received: from localhost ([127.0.0.1]:57665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZ4cM-0007T0-8D for submit@debbugs.gnu.org; Sun, 14 Aug 2016 19:14:58 -0400 Received: from mail-oi0-f52.google.com ([209.85.218.52]:35864) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bZ4cK-0007Sn-Vk for 24205-done@debbugs.gnu.org; Sun, 14 Aug 2016 19:14:57 -0400 Received: by mail-oi0-f52.google.com with SMTP id f189so43470651oig.3 for <24205-done@debbugs.gnu.org>; Sun, 14 Aug 2016 16:14:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=e4QiuQqmtbW9JZKEk2+jikYtyYjnn4xPsHQ6cQgu3NQ=; b=WSwbD4soTIVN8Cub9xbapiElSdmnnfGlnZDnYzZ9nWWlK7VWMpNQY85460p7Et6sqM Kc5EpW6aLeHB8kz61Y/I1gtTb9WD0UYe3N/OTWTY2XN4ylacdrsYb7xtmkL5DesjgPGr 1NCUAxkbHAQSYFFCU5lRfslWY1u+OXiZ8B3P9NyPSWVhSXsxbzDDhkExejOVpjR2pfnN PJnXcUwHfo9XFClqs1+GwohH42ww38MvJ1WlES+TgtmlAeCxXCAJP64G54uU3HksKAzv Ac2TF31GUu2xBrkTfxq31srOKluGOqO0xrh2Az/Qcx2jcKDdUrOiaEpG1hXKKBVDrmXl JCdQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=e4QiuQqmtbW9JZKEk2+jikYtyYjnn4xPsHQ6cQgu3NQ=; b=bd2eSzV+9pX4MB6J5TR0DMa+xmRcKL5L3rbtA1hxZcgtpWJjxiZa8OvA+FiCvKZH6P qqMDxcQrsJ+/PmXuLv4GF/eYRU55e72sgwq43vlc+xvQ7d6O2g8BUIf+/fgbs+5UdHnR TrozlaBvAbssKcQAV4OW9EidOj8ApZXHkbwlWk9mziaLt2gG5X0YKrgdBkG9UbHOy8ur 9SbmHQfFI6ve5tQEu/1uXeuKfzJcpCApbVOU6viR+lgQNVdV+DmjKcIQiAZAZSF/M0Jr i/kh6Hkdjwma/u4w1jqA6C7s7oGrhXyLXavtL+6CJn1dU0EmRYvjKoRu4CDUe3kwjitE A6eQ== X-Gm-Message-State: AEkoouu3Enlutd+69pdpni1KWaT5/x5zZ5UuqVuULUuuRyXjz8eRSSTcEEjLzzpspOVXU8FhcF2kfvld6R35mw== X-Received: by 10.157.61.37 with SMTP id a34mr10954212otc.189.1471216491055; Sun, 14 Aug 2016 16:14:51 -0700 (PDT) MIME-Version: 1.0 References: <837fbnfcg2.fsf@gnu.org> <8360r7f5y8.fsf@gnu.org> <83twerdp9z.fsf@gnu.org> In-Reply-To: From: Kaushal Modi Date: Sun, 14 Aug 2016 23:14:39 +0000 Message-ID: Subject: Re: 25.1.50; Re-display issue (lag) when opening certain files [sml-mode] To: Stefan Monnier Content-Type: multipart/alternative; boundary=001a1140801a56524b053a10484c X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 24205-done Cc: Eli Zaretskii , 24205-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) --001a1140801a56524b053a10484c Content-Type: text/plain; charset=UTF-8 On Sun, Aug 14, 2016 at 9:26 AM Stefan Monnier wrote: > For the lack of answer I assume that it fixes the problem and doesn't > introduce new ones (and hopefully it might bring world peace while it's > at it), so installed, > Hi Stefan, Oddly, I missed that that email had a patch. I now tried it out and it works! I do not see emacs get freeze any more because of that comment. Thanks! -- Kaushal Modi --001a1140801a56524b053a10484c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On Sun, Aug 14= , 2016 at 9:26 AM Stefan Monnier <monnier@iro.umontreal.ca> wrote:
For the lack of answer I assume that it fixes the problem and doesn't introduce new ones (and hopefully it might bring world peace while it's=
at it), so installed,

Hi Stefan,
<= div>
Oddly, I missed that that email had a patch. I now tried= it out and it works! I do not see emacs get freeze any more because of tha= t comment.

Thanks!=C2=A0
--

Kaushal Modi

--001a1140801a56524b053a10484c-- From unknown Tue Aug 19 23:11:50 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 12 Sep 2016 11:24:03 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator