unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: Roland Winkler <Roland.Winkler@physik.uni-erlangen.de>
Cc: bug-gnu-emacs@gnu.org, ding@gnus.org, jidanni@jidanni.org
Subject: Re: shell-mode flakey
Date: Wed, 19 Dec 2007 09:31:38 +0900	[thread overview]
Message-ID: <87wsrba5jp.fsf@catnip.gol.com> (raw)
In-Reply-To: <m3k5ncrn57.fsf@tfkp07.physik.uni-erlangen.de> (Roland Winkler's message of "Tue, 18 Dec 2007 17:19:32 +0100")

Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> 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.'




  parent reply	other threads:[~2007-12-19  0:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87zlxfhztn.fsf@windlord.stanford.edu>
2007-12-18  5:24 ` shell-mode flakey [was Re: message-confirm-send] jidanni
     [not found] ` <mailman.5147.1197955487.18990.bug-gnu-emacs@gnu.org>
2007-12-18 16:19   ` shell-mode flakey Roland Winkler
2007-12-18 19:51     ` Andreas Röhler
2007-12-19  0:31     ` Miles Bader [this message]
2007-12-19  0:54     ` Glenn Morris
2007-12-19  2:22     ` Russ Allbery
     [not found]     ` <mailman.5185.1198024311.18990.bug-gnu-emacs@gnu.org>
2007-12-19 16:25       ` Sven Joachim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87wsrba5jp.fsf@catnip.gol.com \
    --to=miles@gnu.org \
    --cc=Roland.Winkler@physik.uni-erlangen.de \
    --cc=bug-gnu-emacs@gnu.org \
    --cc=ding@gnus.org \
    --cc=jidanni@jidanni.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).