From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Geoff Jacobsen Newsgroups: gmane.emacs.bugs Subject: bug#11167: trunk; term.el inserts newline when erasing-to-eol [PATCH] Date: Thu, 6 Dec 2012 12:36:04 +1300 Message-ID: References: <87y5hj8rab.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7b33988730b35904d0237280 X-Trace: ger.gmane.org 1354750622 30122 80.91.229.3 (5 Dec 2012 23:37:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Dec 2012 23:37:02 +0000 (UTC) Cc: 11167@debbugs.gnu.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 06 00:37:14 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TgOWb-0007OF-Iw for geb-bug-gnu-emacs@m.gmane.org; Thu, 06 Dec 2012 00:37:09 +0100 Original-Received: from localhost ([::1]:42518 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgOWP-0006o9-KO for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Dec 2012 18:36:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:60546) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgOWM-0006o1-Fh for bug-gnu-emacs@gnu.org; Wed, 05 Dec 2012 18:36:55 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TgOWL-0005OH-DC for bug-gnu-emacs@gnu.org; Wed, 05 Dec 2012 18:36:54 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45221) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgOWL-0005OD-9X for bug-gnu-emacs@gnu.org; Wed, 05 Dec 2012 18:36:53 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TgOWU-0007Gs-E2 for bug-gnu-emacs@gnu.org; Wed, 05 Dec 2012 18:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Geoff Jacobsen Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Dec 2012 23:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11167 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 11167-submit@debbugs.gnu.org id=B11167.135475057727868 (code B ref 11167); Wed, 05 Dec 2012 23:37:02 +0000 Original-Received: (at 11167) by debbugs.gnu.org; 5 Dec 2012 23:36:17 +0000 Original-Received: from localhost ([127.0.0.1]:55472 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TgOVl-0007FR-Ds for submit@debbugs.gnu.org; Wed, 05 Dec 2012 18:36:17 -0500 Original-Received: from mail-vb0-f43.google.com ([209.85.212.43]:41723) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TgOVj-0007FI-Ec for 11167@debbugs.gnu.org; Wed, 05 Dec 2012 18:36:16 -0500 Original-Received: by mail-vb0-f43.google.com with SMTP id fs19so6512961vbb.30 for <11167@debbugs.gnu.org>; Wed, 05 Dec 2012 15:36:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Hi/g/BJ9bA9QotjwR+hAqd1MT35S6hllCrGsQ8IMuDU=; b=M+I2NCHW75rSUngdo79spMOWspfaPhE+E6a6uDUiRnIuFIJocZvg2IyLQb3YULj49g eb8hfv4Gsy/OEhRAyFn/+n5anCssF3h9UoZKB8o5U+RDd9w5eGeaGFrNYvy/E0N5NWLo 3MzQnSBnV9yvKvOybJ72e6FM8AMESjef4IYFKmJbB0WB0K63MAa1UIuujHM82PoDyR56 sBv1yOe+Ps9wrKJBF0fj5VjuRcCHO4ewR9bjFnAHdhDWVSPDjBddjdZ7jT7SxJceYm3X 78saEb/HAO4r4ZyVVuaMLVcUu4oB5SYmD9sehx5WEpRZmb9bhcDpeqyGu0R3Af132F/V 3/dg== Original-Received: by 10.58.23.169 with SMTP id n9mr16812489vef.58.1354750565069; Wed, 05 Dec 2012 15:36:05 -0800 (PST) Original-Received: by 10.220.153.84 with HTTP; Wed, 5 Dec 2012 15:36:04 -0800 (PST) In-Reply-To: <87y5hj8rab.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:67998 Archived-At: --047d7b33988730b35904d0237280 Content-Type: text/plain; charset=UTF-8 On 30 November 2012 20:48, Chong Yidong wrote: > Geoff Jacobsen writes: > > > When term.el receives a "^[[K" erase-end-of-line the > > term-erase-in-line function inserts a new line. > > > > When variable term-scroll-show-maximum-output is set to t this can > > result in a blank line at the bottom of the buffer. > > > > This breaks programs such as less which won't display the top line. > > > > I can't see the purpose for the new-line. The following patch removes > > it. > > Sorry for the late response. Do you have a simple recipe demonstrating > the problem? I can't reproduce any problem with "less", which seems to > display fine (including the top line) under term mode. > I can't reproduce the problem now either; I am running a later version of emacs (24.1.1) than when I reported the bug. Please close the bug report. Thank you Kind regards Geoff --047d7b33988730b35904d0237280 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
On 30 November 2012 20:48, Chong Yidong <cyd@gnu.org> wrote:=
Geoff Jacobsen <geoffjacobsen= @gmail.com> writes:

> When term.el receives a "^[[K" erase-end-of-line the
> term-erase-in-line function inserts a new line.
>
> When variable term-scroll-show-maximum-output is set to t this can
> result in a blank line at the bottom of the buffer.
>
> This breaks programs such as less which won't display the top line= .
>
> I can't see the purpose for the new-line. The following patch remo= ves
> it.

Sorry for the late response. =C2=A0Do you have a simple recipe demonstratin= g
the problem? =C2=A0I can't reproduce any problem with "less",= which seems to
display fine (including the top line) under term mode.


I can't reproduce the = problem now either; I am running a later version of emacs (24.1.1) than whe= n I reported the bug.

Please close the bug report.

Thank you

Kind regards

Geoff
--047d7b33988730b35904d0237280--