GNU bug report logs - #32172
csv-kill-fields broken in text mode

Previous Next

Package: emacs;

Reported by: Filipp Gunbin <fgunbin <at> fastmail.fm>

Date: Mon, 16 Jul 2018 12:59:01 UTC

Severity: normal

Tags: notabug

Done: Filipp Gunbin <fgunbin <at> fastmail.fm>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 32172 in the body.
You can then email your comments to 32172 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#32172; Package emacs. (Mon, 16 Jul 2018 12:59:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Filipp Gunbin <fgunbin <at> fastmail.fm>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 16 Jul 2018 12:59:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Filipp Gunbin <fgunbin <at> fastmail.fm>
To: Bob Babcock <wssddc <at> nospam.wssddc.com>
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: csv-kill-fields broken in text mode
Date: Mon, 16 Jul 2018 15:58:01 +0300
On 14/07/2018 05:30 +0000, Bob Babcock wrote:

> I just discovered a surprising interaction: csv-kill-fields and csv-kill-
> multiple-columns break if the buffer is in text mode and a (quoted) field
> contains a comma.
>
> For example, take the line
> "1,2","3"
> and interactively delete the first field with csv-kill-fields.
>
> If the buffer is in csv or fundamental mode, the result is, as expected
> "3"
>
> If the buffer is in text mode, the result is
> 2","3"
>
> I have not tested other functions in csv-mode.el for similar breakage.
>
> Is there a better place to report this?  Maybe the only change should be to
> document the mode requirement.  The only reason I'm in text mode is that I
> am pasting csv data into an existing text file for reformat to fixed
> columns.

These commands are not standard commands, but csv-mode specific
commands, so they work only in csv-mode.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32172; Package emacs. (Mon, 16 Jul 2018 15:29:02 GMT) Full text and rfc822 format available.

Message #8 received at 32172 <at> debbugs.gnu.org (full text, mbox):

From: Filipp Gunbin <fgunbin <at> fastmail.fm>
To: Bob Babcock <wssddc <at> nospam.wssddc.com>
Cc: 32172 <at> debbugs.gnu.org
Subject: Re: bug#32172: csv-kill-fields broken in text mode
Date: Mon, 16 Jul 2018 18:28:01 +0300
tags 32172 notabug
close 32172
quit

On 16/07/2018 15:58 +0300, Filipp Gunbin wrote:

> On 14/07/2018 05:30 +0000, Bob Babcock wrote:
>
>> I just discovered a surprising interaction: csv-kill-fields and csv-kill-
>> multiple-columns break if the buffer is in text mode and a (quoted) field
>> contains a comma.
>>
>> For example, take the line
>> "1,2","3"
>> and interactively delete the first field with csv-kill-fields.
>>
>> If the buffer is in csv or fundamental mode, the result is, as expected
>> "3"
>>
>> If the buffer is in text mode, the result is
>> 2","3"
>>
>> I have not tested other functions in csv-mode.el for similar breakage.
>>
>> Is there a better place to report this?  Maybe the only change should be to
>> document the mode requirement.  The only reason I'm in text mode is that I
>> am pasting csv data into an existing text file for reformat to fixed
>> columns.
>
> These commands are not standard commands, but csv-mode specific
> commands, so they work only in csv-mode.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32172; Package emacs. (Mon, 16 Jul 2018 22:16:02 GMT) Full text and rfc822 format available.

Message #11 received at 32172 <at> debbugs.gnu.org (full text, mbox):

From: Noam Postavsky <npostavs <at> gmail.com>
To: Filipp Gunbin <fgunbin <at> fastmail.fm>
Cc: Bob Babcock <wssddc <at> wssddc.com>, 32172 <at> debbugs.gnu.org
Subject: Re: bug#32172: csv-kill-fields broken in text mode
Date: Mon, 16 Jul 2018 18:14:54 -0400
Filipp Gunbin <fgunbin <at> fastmail.fm> writes:

> tags 32172 notabug
> close 32172
> quit

You have to send this text to control <at> debbugs.gnu.org to have effect.
If sending to others, you should use Bcc to prevent further replies from
going there accidentally (which is why you don't see this address when
other people do it).

>> On 14/07/2018 05:30 +0000, Bob Babcock wrote:
>>
>>>
>>> Is there a better place to report this?

It's the right list, but it looks like you sent the bug via the
newsgroup, which prevents the tracker from registering it properly
(Filipp's reply did get it registered as a bug).





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#32172; Package emacs. (Tue, 17 Jul 2018 01:51:02 GMT) Full text and rfc822 format available.

Message #14 received at 32172 <at> debbugs.gnu.org (full text, mbox):

From: Filipp Gunbin <fgunbin <at> fastmail.fm>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 32172 <at> debbugs.gnu.org
Subject: Re: bug#32172: csv-kill-fields broken in text mode
Date: Tue, 17 Jul 2018 04:50:16 +0300
tags 32172 notabug
close 32172
quit

On 16/07/2018 18:14 -0400, Noam Postavsky wrote:

> Filipp Gunbin <fgunbin <at> fastmail.fm> writes:
>
>> tags 32172 notabug
>> close 32172
>> quit
>
> You have to send this text to control <at> debbugs.gnu.org to have effect.
> If sending to others, you should use Bcc to prevent further replies from
> going there accidentally (which is why you don't see this address when
> other people do it).

Got it, thanks.




Added tag(s) notabug. Request was from Filipp Gunbin <fgunbin <at> fastmail.fm> to control <at> debbugs.gnu.org. (Tue, 17 Jul 2018 01:51:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 32172 <at> debbugs.gnu.org and Filipp Gunbin <fgunbin <at> fastmail.fm> Request was from Filipp Gunbin <fgunbin <at> fastmail.fm> to control <at> debbugs.gnu.org. (Tue, 17 Jul 2018 01:51:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 14 Aug 2018 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 7 years and 6 days ago.

Previous Next


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