From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Daiki Ueno Newsgroups: gmane.emacs.bugs Subject: Re: term.el (term-emulate-terminal) Date: Sun, 14 Apr 2002 02:25:44 +0900 Sender: bug-gnu-emacs-admin@gnu.org Message-ID: <7fea2bbd-6176-4969-88ea-fa458a704344@deisui.org> References: <87k7rb3ee1.fsf@mumon.localnet> <8962-Sat13Apr2002183653+0300-eliz@is.elta.co.il> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-Trace: main.gmane.org 1018728924 29221 127.0.0.1 (13 Apr 2002 20:15:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 13 Apr 2002 20:15:24 +0000 (UTC) Cc: hkuiper@xs4all.nl, bug-gnu-emacs@gnu.org Return-path: Original-Received: from fencepost.gnu.org ([199.232.76.164]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16wTvf-0007bC-00 for ; Sat, 13 Apr 2002 22:15:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16wTvi-0001sp-00; Sat, 13 Apr 2002 16:15:26 -0400 Original-Received: from g96069.scn-net.ne.jp ([210.231.96.69] helo=deisui.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16wRFx-0005wn-00 for ; Sat, 13 Apr 2002 13:24:09 -0400 Original-Received: from deisui.org (localhost [127.0.0.1]) by deisui.org (8.12.3/8.12.3/Debian -2) with ESMTP id g3DHPiem013370; Sun, 14 Apr 2002 02:25:44 +0900 X-Now-Playing: Qururi's _TEAM ROCK_: "Wandervogel" Original-To: Eli Zaretskii X-Face: ki?-"~Ovqy(#SEZ2FpdUK,3>)p.@}$.vl{eIZ-Uy43$&[S1#'y{hX&A3T@xA)u0!_4Lg.vA ^{d(.VU0(X#Zf,~9Kha_$nl7W/(b9r;]%_&:OUA@g0LF'S2<%~T In-Reply-To: <8962-Sat13Apr2002183653+0300-eliz@is.elta.co.il> (Eli Zaretskii's message of "Sat, 13 Apr 2002 18:36:53 +0300") Original-Lines: 29 Errors-To: bug-gnu-emacs-admin@gnu.org X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.bugs:648 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:648 >>>>> In <8962-Sat13Apr2002183653+0300-eliz@is.elta.co.il> >>>>> "Eli Zaretskii" wrote: > > I looked at the diffs between term.el in Emacs-21.1 and Emacs-21.2 > > using these I backed out the change Eli Zaretskii made at 2002-02-03 > > (see below, something about matching terminal prompt). After that > > term works OK again for me. > Actually, this change was suggested by Daiki Ueno; I was asked > (probably by Richard Stallman) to install it. > The bug which the change was supposed to fix is explained here: > http://mail.gnu.org/pipermail/bug-gnu-emacs/2002-January/010123.html I guess it is the bug introduced by my patch, if the infloop is caused by (string-match "\r?$" ""). The patch should be: > > ! (let ((end (string-match "\r?\n" str i))) rather than: > > ! (let ((end (string-match "\r?$" str i))) If this is accurate, sorry for bothering you, Eliz, please install it to Emacs? Regards, -- Daiki Ueno