From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "T. V. Raman" Newsgroups: gmane.emacs.devel Subject: Re: shell-mode: point left in the wrong place after output Date: Fri, 20 Jun 2008 06:12:30 -0700 Message-ID: <18523.44222.375209.50187@gargle.gargle.HOWL> References: <18523.1780.184643.414316@gargle.gargle.HOWL> <878wx0plne.fsf@escher.local.home> Reply-To: raman@users.sf.net NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1213967621 18468 80.91.229.12 (20 Jun 2008 13:13:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Jun 2008 13:13:41 +0000 (UTC) Cc: emacs-devel@gnu.org To: stephen.berman@gmx.net Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 20 15:14:25 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K9gRT-0007Cm-If for ged-emacs-devel@m.gmane.org; Fri, 20 Jun 2008 15:14:15 +0200 Original-Received: from localhost ([127.0.0.1]:48082 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9gQe-0006Xk-Nb for ged-emacs-devel@m.gmane.org; Fri, 20 Jun 2008 09:13:24 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K9gPq-0006EA-NX for emacs-devel@gnu.org; Fri, 20 Jun 2008 09:12:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K9gPp-0006CR-0t for emacs-devel@gnu.org; Fri, 20 Jun 2008 09:12:34 -0400 Original-Received: from [199.232.76.173] (port=34964 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9gPo-0006CG-Oo for emacs-devel@gnu.org; Fri, 20 Jun 2008 09:12:32 -0400 Original-Received: from qmta07.westchester.pa.mail.comcast.net ([76.96.62.64]:43108) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K9gPo-0007y5-Gs for emacs-devel@gnu.org; Fri, 20 Jun 2008 09:12:32 -0400 Original-Received: from OMTA06.westchester.pa.mail.comcast.net ([76.96.62.51]) by QMTA07.westchester.pa.mail.comcast.net with comcast id gACS1Z00116LCl0570GM00; Fri, 20 Jun 2008 13:12:31 +0000 Original-Received: from localhost ([71.202.191.236]) by OMTA06.westchester.pa.mail.comcast.net with comcast id gDCW1Z00656Ur8v3SDCXlQ; Fri, 20 Jun 2008 13:12:31 +0000 X-Authority-Analysis: v=1.0 c=1 a=4SQFwn16HScA:10 a=iixBNJWoJHsA:10 a=2z1OXlWFAAAA:8 a=94AGNwefZmjN2nMk1s8A:9 a=1hRYvuUxIg_pSRsSuBiD5dHptRAA:4 a=5o1NfpFvE1MA:10 a=BFDKbZatV3MA:10 a=MSl-tDqOz04A:10 a=R6fQ0Q4ov3oA:10 Original-Received: by localhost (Postfix, from userid 1000) id A411212A41A8; Fri, 20 Jun 2008 06:12:30 -0700 (PDT) In-Reply-To: <878wx0plne.fsf@escher.local.home> X-Mailer: VM 8.1.0-devo-509 under Emacs 23.0.60.5 (i686-pc-linux-gnu) x-attribution: tvr X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:99526 Archived-At: 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 writes: Stephen> On Thu, 19 Jun 2008 22:06:53 -0400 Stefan Monnier Stephen> 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