From unknown Fri Aug 08 22:17:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23291: 25.0.92; Inserting unicode in buffer requiring a different font slows down Emacs Resent-From: "Philippe Crama" Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Apr 2016 19:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 23291 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 23291@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.146066239719585 (code B ref -1); Thu, 14 Apr 2016 19:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 14 Apr 2016 19:33:17 +0000 Received: from localhost ([127.0.0.1]:35663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqn0u-00055p-Pq for submit@debbugs.gnu.org; Thu, 14 Apr 2016 15:33:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqmx0-0004yD-O7 for submit@debbugs.gnu.org; Thu, 14 Apr 2016 15:29:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqmwr-0007Un-Vr for submit@debbugs.gnu.org; Thu, 14 Apr 2016 15:29:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.5 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,MIME_HTML_ONLY,XPRIO autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqmwr-0007Uj-Sh for submit@debbugs.gnu.org; Thu, 14 Apr 2016 15:29:05 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqmwo-00075Z-Bu for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2016 15:29:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqmwk-0007Tf-K2 for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2016 15:29:02 -0400 Received: from mout.gmx.net ([212.227.15.18]:54818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqmwk-0007TR-AV for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2016 15:28:58 -0400 Received: from [109.134.202.84] by 3capp-mailcom-bs10.server.lan (via HTTP); Thu, 14 Apr 2016 21:28:55 +0200 MIME-Version: 1.0 Message-ID: From: "Philippe Crama" Content-Type: text/html; charset=UTF-8 Date: Thu, 14 Apr 2016 21:28:55 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K0:rpNA8D9k9VuptqyKQcptJSAX/gXPUYUz5BtxY4u7A0h CGMm+6E8K20bMkhU/zSKSFkhbZcysPfaYU2Hlp8N8R9M2NkGly 3GVtY09cezfB4xe+ZRT7BWHcgk1E9Rbmfz9PAQJY/0e+ZJ+1RW RNmCEtc2YVukxnHlyaTMfRuWmvPeOA8KCKnFVjsTzg2oFhQ7TG aCBokvsgDyuDqawIf19rAocsep2eZQOefqHSHy+1BL4Y66Vk6H wCdShpl5HtUW6UOkGnK+DnYgjqxbfsMNTde0SBDVqzWmi0f38A gIcatvP638v4VuVjxMU6EVGwEVN X-UI-Out-Filterresults: notjunk:1;V01:K0:jdS3BuR5W4s=:zsgdwfC0W3i//2b8tsioYL 4DsKa8QwHr74n90jCD5MexLlOGDPQK688XEOsjaH6CU3FR/xBUuOU7x1H5YBCyJ/n2za5N+iw x3zvMmWtkrX+CQDLOsGbfAJ6EssYGD7KgpQpU7h1YuC+zQ/gRLTy1n5pYJMnq5qUw4ZMwJxmJ l9euQ5B5YpeI5ctPY/as/4Qd3wC3cy6ut/xhOIUKvi23pLeLJJJn2nFykfUS6oXRraEh4+eZw 3HsWIQwS4Itqzr9Plm/qRKmGjgyA4IlYldE5ZfQnMKgQt4DEjthlrpELhzXN4ZzRW+Ycqqvij DwCbGz8nTHKko18bzk6LFioeQUb6pLnepu8DtxfPjnRuz3FgBpasKKrTuX2EYqdSiBirrEBPl VCbSYRzprQtwkhdgKkzrxGSK/pM6gJRta34bZdacD1XvlPHkNpUAqULtFRt42L3U8ylSDiDpy yl9SZp4NBA== 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: -1.0 (-) X-Mailman-Approved-At: Thu, 14 Apr 2016 15:33:15 -0400 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: -3.0 (---)
1. Go to the *scratch* buffer or create a new buffer in fundamental mode
2. Observe that Emacs is quite responsive when typing random ASCII
   characters
3. Insert (C-x 8 RET) a CIRCLED DIGIT EIGHT into the buffer
4. Continue typing: the buffer update is slower than before
5. Switch to another buffer and observe that Emacs is still as
   responsive there as in step 2 once the slow buffer switch
   happened.
Extra info:
1. This issue is
   - NOT in Emacs 24.5 (GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11
     on LEG570 downloaded from http://gnu.xl-mirror.nl/emacs/windows/
   - already in emacs-25.0.90-i686-w64-mingw32 (dowloaded
     from the same http://alpha.gnu.org/gnu/emacs/windows/)
2. Characters from the ISO-8859-1 set (e.g. LATIN SMALL LETTER E WITH
   ACUTE=C-x 8 ' e) do not have this problem.  Upon consideration, it's
   maybe a question of font: this issue doesn’t happen for “RIGHTWARDS ARROW”
   (C-x 8 a >).  C-u x = reports:
                     position: 125 of 144 (86%), column: 54
                    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 undecided-unix
                      display: by this font (glyph code)
            uniscribe:-outline-Input-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (#x21E)
        Character code properties: customize what to show
          name: RIGHTWARDS ARROW
          old-name: RIGHT ARROW
          general-category: Sm (Symbol, Math)
          decomposition: (8594) ('→')
        There are text properties here:
          fontified            t
3. In all versions I tested for this report, C-u x = reports the same
   information for CIRCLED DIGIT EIGHT (I've replaced the troublesome
   unicode character by `(8)'):
                  character: (8) (displayed as (8)) (codepoint 9319, #o22147, #x2467)
          preferred charset: unicode (Unicode (ISO10646))
      code point in charset: 0x2467
                     script: symbol
                     syntax: _         which means: symbol
                   category: .:Base, c:Chinese, h:Korean, j:Japanese
                   to input: type "C-x 8 RET 2467" or "C-x 8 RET CIRCLED DIGIT EIGHT"
                buffer code: #xE2 #x91 #xA7
                  file code: #xE2 #x91 #xA7 (encoded by coding system utf-8-dos)
                    display: by this font (glyph code)
          uniscribe:-outline-BatangChe-normal-normal-normal-mono-13-*-*-*-c-*-gb2312.1980-0 (#xF62)
      Character code properties: customize what to show
        name: CIRCLED DIGIT EIGHT
        general-category: No (Number, Other)
        decomposition: (circle 56) (circle '8')
In GNU Emacs 25.0.92.1 (i686-w64-mingw32) of 2016-03-21 built on LAPHROAIG
Windowing system distributor 'Microsoft Corp.', version 6.1.7601
Configured using:
'configure --host=i686-w64-mingw32 --without-dbus
--without-compress-install CFLAGS=-static'
Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS
Important settings:
  value of $LANG: en_US.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
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list... [3 times]
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
        mml-sec epg epg-config gnus-util mm-decode mm-bodies mm-encode
        mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
        rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase
        cl-lib mail-prsvr mail-utils iso-transl time-date mule-util tooltip
        eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
        dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd
        fontset image regexp-opt fringe tabulated-list newcomment elisp-mode
        lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
        scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame
        cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai
        tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian
        slovak czech european ethiopic indian cyrillic chinese charscript
        case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer
        cl-preloaded nadvice loaddefs button faces cus-face macroexp files
        text-properties overlay sha1 md5 base64 format env code-pages mule
        custom widget hashtable-print-readable backquote w32notify w32 multi-tty
        make-network-process emacs)
Memory information:
((conses 8 173134 14084)
(symbols 32 30311 0)
(miscs 32 43 119)
(strings 16 66961 7694)
(string-bytes 1 1488651)
(vectors 8 13576)
(vector-slots 4 563074 23106)
(floats 8 164 59)
(intervals 28 555 1222)
(buffers 520 12))
 
From unknown Fri Aug 08 22:17:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23291: 25.0.92; Inserting unicode in buffer requiring a different font slows down Emacs Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Apr 2016 19:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23291 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: "Philippe Crama" Cc: 23291@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 23291-submit@debbugs.gnu.org id=B23291.146066388521831 (code B ref 23291); Thu, 14 Apr 2016 19:59:01 +0000 Received: (at 23291) by debbugs.gnu.org; 14 Apr 2016 19:58:05 +0000 Received: from localhost ([127.0.0.1]:35692 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqnOv-0005g3-Dq for submit@debbugs.gnu.org; Thu, 14 Apr 2016 15:58:05 -0400 Received: from eggs.gnu.org ([208.118.235.92]:45795) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqnOt-0005fY-Hv for 23291@debbugs.gnu.org; Thu, 14 Apr 2016 15:58:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqnOk-000721-C7 for 23291@debbugs.gnu.org; Thu, 14 Apr 2016 15:57: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=-0.2 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56270) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqnOk-00071x-9U; Thu, 14 Apr 2016 15:57:54 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:1291 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1aqnOj-0002Bm-LH; Thu, 14 Apr 2016 15:57:54 -0400 Date: Thu, 14 Apr 2016 22:57:30 +0300 Message-Id: <83d1psdkut.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (phcrama.work@gmx.com) References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.0 (------) 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: -6.0 (------) > Date: Thu, 14 Apr 2016 21:28:55 +0200 > Sensitivity: Normal > > 1. Go to the *scratch* buffer or create a new buffer in fundamental mode > 2. Observe that Emacs is quite responsive when typing random ASCII > characters > 3. Insert (C-x 8 RET) a CIRCLED DIGIT EIGHT into the buffer > 4. Continue typing: the buffer update is slower than before I cannot reproduce this on my system. > 3. In all versions I tested for this report, C-u x = reports the same > information for CIRCLED DIGIT EIGHT (I've replaced the troublesome > unicode character by `(8)'): > character: (8) (displayed as (8)) (codepoint 9319, #o22147, #x2467) > preferred charset: unicode (Unicode (ISO10646)) > code point in charset: 0x2467 > script: symbol > syntax: _ which means: symbol > category: .:Base, c:Chinese, h:Korean, j:Japanese > to input: type "C-x 8 RET 2467" or "C-x 8 RET CIRCLED DIGIT EIGHT" > buffer code: #xE2 #x91 #xA7 > file code: #xE2 #x91 #xA7 (encoded by coding system utf-8-dos) > display: by this font (glyph code) > uniscribe:-outline-BatangChe-normal-normal-normal-mono-13-*-*-*-c-*-gb2312.1980-0 (#xF62) Try installing Symbola, that's what Emacs uses on my system for that character. From unknown Fri Aug 08 22:17:20 2025 X-Loop: help-debbugs@gnu.org Subject: bug#23291: Workaround for "25.0.92; Inserting unicode in buffer requiring a different font slows down Emacs" References: In-Reply-To: Resent-From: Philippe Crama Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Apr 2016 13:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23291 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: 23291@debbugs.gnu.org Received: via spool by 23291-submit@debbugs.gnu.org id=B23291.14607262483332 (code B ref 23291); Fri, 15 Apr 2016 13:18:02 +0000 Received: (at 23291) by debbugs.gnu.org; 15 Apr 2016 13:17:28 +0000 Received: from localhost ([127.0.0.1]:36382 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ar3cm-0000rf-FO for submit@debbugs.gnu.org; Fri, 15 Apr 2016 09:17:28 -0400 Received: from mout.gmx.net ([212.227.15.18]:62799) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ar3ck-0000rS-0w for 23291@debbugs.gnu.org; Fri, 15 Apr 2016 09:17:27 -0400 Received: from localhost ([109.129.164.20]) by mail.gmx.com (mrgmx002) with ESMTPSA (Nemesis) id 0McmS9-1b8rSL04Th-00HxQj for <23291@debbugs.gnu.org>; Fri, 15 Apr 2016 15:17:20 +0200 Date: Fri, 15 Apr 2016 15:17:16 +0200 Message-ID: <7zr3e7nh9f.wl-phcrama.work@gmx.com> From: Philippe Crama User-Agent: Wanderlust/2.15.9 (Almost Unreal) SEMI-EPG/1.14.7 (Harue) FLIM/1.14.9 (=?UTF-8?Q?Goj=C5=8D?=) APEL/10.8 EasyPG/1.0.0 Emacs/24.5 (x86_64-w64-mingw32) MULE/6.0 (HANACHIRUSATO) MIME-Version: 1.0 (generated by SEMI-EPG 1.14.7 - "Harue") Content-Type: text/plain; charset=US-ASCII X-Provags-ID: V03:K0:3FbykXDY4bOeRGiW8YSvplRjKRucIXMoN5k38M+u7XBavrVpWNQ xgBIVh7a/2SUR87xqvQPpc2bPp5HcSUUVLZUFqXN9n6JXLy1M0eISEbZvouYT9gEtxMCDCL GdNMzxLMekFQeQYtuaiSBqlxz82X5amiTBI5vvovvmHLGQbpGxWCaXxfgDmNETO8vRJ5Xaf UKTZ3NzjNNf9WlaVvUy0Q== X-UI-Out-Filterresults: notjunk:1;V01:K0:Y+f41P1trPA=:BjaV+cg1EGDXkxq3OOsIIL NwufuiYcYz3Vfry6nyR9Anly36V6HEPdXD54cMJ52w4Gp8i2ue/Lr+K93g2sRmmjeafGAkoYZ tA1FsqhhkqMlkEqIt+jOSVjiTDSWpQiIMG+Ry0oFk8JJ1ZewjHjdzCQ/Y9wbQgzY/QzuGQ4g8 HAdbdBn7hFQhE/HxAfrGu54LO3V70/vzXGD8ROAW2iFv3FLgseUFZvuMkoz63IXyQcG71RW1V NvL6Qx6xJJKeEdKpG3/N1eQzZCMamjXvkkw/O9DsSDUQe/RtdKExW0kpXpD+DWb8RtoTOy84Y 1Uk0yo+JM+JG7jHHJudJoPArVKAuS8eSOnIpXvkwUKiv3K4wMqK4BGNHKcO9kbXfdN/8bf+Yp Sttjjcg1r89KPeIDZth8GAkQW/1FIgUkZmEg5RWhy1MRwCD8kW6bNLA9WVX7YfMipL7kvGr2q a1AkHOvD2OEzGk4UcZyYWyZGbU0FhA2tcSAnfqfpHGnZVjfqJF5GiJTVEeJUOd7cq5QPfGQPo 26v+hDBbpHgvSwg+9SF9pOB+hqYklHmTfACEnUlYZYaW43iWRUUaR0QYg/XamQbYg6DnQzEjq TLkVmVclj4EIsf6FlEMwfG3/5I8AvRql+4mS98+2yEs5X0uCRShEuxfMZkgu+e/nt7Y0Xj8kh deXIIewtDWVUBd83d3zUrp3yoEfDF1V0ZWu1aeNzuHnXtKyN273NXnsX11iEvxBjnSAXsI5DS eEBcYFHrUdMijy+VA52HaDMu2FsvcXeOKHlBI6fPi4/tL2MaJkVjHcUQTjI2gfjiR8LlVp16s BRFXJBW X-Spam-Score: -0.7 (/) 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 (/) Eli Zaretskii wrote: > > 4. Continue typing: the buffer update is slower than before > I cannot reproduce this on my system. > > 3. In all versions I tested for this report, C-u x = reports the same > > information for CIRCLED DIGIT EIGHT (I've replaced the troublesome > > unicode character by `(8)'): > > character: (8) (displayed as (8)) (codepoint 9319, #o22147, #x2467) > > ... > > display: by this font (glyph code) > > uniscribe:-outline-BatangChe-normal-normal-normal-mono-13-*-*-*-c-*-gb2312.1980-0 (#xF62) > Try installing Symbola, that's what Emacs uses on my system for that > character. 1. downloaded Symbola from http://users.teilar.gr/~g1951d/ 2. added this code to my .emacs.d/init.el file: (let ((unicode-fallback "Symbola")) (when (x-list-fonts unicode-fallback) (set-fontset-font "fontset-default" 'unicode (font-spec :name unicode-fallback)))) And my problem was solved. Now the font used for CIRCLED DIGIT EIGHT is -outline-Symbola-normal-normal-normal-serif-13-*-*-*-p-*-iso8859-1 Thanks, Eli! From unknown Fri Aug 08 22:17:20 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "Philippe Crama" Subject: bug#23291: closed (Re: bug#23291: Workaround for "25.0.92; Inserting unicode in buffer requiring a different font slows down Emacs") Message-ID: References: <83twj3c5yz.fsf@gnu.org> X-Gnu-PR-Message: they-closed 23291 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: moreinfo Reply-To: 23291@debbugs.gnu.org Date: Fri, 15 Apr 2016 14:18:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1460729882-9016-1" This is a multi-part message in MIME format... ------------=_1460729882-9016-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #23291: 25.0.92; Inserting unicode in buffer requiring a different font slo= ws down Emacs which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 23291@debbugs.gnu.org. --=20 23291: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D23291 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1460729882-9016-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 23291-done) by debbugs.gnu.org; 15 Apr 2016 14:17:07 +0000 Received: from localhost ([127.0.0.1]:36861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ar4YV-0002KM-Lk for submit@debbugs.gnu.org; Fri, 15 Apr 2016 10:17:07 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56671) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ar4YU-0002Jq-Ab for 23291-done@debbugs.gnu.org; Fri, 15 Apr 2016 10:17:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ar4YM-0005xQ-1O for 23291-done@debbugs.gnu.org; Fri, 15 Apr 2016 10:17:01 -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.2 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:56101) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ar4YL-0005xL-Ty; Fri, 15 Apr 2016 10:16:57 -0400 Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2076 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ar4YL-0008Cl-AF; Fri, 15 Apr 2016 10:16:57 -0400 Date: Fri, 15 Apr 2016 17:16:36 +0300 Message-Id: <83twj3c5yz.fsf@gnu.org> From: Eli Zaretskii To: Philippe Crama In-reply-to: <7zr3e7nh9f.wl-phcrama.work@gmx.com> (message from Philippe Crama on Fri, 15 Apr 2016 15:17:16 +0200) Subject: Re: bug#23291: Workaround for "25.0.92; Inserting unicode in buffer requiring a different font slows down Emacs" References: <7zr3e7nh9f.wl-phcrama.work@gmx.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -6.0 (------) X-Debbugs-Envelope-To: 23291-done Cc: 23291-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: , Reply-To: Eli Zaretskii Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -6.0 (------) > Date: Fri, 15 Apr 2016 15:17:16 +0200 > From: Philippe Crama > > > Try installing Symbola, that's what Emacs uses on my system for that > > character. > > 1. downloaded Symbola from http://users.teilar.gr/~g1951d/ > 2. added this code to my .emacs.d/init.el file: > (let ((unicode-fallback "Symbola")) > (when (x-list-fonts unicode-fallback) > (set-fontset-font "fontset-default" > 'unicode > (font-spec :name unicode-fallback)))) Did you really need that addition? Emacs 25 should use Symbola by default (if available) for the Unicode block of characters that includes u+2467 CIRCLED DIGIT EIGHT. Perhaps you customized fontset-default to countermand that? > And my problem was solved. Now the font used for CIRCLED DIGIT EIGHT > is -outline-Symbola-normal-normal-normal-serif-13-*-*-*-p-*-iso8859-1 > > Thanks, Eli! Thanks, I'm closing this bug. ------------=_1460729882-9016-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 14 Apr 2016 19:33:17 +0000 Received: from localhost ([127.0.0.1]:35663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqn0u-00055p-Pq for submit@debbugs.gnu.org; Thu, 14 Apr 2016 15:33:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:37115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aqmx0-0004yD-O7 for submit@debbugs.gnu.org; Thu, 14 Apr 2016 15:29:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqmwr-0007Un-Vr for submit@debbugs.gnu.org; Thu, 14 Apr 2016 15:29:09 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: *** X-Spam-Status: No, score=3.5 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,MIME_HTML_ONLY,XPRIO autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:51966) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqmwr-0007Uj-Sh for submit@debbugs.gnu.org; Thu, 14 Apr 2016 15:29:05 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:56289) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqmwo-00075Z-Bu for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2016 15:29:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqmwk-0007Tf-K2 for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2016 15:29:02 -0400 Received: from mout.gmx.net ([212.227.15.18]:54818) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqmwk-0007TR-AV for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2016 15:28:58 -0400 Received: from [109.134.202.84] by 3capp-mailcom-bs10.server.lan (via HTTP); Thu, 14 Apr 2016 21:28:55 +0200 MIME-Version: 1.0 Message-ID: From: "Philippe Crama" To: bug-gnu-emacs@gnu.org Subject: 25.0.92; Inserting unicode in buffer requiring a different font slows down Emacs Content-Type: text/html; charset=UTF-8 Date: Thu, 14 Apr 2016 21:28:55 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K0:rpNA8D9k9VuptqyKQcptJSAX/gXPUYUz5BtxY4u7A0h CGMm+6E8K20bMkhU/zSKSFkhbZcysPfaYU2Hlp8N8R9M2NkGly 3GVtY09cezfB4xe+ZRT7BWHcgk1E9Rbmfz9PAQJY/0e+ZJ+1RW RNmCEtc2YVukxnHlyaTMfRuWmvPeOA8KCKnFVjsTzg2oFhQ7TG aCBokvsgDyuDqawIf19rAocsep2eZQOefqHSHy+1BL4Y66Vk6H wCdShpl5HtUW6UOkGnK+DnYgjqxbfsMNTde0SBDVqzWmi0f38A gIcatvP638v4VuVjxMU6EVGwEVN X-UI-Out-Filterresults: notjunk:1;V01:K0:jdS3BuR5W4s=:zsgdwfC0W3i//2b8tsioYL 4DsKa8QwHr74n90jCD5MexLlOGDPQK688XEOsjaH6CU3FR/xBUuOU7x1H5YBCyJ/n2za5N+iw x3zvMmWtkrX+CQDLOsGbfAJ6EssYGD7KgpQpU7h1YuC+zQ/gRLTy1n5pYJMnq5qUw4ZMwJxmJ l9euQ5B5YpeI5ctPY/as/4Qd3wC3cy6ut/xhOIUKvi23pLeLJJJn2nFykfUS6oXRraEh4+eZw 3HsWIQwS4Itqzr9Plm/qRKmGjgyA4IlYldE5ZfQnMKgQt4DEjthlrpELhzXN4ZzRW+Ycqqvij DwCbGz8nTHKko18bzk6LFioeQUb6pLnepu8DtxfPjnRuz3FgBpasKKrTuX2EYqdSiBirrEBPl VCbSYRzprQtwkhdgKkzrxGSK/pM6gJRta34bZdacD1XvlPHkNpUAqULtFRt42L3U8ylSDiDpy yl9SZp4NBA== 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: -1.0 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 14 Apr 2016 15:33:15 -0400 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: -3.0 (---)
1. Go to the *scratch* buffer or create a new buffer in fundamental mode
2. Observe that Emacs is quite responsive when typing random ASCII
   characters
3. Insert (C-x 8 RET) a CIRCLED DIGIT EIGHT into the buffer
4. Continue typing: the buffer update is slower than before
5. Switch to another buffer and observe that Emacs is still as
   responsive there as in step 2 once the slow buffer switch
   happened.
Extra info:
1. This issue is
   - NOT in Emacs 24.5 (GNU Emacs 24.5.1 (i686-pc-mingw32) of 2015-04-11
     on LEG570 downloaded from http://gnu.xl-mirror.nl/emacs/windows/
   - already in emacs-25.0.90-i686-w64-mingw32 (dowloaded
     from the same http://alpha.gnu.org/gnu/emacs/windows/)
2. Characters from the ISO-8859-1 set (e.g. LATIN SMALL LETTER E WITH
   ACUTE=C-x 8 ' e) do not have this problem.  Upon consideration, it's
   maybe a question of font: this issue doesn’t happen for “RIGHTWARDS ARROW”
   (C-x 8 a >).  C-u x = reports:
                     position: 125 of 144 (86%), column: 54
                    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 undecided-unix
                      display: by this font (glyph code)
            uniscribe:-outline-Input-normal-normal-normal-mono-13-*-*-*-c-*-iso8859-1 (#x21E)
        Character code properties: customize what to show
          name: RIGHTWARDS ARROW
          old-name: RIGHT ARROW
          general-category: Sm (Symbol, Math)
          decomposition: (8594) ('→')
        There are text properties here:
          fontified            t
3. In all versions I tested for this report, C-u x = reports the same
   information for CIRCLED DIGIT EIGHT (I've replaced the troublesome
   unicode character by `(8)'):
                  character: (8) (displayed as (8)) (codepoint 9319, #o22147, #x2467)
          preferred charset: unicode (Unicode (ISO10646))
      code point in charset: 0x2467
                     script: symbol
                     syntax: _         which means: symbol
                   category: .:Base, c:Chinese, h:Korean, j:Japanese
                   to input: type "C-x 8 RET 2467" or "C-x 8 RET CIRCLED DIGIT EIGHT"
                buffer code: #xE2 #x91 #xA7
                  file code: #xE2 #x91 #xA7 (encoded by coding system utf-8-dos)
                    display: by this font (glyph code)
          uniscribe:-outline-BatangChe-normal-normal-normal-mono-13-*-*-*-c-*-gb2312.1980-0 (#xF62)
      Character code properties: customize what to show
        name: CIRCLED DIGIT EIGHT
        general-category: No (Number, Other)
        decomposition: (circle 56) (circle '8')
In GNU Emacs 25.0.92.1 (i686-w64-mingw32) of 2016-03-21 built on LAPHROAIG
Windowing system distributor 'Microsoft Corp.', version 6.1.7601
Configured using:
'configure --host=i686-w64-mingw32 --without-dbus
--without-compress-install CFLAGS=-static'
Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS
Important settings:
  value of $LANG: en_US.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
Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list... [3 times]
Load-path shadows:
None found.
Features:
(shadow sort mail-extr emacsbug message dired format-spec rfc822 mml
        mml-sec epg epg-config gnus-util mm-decode mm-bodies mm-encode
        mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047
        rfc2045 ietf-drums mm-util help-fns help-mode easymenu cl-loaddefs pcase
        cl-lib mail-prsvr mail-utils iso-transl time-date mule-util tooltip
        eldoc electric uniquify ediff-hook vc-hooks lisp-float-type mwheel
        dos-w32 ls-lisp disp-table w32-win w32-vars term/common-win tool-bar dnd
        fontset image regexp-opt fringe tabulated-list newcomment elisp-mode
        lisp-mode prog-mode register page menu-bar rfn-eshadow timer select
        scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame
        cl-generic cham georgian utf-8-lang misc-lang vietnamese tibetan thai
        tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian
        slovak czech european ethiopic indian cyrillic chinese charscript
        case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer
        cl-preloaded nadvice loaddefs button faces cus-face macroexp files
        text-properties overlay sha1 md5 base64 format env code-pages mule
        custom widget hashtable-print-readable backquote w32notify w32 multi-tty
        make-network-process emacs)
Memory information:
((conses 8 173134 14084)
(symbols 32 30311 0)
(miscs 32 43 119)
(strings 16 66961 7694)
(string-bytes 1 1488651)
(vectors 8 13576)
(vector-slots 4 563074 23106)
(floats 8 164 59)
(intervals 28 555 1222)
(buffers 520 12))
 
------------=_1460729882-9016-1--