From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Mark Laws Newsgroups: gmane.emacs.bugs Subject: bug#28795: 25.2; UTF-8 language environment causes extreme sluggishness Date: Thu, 12 Oct 2017 18:15:53 +0900 Message-ID: <86376oiv5i.fsf@60hz.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1507799848 30489 195.159.176.226 (12 Oct 2017 09:17:28 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 12 Oct 2017 09:17:28 +0000 (UTC) To: 28795@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Oct 12 11:17:19 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2Zc4-0005T6-KT for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Oct 2017 11:17:08 +0200 Original-Received: from localhost ([::1]:44398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2ZcB-0006xo-Kn for geb-bug-gnu-emacs@m.gmane.org; Thu, 12 Oct 2017 05:17:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47952) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2Zc3-0006xD-B6 for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 05:17:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2Zby-00021I-Ns for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 05:17:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:54411) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2Zby-000216-JV for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 05:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e2Zby-0007Qu-Dq for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 05:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mark Laws Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Oct 2017 09:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 28795 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.150779982028559 (code B ref -1); Thu, 12 Oct 2017 09:17:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Oct 2017 09:17:00 +0000 Original-Received: from localhost ([127.0.0.1]:34859 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2Zbv-0007QY-Ow for submit@debbugs.gnu.org; Thu, 12 Oct 2017 05:17:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56867) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e2Zbu-0007QJ-Av for submit@debbugs.gnu.org; Thu, 12 Oct 2017 05:16:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2Zbn-0001mT-Ib for submit@debbugs.gnu.org; Thu, 12 Oct 2017 05:16:53 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:36897) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e2Zbn-0001mF-EJ for submit@debbugs.gnu.org; Thu, 12 Oct 2017 05:16:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47784) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e2Zbi-0006vL-OQ for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 05:16:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e2Zbf-0001cr-Fu for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 05:16:46 -0400 Original-Received: from mail-pf0-x22d.google.com ([2607:f8b0:400e:c00::22d]:45150) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e2Zbf-0001Zb-5r for bug-gnu-emacs@gnu.org; Thu, 12 Oct 2017 05:16:43 -0400 Original-Received: by mail-pf0-x22d.google.com with SMTP id d28so4029107pfe.2 for ; Thu, 12 Oct 2017 02:16:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=60hz-org.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=Q+7QD4cLHe10v16jiyb9gFF1zMeKhm9Z5N/tjN5NrC4=; b=1r/vHq7/C0MFnC/5VY91wWl96PW0U0iNdJiRkRu75vNXJcPitQu+rYQv12o90JE5V3 +0i85zN8xMNCS8v6uP2K2p1hEe+C/yi9E4HRrYadqBqi3XLurmF5WzJq81fWLJIMxV8d R3Zy4NVlHugrT8XHMbTf7ASJnngl7zVhiq5nLYb9/FqffMKPv1+32/Es9svzejihvYjo QzJVeDjxHU36Ge7NlDgVDF0+9b8wEkEX+/t3HGXsAv2a5eV7kl3y08s8AkoRp5oNWtxZ 2xxXZNMZE7cfIzcOsAilQ2Vo1lqehx2COwTGR7AXc5v8H4bhfvamidaLQmOz+BB6xsGa OjjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=Q+7QD4cLHe10v16jiyb9gFF1zMeKhm9Z5N/tjN5NrC4=; b=R6f2QuCK8OI6XyL3AHyZV7CiiQ3O2mwPzE8nH0+5qDsDL52grUf692i7yW73o2/6Pg a5nKSmfCohO8VEj5O/TgEFcC/i8yA8J9O/XiFBUpLaPRUIedCTbozTa9+ojoO0b3+buH NcgUA8e84fdIL7lCbN5KvZQHVYrndBnil8GDMmqUBzBoMzo+8ydiWm4dEbOvLMD9TgF4 IhdsHVe2KzK9aCswBsplMCXR3tNqT1BdQWhYy+T5Z7iX5TmZMBN6CrfZCJ4VEprQmRvD NQ/R2005ug2R4dfYnEX9OSPl0Gzxf0ooOoc1k1FwXXfqoLUtilpwwXC+iPdK79bjxpZO sCQQ== X-Gm-Message-State: AMCzsaU8S7JvKVmv5Dxb6KOB7IJgSRlRbaIWO48w3uoK87ZfuqidOUJ1 2bu7HsFSgKesROFm5FBtLv591ma8BEs= X-Google-Smtp-Source: AOwi7QDU82Z2trfni1tysO/wekw2Ra4VynK0+6pFbDDEqYabTBXbHG05flTnC8GGLv1CjK+JRL5AkQ== X-Received: by 10.159.207.134 with SMTP id z6mr1638335plo.258.1507799800517; Thu, 12 Oct 2017 02:16:40 -0700 (PDT) Original-Received: from hayai (pl34100.ag1212.nttpc.ne.jp. [133.232.243.52]) by smtp.gmail.com with ESMTPSA id 133sm28230179pfy.2.2017.10.12.02.16.39 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 12 Oct 2017 02:16:39 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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" Xref: news.gmane.org gmane.emacs.bugs:138254 Archived-At: M-x set-language-environment UTF-8 M-: (insert #x2207) Then hold down C-o until you have a bunch of empty lines, and start moving around the buffer with the usual movement keys. You will notice it is very, very slow. Then delete the character from the buffer, and notice how thing= s are fast again. The issue doesn't seem to happen in the Linux console version of Emacs (even with UTF-8 set). It also does not happen in the Windows (NT) GUI version i= f the language environment is set to something other than UTF-8. I can reproduce this 100% of the time under emacs -Q with the instructions = given above. In GNU Emacs 25.2.1 (x86_64-w64-mingw32) of 2017-04-30 built on HAYAI Repository revision: d8cf7c798722e58aa4ebb9ecfcaa6724f905e18e Windowing system distributor 'Microsoft Corp.', version 10.0.14393 Configured using: 'configure --host=3Dx86_64-w64-mingw32 --target=3Dx86_64-w64-mingw32 --build=3Dx86_64-w64-mingw32 --prefix=3D/c/Users/mdl/local/emacs --without= -dbus --without-gconf --without-gsettings --with-modules --with-file-notificatio= n=3Dw32 CFLAGS=3D-O2 CPPFLAGS=3D-I/mingw64/include LDFLAGS=3D-L/mingw64/lib' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS MODULES W32_IME Important settings: value of $LANG: JPN locale-coding-system: cp1252 Major mode: Emacs-Lisp Minor modes in effect: company-quickhelp-mode: t company-quickhelp-local-mode: t elisp-slime-nav-mode: t rainbow-mode: t flycheck-pos-tip-mode: t company-mode: t global-git-commit-mode: t async-bytecomp-package-mode: t shell-dirtrack-mode: t diff-auto-refine-mode: t desktop-save-mode: t eldoc-in-minibuffer-mode: t global-form-feed-mode: t form-feed-mode: t global-whitespace-cleanup-mode: t whitespace-cleanup-mode: t whitespace-mode: t global-undo-tree-mode: t undo-tree-mode: t show-paren-mode: t global-hl-line-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t electric-indent-mode: t mouse-wheel-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 column-number-mode: t line-number-mode: t auto-fill-function: do-auto-fill transient-mark-mode: t Recent messages: Wrote c:/Users/mdl/AppData/Roaming/.emacs.d/elisp/mdl-loaddefs.el Loading c:/Users/mdl/AppData/Roaming/.emacs.d/elisp/mdl-loaddefs.el (source= )...done Please type y, n, or !: y Error while checking syntax automatically: (irony-server-error "irony-serve= r version mismatch: type =E2=80=98M-x irony-install-server=E2=80=99 to rein= stall") Please type y, n, or !: y Error while checking syntax automatically: (irony-server-error "irony-serve= r is broken! Invalid version syntax: =E2=80=981.1.0=E2=80=99") Please type y, n, or !: y Error while checking syntax automatically: (irony-server-error "irony-serve= r is broken! Invalid version syntax: =E2=80=981.1.0=E2=80=99") Wrote c:/Users/mdl/AppData/Roaming/.emacs.d/.emacs.desktop.lock Desktop: 3 frames, 46 buffers restored. Load-path shadows: c:/Users/mdl/AppData/Roaming/.emacs.d/elpa/seq-2.20/seq hides c:/Users/mdl/= local/emacs/share/emacs/25.2/lisp/emacs-lisp/seq Features: (shadow sort mail-extr warnings emacsbug sendmail bat-mode make-mode irony-cdb-libclang irony-cdb-json pp goto-addr view matlab derived tempo pandoc-mode pandoc-mode-utils hydra lv vc-git irony-eldoc irony-cdb-clang-complete irony-cdb modern-cpp-font-lock cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs markdown-mode thingatpt noutline outline jka-compr company-quickhelp fsharp-mode-font fsharp-mode-indent info-look fsharp-mode fsharp-mode-indent-smie inf-fsharp-mode fsharp-doc flycheck-fsharp fsharp-mode-completion fsharp-mode-util tramp tramp-compat tramp-loaddefs trampver ucs-normalize stupid-indent-mode clean-aindent-mode wolfram-mode s= mie autoinsert elisp-slime-nav rainbow-mode company-oddmuse company-keywords company-etags etags xref project company-gtags company-dabbrev-code company-dabbrev company-files company-capf company-cmake company-xcode company-clang company-semantic company-eclim company-css company-nxml company-bbdb company-irony company-template irony-completion irony-snippet flycheck-irony flycheck-pos-tip pos-tip flycheck find-func irony-diagnostics irony irony-iotask color company proof-site proof-autoloads pg-vars magit-obsolete magit-blame magit-stash magit-bisect magit-remote magit-comm= it magit-sequence magit-notes magit-worktree magit-branch magit-files magit-re= fs magit-status magit magit-repos magit-apply magit-wip magit-log magit-diff smerge-mode magit-core magit-autorevert autorevert filenotify magit-process magit-margin magit-mode magit-git magit-section magit-popup git-commit magit-utils crm log-edit message format-spec rfc822 mml mml-sec epg mm-deco= de mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mailabbrev mail-utils gmm-utils mailheader pcvs-util add-log with-editor async-bytecomp async shell pcomplete p4 ps-print ps-def lpr diff-mode dired compile comint ansi-color ring server revive desktop frameset eldoc-eval form-feed easy-mm= ode whitespace-cleanup-mode whitespace ido undo-tree diff paren hl-line vlf-set= up visual-regexp-steroids advice visual-regexp dim mdl-utils mdl-loaddefs auto= load lisp-mnt tex-site edmacro kmacro gh-common gh-profile url-parse auth-source gnus-util mm-util help-fns mail-prsvr password-cache url-vars rx s marshal eieio-compat ht json map dash eieio eieio-core cl-seq cl-macs cl finder-inf= info package epg-config seq byte-opt gv bytecomp byte-compile cl-extra help-mode easymenu cconv cl-loaddefs cl-lib subr-x pcase time-date mule-util japan-ut= il tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-ime disp-table w32-win w32-vars term/common-win tool-ba= r dnd fontset image regexp-opt fringe tabulated-list newcomment elisp-mode lisp-m= ode 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 a= bbrev minibuffer cl-preloaded nadvice loaddefs button faces cus-face macroexp fil= es text-properties overlay sha1 md5 base64 format env code-pages mule custom w= idget hashtable-print-readable backquote w32notify w32 multi-tty make-network-pro= cess emacs) Memory information: ((conses 16 546773 36422) (symbols 56 44493 0) (miscs 48 281 814) (strings 32 125737 19777) (string-bytes 1 3681556) (vectors 16 68989) (vector-slots 8 1133465 9793) (floats 8 1100 285) (intervals 56 2889 0) (buffers 976 70))