GNU bug report logs - #55315
[elpa/csv-mode] [PATCH] CSV separator guessing

Previous Next

Package: emacs;

Reported by: Simen Heggestøyl <simenheg <at> runbox.com>

Date: Sun, 8 May 2022 14:13:02 UTC

Severity: normal

Tags: patch

Done: Simen Heggestøyl <simenheg <at> runbox.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Simen Heggestøyl <simenheg <at> runbox.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#55315: closed ([elpa/csv-mode] [PATCH] CSV separator guessing)
Date: Thu, 12 May 2022 20:00:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Thu, 12 May 2022 21:59:32 +0200
with message-id <87wneqed3v.fsf <at> simenheg <at> gmail.com>
and subject line Re: bug#55315: [elpa/csv-mode] [PATCH] CSV separator guessing
has caused the debbugs.gnu.org bug report #55315,
regarding [elpa/csv-mode] [PATCH] CSV separator guessing
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
55315: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=55315
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Simen Heggestøyl <simenheg <at> runbox.com>
To: bug-gnu-emacs <at> gnu.org
Subject: [elpa/csv-mode] [PATCH] CSV separator guessing
Date: Sun, 08 May 2022 16:12:00 +0200
[Message part 3 (text/plain, inline)]
Hi.

Attached is a proposed patch to csv-mode.el in GNU ELPA which adds CSV
separator guessing functionality to CSV mode.

It adds two new commands: `csv-guess-set-separator' that automatically
guesses and sets the CSV separator of the current buffer, and
`csv-set-separator' for setting it manually.

The idea is that `csv-guess-set-separator' can be useful to add to the
mode hook to have CSV mode guess and set the separator automatically
when visiting a buffer:

  (add-hook 'csv-mode-hook 'csv-guess-set-separator)

Been using it myself for the past weeks and have been happy with it so
far.

[0001-Add-CSV-separator-guessing-functionality.patch (text/x-diff, attachment)]
[Message part 5 (message/rfc822, inline)]
From: Simen Heggestøyl <simenheg <at> runbox.com>
To: Mattias Engdegård <mattiase <at> acm.org>
Cc: 55315-done <at> debbugs.gnu.org
Subject: Re: bug#55315: [elpa/csv-mode] [PATCH] CSV separator guessing
Date: Thu, 12 May 2022 21:59:32 +0200
Mattias Engdegård <mattiase <at> acm.org> writes:

> 9 maj 2022 kl. 13.03 skrev Simen Heggestøyl <simenheg <at> runbox.com>:
>
>> Updated patch with your proposed fix attached.
>
> Thanks, looks fine with respect to the regexp and skip-set generation.

Good! Thanks for taking another look. I've merged the patch.

-- Simen


This bug report was last modified 3 years and 14 days ago.

Previous Next


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