From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas =?iso-8859-1?q?R=F6hler?= Newsgroups: gmane.emacs.bugs Subject: Re: shell-mode flakey Date: Tue, 18 Dec 2007 20:51:52 +0100 Message-ID: <200712182051.53072.andreas.roehler@online.de> References: <87zlxfhztn.fsf@windlord.stanford.edu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1198007473 26733 80.91.229.12 (18 Dec 2007 19:51:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2007 19:51:13 +0000 (UTC) To: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 18 20:51:24 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 1J4iTG-0002yH-9u for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Dec 2007 20:51:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4iSw-0007MM-5e for geb-bug-gnu-emacs@m.gmane.org; Tue, 18 Dec 2007 14:50:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J4iSp-0007KX-2h for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2007 14:50:51 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J4iSn-0007Hl-Ei for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2007 14:50:50 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4iSn-0007HW-9d for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2007 14:50:49 -0500 Original-Received: from moutng.kundenserver.de ([212.227.126.171]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J4iSm-00042M-N7 for bug-gnu-emacs@gnu.org; Tue, 18 Dec 2007 14:50:49 -0500 Original-Received: from noname (p54BE8736.dip0.t-ipconnect.de [84.190.135.54]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis) id 0ML31I-1J4iSl3Kch-0003cX; Tue, 18 Dec 2007 20:50:48 +0100 User-Agent: KMail/1.9.5 In-Reply-To: Content-Disposition: inline X-Provags-ID: V01U2FsdGVkX18rrxxVMQacUiKM12NTDyL9d1YKO9ppyBdOpsY ymcr8b9Y7esn1jf00FzyLikMgqe5euhGX9HW426jJg3WaFu+Fd jzr/FxAUkDOVwjBowphMw== X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) 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:17189 Archived-At: Am Dienstag, 18. Dezember 2007 17:19 schrieb Roland Winkler: > jidanni@jidanni.org writes: > > And of course for we Geritol clubbers, what if one becomes deceased > > and one's chin hits SPC and nose hits RET. Do you want to be > > remembered by your community club as that guy who deleted all the > > files? > > Somewhat off-topic: I once discussed the following on > bug-coreutils@gnu.org. > > I have > > alias rm=3D'rm --interactive' > > But what I really would like was an interactive query that was > restricted to those cases when I have typed something on the command > line that doesn't tell me what rm will really do. Usually, this is > the case when the shell did some filename expansion. Unfortunately, > to the best of my knowledge it is not possible for a command like rm > to figure out whether the command shell performed some kind of > filename expansion or not. > > 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. > > How is emacs' shell mode implemented? I use it more and more often > instead of a "plain terminal". Could it distinguish between these > cases? > > Roland Probably dired delivers what you are looking for. Andreas R=F6hler