[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
set-fontset-font is slow if the fontset is specified by a long name
From: |
YAMAMOTO Mitsuharu |
Subject: |
set-fontset-font is slow if the fontset is specified by a long name |
Date: |
Sun, 24 Oct 2004 16:29:58 +0900 (JST) |
User-agent: |
SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
When a fontset name is specified in a long format, set-fontset-font
takes much time to complete. For example, the evaluation of the
following expression terminates instantly.
(dotimes (i 100)
(set-fontset-font "fontset-default"
'latin-iso8859-1
'("helvetica" . "iso8859-1")))
But if we replace "fontset-default" with
"-*-*-*-*-*-*-*-*-*-*-*-*-fontset-default", then it becomes much
slower.
(dotimes (i 100)
(set-fontset-font "-*-*-*-*-*-*-*-*-*-*-*-*-fontset-default"
'latin-iso8859-1
'("helvetica" . "iso8859-1")))
Of course, "-*-*-*-*-*-*-*-*-*-*-*-*-fontset-default" is contained in
the result of (fontset-list).
YAMAMOTO Mitsuharu
address@hidden
In GNU Emacs 21.3.50.1 (sparc-sun-solaris2.8, X toolkit, Xaw3d scroll bars)
of 2004-10-24 on church
configured using `configure '--x-libraries=/usr/local/lib' 'CFLAGS=-O2 -mv8''
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: ja
locale-coding-system: japanese-iso-8bit
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
display-time-mode: t
tool-bar-mode: t
mouse-wheel-mode: t
menu-bar-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
line-number-mode: t
- set-fontset-font is slow if the fontset is specified by a long name,
YAMAMOTO Mitsuharu <=
- Re: set-fontset-font is slow if the fontset is specified by a long name, Kenichi Handa, 2004/10/24
- Re: set-fontset-font is slow if the fontset is specified by a long name, YAMAMOTO Mitsuharu, 2004/10/24
- Re: set-fontset-font is slow if the fontset is specified by a long name, Kenichi Handa, 2004/10/25
- Re: set-fontset-font is slow if the fontset is specified by a long name, YAMAMOTO Mitsuharu, 2004/10/25
- Re: set-fontset-font is slow if the fontset is specified by a long name, Kenichi Handa, 2004/10/25
- Re: set-fontset-font is slow if the fontset is specified by a long name, Richard Stallman, 2004/10/26
- Re: set-fontset-font is slow if the fontset is specified by a long name, Kenichi Handa, 2004/10/27
- Re: set-fontset-font is slow if the fontset is specified by a long name, Richard Stallman, 2004/10/29
- Re: set-fontset-font is slow if the fontset is specified by a long name, Kenichi Handa, 2004/10/29
- Re: set-fontset-font is slow if the fontset is specified by a long name, Richard Stallman, 2004/10/30