From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Feature request : Tab-completion for 'shell-comand' Date: Thu, 06 Mar 2008 11:04:07 -0500 Message-ID: References: <874pbmjgsy.fsf@gmx.de> <874pbknt3j.fsf@tsuchiya.vaj.namazu.org> <87mypccg6r.fsf@jurta.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1204819534 15356 80.91.229.12 (6 Mar 2008 16:05:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2008 16:05:34 +0000 (UTC) Cc: Michael Albinus , TSUCHIYA Masatoshi , emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 06 17:05:54 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JXIaO-0000EE-QF for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2008 17:04:49 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXIZr-0007MJ-Dc for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2008 11:04:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JXIZm-0007Le-SU for emacs-devel@gnu.org; Thu, 06 Mar 2008 11:04:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JXIZl-0007LS-Bn for emacs-devel@gnu.org; Thu, 06 Mar 2008 11:04:10 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXIZl-0007LP-4v for emacs-devel@gnu.org; Thu, 06 Mar 2008 11:04:09 -0500 Original-Received: from ironport2-out.pppoe.ca ([206.248.154.182]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JXIZk-00004t-MO for emacs-devel@gnu.org; Thu, 06 Mar 2008 11:04:08 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CADelz0fO+LKX/2dsb2JhbACsOIEH X-IronPort-AV: E=Sophos;i="4.25,456,1199682000"; d="scan'208";a="15660319" Original-Received: from smtp.pppoe.ca ([65.39.196.238]) by ironport2-out.pppoe.ca with ESMTP; 06 Mar 2008 11:04:08 -0500 Original-Received: from pastel.home ([206.248.178.151]) by smtp.pppoe.ca (Internet Mail Server v1.0) with ESMTP id MTK14008; Thu, 06 Mar 2008 11:04:08 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id CC346816B; Thu, 6 Mar 2008 11:04:07 -0500 (EST) In-Reply-To: <87mypccg6r.fsf@jurta.org> (Juri Linkov's message of "Thu, 06 Mar 2008 12:04:36 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:91499 Archived-At: > 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. Stefan