unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [elpa] externals/csv-mode 8849ff3: Allow quoting quotes in csv fields
       [not found] ` <20201206184559.90045205D7@vcs0.savannah.gnu.org>
@ 2020-12-06 22:52   ` Stefan Monnier
  2020-12-06 23:15     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Stefan Monnier @ 2020-12-06 22:52 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: emacs-devel

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?


        Stefan




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [elpa] externals/csv-mode 8849ff3: Allow quoting quotes in csv fields
  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
  2020-12-06 23:21       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-06 23:15 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [elpa] externals/csv-mode 8849ff3: Allow quoting quotes in csv fields
  2020-12-06 23:15     ` Lars Ingebrigtsen
@ 2020-12-06 23:21       ` Lars Ingebrigtsen
  0 siblings, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-06 23:21 UTC (permalink / raw)
  To: Stefan Monnier; +Cc: emacs-devel

Lars Ingebrigtsen <larsi@gnus.org> writes:

> https://tools.ietf.org/html/rfc4180
>
> Section 2.4.

I mean 2.7.

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



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2020-12-06 23:21 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [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
2020-12-06 23:21       ` Lars Ingebrigtsen

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).