From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#1699: marked as done (patch for bug#1469 (term.el regression when dealing with long lines under bash)) Date: Fri, 26 Dec 2008 21:50:03 +0000 Message-ID: References: <495309B4.9030506@maniscalco.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1230328203-24127-0" X-Trace: ger.gmane.org 1230329018 16917 80.91.229.12 (26 Dec 2008 22:03:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Dec 2008 22:03:38 +0000 (UTC) To: "Juanma Barranquero" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 26 23:04:44 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LGKnU-0002vP-FO for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Dec 2008 23:04:44 +0100 Original-Received: from localhost ([127.0.0.1]:37632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LGKmH-0005Cb-Fb for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Dec 2008 17:03:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LGKmE-0005CJ-2w for bug-gnu-emacs@gnu.org; Fri, 26 Dec 2008 17:03:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LGKmD-0005Bz-EI for bug-gnu-emacs@gnu.org; Fri, 26 Dec 2008 17:03:25 -0500 Original-Received: from [199.232.76.173] (port=32818 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LGKmD-0005Br-7N for bug-gnu-emacs@gnu.org; Fri, 26 Dec 2008 17:03:25 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:55073) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LGKmC-00052M-Fr for bug-gnu-emacs@gnu.org; Fri, 26 Dec 2008 17:03:24 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBQM3LLk027659; Fri, 26 Dec 2008 14:03:21 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id mBQLo3nZ024219; Fri, 26 Dec 2008 13:50:03 -0800 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 1699 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:23502 Archived-At: This is a multi-part message in MIME format... ------------=_1230328203-24127-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Fri, 26 Dec 2008 22:45:07 +0100 with message-id and subject line Re: bug#1699: this is not a bug, please close has caused the Emacs bug report #1699, regarding patch for bug#1469 (term.el regression when dealing with long lin= es under bash) to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 1699: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D1699 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1230328203-24127-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 25 Dec 2008 04:55:53 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=MIXEDBDN,MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBP4tnn7025908 for ; Wed, 24 Dec 2008 20:55:51 -0800 Received: from mx10.gnu.org ([199.232.76.166]:56875) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LFiFJ-0000zK-VU for emacs-pretest-bug@gnu.org; Wed, 24 Dec 2008 23:54:54 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LFiGC-0006Jz-3U for emacs-pretest-bug@gnu.org; Wed, 24 Dec 2008 23:55:48 -0500 Received: from ec2-75-101-156-130.compute-1.amazonaws.com ([75.101.156.130]:38518 helo=ip-10-251-119-180.localdomain) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LFiGB-0006JX-R6 for emacs-pretest-bug@gnu.org; Wed, 24 Dec 2008 23:55:47 -0500 Received: from [192.168.1.5] (unknown [63.231.57.106]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: njm) by ip-10-251-119-180.localdomain (Postfix) with ESMTP id 40D67C65CD for ; Wed, 24 Dec 2008 20:19:02 -0800 (PST) Message-ID: <495309B4.9030506@maniscalco.com> Date: Wed, 24 Dec 2008 20:19:00 -0800 From: Nicholas Maniscalco User-Agent: Thunderbird 2.0.0.18 (X11/20081125) MIME-Version: 1.0 To: emacs-pretest-bug@gnu.org Subject: patch for bug#1469 (term.el regression when dealing with long lines under bash) Content-Type: multipart/mixed; boundary="------------060806020406070604080104" X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Greylist: delayed 2200 seconds by postgrey-1.27 at monty-python; Wed, 24 Dec 2008 23:55:43 EST This is a multi-part message in MIME format. --------------060806020406070604080104 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hello, attached is a patch for bug#1469 (term.el regression when dealing with long lines under bash). * term.el (term-emulate-terminal): Decode substring just prior to inserting it. (Bug#1469) bug#1469 was introduced while fixing bug#1006. I verified this patch against the repro steps in bug#1006 to make sure I haven't made a regression. Can someone please review? I'd appreciate any feedback. -- Nicholas --------------060806020406070604080104 Content-Type: text/x-patch; name="term.el.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="term.el.patch" Index: lisp/term.el =================================================================== RCS file: /sources/emacs/emacs/lisp/term.el,v retrieving revision 1.107 diff -c -p -r1.107 term.el *** lisp/term.el 3 Dec 2008 05:48:33 -0000 1.107 --- lisp/term.el 25 Dec 2008 03:45:24 -0000 *************** See `term-prompt-regexp'." *** 2834,2840 **** ;; following point if not eob nor insert-mode. (let ((old-column (current-column)) columns pos) ! (insert decoded-substring) (setq term-current-column (current-column) columns (- term-current-column old-column)) (when (not (or (eobp) term-insert-mode)) --- 2834,2840 ---- ;; following point if not eob nor insert-mode. (let ((old-column (current-column)) columns pos) ! (insert (decode-coding-string (substring str i funny) locale-coding-system)) (setq term-current-column (current-column) columns (- term-current-column old-column)) (when (not (or (eobp) term-insert-mode)) --------------060806020406070604080104-- ------------=_1230328203-24127-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 1699-done) by emacsbugs.donarmstrong.com; 26 Dec 2008 21:45:16 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.0 required=4.0 tests=HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from yx-out-2324.google.com (yx-out-2324.google.com [74.125.44.28]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id mBQLj8JU023503 for <1699-done@emacsbugs.donarmstrong.com>; Fri, 26 Dec 2008 13:45:09 -0800 Received: by yx-out-2324.google.com with SMTP id 8so1242960yxg.31 for <1699-done@emacsbugs.donarmstrong.com>; Fri, 26 Dec 2008 13:45:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=v8BPW9OJB9U4te+DcDpIkwagEqANDNFwcLZkqdTdSN4=; b=xzmIVWJlVpfAuV+AY+T9DuYji/0ULzLcCuU4pmhdf4+pN1RZgKg9fN+EH2tLOOTcdB 6n0OzGw6l54ZCxAk/Kd8BFGlNvZuAZzGDErK7CRM8SVPjHxJ1fGGu+y1ByyyzLQOVYu2 LszBwX5XHhzeFZHmz+HLnRuM66ygP31vMT7iE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=wvs19An+CowtkbvBsB2XpaJQcLrBXtrp8cI8ostueXOge63gQyFX7704+pT7JGVFj/ UwctOes9Ji1iXL1k7gTPqoWvpN3apOFdCF+p4fXVIu9PUnLLhR2nsEaYsWuyDbHsHqfg kj1jg2V8kavdghxa5ElYnB88q1dVi25z22n08= Received: by 10.100.142.4 with SMTP id p4mr6535413and.23.1230327907985; Fri, 26 Dec 2008 13:45:07 -0800 (PST) Received: by 10.100.13.13 with HTTP; Fri, 26 Dec 2008 13:45:07 -0800 (PST) Message-ID: Date: Fri, 26 Dec 2008 22:45:07 +0100 From: "Juanma Barranquero" To: 1699-done@emacsbugs.donarmstrong.com Subject: Re: bug#1699: this is not a bug, please close In-Reply-To: <49554A3D.8070905@maniscalco.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <49554A3D.8070905@maniscalco.com> On Fri, Dec 26, 2008 at 22:18, Nicholas Maniscalco wrote: > #1699 can be closed. I misposted to the wrong list. Done. ------------=_1230328203-24127-0--