From: "Andreas Röhler" <andreas.roehler@online.de>
To: emacs-devel@gnu.org
Cc: Chong Yidong <cyd@stupidchicken.com>
Subject: Re: Shell-mode: File completion breaks editing previous commands
Date: Mon, 7 Apr 2008 11:18:24 +0200 [thread overview]
Message-ID: <200804071118.25371.andreas.roehler@online.de> (raw)
In-Reply-To: <878wzq2qtv.fsf@stupidchicken.com>
Am Montag, 7. April 2008 07:10 schrieb Chong Yidong:
> richard@rswheeldon.com writes:
>
> >>> Emacs shell mode allows editing of previous commands. These can then
> >>> be executed by pressing return. Shell mode also allows tab completion
> >>> to expand filenames. These do not work together. If we try to modify
> >>> a previously executed command (to re-execute it with different params)
> >>> and attempt to use filename completion, the beginning of the command
> >>> is lost.
> >>>
> >>> touch foo bar
> >>> echo bar
> >>> Edit the echo command to "touch foo bar" and press return.
> >>>
> >>> produces the following output:
> >>>
> >>> % touch foo bar
> >>> % echo bar foo
> >>> foo
> >>> % foo
> >>> bash: ./foo: Permission denied
> >>> %
> >>
> >> I can't reproduce this on either Emacs 22 or Emacs 23. Please provide a
> >> more precise recipe, include all keystrokes beginning from emacs -Q.
> >
> > Recent input:
> > <escape> x s h e l l <return> c d SPC / t m p <return>
> > t o u c h SPC f o o <return> e <backspace> t o u c
> > h SPC b a r <return> e <backspace> l s SPC f o <tab>
> > <return> <up> <up> <right> <right> <right> b <tab>
> > a <tab> <return> <escape> x r e p <tab> r <backspace>
> > o r <tab> <return>
> >
> > Sorry, I can't see how I can make this much simpler.
>
> I still can't reproduce this problem. Does anyone on emacs-devel see
> the bug?
>
>
>
AFAIU that has nothing to do with emacs, but with
file-permissions: `foo' isn't executable, "x" it wasn't set.
Andreas Röhler
next prev parent reply other threads:[~2008-04-07 9:18 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87tzig9es5.fsf@stupidchicken.com>
[not found] ` <18424.40053.181304.491320@lusitania.rswheeldon.com>
2008-04-07 5:10 ` Shell-mode: File completion breaks editing previous commands Chong Yidong
2008-04-07 9:18 ` Andreas Röhler [this message]
2008-04-09 11:29 ` Bob Rogers
2008-04-09 5:22 Devon Sean McCullough
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=200804071118.25371.andreas.roehler@online.de \
--to=andreas.roehler@online.de \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@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).