emacs-devel
[Top][All Lists]
Advanced

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

Re: Annoying paren match messages in minibuffer


From: Stefan Monnier
Subject: Re: Annoying paren match messages in minibuffer
Date: Fri, 16 Jan 2009 15:52:18 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> Say you have a M-x minibuffer open but you've switched to some other
>> buffer, say a shell buffer and you're using completion and the
>> completion code needs to say "Sole completion": your suggestion would
>> cause a " [Sole completion]" message to be added at the end of the M-x
>> minibuffer (i.e. an unrelated minibuffer), rather than replacing
>> it altogether.

> No, it would not, because I would not use the DWIM function
> (`msg-maybe-in-minibuffer') to display such a message.  I would not,
> because the shell completion code in question is not using the
> minibuffer, and it is unlikely that it would ever be called from
> the minibuffer.

Huh?  The shell completion is used in M-! 

Also I have some work-in-progress patches to replace some of the shell
and lisp-symbol completion code (and sym-comp.el) to use
minibuffer-complete.  There very much is a need for this completion code
to magically decide when to use message and when to use
minibuffer-message, and until now the best test I've found is
minibufferp, not active-minibuffer-window.


        Stefan




reply via email to

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