[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Two bugs in customize-face
From: |
Eli Zaretskii |
Subject: |
Re: Two bugs in customize-face |
Date: |
Sun, 28 Oct 2001 14:06:37 +0200 (IST) |
On Fri, 26 Oct 2001, Claus Tondering wrote:
> Second bug: If I position the cursor in the forground color field and
> invoke widget-complete, I correctly get a list of legal values. But if
> I position the cursor in the font family field and invoke
> widget-complete, an ispell session is started! And if I position the
> cursor in the height scale field and invoke widget-complete, Emacs
> tells me "complete-tag: No tags table loaded; try M-x
> visit-tags-table". This happens regardless of wheter I use a key
> binding or "M-x widget-complete" to execute widget-complete.
LOL! That's supposed to be a feature ;-) No, really...
What is you see is widget completion in action: for the height scale
button, it calls complete-symbol, while for the font family, it invokes
ispell-complete-word. Of course, the former will not work without a TAGS
table, while the latter has only small chances to complete font family
names such as "dingbats", but evidently that's how those widgets were
defined.
I guess it would be much better to use lisp-complete-symbol instead of
complete-symbol, and replace ispell-complete-word with something that
completes only on font families of installed fonts.