0 Followers
0 Following
0 Posts

Automatically Export Emacs SES Files to TSV

https://lemmy.world/post/42277494

Automatically Export Emacs SES Files to TSV - Lemmy.World

I thought this might be useful for anyone who might want to use the Simple Emacs Spreadsheet [https://www.gnu.org/software/emacs/manual/html_mono/ses.html]. Since .ses files are only useful in Emacs and many would likely wish to access the data from other tools, you can set up Emacs to automatically export the data to tab-separated values with the following: First, Add a hook to the after-save-hook (here with use-package: :hook (after-save-hook . my/ses-export) Second, add this function to your Emacs init file(s): (defun my/ses-export () (interactive) (when (eq major-mode 'ses-mode) (mark-whole-buffer) (ses-export-tsv (point-min) (point-max)) (let ((save-name (concat (file-name-sans-extension (buffer-file-name (current-buffer))) ".tsv"))) (with-temp-buffer (yank) (write-file save-name))))) And there you have it, your .ses files will always have a human-readable .tsv file exported on each save.

You can see how afraid they are of death by how much effort they put in to extend their lives.

I don’t think Christmas was as much about gift giving in Dickens time. I think it was more a time that your family gets to be together. He even alludes to this with Bob Crachit’s daughter having to slave away at work and only getting to see family on Christmas. They don’t really do gifts in the story, they just have a small meal together. It isn’t until Scrooge changes his mindset that gifts start being much of a thing in the story.

Dickens was always focused on the poverty and suffering of the industrial age. I think he would object to our sense today of Christmas being so focused on gifts and not on time with family and friends

I have read it many times and I agree that the story is about a dream/nightmare Ebeneezer has on Christmas Eve. I always saw the story as an old rich man had who does not have much longer to live reflects on his life. He decides he still has time to try and change with what little time he has left.

I think it really could have been framed many ways. Many people reflect on their lives on New Year’s Eve or their birthdays. I think Dickens just decided to choose Christmas for his story.

We are all made from matter ejected from a star that lives on and in matter from that star while receiving energy from that star.
Many people get diarrhea when they take antibiotics for long durations. Additionally, the dry weight of human feces is about 25-50 percent gut bacteria.
How much bacteria is in poop? - The Institute for Environmental Research and Education

How Much Bacteria is in Poop? A Deep Dive The vast majority of solid waste is, in fact, alive. Bacteria […]

The Institute for Environmental Research and Education
Perhaps you have vim-tiny installed by default on your distro rather than just vim?
GitHub - emacsorphanage/god-mode: Minor mode for God-like command entering

Minor mode for God-like command entering. Contribute to emacsorphanage/god-mode development by creating an account on GitHub.

GitHub
Why did they need to tear it apart to discover the advantage was government funding? It this just a click bait headline?
It is possible that any developer could just say “none” even if the extension does collect data? If it has to be manually disclosed, this won’t stop malicious actors. Only trustworthy extension developers would disclose this.