emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: isearch and Input Methods


From: Richard Stallman
Subject: Re: isearch and Input Methods
Date: Wed, 07 Mar 2007 12:25:53 -0500

    > One possibility is to copy minibuffer-prompt-properties,
    > delete the read-only property, and install the rest.

    With my patch to minibuf.c, we wouldn't need to do that.

How is that?

    But it just feels wrong to apply minibuffer-prompt-properties twice (once
    in isearch-message-prefix and once in read-from-minibuffer).

It does not seem wrong to me.  It is unnecessary, so if the message
made in isearch-message-prefix were always passed to read-from-minibuffer,
it would be silly to do this in isearch-message-prefix.  But the fact is
that message is sometimes displayed in other ways.  So what's wrong with
applying the properties there, even if sometimes it is unnecessary?

We could also apply all of minibuffer-prompt-properties but only in the case
where it will not be passed to read-from-minibuffer.  That way it won't
ever be done twice.




reply via email to

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