From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Philippe Crama" Newsgroups: gmane.emacs.bugs Subject: bug#23291: 25.0.92; Inserting unicode in buffer requiring a different font slows down Emacs Date: Thu, 14 Apr 2016 21:28:55 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/html; charset=UTF-8 X-Trace: ger.gmane.org 1460662466 321 80.91.229.3 (14 Apr 2016 19:34:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Apr 2016 19:34:26 +0000 (UTC) To: 23291@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 14 21:34:14 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aqn1p-0001fx-R4 for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Apr 2016 21:34:14 +0200 Original-Received: from localhost ([::1]:45371 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqn1p-0005tA-BK for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Apr 2016 15:34:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqn1i-0005ja-EI for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2016 15:34:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqn1e-0000jn-O7 for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2016 15:34:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51561) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqn1e-0000jS-Kl for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2016 15:34:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aqn1e-00056w-ED for bug-gnu-emacs@gnu.org; Thu, 14 Apr 2016 15:34:02 -0400 X-Loop: help-debbugs@gnu.org 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: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.146066239719585 (code B ref -1); Thu, 14 Apr 2016 19:34:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Apr 2016 19:33:17 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-Received: from [109.134.202.84] by 3capp-mailcom-bs10.server.lan (via HTTP); 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-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 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:116475 Archived-At:
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))