From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#11167: trunk; term.el inserts newline when erasing-to-eol [PATCH] Date: Fri, 30 Nov 2012 15:48:44 +0800 Message-ID: <87y5hj8rab.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1354261773 12415 80.91.229.3 (30 Nov 2012 07:49:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 Nov 2012 07:49:33 +0000 (UTC) Cc: 11167@debbugs.gnu.org To: Geoff Jacobsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 30 08:49:44 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 1TeLLr-0005WG-1V for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Nov 2012 08:49:35 +0100 Original-Received: from localhost ([::1]:51356 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeLLc-0003SC-Nn for geb-bug-gnu-emacs@m.gmane.org; Fri, 30 Nov 2012 02:49:20 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:57494) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeLLN-0002mS-0j for bug-gnu-emacs@gnu.org; Fri, 30 Nov 2012 02:49:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TeLLH-00004v-24 for bug-gnu-emacs@gnu.org; Fri, 30 Nov 2012 02:49:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35833) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TeLLG-00004r-UK for bug-gnu-emacs@gnu.org; Fri, 30 Nov 2012 02:48:58 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TeLNG-0003hX-FG for bug-gnu-emacs@gnu.org; Fri, 30 Nov 2012 02:51:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Nov 2012 07:51: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.135426186014216 (code B ref 11167); Fri, 30 Nov 2012 07:51:02 +0000 Original-Received: (at 11167) by debbugs.gnu.org; 30 Nov 2012 07:51:00 +0000 Original-Received: from localhost ([127.0.0.1]:46084 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TeLNC-0003hD-Uv for submit@debbugs.gnu.org; Fri, 30 Nov 2012 02:50:59 -0500 Original-Received: from mail-da0-f44.google.com ([209.85.210.44]:63312) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TeLN9-0003h3-KO for 11167@debbugs.gnu.org; Fri, 30 Nov 2012 02:50:56 -0500 Original-Received: by mail-da0-f44.google.com with SMTP id z20so106679dae.3 for <11167@debbugs.gnu.org>; Thu, 29 Nov 2012 23:48:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=A4fIRdPOZQEbmTO1y7XIZFwvPkcbA6HSZeUYNh+O26k=; b=d94ipJYNVP5O3gAA8VaVogl4fKO1Sa21uVbzWcw6ujwPnVLZDjEjnPuLTcEvDo9R37 +gTSH09/uFVfra3+LU2KPisT1ov0wDtUD2eyeo2SZyxO/cbUnWlv0X0zL4klGaDIyp5T AvN7GspS9zoCwr+VHug8zooAiwJ0xhX18F8K4eV4TTYWpdsiUpzVu75k1ZV/UISZ51Mi fLXK1lEJO6oObkBFzXu8FuBf/ZGHfoefhgXFMEpszORhW1m4SGcgl0VQc0frratL33Hq nxUMKPYCFfRw4QSMfonwZt2j0XLSY0vTeD/guDSv08Pe4saCf3t2qjmcBVi95AsutCIi 1HXg== Original-Received: by 10.66.84.40 with SMTP id v8mr1044846pay.47.1354261730890; Thu, 29 Nov 2012 23:48:50 -0800 (PST) Original-Received: from ulysses ([155.69.16.180]) by mx.google.com with ESMTPS id o11sm2639139pby.8.2012.11.29.23.48.47 (version=SSLv3 cipher=OTHER); Thu, 29 Nov 2012 23:48:49 -0800 (PST) In-Reply-To: (Geoff Jacobsen's message of "Wed, 4 Apr 2012 18:06:15 +1200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.90 (gnu/linux) 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:67632 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.