unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: 12890@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	[thread overview]
Message-ID: <himwyjs4bf.fsf@fencepost.gnu.org> (raw)

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.





             reply	other threads:[~2012-11-15  7:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-15  7:39 Glenn Morris [this message]
2022-05-10 12:19 ` bug#12890: read-face-attribute, face-valid-attribute-values do not handle all :underline etc forms Lars Ingebrigtsen
2022-06-09 14:08   ` Lars Ingebrigtsen
2022-07-11 13:12     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=himwyjs4bf.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=12890@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).