GNU logs - #7339, boring messages


Message sent to owner <at> debbugs.gnu.org, bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#7339: 23.2; term-mode vs clone-buffer
Resent-From: Kevin Ryde <user42@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-To: owner <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Fri, 05 Nov 2010 22:29:02 +0000
Resent-Message-ID: <handler.7339.B.12889961005785 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 7339
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 7339 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.12889961005785
          (code B ref -1); Fri, 05 Nov 2010 22:29:02 +0000
Received: (at submit) by debbugs.gnu.org; 5 Nov 2010 22:28:20 +0000
Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1PEUlf-0001VG-My
	for submit <at> debbugs.gnu.org; Fri, 05 Nov 2010 18:28:19 -0400
Received: from eggs.gnu.org ([140.186.70.92])
	by debbugs.gnu.org with esmtp (Exim 4.69)
	(envelope-from <gg@HIDDEN>) id 1PEUld-0001VB-TR
	for submit <at> debbugs.gnu.org; Fri, 05 Nov 2010 18:28:18 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gg@HIDDEN>) id 1PEUpz-0007C4-VU
	for submit <at> debbugs.gnu.org; Fri, 05 Nov 2010 18:32:49 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE
	autolearn=unavailable version=3.3.1
Received: from lists.gnu.org ([199.232.76.165]:57660)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gg@HIDDEN>) id 1PEUpz-0007Bw-TB
	for submit <at> debbugs.gnu.org; Fri, 05 Nov 2010 18:32:47 -0400
Received: from [140.186.70.92] (port=44310 helo=eggs.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1PEUpy-00076b-Tq
	for bug-gnu-emacs@HIDDEN; Fri, 05 Nov 2010 18:32:47 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gg@HIDDEN>) id 1PEUpx-0007BG-Mk
	for bug-gnu-emacs@HIDDEN; Fri, 05 Nov 2010 18:32:46 -0400
Received: from mailout2-5.pacific.net.au ([61.8.2.228]:47281
	helo=mailout2.pacific.net.au) by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gg@HIDDEN>) id 1PEUpx-0007AL-Dj
	for bug-gnu-emacs@HIDDEN; Fri, 05 Nov 2010 18:32:45 -0400
Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au
	[61.8.2.162])
	by mailout2.pacific.net.au (Postfix) with ESMTP id 705302A6332
	for <bug-gnu-emacs@HIDDEN>; Sat,  6 Nov 2010 09:32:42 +1100 (EST)
Received: from blah.blah (unknown [203.26.175.99])
	by mailproxy1.pacific.net.au (Postfix) with ESMTP id 8D3EE8C07
	for <bug-gnu-emacs@HIDDEN>; Sat,  6 Nov 2010 09:32:36 +1100 (EST)
Received: from gg by blah.blah with local (Exim 4.72)
	(envelope-from <gg@HIDDEN>) id 1PEUp3-0001dN-4h
	for bug-gnu-emacs@HIDDEN; Sat, 06 Nov 2010 09:31:49 +1100
From: Kevin Ryde <user42@HIDDEN>
Date: Sat, 06 Nov 2010 09:31:49 +1100
Message-ID: <8739rftnai.fsf@HIDDEN>
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older,
	4)
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Spam-Score: -6.6 (------)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.11
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/pipermail/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -6.6 (------)

A term-mode buffer doesn't seem to duplicate with M-x clone-buffer very
well.  For example

    emacs -Q
    M-x term
    top Ret        ;; run the "top" program
    C-c M-x clone-buffer
    => gets multiple inserts of the top output

where I hoped the cloned buffer would have refreshing top output,
instead of appending and growing the buffer.

Nosing around the code it looks like clone-buffer runs up a new
subprocess well enough, but that presumably something in the `term-mode'
setups doesn't come out right.

A line-oriented program like the default /bin/bash that M-x term offers
seems a bit better, though point isn't left at the end of the new
prompt.



In GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)
 of 2010-05-16 on raven, modified by Debian
configured using `configure  '--build' 'i486-linux-gnu' '--build' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.2/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS=''

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: en_AU
  value of $XMODIFIERS: nil
  locale-coding-system: iso-latin-1-unix
  default enable-multibyte-characters: t




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Kevin Ryde <user42@HIDDEN>
Subject: bug#7339: Acknowledgement (23.2; term-mode vs clone-buffer)
Message-ID: <handler.7339.B.12889961005785.ack <at> debbugs.gnu.org>
References: <8739rftnai.fsf@HIDDEN>
X-Gnu-PR-Message: ack 7339
X-Gnu-PR-Package: emacs
Reply-To: 7339 <at> debbugs.gnu.org
Date: Fri, 05 Nov 2010 22:29:02 +0000

Thank you for filing a new bug report with GNU.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 7339 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
7339: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D7339
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#7339: 23.2; term-mode vs clone-buffer
Resent-From: Lars Ingebrigtsen <larsi@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 10 May 2022 02:18:02 +0000
Resent-Message-ID: <handler.7339.B7339.16521490807054 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 7339
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Kevin Ryde <user42@HIDDEN>
Cc: 7339 <at> debbugs.gnu.org
Received: via spool by 7339-submit <at> debbugs.gnu.org id=B7339.16521490807054
          (code B ref 7339); Tue, 10 May 2022 02:18:02 +0000
Received: (at 7339) by debbugs.gnu.org; 10 May 2022 02:18:00 +0000
Received: from localhost ([127.0.0.1]:59882 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1noFRk-0001pf-47
	for submit <at> debbugs.gnu.org; Mon, 09 May 2022 22:18:00 -0400
Received: from quimby.gnus.org ([95.216.78.240]:49040)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1noFRe-0001pK-4n
 for 7339 <at> debbugs.gnu.org; Mon, 09 May 2022 22:17:54 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:
 References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding:
 Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender:
 Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=++X0P2AYXuitygTHyQ41VX/WS7Nig5d8ajPu7q5Gi/Y=; b=PGB+gzcuGN4R8/RznE54qbtD48
 4gnzlbUhGf47h6+IGMbmhskGtv5rCYhgG6cAdb9VB9xcw/E9DsS/cHeGa9HtJ04My2ZZxeTMSceXR
 guz56wYqjErW0/6tE4NYZgsYQeZFAecpldLzVD4/nQorV6xe6+JajVO3w2/8r7tSlkas=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>)
 id 1noFR9-000556-HQ; Tue, 10 May 2022 04:17:24 +0200
From: Lars Ingebrigtsen <larsi@HIDDEN>
References: <8739rftnai.fsf@HIDDEN>
X-Now-Playing: Joni Mitchell's _Ladies of the Canyon_: "Willy"
Date: Tue, 10 May 2022 04:17:19 +0200
In-Reply-To: <8739rftnai.fsf@HIDDEN> (Kevin Ryde's message of "Sat, 06 Nov
 2010 09:31:49 +1100")
Message-ID: <87k0aum8r4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview: Kevin Ryde <user42@HIDDEN> writes: > A term-mode buffer
 doesn't seem to duplicate with M-x clone-buffer very > well. For example
 > > emacs -Q > M-x term > top Ret ; ;
 run the "top" program > C-c M-x clone-buffer
 > => gets multiple inser [...] 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Kevin Ryde <user42@HIDDEN> writes:

> A term-mode buffer doesn't seem to duplicate with M-x clone-buffer very
> well.  For example
>
>     emacs -Q
>     M-x term
>     top Ret        ;; run the "top" program
>     C-c M-x clone-buffer
>     => gets multiple inserts of the top output
>
> where I hoped the cloned buffer would have refreshing top output,
> instead of appending and growing the buffer.
>
> Nosing around the code it looks like clone-buffer runs up a new
> subprocess well enough, but that presumably something in the `term-mode'
> setups doesn't come out right.

(I'm going through old bug reports that unfortunately weren't resolved
at the time.)

I can confirm that this behaviour is still present in Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 10 May 2022 02:17:37 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 09 22:17:37 2022
Received: from localhost ([127.0.0.1]:59879 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1noFRQ-0001p4-U9
	for submit <at> debbugs.gnu.org; Mon, 09 May 2022 22:17:37 -0400
Received: from quimby.gnus.org ([95.216.78.240]:49038)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <larsi@HIDDEN>) id 1noFRP-0001kD-Iq
 for control <at> debbugs.gnu.org; Mon, 09 May 2022 22:17:35 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org;
 s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc:
 MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID:
 Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc
 :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:
 List-Subscribe:List-Post:List-Owner:List-Archive;
 bh=4WJuwu0mE1pc5ahdwbxU5RILv9kssxx3s7xW1NFrfh0=; b=L8b5E/hiol7c7sMwdPwNF6NcOT
 RVGM5KqB2XXnzntzp1/nbQ/re1exhrW+CJKCaxgdAvjEvxo0IlYm4PC6BQ7g5veaMPvtT+sDoVS9l
 5sUSi3jWyE6Gi7CcRdOVyGy5cTIp2e0SMTDsBlraDLLkqdycSLdmEZcAnVwsVHP4zRjQ=;
Received: from [84.212.220.105] (helo=xo)
 by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.92) (envelope-from <larsi@HIDDEN>) id 1noFRI-00055E-2W
 for control <at> debbugs.gnu.org; Tue, 10 May 2022 04:17:29 +0200
Date: Tue, 10 May 2022 04:17:27 +0200
Message-Id: <87ilqem8qw.fsf@HIDDEN>
To: control <at> debbugs.gnu.org
From: Lars Ingebrigtsen <larsi@HIDDEN>
Subject: control message for bug #7339
X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 @@CONTACT_ADDRESS@@ for details.
 Content preview:  tags 7339 + confirmed quit 
 Content analysis details:   (-2.9 points, 5.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -1.0 ALL_TRUSTED            Passed through trusted hosts only via SMTP
 -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%
 [score: 0.0000]
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

tags 7339 + confirmed
quit






Last modified: Tue, 10 May 2022 02:30:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.