GNU bug report logs - #12890
read-face-attribute, face-valid-attribute-values do not handle all :underline etc forms

Previous Next

Package: emacs;

Reported by: Glenn Morris <rgm <at> gnu.org>

Date: Thu, 15 Nov 2012 07:40:02 UTC

Severity: normal

Tags: moreinfo

Found in version 24.2.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: 12890 <at> debbugs.gnu.org
Subject: bug#12890: read-face-attribute, face-valid-attribute-values do not handle all :underline etc forms
Date: Thu, 15 Nov 2012 02:39:16 -0500
Package: emacs
Version: 24.2.50

You can't use read-face-attribute to set list values for :box, :stipple,
or :underline:

emacs -Q --eval "(read-face-attribute 'underline :underline)"
Start to enter: (:color "red")
and get stopped with "no match" when you type the space.
If you force it with C-q space, it takes your input and returns it, but
silently does not actually set the :underline attribute to it.

This is because face-valid-attribute-values does not return such values.

This affects eg M-x set-face-underline.




This bug report was last modified 2 years and 319 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.