[Top][All Lists]

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

Re: map-y-or-n does not use minibuffer-prompt face

From: Lennart Borgman (gmail)
Subject: Re: map-y-or-n does not use minibuffer-prompt face
Date: Tue, 27 Feb 2007 11:11:51 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20061207 Thunderbird/ Mnenhy/

Kim F. Storm wrote:

Well, I would consider that to be rather obscure.
By definition, minibuffer-prompt is the face for minibuffer prompts,
and it should be safe to assume that, and not have to wade through
minibuffer-prompt-properties to see if the user has specified a
different face for the face property.

Placing some other face in minibuffer-prompt-properties
is against the intentions of that I think.

So IMO it is pretty obscure to allow the user to modify the
face property in the defcustom for minibuffer-prompt-properties.
If anything, it should be a boolean which says:

  [x] use minibuffer-prompt face

instead of allowing the user to change the face used.

I do not think it is that obscure. There is however a variable missing here, the defvar minibuffer-prompt. Normally there is such variable pointing to the face. The purpose is to make customizations easier.

However in this case it is omitted. If I remember correctly it was omitted because it seemed unnecessary when minibuffer-prompt-properties could be changed instead. (I think RMS did it this way.)

reply via email to

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