Emacs function of the day

When playing with csv files today, I discovered two very useful function:

The first one is M-x keep-lines that allow to remove all the lines that I don’t care about.

The second one is M-x csv-kill-fields from the csv mode that allow me to remove all the columns I don’t want.

With these (and some variants around), I’m all set for some quick data filtering.

Leave a Reply

Your email address will not be published. Required fields are marked *