From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Richard Copley Newsgroups: gmane.emacs.bugs Subject: bug#25279: 26.0.50; Slowdown/crash on certain characters Date: Mon, 26 Dec 2016 20:09:16 +0000 Message-ID: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: blaine.gmane.org 1482783074 10123 195.159.176.226 (26 Dec 2016 20:11:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 26 Dec 2016 20:11:14 +0000 (UTC) To: 25279@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Dec 26 21:11:09 2016 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 1cLbbw-0001eT-Ex for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Dec 2016 21:11:08 +0100 Original-Received: from localhost ([::1]:51559 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cLbbx-0007cA-W1 for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Dec 2016 15:11:10 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38564) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cLbbr-0007c3-Oe for bug-gnu-emacs@gnu.org; Mon, 26 Dec 2016 15:11:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cLbbq-0004BP-8d for bug-gnu-emacs@gnu.org; Mon, 26 Dec 2016 15:11:03 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:40578) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cLbbq-0004BL-4H for bug-gnu-emacs@gnu.org; Mon, 26 Dec 2016 15:11:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cLbbq-0006ph-06 for bug-gnu-emacs@gnu.org; Mon, 26 Dec 2016 15:11:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Richard Copley Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 26 Dec 2016 20:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 25279 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.148278300326193 (code B ref -1); Mon, 26 Dec 2016 20:11:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Dec 2016 20:10:03 +0000 Original-Received: from localhost ([127.0.0.1]:55977 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cLbas-0006oE-9P for submit@debbugs.gnu.org; Mon, 26 Dec 2016 15:10:03 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cLbaq-0006np-2C for submit@debbugs.gnu.org; Mon, 26 Dec 2016 15:10:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cLbaj-0003oL-EY for submit@debbugs.gnu.org; Mon, 26 Dec 2016 15:09:54 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:48628) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cLbaj-0003oF-AP for submit@debbugs.gnu.org; Mon, 26 Dec 2016 15:09:53 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38493) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cLbah-0007W6-Ir for bug-gnu-emacs@gnu.org; Mon, 26 Dec 2016 15:09:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cLbaf-0003k7-N8 for bug-gnu-emacs@gnu.org; Mon, 26 Dec 2016 15:09:51 -0500 Original-Received: from mail-vk0-x236.google.com ([2607:f8b0:400c:c05::236]:35537) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cLbaf-0003hI-Ip for bug-gnu-emacs@gnu.org; Mon, 26 Dec 2016 15:09:49 -0500 Original-Received: by mail-vk0-x236.google.com with SMTP id y197so54873126vky.2 for ; Mon, 26 Dec 2016 12:09:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=Sq3SuVoUMubpbnejEZ4FBjrj9/Id2Pji5pBImQWUdSY=; b=vc1tZ5zD2j45JLel3tJXxf21mPW5InXR57CfpBpmDnB/3ZaA6BEEXtCaX6v53p4IEm te2MFM/ybw07/AU4UVWJ0+kLPjsB0576IPH8Nfjl0+wYtolNxppQJm4Lld70WRaQTnQh c6W4NA7iibsF7D0BvPvC+whaEwIKU7iPXBetUrYbyNjDUTQEPcMGgdP4xkXmvXH5qoBR 2P6w9boK+NIHO9pbulhF/G0tBH83XXnEfmDA326yXxdjXdufdolfjIo6dNRkhjK6c8Rv CzHBvRDQEJ7PMXNMe4P8aNVgPPwWFANYVW27vP3GwcKhRTg+gqSQlN8yxlT1l6W4ooT6 xihQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Sq3SuVoUMubpbnejEZ4FBjrj9/Id2Pji5pBImQWUdSY=; b=WS1WU5mIrUKIyxjGdpGCOpkWXAO8e7p94I46h0SVEIo1Jo7OawL04hI8r+B06irACj L1Y+6BM6ExFC9o+Au/M41LgYWxoFnsts9DF4z6zvOw0yCid5ayCrcmoLw2LUcYkIQL30 DG0ytghaL8LWsjWtLF4Nj1idAVUN1o5QkFUyFWDq7AoCn2Iepgj4BJZvqwQdTIawpR3S 1tcP/GzMNestrrqOBLDp0qcnjbP1bc/DhapP3xQ8Z7P8IFDmv/0kVQ77e5FTt1nNQPm2 tgiCtQ4rzqJX15OSyjUc4Z11lonn7x70mjU+VYMoQd5quKmAtXCguxvp78riQ3EUYEdl OIDw== X-Gm-Message-State: AIkVDXK9YV0GpV7YxffM1ZcOR3pBLyGfizacMJd+3wXcImqEK+ElnIx23qrz+9nz27OzOWYCgToNh/KDO+WnbQ== X-Received: by 10.31.153.195 with SMTP id b186mr10592445vke.140.1482782987240; Mon, 26 Dec 2016 12:09:47 -0800 (PST) Original-Received: by 10.176.71.29 with HTTP; Mon, 26 Dec 2016 12:09:16 -0800 (PST) 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-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:127461 Archived-At: >From emacs -Q: Insert MUSIC FLAT SIGN or RIGHTWARDS DOUBLE ARROW in a buffer. Move point around in the buffer or edit the buffer text. Emacs gets very slow, consuming a lot of CPU. Sometimes it completely grinds to a halt. MUSIC FLAT SIGN and RIGHTWARDS DOUBLE ARROW are examples that cause this problem for me. MUSIC SHARP SIGN and RIGHTWARDS ARROW are examples that do not cause a problem. Below are the contents of the describe-char buffer for these characters (with the character itself asterisked out in each case so as not to crash my Emacs while I edit this mail). Note the categories. They seem illogical. Are they supposed to be like that? Why? Note the fonts. Could there be a bug in "Malgun Gothic"? As far as I know it's a Korean font installed by default with Windows. Could there be a bug in "Consolas"? Why does Emacs find the MUSIC SHARP SIGN glyph but not the MUSIC FLAT SIGN glyph from Consolas? I asked about this on IRC and there exist Windows Emacs users who don't have the issue, so it may be influenced by environmental factors. Is there anything I can do to avoid it? Install better fonts? (Any suggestions?) Uninstall bad fonts? Configure Emacs to search fonts in a different order? ** RIGHTWARDS DOUBLE ARROW (bad!): position: 146 of 148 (98%), column: 0 character: * (displayed as *) (codepoint 8594, #o20622, #x2192) preferred charset: unicode (Unicode (ISO10646)) code point in charset: 0x2192 script: symbol syntax: . which means: punctuation category: .:Base, c:Chinese, h:Korean, j:Japanese to input: type "C-x 8 RET 2192" or "C-x 8 RET RIGHTWARDS ARROW" buffer code: #xE2 #x86 #x92 file code: not encodable by coding system iso-latin-1-dos display: by this font (glyph code) uniscribe:-outline-Consolas-normal-normal-normal-mono-11-*-*-*-c-*-iso8859-1 (#x365) Character code properties: customize what to show name: RIGHTWARDS ARROW old-name: RIGHT ARROW general-category: Sm (Symbol, Math) decomposition: (8594) ('*') ** MUSIC FLAT SIGN (bad!): position: 146 of 148 (98%), column: 0 character: * (displayed as *) (codepoint 9837, #o23155, #x266d) preferred charset: unicode (Unicode (ISO10646)) code point in charset: 0x266D script: symbol syntax: _ which means: symbol category: .:Base, h:Korean, j:Japanese to input: type "C-x 8 RET 266d" or "C-x 8 RET MUSIC FLAT SIGN" buffer code: #xE2 #x99 #xAD file code: not encodable by coding system iso-latin-1-dos display: by this font (glyph code) uniscribe:-outline-Malgun Gothic-normal-normal-normal-sans-11-*-*-*-p-*-ksc5601.1987-0 (#xCF2) Character code properties: customize what to show name: MUSIC FLAT SIGN old-name: FLAT general-category: So (Symbol, Other) decomposition: (9837) ('*') ** MUSIC SHARP SIGN (ok!): position: 148 of 152 (97%), column: 0 character: * (displayed as *) (codepoint 9839, #o23157, #x266f) preferred charset: unicode (Unicode (ISO10646)) code point in charset: 0x266F script: symbol syntax: _ which means: symbol category: .:Base, j:Japanese to input: type "C-x 8 RET 266f" or "C-x 8 RET MUSIC SHARP SIGN" buffer code: #xE2 #x99 #xAF file code: not encodable by coding system iso-latin-1-dos display: by this font (glyph code) uniscribe:-outline-MS Gothic-normal-normal-normal-mono-11-*-*-*-c-*-gb2312.1980*-* (#x761) Character code properties: customize what to show name: MUSIC SHARP SIGN old-name: SHARP general-category: Sm (Symbol, Math) decomposition: (9839) ('*') RIGHTWARDS ARROW (ok!): position: 148 of 150 (98%), column: 0 character: * (displayed as *) (codepoint 8594, #o20622, #x2192) preferred charset: unicode (Unicode (ISO10646)) code point in charset: 0x2192 script: symbol syntax: . which means: punctuation category: .:Base, c:Chinese, h:Korean, j:Japanese to input: type "C-x 8 RET 2192" or "C-x 8 RET RIGHTWARDS ARROW" buffer code: #xE2 #x86 #x92 file code: not encodable by coding system iso-latin-1-dos display: by this font (glyph code) uniscribe:-outline-Consolas-normal-normal-normal-mono-11-*-*-*-c-*-iso8859-1 (#x365) Character code properties: customize what to show name: RIGHTWARDS ARROW old-name: RIGHT ARROW general-category: Sm (Symbol, Math) decomposition: (8594) ('*') In GNU Emacs 26.0.50.10 (x86_64-w64-mingw32) of 2016-12-26 built on MACHINE Repository revision: a8a24b5be7f8cb6741f28000ae34c5b39ad9644e Windowing system distributor 'Microsoft Corp.', version 10.0.14393 Recent messages: Making completion list... [3 times] Quit [2 times] Mark saved where search started [2 times] delete-backward-char: Text is read-only Making completion list... [6 times] uncompressing eintr.info.gz...done C-c f is undefined Making completion list... Quit [7 times] nil Quit Configured using: 'configure --prefix=/mingw64 --with-modules --without-imagemagick --enable-locallisppath=/site-lisp PKG_CONFIG_PATH=/mingw64/lib/pkgconfig:/mingw64/share/pkgconfig' Configured features: XPM JPEG TIFF GIF PNG RSVG SOUND DBUS NOTIFY ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS MODULES Important settings: value of $LANG: en_GB.UTF-8 locale-coding-system: cp1252 Major mode: Lisp Interaction Minor modes in effect: 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 line-number-mode: t transient-mark-mode: t Load-path shadows: None found. Features: (shadow sort mail-extr emacsbug message subr-x puny seq byte-opt gv bytecomp byte-compile cl-extra help-mode cconv cl-loaddefs pcase cl-lib dired dired-loaddefs format-spec rfc822 mml mml-sec password-cache epa derived epg epg-config gnus-util rmail rmail-loaddefs mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils jka-compr misearch multi-isearch info easymenu time-date mule-util tooltip eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp disp-table term/w32-win w32-win w32-vars term/common-win tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode elisp-mode lisp-mode prog-mode register page menu-bar rfn-eshadow isearch 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 composite 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 w32notify dbusbind w32 multi-tty make-network-process emacs) Memory information: ((conses 16 105644 8301) (symbols 56 20593 0) (miscs 48 44 180) (strings 32 22316 4034) (string-bytes 1 651472) (vectors 16 14275) (vector-slots 8 449241 5484) (floats 8 184 173) (intervals 56 414 1299) (buffers 976 12))