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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Glenn Morris <rgm@HIDDEN>; dated Thu, 15 Nov 2012 07:40:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 15 Nov 2012 07:40:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Nov 15 02:40:00 2012
Received: from localhost ([127.0.0.1]:43721 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TYu3M-0004z9-3Z
	for submit <at> debbugs.gnu.org; Thu, 15 Nov 2012 02:40:00 -0500
Received: from fencepost.gnu.org ([208.118.235.10]:44273)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <rgm@HIDDEN>) id 1TYu3I-0004z0-UI
	for submit <at> debbugs.gnu.org; Thu, 15 Nov 2012 02:39:57 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1TYu2e-0007zD-LO; Thu, 15 Nov 2012 02:39:16 -0500
From: Glenn Morris <rgm@HIDDEN>
To: submit <at> debbugs.gnu.org
Subject: read-face-attribute,
	face-valid-attribute-values do not handle all :underline etc forms
X-Spook: Rule Psix Waco, Texas radar basement Al Jazeera Delta
X-Ran: 5)^zq4!1\aPaESWN?sb$CcRx`%[g=0Sa7pFM-.&nauZ?yl/A%?(5|sJiWJ?+9gEm;uxVNy
X-Hue: magenta
X-Debbugs-No-Ack: yes
X-Attribution: GM
Date: Thu, 15 Nov 2012 02:39:16 -0500
Message-ID: <himwyjs4bf.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.4 (----)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.4 (----)

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.




Report forwarded to bug-gnu-emacs@HIDDEN:
bug#12890; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

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