From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: Feature request : Tab-completion for 'shell-comand' Date: Sun, 09 Mar 2008 00:21:42 +0200 Organization: JURTA Message-ID: <87abl8svpl.fsf@jurta.org> 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 1205015343 8729 80.91.229.12 (8 Mar 2008 22:29:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Mar 2008 22:29:03 +0000 (UTC) Cc: emacs-devel@gnu.org, michael.albinus@gmx.de, Stefan Monnier , tsuchiya@namazu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 08 23:29:30 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 1JY7Xk-00064v-9J for ged-emacs-devel@m.gmane.org; Sat, 08 Mar 2008 23:29:28 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JY7XC-0007si-6R for ged-emacs-devel@m.gmane.org; Sat, 08 Mar 2008 17:28:54 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JY7Wd-0007Sd-GQ for emacs-devel@gnu.org; Sat, 08 Mar 2008 17:28:19 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JY7Wc-0007S1-HA for emacs-devel@gnu.org; Sat, 08 Mar 2008 17:28:18 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JY7Wc-0007Rq-Am for emacs-devel@gnu.org; Sat, 08 Mar 2008 17:28:18 -0500 Original-Received: from relay01.kiev.sovam.com ([62.64.120.200]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JY7WY-0004lF-AX; Sat, 08 Mar 2008 17:28:14 -0500 Original-Received: from [83.170.232.243] (helo=smtp.svitonline.com) by relay01.kiev.sovam.com with esmtp (Exim 4.67) (envelope-from ) id 1JY7WN-0009Ci-2R; Sun, 09 Mar 2008 00:28:11 +0200 In-Reply-To: (Richard Stallman's message of "Sat, 08 Mar 2008 12:39:39 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (x86_64-unknown-linux-gnu) X-Scanner-Signature: b22dd54e5e410b0526d530b08df0ebb5 X-DrWeb-checked: yes X-SpamTest-Envelope-From: juri@jurta.org X-SpamTest-Group-ID: 00000000 X-SpamTest-Header: Not Detected X-SpamTest-Info: Profiles 2372 [Mar 7 2008] X-SpamTest-Info: helo_type=3 X-SpamTest-Info: {HEADERS: header Content-Type found without required header Content-Transfer-Encoding} X-SpamTest-Method: none X-SpamTest-Rate: 11 X-SpamTest-Status: Not detected X-SpamTest-Status-Extended: not_detected X-SpamTest-Version: SMTP-Filter Version 3.0.0 [0278], KAS30/Release X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.8-5.1 (or MacOS X 10.2-10.3) 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:91790 Archived-At: > I think that when the minibuffer is active, we should still output > a message, only differently (as does minibuffer-message). > > I have doubts that this is uniformly the best thing to do. > I think that the best thing to do depends on the message: > some messages are good to display at the end of the minibuffer, > as in `minibuffer-message', and some are better just omitted > while in the minibuffer. Currently messages displayed when the minibuffer is active don't get omitted. They just obscure the minibuffer content from the user. > There are some messages that probably should be displayed as now, > replacing the minibuffer. For instance, the messages displayed by > Isearch. I think that is the best way to display them; I think that > displaying them at the end, as in `minibuffer-message', would look > strange. > > It is possible that if we try displaying Isearch messages at the end, > we will like it. But it seems unlikely. With the patch I sent (that changes `message' to call `minibuffer-message' in the active minibuffer), Isearch in the minibuffer works mostly without changes, but there is a difference on failed Isearch: without this patch the Isearch error message overwrites the minibuffer content, but with this patch it appends the error message to the end of the minibuffer, e.g. I-search backward: foo [Failing I-search backward: bar] I'm not sure this is a bad thing since it keeps displaying the original content of the minibuffer. Otherwise, we could just fix this particular case not to use `minibuffer-message'. -- Juri Linkov http://www.jurta.org/emacs/