emacs-pretest-bug
[Top][All Lists]
Advanced

[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: Sat, 6 Nov 2004 11:32:34 +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:

>     As this function returns a regular expression, we should not
>     discard `\'.

> I see.  So regexp processing will handle quoting by \ later.

> Will the wrong thing happen in a case like \\*?
> There the \\ is a quoted \, and the * is not quoted.

You are right.  But, before fixing it, I re-considered the
current problem.  The basic problem is that set-fontset-font
and fontset-info doesn't treat the given name as literal.  I
think accepting '*' as a wildcard in query-fontset is
useful, but not in set-fontset-font and fontset-info.

So, I'd like to change them to treat NAME as literal.  And,
for backward compatibilty, if there's no such a fontset,
treat NAME as a pattern containing wildcards and search for
a fontset matching it.

Then, we don't have to ask users to escape '*' by '\'.

---
Ken'ichi HANDA
address@hidden




reply via email to

[Prev in Thread] Current Thread [Next in Thread]