emacs-devel
[Top][All Lists]
Advanced

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

Re: Feature request : Tab-completion for 'shell-comand'


From: Juri Linkov
Subject: Re: Feature request : Tab-completion for 'shell-comand'
Date: Thu, 06 Mar 2008 19:48:28 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-unknown-linux-gnu)

>> Yes, these messages overwrite the minibuffer, but instead of temporarily
>> redefining the function `message' as in shell-command.el, it would be
>> better to fix comint.el and shell.el to not display completion messages
>> when the minibuffer is active.  These files already contain places where
>> this check is done this way:
>
>>     (unless (window-minibuffer-p (selected-window))
>>       (message "Completing file name..."))
>
> I think that when the minibuffer is active, we should still output
> a message, only differently (as does minibuffer-message).  Maybe just
> using minibuffer-message (and changing it so it uses plain "message"
> when the minibuffer is not active) would do the trick.

This will require changes in a lot of places to replace `message' with
`minibuffer-message'.

But maybe `message' should take care of the active minibuffer and
display the message at the end of the minibiffer when it is active
using `minibuffer-message'?

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

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