unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: emacs-devel@gnu.org
Subject: Re: read-face-name PROMPT arg should be self-contained, including ": "
Date: Sun, 18 Mar 2007 22:39:29 -0400	[thread overview]
Message-ID: <jwv1wjmuff3.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <EIENLHALHGIMHGDOLMIMEEOECPAA.drew.adams@oracle.com> (Drew Adams's message of "Sun\, 18 Mar 2007 15\:07\:34 -0700")

>> `read-face-name' still blindly appends ": " to the prompt it
>> is supplied.
>> 
>> I thought of `read-face-name' as an internal function, not for
>> users to use.
>> But I agree that it could be useful for user code to call.
>> So I'm not against making this change.  I see that all the callers
>> within Emacs are easy to change.
>> 
>> If someone wants to do it, please do it.

> Thanks, I hope someone does.

> BTW, for sometime after the release, we might consider adding an optional
> history-list arg to `read-face-name', so accessing history entries doesn't
> include non-face stuff.

I was recently thinking that rather than adding new history vars everywhere
all the time, we could change the history navigation to automatically skip
entries which are not completion candidates (at least for those cases that
are `must-match').


        Stefan

  reply	other threads:[~2007-03-19  2:39 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <BDEIJAFNGDOAGCJIPKPBCEBOCCAA.drew.adams@oracle.com>
2007-03-17 19:13 ` read-face-name PROMPT arg should be self-contained, including ": " Drew Adams
2007-03-18 12:19   ` Richard Stallman
2007-03-18 22:07     ` Drew Adams
2007-03-19  2:39       ` Stefan Monnier [this message]
2007-03-19 14:29         ` Drew Adams
2007-03-19 14:57           ` Stefan Monnier
2007-03-19 17:24             ` Drew Adams
2007-03-19 19:43               ` Stefan Monnier
2007-03-19 20:07                 ` Drew Adams
2007-03-19 20:15                   ` Tamas Patrovics
2007-03-19 18:10         ` Richard Stallman
2007-03-19 19:42           ` Stefan Monnier
2007-03-20 16:13             ` Richard Stallman
2007-03-21  3:47               ` Stefan Monnier
2007-04-02 16:59       ` Drew Adams

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=jwv1wjmuff3.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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 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).