From: Stephen Berman <stephen.berman@gmx.net>
To: emacs-devel@gnu.org
Subject: Re: shell-mode: point left in the wrong place after output
Date: Fri, 20 Jun 2008 10:15:33 +0200 [thread overview]
Message-ID: <878wx0plne.fsf@escher.local.home> (raw)
In-Reply-To: jwvzlpgc13u.fsf-monnier+emacs@gnu.org
On Thu, 19 Jun 2008 22:06:53 -0400 Stefan Monnier <monnier@iro.umontreal.ca> 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
next prev parent reply other threads:[~2008-06-20 8:15 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-20 1:25 shell-mode: point left in the wrong place after output T. V. Raman
2008-06-20 2:06 ` Stefan Monnier
2008-06-20 3:40 ` T. V. Raman
2008-06-20 13:55 ` Stefan Monnier
2008-06-21 2:43 ` T. V. Raman
2008-06-20 8:15 ` Stephen Berman [this message]
2008-06-20 13:12 ` T. V. Raman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=878wx0plne.fsf@escher.local.home \
--to=stephen.berman@gmx.net \
--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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.