From: "T. V. Raman" <raman@users.sf.net>
To: stephen.berman@gmx.net
Cc: emacs-devel@gnu.org
Subject: Re: shell-mode: point left in the wrong place after output
Date: Fri, 20 Jun 2008 06:12:30 -0700 [thread overview]
Message-ID: <18523.44222.375209.50187@gargle.gargle.HOWL> (raw)
In-Reply-To: <878wx0plne.fsf@escher.local.home>
So the behavior I'm seeing in the shell-mode buffer is identical
to what you report.
I've not chased down the cause yet.
>>>>> "Stephen" == Stephen Berman <stephen.berman@gmx.net> writes:
Stephen> On Thu, 19 Jun 2008 22:06:53 -0400 Stefan Monnier
Stephen> <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?
Stephen>
Stephen> It happens with `C-u M-! echo foo'. But IIUC this
Stephen> is supposed to happen: in shell-command the mark is
Stephen> set before the output and after the output is
Stephen> inserted point returns to the mark. I suppose this
Stephen> is to facilitate editing the shell command output?
Stephen>
Stephen> Steve Berman
Stephen>
Stephen>
--
Best Regards,
--raman
Email: raman@users.sf.net
WWW: http://emacspeak.sf.net/raman/
AIM: emacspeak GTalk: tv.raman.tv@gmail.com
PGP: http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman
IRC: irc://irc.freenode.net/#emacs
prev parent reply other threads:[~2008-06-20 13:12 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
2008-06-20 13:12 ` T. V. Raman [this message]
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=18523.44222.375209.50187@gargle.gargle.HOWL \
--to=raman@users.sf.net \
--cc=emacs-devel@gnu.org \
--cc=stephen.berman@gmx.net \
/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.