emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: shell-mode: point left in the wrong place after output


From: T. V. Raman
Subject: Re: shell-mode: point left in the wrong place after output
Date: Fri, 20 Jun 2008 19:43:19 -0700

thanks for the tip, I definitely think this is the problem.

>>>>> "Stefan" == Stefan Monnier <address@hidden> 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 <address@hidden>
    >>>>>> 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: address@hidden WWW:
    >> http://emacspeak.sf.net/raman/ AIM: emacspeak GTalk:
    >> address@hidden PGP:
    >> http://emacspeak.sf.net/raman/raman-almaden.asc Google:
    >> tv+raman IRC: irc://irc.freenode.net/#emacs

-- 
Best Regards,
--raman

      
Email:  address@hidden
WWW:    http://emacspeak.sf.net/raman/
AIM:    emacspeak       GTalk: address@hidden
PGP:    http://emacspeak.sf.net/raman/raman-almaden.asc
Google: tv+raman 
IRC:    irc://irc.freenode.net/#emacs




reply via email to

[Prev in Thread] Current Thread [Next in Thread]