From: "Andreas Röhler" <andreas.roehler@online.de>
To: bug-gnu-emacs@gnu.org
Subject: Re: shell-mode flakey
Date: Tue, 18 Dec 2007 20:51:52 +0100 [thread overview]
Message-ID: <200712182051.53072.andreas.roehler@online.de> (raw)
In-Reply-To: <m3k5ncrn57.fsf@tfkp07.physik.uni-erlangen.de>
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='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öhler
next prev parent reply other threads:[~2007-12-18 19:51 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 [this message]
2007-12-19 0:31 ` Miles Bader
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=200712182051.53072.andreas.roehler@online.de \
--to=andreas.roehler@online.de \
--cc=bug-gnu-emacs@gnu.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).