emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* How to convert CSV text containing newlines to org-table?
@ 2015-04-06 18:58 Kaushal
  2015-04-06 19:21 ` Rasmus
  0 siblings, 1 reply; 2+ messages in thread
From: Kaushal @ 2015-04-06 18:58 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]

Hi,

I have this sample text:

a,b,c,"def,
ghi"

When I convert that to org-table using C-u C-c |, I get

| a    | b | c | "def |   |
| ghi" |   |   |      |   |

This was my expected outcome:

| a | b | c | def, |
|   |   |   | ghi  |

[-- Attachment #2: Type: text/html, Size: 516 bytes --]

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

* Re: How to convert CSV text containing newlines to org-table?
  2015-04-06 18:58 How to convert CSV text containing newlines to org-table? Kaushal
@ 2015-04-06 19:21 ` Rasmus
  0 siblings, 0 replies; 2+ messages in thread
From: Rasmus @ 2015-04-06 19:21 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

Kaushal <kaushal.modi@gmail.com> writes:

> I have this sample text:
>
> a,b,c,"def,
> ghi"
>
> When I convert that to org-table using C-u C-c |, I get
>
> | a    | b | c | "def |   |
> | ghi" |   |   |      |   |
>
> This was my expected outcome:
>
> | a | b | c | def, |
> |   |   |   | ghi  |

For the reference:

LO opens is as
| a | b |c | def\nghi|

And Gnumeric opens it as

| a, b, c, def |
| ghi         |

It's not obvious what is the correct behavior here.

-- 
Send from my Emacs

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

end of thread, other threads:[~2015-04-06 19:22 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-06 18:58 How to convert CSV text containing newlines to org-table? Kaushal
2015-04-06 19:21 ` Rasmus

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).