all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: raman@users.sf.net
Cc: emacs-devel@gnu.org
Subject: Re: shell-mode: point left in the wrong place after output
Date: Fri, 20 Jun 2008 09:55:35 -0400	[thread overview]
Message-ID: <jwvod5wb4a6.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <18523.9876.731216.495010@gargle.gargle.HOWL> (T. V. Raman's message of "Thu, 19 Jun 2008 20:40:04 -0700")

> I advice comint-output-filter to process the output -- but at
> first check I didn't spot any reason why it should be breaking.

The main change is that comint-output-filter does not use
insert-before-markers any more.  So if you use `save-excursion' around
it, point will now stay in front of the insertion.


        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

> -- 
> 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





  reply	other threads:[~2008-06-20 13:55 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 [this message]
2008-06-21  2:43       ` T. V. Raman
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=jwvod5wb4a6.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=raman@users.sf.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.