From: "Drew Adams" <drew.adams@oracle.com>
To: <emacs-devel@gnu.org>
Subject: RE: read-face-name PROMPT arg should be self-contained, including ": "
Date: Mon, 19 Mar 2007 07:29:06 -0700 [thread overview]
Message-ID: <EIENLHALHGIMHGDOLMIMAEOJCPAA.drew.adams@oracle.com> (raw)
In-Reply-To: <jwv1wjmuff3.fsf-monnier+emacs@gnu.org>
> >> `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').
Hmm, maybe. It's worth thinking about, anyway.
Considerations:
. That would tie history cycling to the current typed input, rather than
letting you access any history entry. That is, history cycling would be
among matches only. Would that be good or bad? For non-`must-match', at
least, that might be a nuisance, requiring you to first clear the
minibuffer.
. We already have one way to match against the history, though it is
limited, giving you only the first match.
. It would not really be "rather than", because a history var, if available,
is more efficient. IOW, it would be good, in any case, to _allow_ use of a
history var.
next prev parent reply other threads:[~2007-03-19 14:29 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
2007-03-19 14:29 ` Drew Adams [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=EIENLHALHGIMHGDOLMIMAEOJCPAA.drew.adams@oracle.com \
--to=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.