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: Thu, 19 Jun 2008 20:40:04 -0700 Message-ID: <18523.9876.731216.495010@gargle.gargle.HOWL> References: <18523.1780.184643.414316@gargle.gargle.HOWL> 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 1213933223 13000 80.91.229.12 (20 Jun 2008 03:40:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 20 Jun 2008 03:40:23 +0000 (UTC) Cc: raman@users.sf.net, emacs-devel@gnu.org To: monnier@iro.umontreal.ca Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 20 05:41:07 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 1K9XUo-0007v1-9b for ged-emacs-devel@m.gmane.org; Fri, 20 Jun 2008 05:41:06 +0200 Original-Received: from localhost ([127.0.0.1]:54695 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9XTz-0006Qe-2p for ged-emacs-devel@m.gmane.org; Thu, 19 Jun 2008 23:40:15 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K9XTs-0006QE-SU for emacs-devel@gnu.org; Thu, 19 Jun 2008 23:40:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K9XTs-0006Q2-1j for emacs-devel@gnu.org; Thu, 19 Jun 2008 23:40:08 -0400 Original-Received: from [199.232.76.173] (port=33856 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K9XTr-0006Pz-Lj for emacs-devel@gnu.org; Thu, 19 Jun 2008 23:40:07 -0400 Original-Received: from qmta05.emeryville.ca.mail.comcast.net ([76.96.30.48]:34643) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K9XTq-0001oA-UM for emacs-devel@gnu.org; Thu, 19 Jun 2008 23:40:07 -0400 Original-Received: from OMTA03.emeryville.ca.mail.comcast.net ([76.96.30.27]) by QMTA05.emeryville.ca.mail.comcast.net with comcast id g0r91Z00G0b6N64A507K00; Fri, 20 Jun 2008 03:40:05 +0000 Original-Received: from localhost ([71.202.191.236]) by OMTA03.emeryville.ca.mail.comcast.net with comcast id g3g51Z00256Ur8v8P3g55H; Fri, 20 Jun 2008 03:40:05 +0000 X-Authority-Analysis: v=1.0 c=1 a=4SQFwn16HScA:10 a=iixBNJWoJHsA:10 a=2z1OXlWFAAAA:8 a=l_2AO7E_cyKaFTJXKtIA:9 a=NeHd5LSbdQyTo1CtMHIA:7 a=V506gbGrRiRtenHsZaBgGQLlAlUA:4 a=5o1NfpFvE1MA:10 a=MSl-tDqOz04A:10 a=ufO146cb3fEA:10 Original-Received: by localhost (Postfix, from userid 1000) id D23D312A41A8; Thu, 19 Jun 2008 20:40:04 -0700 (PDT) In-Reply-To: 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:99498 Archived-At: Stephane -- cvs snapshot == latest checkout. I'm seeing the problem with emacspeak running; the fact that you dont see it in a vanilla session suggests that the new mods to comint.el where you use copy-marker may be triggering a bug on the emacspeak side. 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 Monnier 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