all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org
Subject: Re: default for read-face-name
Date: Fri, 25 Jun 2010 00:59:18 +0300	[thread overview]
Message-ID: <87k4pob1i6.fsf@mail.jurta.org> (raw)
In-Reply-To: <185018306ABA436BB6313CD88A023B70@us.oracle.com> (Drew Adams's message of "Tue, 22 Jun 2010 18:31:38 -0700")

> WDOT?

Please see how STRING-DESCRIBING-DEFAULT is used in `customize-face'
where "all faces" means that nil returned from `read-face-name'
forces it to use all faces.

We could keep this functionality and also allow specifying the default
face like you proposed.  It is possible to distinguish two cases
by checking if STRING-DESCRIBING-DEFAULT is a string (to be used in prompt)
or a face (for the default value).

-- 
Juri Linkov
http://www.jurta.org/emacs/



  reply	other threads:[~2010-06-24 21:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-23  1:31 default for read-face-name Drew Adams
2010-06-24 21:59 ` Juri Linkov [this message]
2010-06-24 22:23   ` Drew Adams
2010-06-25 19:59     ` Juri Linkov
2010-06-25 21:14       ` Drew Adams
2010-06-29 20:03         ` Juri Linkov
2010-06-29 20:17           ` Drew Adams
2010-06-30  8:09             ` Juri Linkov

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

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

  git send-email \
    --in-reply-to=87k4pob1i6.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.