From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.bugs,gmane.emacs.gnus.general Subject: Re: shell-mode flakey Date: Wed, 19 Dec 2007 09:31:38 +0900 Message-ID: <87wsrba5jp.fsf@catnip.gol.com> References: <87zlxfhztn.fsf@windlord.stanford.edu> Reply-To: Miles Bader NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1198024337 15975 80.91.229.12 (19 Dec 2007 00:32:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Dec 2007 00:32:17 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, ding@gnus.org, jidanni@jidanni.org To: Roland Winkler Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 19 01:32:27 2007 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J4mrK-0003cz-Gf for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Dec 2007 01:32:26 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4mr1-0005mU-9h for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Dec 2007 19:32:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J4mqk-0005fJ-Ai for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2007 19:31:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J4mqh-0005eu-I2 for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2007 19:31:49 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4mqh-0005er-9L for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2007 19:31:47 -0500 Original-Received: from smtp02.dentaku.gol.com ([203.216.5.72]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1J4mqd-0000Ze-2R; Tue, 18 Dec 2007 19:31:43 -0500 Original-Received: from 203-216-96-195.dsl.gol.ne.jp ([203.216.96.195] helo=catnip.gol.com) by smtp02.dentaku.gol.com with esmtpa (Dentaku) id 1J4mqV-0003w1-CN; Wed, 19 Dec 2007 09:31:35 +0900 Original-Received: by catnip.gol.com (Postfix, from userid 1000) id AC4972FF7; Wed, 19 Dec 2007 09:31:38 +0900 (JST) System-Type: i686-pc-linux-gnu In-Reply-To: (Roland Winkler's message of "Tue, 18 Dec 2007 17:19:32 +0100") Original-Lines: 19 X-Abuse-Complaints: abuse@gol.com X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:17190 gmane.emacs.gnus.general:65991 Archived-At: Roland Winkler writes: > When I discussed this some time ago with one of the bash > maintainers, he said that he had just recovered all files of a > colleague who had typed "rm foo *" instead of "rm foo*". For those > and only those cases I'd like to have a reliable interactive query > before rm will do its job. One simple possibility might be a "--query-if-multiple" option, which would act like -i if there was more than one command-line filename argument. That wouldn't help for all cases, but I think it would catch a large proportion of common typos... -Miles -- `There are more things in heaven and earth, Horatio, Than are dreamt of in your philosophy.'