[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: set-fontset-font is slow if the fontset is specified by a long name
From: |
Kenichi Handa |
Subject: |
Re: set-fontset-font is slow if the fontset is specified by a long name |
Date: |
Fri, 5 Nov 2004 08:56:58 +0900 (JST) |
User-agent: |
SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/21.3 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI) |
In article <address@hidden>, Richard Stallman <address@hidden> writes:
> That's a good idea. I've just installed this change.
> 2004-11-04 Kenichi Handa <address@hidden>
> * fontset.c (fontset_pattern_regexp): If '*' is preceded by '\',
> treat it as a literal character.
> The code looks wrong to me, because it does not discard the \.
As this function returns a regular expression, we should not
discard `\'. Otherwise, `*'s are treated as a special
character matching the preceding char repetitively in
fast_string_match later.
> Does that really work?
I've done a few tests and confirmed it worked.
---
Ken'ichi HANDA
address@hidden