unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#24702: 25.1; csv-mode not handling escaped quotes
@ 2016-10-16  1:41 Leo Liu
  2019-07-27 13:54 ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Liu @ 2016-10-16  1:41 UTC (permalink / raw)
  To: 24702


csv-mode considers this row 4 fields when there are only 3:

  timestamp_lt_date,"{""timestamp without time zone"",date}",boolean





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

* bug#24702: 25.1; csv-mode not handling escaped quotes
  2016-10-16  1:41 bug#24702: 25.1; csv-mode not handling escaped quotes Leo Liu
@ 2019-07-27 13:54 ` Lars Ingebrigtsen
  2019-07-28 12:51   ` Leo Liu
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2019-07-27 13:54 UTC (permalink / raw)
  To: Leo Liu; +Cc: 24702

Leo Liu <sdl.web@gmail.com> writes:

> csv-mode considers this row 4 fields when there are only 3:
>
>   timestamp_lt_date,"{""timestamp without time zone"",date}",boolean

In what context does it not handle the escaped quotes?  The font locking
looks OK, for instance...

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





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

* bug#24702: 25.1; csv-mode not handling escaped quotes
  2019-07-27 13:54 ` Lars Ingebrigtsen
@ 2019-07-28 12:51   ` Leo Liu
  2019-07-28 13:00     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Leo Liu @ 2019-07-28 12:51 UTC (permalink / raw)
  To: Lars Ingebrigtsen; +Cc: 24702

On 2019-07-27 15:54 +0200, Lars Ingebrigtsen wrote:
> In what context does it not handle the escaped quotes?  The font locking
> looks OK, for instance...

It fails to handle "{""timestamp without time zone"",date}" as one
field. Try move your cursor to `boolean' and observe the mode-line shows
F4, which means csv-mode thinks there are 4 fields when there are only
3.





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

* bug#24702: 25.1; csv-mode not handling escaped quotes
  2019-07-28 12:51   ` Leo Liu
@ 2019-07-28 13:00     ` Lars Ingebrigtsen
  2021-08-15 12:13       ` Lars Ingebrigtsen
  0 siblings, 1 reply; 5+ messages in thread
From: Lars Ingebrigtsen @ 2019-07-28 13:00 UTC (permalink / raw)
  To: Leo Liu; +Cc: 24702

Leo Liu <sdl.web@gmail.com> writes:

> On 2019-07-27 15:54 +0200, Lars Ingebrigtsen wrote:
>> In what context does it not handle the escaped quotes?  The font locking
>> looks OK, for instance...
>
> It fails to handle "{""timestamp without time zone"",date}" as one
> field. Try move your cursor to `boolean' and observe the mode-line shows
> F4, which means csv-mode thinks there are 4 fields when there are only
> 3.

Right.

The escaped quotes don't seem to have anything to do with it, though:

timestamp_lt_date,"{timestamp without time zone,date}",boolean

shows the same symptoms (F4 on the last field, which should be F3).

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





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

* bug#24702: 25.1; csv-mode not handling escaped quotes
  2019-07-28 13:00     ` Lars Ingebrigtsen
@ 2021-08-15 12:13       ` Lars Ingebrigtsen
  0 siblings, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2021-08-15 12:13 UTC (permalink / raw)
  To: Leo Liu; +Cc: 24702

Lars Ingebrigtsen <larsi@gnus.org> writes:

>> It fails to handle "{""timestamp without time zone"",date}" as one
>> field. Try move your cursor to `boolean' and observe the mode-line shows
>> F4, which means csv-mode thinks there are 4 fields when there are only
>> 3.
>
> Right.
>
> The escaped quotes don't seem to have anything to do with it, though:
>
> timestamp_lt_date,"{timestamp without time zone,date}",boolean
>
> shows the same symptoms (F4 on the last field, which should be F3).

This was fixed in af8c6b7aa96bb last year (for both the example provided
and the one without the quoted quoted).

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





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

end of thread, other threads:[~2021-08-15 12:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-16  1:41 bug#24702: 25.1; csv-mode not handling escaped quotes Leo Liu
2019-07-27 13:54 ` Lars Ingebrigtsen
2019-07-28 12:51   ` Leo Liu
2019-07-28 13:00     ` Lars Ingebrigtsen
2021-08-15 12:13       ` 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).