[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: shell-mode: point left in the wrong place after output
From: |
Stephen Berman |
Subject: |
Re: shell-mode: point left in the wrong place after output |
Date: |
Fri, 20 Jun 2008 10:15:33 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) |
On Thu, 19 Jun 2008 22:06:53 -0400 Stefan Monnier <address@hidden> wrote:
>> This is using the latest CVS snapshot.
>
> I don't know what you mean by "CVS snapshot", but I'll assume you mean
> that you recently updated your CVS check out.
>
>> It looks like point gets left at the front of the inserted
>> outputfrom frm a shell command, rther than at the end.
>
>> Test:
>
>> See output below:
>> echo foo
>> foo
>
> I tried:
>
> emacs -Q
> M-x shell-mode RET
> echo foo RET
>
> and it worked just fine, with point ending right after the prompt.
> Can you provide a more precise recipe?
It happens with `C-u M-! echo foo'. But IIUC this is supposed to
happen: in shell-command the mark is set before the output and after the
output is inserted point returns to the mark. I suppose this is to
facilitate editing the shell command output?
Steve Berman