emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/csv-mode 4ae5096: * csv-mode.el (csv-end-of-field): Exp


From: Stefan Monnier
Subject: [elpa] externals/csv-mode 4ae5096: * csv-mode.el (csv-end-of-field): Expand comment
Date: Wed, 15 Dec 2021 12:46:18 -0500 (EST)

branch: externals/csv-mode
commit 4ae5096ed1be35928a8361ed6ed35463697dfc65
Author: Stefan Monnier <monnier@iro.umontreal.ca>
Commit: Stefan Monnier <monnier@iro.umontreal.ca>

    * csv-mode.el (csv-end-of-field): Expand comment
---
 csv-mode.el | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/csv-mode.el b/csv-mode.el
index 5e29a9b..7b9c915 100644
--- a/csv-mode.el
+++ b/csv-mode.el
@@ -674,8 +674,9 @@ point or marker arguments, BEG and END, delimiting the 
region."
       (while (not ended)
        (cond ((not (eq (char-syntax (following-char)) ?\"))
               (forward-char 1))
-             ;; Quotes inside quoted strings are quoted by doubling
-             ;; the quote char: a,"b""c,",d
+             ;; According to RFC-4180 (sec 2.7), quotes inside quoted strings
+             ;; are quoted by doubling the quote char: a,"b""c,",d
+             ;; FIXME: Maybe we should handle this via syntax-propertize?
              ((eq (char-syntax (char-after (1+ (point)))) ?\")
               (forward-char 2))
              (t



reply via email to

[Prev in Thread] Current Thread [Next in Thread]