--- Begin Message ---
Subject: |
[elpa/csv-mode] [PATCH] CSV separator guessing |
Date: |
Sun, 08 May 2022 16:12:00 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
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
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#55315: [elpa/csv-mode] [PATCH] CSV separator guessing |
Date: |
Thu, 12 May 2022 21:59:32 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.1 (gnu/linux) |
Mattias Engdegård <mattiase@acm.org> writes:
> 9 maj 2022 kl. 13.03 skrev Simen Heggestøyl <simenheg@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
--- End Message ---