unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#23291: 25.0.92; Inserting unicode in buffer requiring a different font slows down Emacs
@ 2016-04-14 19:28 Philippe Crama
  2016-04-14 19:57 ` Eli Zaretskii
  2016-04-15 13:17 ` bug#23291: Workaround for "25.0.92; Inserting unicode in buffer requiring a different font slows down Emacs" Philippe Crama
  0 siblings, 2 replies; 4+ messages in thread
From: Philippe Crama @ 2016-04-14 19:28 UTC (permalink / raw)
  To: 23291

[-- Attachment #1: Type: text/html, Size: 9935 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#23291: 25.0.92; Inserting unicode in buffer requiring a different font slows down Emacs
  2016-04-14 19:28 bug#23291: 25.0.92; Inserting unicode in buffer requiring a different font slows down Emacs Philippe Crama
@ 2016-04-14 19:57 ` Eli Zaretskii
  2016-04-15 13:17 ` bug#23291: Workaround for "25.0.92; Inserting unicode in buffer requiring a different font slows down Emacs" Philippe Crama
  1 sibling, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2016-04-14 19:57 UTC (permalink / raw)
  To: Philippe Crama; +Cc: 23291

> 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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#23291: Workaround for "25.0.92; Inserting unicode in buffer requiring a different font slows down Emacs"
  2016-04-14 19:28 bug#23291: 25.0.92; Inserting unicode in buffer requiring a different font slows down Emacs Philippe Crama
  2016-04-14 19:57 ` Eli Zaretskii
@ 2016-04-15 13:17 ` Philippe Crama
  2016-04-15 14:16   ` Eli Zaretskii
  1 sibling, 1 reply; 4+ messages in thread
From: Philippe Crama @ 2016-04-15 13:17 UTC (permalink / raw)
  To: 23291

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!





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#23291: Workaround for "25.0.92; Inserting unicode in buffer requiring a different font slows down Emacs"
  2016-04-15 13:17 ` bug#23291: Workaround for "25.0.92; Inserting unicode in buffer requiring a different font slows down Emacs" Philippe Crama
@ 2016-04-15 14:16   ` Eli Zaretskii
  0 siblings, 0 replies; 4+ messages in thread
From: Eli Zaretskii @ 2016-04-15 14:16 UTC (permalink / raw)
  To: Philippe Crama; +Cc: 23291-done

> Date: Fri, 15 Apr 2016 15:17:16 +0200
> From: Philippe Crama <phcrama.work@gmx.com>
> 
> > 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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-04-15 14:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-14 19:28 bug#23291: 25.0.92; Inserting unicode in buffer requiring a different font slows down Emacs Philippe Crama
2016-04-14 19:57 ` Eli Zaretskii
2016-04-15 13:17 ` bug#23291: Workaround for "25.0.92; Inserting unicode in buffer requiring a different font slows down Emacs" Philippe Crama
2016-04-15 14:16   ` Eli Zaretskii

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).