Questions tagged [csv]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
1answer
55 views

csv-mode: do not split line on newline inside quoted field

I'm using the latest csv-mode in Emacs 25.3.1 in centos 6.10. The problem is that I have many fields that are long documentation strings and many of them have embedded newlines. This messed up csv-...
4
votes
2answers
104 views

Display all/current CSV heading names

In CSV files (especially ones with a lot of columns and/or a lot of rows) I find that it's hard to tell which column I'm on. Normally I'd like to know either the column heading, or sometimes the ...
0
votes
1answer
41 views

Insert a list of lists of strings as CSV

Given a list of lists, as returned e.g. by pcsv-parse-buffer, what's a correct way of inserting it to the buffer in CSV format ? I looked at pcsv.el and csv-mode.el but could not find a function to ...
3
votes
0answers
133 views

csv-mode is very slow

Just about any buffer with csv-mode enabled gets very slow/unresponsive, regardless of how big the file is. It takes up to half a second to jump to the next line/character. Any idea why that is? I ...
2
votes
1answer
474 views

Export Org-Mode Timesheet Data?

I've taken to using org-mode for keeping track of my open tasks each week, notes on various tasks, and to generate a LaTeX formatted report at the end of each week that breaks down my time by task and ...
3
votes
1answer
243 views

setq and csv-mode variables

Why can't I directly set csv-mode variables like that: (setq csv-separators '(";" "\t")) (setq csv-field-quotes '("\"" "'")) and I'm forced to set it like that: (custom-set-variables '(csv-...
3
votes
2answers
303 views

Creating a contact group from a local file to use with mu4e

I have a file ~/foo/contacts.csv whose first two columns look like Student ID,Student Name firstID@foo.org,"Lennon, John" secondID@foo.org,"McCartney, Paul" thirdID@foo.org,"Harrison, George" ...
1
vote
1answer
210 views

CSV to Markdown table

Say we have a CSV in a buffer: foo,bar,hello 1,234,95 8923,901,145 Are there any native Emacs or Markdown-mode built-ins in Emacs that can be used to convert it to a Markdown table? It looks like ...
11
votes
1answer
5k views

Viewing & editing Excel spreadsheets and csv files in Emacs

Is there any way to view / edit Excel spreadsheets (e.g. xls and xlsx files) in Emacs? What about csv files? (e.g. column-aligning content). For reference, this is what I see when I try to open an ....
8
votes
2answers
688 views

How to search *just* the current line

I'm working with large, extra wide data files I probably should just be viewing in Excel... but I'd rather stay in Emacs. Is there an elisp function to search (and fontify) just on the current line?
10
votes
2answers
551 views

Make emacs lock display of the first line of a file

How can I make Emacs always display the first line of a file which contains header information (such as a CSV) as I scroll down past where it would usually no longer be visible?
14
votes
1answer
881 views

How to view and edit large delimiter separated value files?

I have been using csv-mode to modify small to medium sized CSV files, but recently I have been working with large files containing more than 40,812 entries. csv-mode struggles to align and navigate ...