Toward a "modern" Emacs
Toward a "modern" Emacs
Posted Sep 27, 2020 14:18 UTC (Sun) by pgdx (guest, #119243)In reply to: Toward a "modern" Emacs by khim
Parent article: Toward a "modern" Emacs
achieve it. Also, you don't need to read 600 manual pages if you are
willing to just use a search engine.
Open csv file in csv-mode, run C-c C-s (for alphabetic sort) or C-c C-n
(for numeric sort). If you haven't selected a region of the file
(typically the entire file or the entire file minus the header), Emacs
will select the entire file and ask you it you indeed want to sort the
entire file (including the first row). Then Emacs asks you which
column, and it defaults to the column your cursor is in (select 2).
Now, enter org-mode, select the table and run C-c |. (Sounds weird, but
pipe is column separator in org-mode, so it's quite natural if you're
familiar with org-mode.) If you want to make the first row the header
row, you simply press C-c -, which inserts a separator line under your
cursor.
Finally, run C-c C-e l p (again, possibly weird, but C-c C-e is
org-export, and then l p means LaTeX and PDF).
