emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: read-face-name PROMPT arg should be self-contained, including ": "


From: Stefan Monnier
Subject: Re: read-face-name PROMPT arg should be self-contained, including ": "
Date: Sun, 18 Mar 2007 22:39:29 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.95 (gnu/linux)

>> `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 via email to

[Prev in Thread] Current Thread [Next in Thread]