From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.devel Subject: RE: Feature request : Tab-completion for 'shell-comand' Date: Thu, 6 Mar 2008 08:14:20 -0800 Message-ID: <009201c87fa5$25a80980$0600a8c0@us.oracle.com> 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" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1204820358 18959 80.91.229.12 (6 Mar 2008 16:19:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 6 Mar 2008 16:19:18 +0000 (UTC) Cc: 'Michael Albinus' , 'TSUCHIYA Masatoshi' , emacs-devel@gnu.org To: "'Stefan Monnier'" , "'Juri Linkov'" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 06 17:19:34 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 1JXIo8-0006Sl-IM for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2008 17:19:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXIna-0006hf-Vb for ged-emacs-devel@m.gmane.org; Thu, 06 Mar 2008 11:18:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JXIka-0005MG-P5 for emacs-devel@gnu.org; Thu, 06 Mar 2008 11:15:20 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JXIkY-0005Lv-3O for emacs-devel@gnu.org; Thu, 06 Mar 2008 11:15:19 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JXIkX-0005Ls-UT for emacs-devel@gnu.org; Thu, 06 Mar 2008 11:15:18 -0500 Original-Received: from rgminet01.oracle.com ([148.87.113.118]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JXIkX-0002pr-Jl for emacs-devel@gnu.org; Thu, 06 Mar 2008 11:15:17 -0500 Original-Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213]) by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m26GFCha027611; Thu, 6 Mar 2008 09:15:12 -0700 Original-Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150]) by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m26CLDx8016382; Thu, 6 Mar 2008 09:15:11 -0700 Original-Received: from inet-141-146-46-1.oracle.com by acsmt350.oracle.com with ESMTP id 3602002341204820048; Thu, 06 Mar 2008 08:14:08 -0800 Original-Received: from dradamslap1 (/141.144.72.2) by bhmail.oracle.com (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 06 Mar 2008 08:14:08 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 Thread-Index: Ach/o9DTJkS4Va9aQly3WfO0Qjov6QAAPkfw X-Brightmail-Tracker: AAAAAQAAAAI= X-Brightmail-Tracker: AAAAAQAAAAI= X-Whitelist: TRUE X-Whitelist: TRUE X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 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:91503 Archived-At: > 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. Haven't followed this thread, but FWIW, I use this a lot: (defun icicle-msg-maybe-in-minibuffer (format-string &rest args) "Display FORMAT-STRING as a message. If called with the minibuffer inactive, this is done using `message'. Otherwise, it is done using `minibuffer-message'." (if (active-minibuffer-window) (save-selected-window (select-window (minibuffer-window)) (minibuffer-message (apply #'format (concat " [" format-string "]") args))) (apply #'message format-string args)))