Questions tagged [large-files]
10 questions
17
votes
1 answer
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 the tables, and is too slow to be usable as is. In…

holocronweaver
- 1,319
- 10
- 22
6
votes
1 answer
Batch loading binary files
I just discovered vlf-mode (View Large Files) and I am using it to view a large binary file in hexl-mode and read certain metadata from headers within the file. It works great, with one exception. When I move to another "batch" within the file,…

nispio
- 8,175
- 2
- 35
- 73
4
votes
3 answers
Improve emacs performance when working on large files
I'm a former vim user that switched to emacs + evil with a still relatively simple configuration with only 36 packages. I'm really happy with the additional functionality emacs delivers, but one thing bothers me really much. Emacs is much slower…

enco909
- 41
- 4
3
votes
1 answer
`find-file-hook` problem for large buffer that is just one long line
I got a file(for instance, ~/.mozilla/firefox/xxx.default/sessionstore-backups/recovery.bak) that its content is one whole line and size of over 1MB, if I open it in Emacs, Emacs will become very laggy, so I put some configuration in Emacs: if a…

CodyChan
- 2,599
- 1
- 19
- 33
2
votes
2 answers
Visual clutter on the left edge
I am not sure which terms to search for this with, perhaps you can help. Sometimes when I move around my emacs window, some grey clutter emerges on the left hand side. The file that I am working on is growing in size (82 Kb), but is not that huge (I…

puslet88
- 243
- 2
- 10
2
votes
2 answers
Automated trim of 28 million text records
I have a plain text data file, consisting of 28 million tab-delimited records, each containing nine fields. The left ends of the first three records look like this:
I would like to truncate each of those records after the first four fields. That…

Ray Woodcock
- 144
- 4
2
votes
1 answer
How to limit mark/kill size of huge (org-mode) files?
I have org-mode files about 50K lines long, which I can edit and save file; but once in a while accidentally marked a large region by typing C-x C-x or C-x h, and copied too much data into clipboard, so Emacs hangs until killed by oom.
Is there a…

gb2312
- 21
- 2
2
votes
2 answers
Instruct Emacs never to open files of a certain type or size
In Emacs by default there is a large file warning threshold. I would prefer to instruct Emacs never to open files of a certain type or size. These are files I would prefer always to open in an external application. I now have it set up that I can…

Edman
- 1,167
- 7
- 13
1
vote
0 answers
vlf-mode, delete up to end of file
I am viewing a large file (512 MB) with vlf-mode. How can I delete from a point of the file to the end?
The standard approach of selecting the text from a point to the end and then deleting it does not work.
In fact, the file is subdivided in many…

Nisba
- 895
- 8
- 19
1
vote
1 answer
docview: suppress "File X is too large, really open?" confirmation
Is it possible to avoid the "File X is too large, really open?" confirmation?
If not, would it be possible for Emacs to remember my answer the first time I visited a large file? If I visited it once, I will surely want to really visit it again.

Boccaperta-IT
- 1,556
- 11
- 24