GNU bug report logs - #354
"Added (how many lines, bytes?!) to file.txt"

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: wishlist; Reported by: jidanni <at> jidanni.org; dated Tue, 3 Jun 2008 20:30:07 UTC; Maintainer for emacs is bug-gnu-emacs <at> gnu.org.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Status: No, score=-5.1 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER,
	PLING_QUERY,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham
	version=3.2.3-bugs.debian.org_2005_01_02
Received: (at 354) by emacsbugs.donarmstrong.com; 6 Jun 2008 14:57:37 +0000
Received: from rgminet01.oracle.com (rgminet01.oracle.com [148.87.113.118])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m56EvYBa003682
	for <354 <at> emacsbugs.donarmstrong.com>; Fri, 6 Jun 2008 07:57:35 -0700
Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213])
	by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m56EvQOh004947;
	Fri, 6 Jun 2008 08:57:26 -0600
Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150])
	by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m55C6rnG032664;
	Fri, 6 Jun 2008 08:57:25 -0600
Received: from inet-141-146-46-1.oracle.com by acsmt350.oracle.com
	with ESMTP id 3688085841212764176; Fri, 06 Jun 2008 07:56:16 -0700
Received: from dradamslap1 (/24.5.171.3)
	by bhmail.oracle.com (Oracle Beehive Gateway v4.0)
	with ESMTP ; Fri, 06 Jun 2008 07:56:15 -0700
From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Kevin Rodgers'" <kevin.d.rodgers <at> gmail.com>,
        <354 <at> debbugs.gnu.org>, <bug-gnu-emacs <at> gnu.org>
References: <87r6bemkjj.fsf <at> jidanni.org> <g2acs1$uk1$1 <at> ger.gmane.org>
Subject: RE: bug#354: "Added (how many lines, bytes?!) to file.txt"
Date: Fri, 6 Jun 2008 07:56:14 -0700
Message-ID: <001f01c8c7e5$77c0c760$0200a8c0 <at> us.oracle.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-reply-to: <g2acs1$uk1$1 <at> ger.gmane.org>
THREAD-INDEX: AcjH4woKBC1ts5sHQsKmGFu4Cl5NBwAAhvkg
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-Brightmail-Tracker: AAAAAQAAAAI=
X-Brightmail-Tracker: AAAAAQAAAAI=
X-Whitelist: TRUE
X-Whitelist: TRUE

> Since append-to-file takes buffer positions as arguments, I think
> the most relevant unit to report would be characters.

Definitely.

Both could be mentioned, however: (2614 chars, 104 lines).





Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text available.
Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#354; Package emacs. Full text available.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Status: No, score=-3.7 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER,
	PLING_QUERY,RCVD_IN_DNSWL_LOW,UNPARSEABLE_RELAY autolearn=ham
	version=3.2.3-bugs.debian.org_2005_01_02
Received: (at submit) by emacsbugs.donarmstrong.com; 6 Jun 2008 14:57:48 +0000
Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m56EvfvP003689
	for <submit <at> emacsbugs.donarmstrong.com>; Fri, 6 Jun 2008 07:57:42 -0700
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1K4dNt-0005Au-98
	for bug-gnu-emacs <at> gnu.org; Fri, 06 Jun 2008 10:57:41 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1K4dNr-0005AB-RI
	for bug-gnu-emacs <at> gnu.org; Fri, 06 Jun 2008 10:57:40 -0400
Received: from [199.232.76.173] (port=47959 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1K4dNr-0005A6-I0
	for bug-gnu-emacs <at> gnu.org; Fri, 06 Jun 2008 10:57:39 -0400
Received: from rgminet01.oracle.com ([148.87.113.118]:36861)
	by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60)
	(envelope-from <drew.adams <at> oracle.com>)
	id 1K4dNr-0006aD-84
	for bug-gnu-emacs <at> gnu.org; Fri, 06 Jun 2008 10:57:39 -0400
Received: from agmgw2.us.oracle.com (agmgw2.us.oracle.com [152.68.180.213])
	by rgminet01.oracle.com (Switch-3.2.4/Switch-3.1.6) with ESMTP id m56EvQOh004947;
	Fri, 6 Jun 2008 08:57:26 -0600
Received: from acsmt350.oracle.com (acsmt350.oracle.com [141.146.40.150])
	by agmgw2.us.oracle.com (Switch-3.2.0/Switch-3.2.0) with ESMTP id m55C6rnG032664;
	Fri, 6 Jun 2008 08:57:25 -0600
Received: from inet-141-146-46-1.oracle.com by acsmt350.oracle.com
	with ESMTP id 3688085841212764176; Fri, 06 Jun 2008 07:56:16 -0700
Received: from dradamslap1 (/24.5.171.3)
	by bhmail.oracle.com (Oracle Beehive Gateway v4.0)
	with ESMTP ; Fri, 06 Jun 2008 07:56:15 -0700
From: "Drew Adams" <drew.adams <at> oracle.com>
To: "'Kevin Rodgers'" <kevin.d.rodgers <at> gmail.com>,
        <354 <at> debbugs.gnu.org>, <bug-gnu-emacs <at> gnu.org>
References: <87r6bemkjj.fsf <at> jidanni.org> <g2acs1$uk1$1 <at> ger.gmane.org>
Subject: RE: bug#354: "Added (how many lines, bytes?!) to file.txt"
Date: Fri, 6 Jun 2008 07:56:14 -0700
Message-ID: <001f01c8c7e5$77c0c760$0200a8c0 <at> us.oracle.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="US-ASCII"
Content-Transfer-Encoding: 7bit
X-Mailer: Microsoft Office Outlook 11
In-reply-to: <g2acs1$uk1$1 <at> ger.gmane.org>
THREAD-INDEX: AcjH4woKBC1ts5sHQsKmGFu4Cl5NBwAAhvkg
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-Brightmail-Tracker: AAAAAQAAAAI=
X-Brightmail-Tracker: AAAAAQAAAAI=
X-Whitelist: TRUE
X-Whitelist: TRUE
X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6
X-CrossAssassin-Score: 2

> Since append-to-file takes buffer positions as arguments, I think
> the most relevant unit to report would be characters.

Definitely.

Both could be mentioned, however: (2614 chars, 104 lines).






Acknowledgement sent to "Drew Adams" <drew.adams <at> oracle.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text available.
Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#354; Package emacs. Full text available.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Status: No, score=-7.3 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER,
	PLING_QUERY,RCVD_IN_DNSWL_LOW autolearn=ham
	version=3.2.3-bugs.debian.org_2005_01_02
Received: (at submit) by emacsbugs.donarmstrong.com; 6 Jun 2008 04:02:28 +0000
Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m5642NZI004264
	for <submit <at> emacsbugs.donarmstrong.com>; Thu, 5 Jun 2008 21:02:25 -0700
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1K4T9i-0001AY-NW
	for bug-gnu-emacs <at> gnu.org; Fri, 06 Jun 2008 00:02:22 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1K4T9i-0001AM-5e
	for bug-gnu-emacs <at> gnu.org; Fri, 06 Jun 2008 00:02:22 -0400
Received: from [199.232.76.173] (port=55857 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1K4T9i-0001AJ-2t
	for bug-gnu-emacs <at> gnu.org; Fri, 06 Jun 2008 00:02:22 -0400
Received: from main.gmane.org ([80.91.229.2]:59974 helo=ciao.gmane.org)
	by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32)
	(Exim 4.60)
	(envelope-from <geb-bug-gnu-emacs <at> m.gmane.org>)
	id 1K4T9i-0006qz-1R
	for bug-gnu-emacs <at> gnu.org; Fri, 06 Jun 2008 00:02:22 -0400
Received: from list by ciao.gmane.org with local (Exim 4.43)
	id 1K4T9e-00015j-0A
	for bug-gnu-emacs <at> gnu.org; Fri, 06 Jun 2008 04:02:18 +0000
Received: from c-67-190-29-163.hsd1.co.comcast.net ([67.190.29.163])
        by main.gmane.org with esmtp (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <bug-gnu-emacs <at> gnu.org>; Fri, 06 Jun 2008 04:02:17 +0000
Received: from kevin.d.rodgers by c-67-190-29-163.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian))
        id 1AlnuQ-0007hv-00
        for <bug-gnu-emacs <at> gnu.org>; Fri, 06 Jun 2008 04:02:17 +0000
X-Injected-Via-Gmane: http://gmane.org/
To: bug-gnu-emacs <at> gnu.org
From: Kevin Rodgers <kevin.d.rodgers <at> gmail.com>
Subject: Re: bug#354: "Added (how many lines, bytes?!) to file.txt"
Date: Thu, 05 Jun 2008 22:02:08 -0600
Lines: 22
Message-ID: <g2acs1$uk1$1 <at> ger.gmane.org>
References: <87r6bemkjj.fsf <at> jidanni.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Complaints-To: usenet <at> ger.gmane.org
X-Gmane-NNTP-Posting-Host: c-67-190-29-163.hsd1.co.comcast.net
User-Agent: Thunderbird 2.0.0.14 (Macintosh/20080421)
In-Reply-To: <87r6bemkjj.fsf <at> jidanni.org>
Sender: news <news <at> ger.gmane.org>
X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4)

jidanni <at> jidanni.org wrote:
> Gentlemen, (I sound like Prince's "Partyman" song)
> I noticed all append-to-file says is
> "Added to /var/neurdsbeurg.txt".
> 
> The problem is often the user thinks "good, thanks", when days later
> he discovers few or no lines got added, that's right, even 0 bytes
> will produce the same message. You see often we are not fully aware of
> the extent of our regions, colored or not, especially when extending
> off the screen.
> 
> Therefore I propose you change that message to say instead how many
> line or bytes or characters or both or all three were copied over.

Since append-to-file takes buffer positions as arguments, I think
the most relevant unit to report would be characters.

> All this of course also applies to write-region.

-- 
Kevin Rodgers
Denver, Colorado, USA






Acknowledgement sent to Kevin Rodgers <kevin.d.rodgers <at> gmail.com>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text available.
Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#354; Package emacs. Full text available.
Severity set to `wishlist' from `normal' Request was from Stefan Monnier <monnier <at> iro.umontreal.ca> to control <at> emacsbugs.donarmstrong.com. Full text available.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Status: No, score=-0.9 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER,
	HELO_LH_HOME,MURPHY_DRUGS_REL8,PLING_QUERY,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC
	autolearn=no version=3.2.3-bugs.debian.org_2005_01_02
Received: (at 354) by emacsbugs.donarmstrong.com; 3 Jun 2008 21:07:57 +0000
Received: from ceviche.home (206-248-132-168.dsl.teksavvy.com [206.248.132.168])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m53L7sDu003835
	for <354 <at> emacsbugs.donarmstrong.com>; Tue, 3 Jun 2008 14:07:55 -0700
Received: by ceviche.home (Postfix, from userid 20848)
	id 27C19B423C; Tue,  3 Jun 2008 17:07:53 -0400 (EDT)
From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: 354 <at> debbugs.gnu.org
Subject: Re: bug#354: "Added (how many lines, bytes?!) to file.txt"
Message-ID: <jwvwsl6mdvx.fsf-monnier+emacsbugreports <at> gnu.org>
References: <87r6bemkjj.fsf <at> jidanni.org>
Date: Tue, 03 Jun 2008 17:07:53 -0400
In-Reply-To: <87r6bemkjj.fsf <at> jidanni.org> (jidanni <at> jidanni.org's message of
	"Wed, 04 Jun 2008 02:37:52 +0800")
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii

severity 354 wishitem
thanks

> Gentlemen, (I sound like Prince's "Partyman" song)
> I noticed all append-to-file says is
> "Added to /var/neurdsbeurg.txt".

> The problem is often the user thinks "good, thanks", when days later
> he discovers few or no lines got added, that's right, even 0 bytes
> will produce the same message. You see often we are not fully aware of
> the extent of our regions, colored or not, especially when extending
> off the screen.

> Therefore I propose you change that message to say instead how many
> line or bytes or characters or both or all three were copied over.

That sounds like a good idea.  I think you may even be able to provide
a patch for it.  The relevant code is at the very end of the
Fwrite_region function in emacs/src/fileio.c.


        Stefan






Acknowledgement sent to Stefan Monnier <monnier <at> iro.umontreal.ca>:
Extra info received and forwarded to list. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text available.
Information forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#354; Package emacs. Full text available.

Message received at (unknown):


Received: (at unknown) by unknown; unknown
X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02
	(2007-08-08) on rzlab.ucr.edu
X-Spam-Level: 
X-Spam-Status: No, score=-3.2 required=4.0 tests=AWL,BAYES_00,PLING_QUERY,
	RCVD_IN_DNSWL_LOW autolearn=no version=3.2.3-bugs.debian.org_2005_01_02
Received: (at submit) by emacsbugs.donarmstrong.com; 3 Jun 2008 20:22:39 +0000
Received: from lists.gnu.org (lists.gnu.org [199.232.76.165])
	by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m53KMZe4024791
	for <submit <at> emacsbugs.donarmstrong.com>; Tue, 3 Jun 2008 13:22:36 -0700
Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1K3d1f-0002ih-4b
	for bug-gnu-emacs <at> gnu.org; Tue, 03 Jun 2008 16:22:35 -0400
Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1K3d1d-0002gC-Kb
	for bug-gnu-emacs <at> gnu.org; Tue, 03 Jun 2008 16:22:33 -0400
Received: from [199.232.76.173] (port=32966 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1K3d1d-0002fg-EW
	for bug-gnu-emacs <at> gnu.org; Tue, 03 Jun 2008 16:22:33 -0400
Received: from lax-green-bigip-5.dreamhost.com ([208.113.200.5]:49842 helo=blingymail-a2.g.dreamhost.com)
	by monty-python.gnu.org with esmtp (Exim 4.60)
	(envelope-from <jidanni <at> jidanni.org>)
	id 1K3d1c-0005r6-4o
	for bug-gnu-emacs <at> gnu.org; Tue, 03 Jun 2008 16:22:33 -0400
Received: from jidanni1.jidanni.org (122-127-33-182.dynamic.hinet.net [122.127.33.182])
	(using TLSv1 with cipher AES256-SHA (256/256 bits))
	(No client certificate requested)
	by blingymail-a2.g.dreamhost.com (Postfix) with ESMTP id 5E7204134B
	for <bug-gnu-emacs <at> gnu.org>; Tue,  3 Jun 2008 13:22:30 -0700 (PDT)
To: bug-gnu-emacs <at> gnu.org
Subject: "Added (how many lines, bytes?!) to file.txt"
From: jidanni <at> jidanni.org
Date: Wed, 04 Jun 2008 02:37:52 +0800
Message-ID: <87r6bemkjj.fsf <at> jidanni.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6

Gentlemen, (I sound like Prince's "Partyman" song)
I noticed all append-to-file says is
"Added to /var/neurdsbeurg.txt".

The problem is often the user thinks "good, thanks", when days later
he discovers few or no lines got added, that's right, even 0 bytes
will produce the same message. You see often we are not fully aware of
the extent of our regions, colored or not, especially when extending
off the screen.

Therefore I propose you change that message to say instead how many
line or bytes or characters or both or all three were copied over.

All this of course also applies to write-region.





Acknowledgement sent to jidanni <at> jidanni.org:
New bug report received and forwarded. Copy sent to Emacs Bugs <bug-gnu-emacs <at> gnu.org>. Full text available.
Report forwarded to bug-submit-list <at> lists.donarmstrong.com, Emacs Bugs <bug-gnu-emacs <at> gnu.org>:
bug#354; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 20 Sep 2011 19:45:02 UTC

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