emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Shell-mode: File completion breaks editing previous commands


From: Chong Yidong
Subject: Re: Shell-mode: File completion breaks editing previous commands
Date: Mon, 07 Apr 2008 01:10:04 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

address@hidden 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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]