unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: [elpa] externals/csv-mode 8849ff3: Allow quoting quotes in csv fields
Date: Mon, 07 Dec 2020 00:15:20 +0100	[thread overview]
Message-ID: <871rg2msqf.fsf@gnus.org> (raw)
In-Reply-To: <jwvo8j6a6q2.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Sun, 06 Dec 2020 17:52:19 -0500")

Stefan Monnier <monnier@iro.umontreal.ca> writes:

> Hi Lars,
>
>> +	      ;; Quotes inside quoted strings are quoted by doubling
>> +	      ;; the quote char: a,"b""c,",d
>> +	      ((eq (char-syntax (char-after (1+ (point)))) ?\")
>> +	       (forward-char 2))
>
> Do you happen to have a URL where this syntax is defined?

There is, of course, no CSV format definition, but this one is
semi-popular after:

https://tools.ietf.org/html/rfc4180

Section 2.4.

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



  reply	other threads:[~2020-12-06 23:15 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20201206184558.2600.23683@vcs0.savannah.gnu.org>
     [not found] ` <20201206184559.90045205D7@vcs0.savannah.gnu.org>
2020-12-06 22:52   ` [elpa] externals/csv-mode 8849ff3: Allow quoting quotes in csv fields Stefan Monnier
2020-12-06 23:15     ` Lars Ingebrigtsen [this message]
2020-12-06 23:21       ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871rg2msqf.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).