From: "T. V. Raman" <raman@users.sf.net>
To: monnier@iro.umontreal.ca
Cc: raman@users.sf.net, emacs-devel@gnu.org
Subject: Re: shell-mode: point left in the wrong place after output
Date: Fri, 20 Jun 2008 19:43:19 -0700 [thread overview]
Message-ID: <18524.27335.743914.168599@gargle.gargle.HOWL> (raw)
In-Reply-To: <jwvod5wb4a6.fsf-monnier+emacs@gnu.org>
thanks for the tip, I definitely think this is the problem.
>>>>> "Stefan" == Stefan Monnier <monnier@iro.umontreal.ca> writes:
>> I advice comint-output-filter to process the output -- but
>> at first check I didn't spot any reason why it should be
>> breaking.
Stefan>
Stefan> The main change is that comint-output-filter does not
Stefan> use insert-before-markers any more. So if you use
Stefan> `save-excursion' around it, point will now stay in
Stefan> front of the insertion.
Stefan>
Stefan>
Stefan> Stefan
Stefan>
Stefan>
>>>>>> "Stefan" == Stefan Monnier <monnier@iro.umontreal.ca>
>>>>>> writes:
>>>> This is using the latest CVS snapshot.
Stefan> I don't know what you mean by "CVS snapshot", but
Stefan> I'll assume you mean that you recently updated your
Stefan> CVS check out.
Stefan>
>>>> It looks like point gets left at the front of the
>>>> inserted outputfrom frm a shell command, rther than at
>>>> the end.
Stefan>
>>>> Test:
Stefan>
>>>> See output below: echo foo foo
Stefan>
Stefan> I tried:
Stefan>
Stefan> emacs -Q M-x shell-mode RET echo foo RET
Stefan>
Stefan> and it worked just fine, with point ending right
Stefan> after the prompt. Can you provide a more precise
Stefan> recipe?
Stefan>
Stefan>
Stefan> Stefan
Stefan>
>> --
> Best Regards, --raman
Stefan>
Stefan>
>> 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
--
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
next prev parent reply other threads:[~2008-06-21 2:43 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 [this message]
2008-06-20 8:15 ` Stephen Berman
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=18524.27335.743914.168599@gargle.gargle.HOWL \
--to=raman@users.sf.net \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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.