Following a successful negotiation by President Claudia Sheinbaum, Trump walked back his executive order imposing 25% tariffs on Mexico. Co-hosts José Luis Granados Ceja and Kurt Hackbarth tell the story of this week’s rollercoaster of events in the Mexico-US bilateral relationship, looking at Trump’s executive order, Sheinbaum’s response, and the deal that was ultimately struck.
Tom Roche
Shared posts
Mexico's Sheinbaum Wins Round One: Trump Retreats from Tariff Threat
Tom RocheEXCELLENT
909 - A Real Hero feat. Pendejo Time (2/17/25)
Tom RocheEXCELLENT: mostly just bant (but some analysis), very funny
Jake and Thomas return to look at the latest news of Elon’s bizarrely begotten offspring. Plus the jewish guy who shot two Israeli guys because he thought they were Palestinians, Millei’s rug pull, and Bari Weiss’ Free Press asks what exactly makes an American hero (and why does it take place in dive bar bathrooms).
Subscribe to Pendejo Time: https://www.patreon.com/pendejotime
Get bonus content on PatreonHosted on Acast. See acast.com/privacy for more information.
Irreal: Searching For The Thing At Point
Tom Rochepullquote (mildly edited):
> Finding out about [`isearch-forward-thing-at-point` aka `M-x M-s M-.`] once again demonstrates that Emacs is a lifelong journey.
indeed!
Just a quick post about a short note from Marcin Borkowski (mbork) concerning searching for the thing at point. Despite using Emacs for over 18 years I didn’t know about isearch-forward-thing-at-point.
As mbork says, it does just what it says. You invoke it with Meta+s Meta+. and it searches forward for whatever the point is on. This is something I want to do all the time and I was vaguely aware that it was possible but didn’t know exactly how to do it, so I’m really glad to see mbork’s post.
Finding out about this now serves to emphasize that learning Emacs really is a lifelong journey.
Trump's Economic Recovery a Dead End? - Michael Hudson, Alexander Mercouris & Glenn Diesen
Tom RocheHudson brilliant (if a bit disorganized) as usual
Trump's Economic Recovery a Dead End? - Michael Hudson, Alexander Mercouris & Glenn Diesen
TDS Time Machine | President's Day
Tom RocheSKIP! unless you want to be /absolutely/ sure that Stewart and Noah are basically normie CorpDems
Get up close with four presidents of the United States discussing some of their most personal causes.
Former President Jimmy Carter sits down with Jon Stewart to explain his efforts to eradicate the harmful Guinea Worm. Former President Bill Clinton talks about his foundation's campaign to combat ebola. President Barack Obama joins Trevor Noah to unpack how to be authentic amidst the demands of the presidency. Then Senator Joe Biden talks to Jon about how he would approach the presidency, and what it means to him.
See omnystudio.com/listener for privacy information.
2/14/25: Trump BLACKMAILS Corrupt NYC Mayor, DOGE Hits IRS, Ukraine Boots On The Ground?
Tom Rocheconsistently EXCELLENT (esp pre- and post-audio ads), none of the overlong KB-vs-SE debates
Krystal, Ryan and Emily discuss Trump blackmailing Eric Adams, DOGE targets the IRS, Trump admin floats Ukraine boots on the ground.
To become a Breaking Points Premium Member and watch/listen to the show AD FREE, uncut and 1 hour early visit: www.breakingpoints.com
Merch Store: https://shop.breakingpoints.com/
See omnystudio.com/listener for privacy information.
The politics of gold: Economist Michael Hudson explains why gold's price is rising so much
Tom RocheVERY EXCELLENT, quite accessible explainer esp re gold markets and central banks
TDS Time Machine | Valentine's Day
Tom RocheVERY EXCELLENT, very funny
Take a romantic stroll down memory lane with The Daily Show's Valentine's Day coverage.
Nate Cordry tackles the War on St. Valentine's Day. Resident Expert John Hodgman educates us on romance. Lewis Black rails against the technology of the holiday. Jon Stewart checks in on a synagogue with a surprisingly saucy new teacher. Trevor Noah weighs in on the risks of modern romance. Ronny Chieng challenges people on the street to prove him wrong about love. Sarah Silverman and Michael Kosta investigate the world of romance scams.
See omnystudio.com/listener for privacy information.
#598 - We Have Lingered In Puddles of Melted Gremlins
Tom RocheVERY EXCELLENT: topnotch M&U, not so much for the politics (good, but not much) but some great movie criticism (and well beyond the very-excellent, much-overlooked /G2/)
Norm: XPath server
Tom Rochesee [original article](https://so.nwalsh.com/2025/02/16-xpath-server) (archived [here](http://web.archive.org/web/20250216193634/https://so.nwalsh.com/2025/02/16-xpath-server)) and [its project](https://github.com/ndw/xpath-server). pullquote:
> Basically, you start the server in the background somewhere, load the lisp file into Emacs, and you’re off to the races. From an XML document, you can evaluate an XPath expression and get back a set of results. From the results buffer, you can quickly navigate to that location in the original file. Easy peasy.
Mark Tomczak: Unstick Terminals in Emacs
Tom Rochefor more on terminals in Emacs (including multiple vterms in a single buffer!) see (e.g.)
* [multi-term.el](https://www.emacswiki.org/emacs/MultiTerm)--extends term.el
* [aweshell.el](https://github.com/manateelazycat/aweshell)--extends eshell
* [emacs-libvterm](https://github.com/akermu/emacs-libvterm)--still more ambitious, see [this post](https://medium.com/@brenofarias/increasing-productivity-by-better-managing-multiple-terminals-in-emacs-b6fa3aabc814) on one way to use it
Irreal: Using Emacs For Research Notes
Tom Roche[original post](https://old.reddit.com/r/emacs/comments/1iokltb/emacs_org_mode_for_research_notes/) archived [here](https://archive.today/00zf8)
Continuing with our “Emacs for all things” theme of the last couple of days, here’s another post that speaks to how Emacs can be used for many things and how seemingly difficult or even impossible tasks can be done by using the right packages.
The topic of the post is using Emacs for taking research notes. S4h4rJ says that he loves Emacs but that he finds it hard to use for taking research notes because it’s so hard to deal with figures (jpegs, etc.). They are, he says, hard to size and hard to place within the file.
That didn’t seem right to me and other researchers chimed in explaining how they handled the problems that S4h4rJ was complaining about. It’s surprising how often the answer is simply installing and using an existing Emacs package.
The TL;DR is that there are many researchers who use Emacs to take and organize their notes. They use things like org-download and org-roam to deal with problems specific to their workflows. Take a look at the comments to S4h4rJ’s post for the details.
The takeaway is lots of serious researchers are using Emacs everyday for taking and organizing their research notes. If you’re a researcher and want to use Emacs, there’s no reason you can’t. You just need to be aware of a few packages and techniques that ease the process. Read the comments to S4h4rJ’s post to get an idea of what’s available. Even if you’re not a researcher, you may find those packages useful for your own workflow.
Trump To Force Ukraine Peace on Europe - John Mearsheimer, Alexander Mercouris & Glenn Diesen
Tom RocheMearsheimer and Diesen VERY EXCELLENT as usual (though it's still annoying to hafta convert AAC to MP3)
Trump To Force Ukraine Peace on Europe - John Mearsheimer, Alexander Mercouris & Glenn Diesen
The News Quiz: Ep5. Tariffs, Tabloids and Typewriters
Tom Rocheonly a median-quality /News Quiz/, which is to say "excellent" (esp Pierre Novellie)
On The News Quiz this week, Andy Zaltzman is joined by Ayesha Hazarika, Susie McCabe, Geoff Norcott and Pierre Novellie to discuss Britain's attempts to court the US and the EU, Trump's tariff turmoil, new report cards from Ofsted, and Starmer's uncovered voice coaching.
Written by Andy Zaltzman.
With additional material by: Jade Gebbie, Alex Kealy, Christina Riggs and Stuart McPherson. Producer: Rajiv Karia Executive Producer: Richard Morris Production Coordinator: Jodie Charman Sound Editor: Marc Willcox
A BBC Studios Audio Production for Radio 4 An Eco-Audio certified Production.
News - Trump and Putin Talk Ukraine Ceasefire, M23 Continues DRC Advance, Sudan's Forces Make Gains
Tom Rocheanother Bessner and (mostly) Davison EXCELLENT week-in-review (excepting the inter-audio ads)
Danny and Derek reveal their true faces. This week: Donald Trump and Vladimir Putin agree to start bilateral peace talks for the war in Ukraine (1:05), with anticipated fallout for the latter nation (6:17); Secretary of Defense Pete Hegseth makes some frank comments on Europe, Ukraine, and NATO (8:06); an update on the situation in Israel-Palestine, including Hamas threatening to delay the next hostage release over Israeli transgressions (12:06) and Trump continuing to push a US takeover of Gaza (16:53); in Lebanon, a new government is formed (21:22) and the IDF seeks to extend its occupation there (23:28); a Washington Post report suggests Israel might be planning to strike Iran (25:33); in China news, Trump reinstates a de minimis tariff exemption, but there is still no sign of a meeting with Xi Jinping (28:46); the Sudanese military is close to driving the Rapid Support Forces (RSF) out of the Khartoum region (31:20); the so-called Islamic State group appears to be on the rise in Somalia (33:36); a regional summit demands a ceasefire in the Democratic Republic of Congo as M23 continues its advance (35:38); and back in the United States, Trump announces new steel and aluminum tariffs (39:03) in addition to presenting exciting new opportunities for corruption (40:57).
News updates will also be on our YouTube channel going forward. Check out this week’s!
Subscribe now for much more content and an ad-free experience.
Learn more about your ad choices. Visit megaphone.fm/adchoices
908 - Death & Mass Kids (2/13/25)
Tom RocheEXCELLENT: return of the Chapo Trio (Felix+Matt+Will), great analysis, funny bits
Hosted on Acast. See acast.com/privacy for more information.
Trump Gets "Hot" for Kennedy Center, RFK Confirmed, Eggflation Rampant | Brady Corbet
Tom RocheEXCELLENT: funny bits (not the greatest DS, but good enough), plus an interesting+amusing interview (with Brady_Corbet, director of new movie /The Brutalist/). Just delete the pre-, inter-, and post-audio ads ...
Jordan Klepper tackles Trump getting "hot" and heavy with the Kennedy Center, the government confirming RFK Jr. as health secretary, and the president fumbling peace negotiations between Russia and Ukraine before they even start.
Josh Johnson asks New Yorkers how they're dealing with eggflation and tries to get in on the egg grift.
Brady Corbet, writer and director of “The Brutalist,” joins to discuss his ten-time Oscar-nominated film. He explains how Trump’s first-term push to “Make Federal Buildings Beautiful Again” inspired the story, the connection between Brutalist architecture and the immigrant experience, and how he pulled it all off using VistaVision and a meager $10 million budget.
See omnystudio.com/listener for privacy information.
Jon Stewart & John Oliver on America's Trump Monarchy Era | David Remnick
Tom RocheJon Stewart EXCELLENT as usual, followed by excellent bit with John Oliver, ... followed by yet another very-skippable interview (so bail @ 22:34)
Jon Stewart tackles Trump's attempt to be the Super Bowl MVP and examines the president's rejection of federal agencies, birthright citizenship, and basic constitutional checks and balances. Plus, John Oliver welcomes America to its monarchy era.
New Yorker editor David Remnick sits down to discuss the magazine’s 100th Anniversary Issue and journey since its inception in 1925. They also talk about the importance of long-form journalism, especially under the overwhelming second Trump administration, as well as how the President is overstepping executive power, the danger of the tech oligarchy, and the need for Democratic politicians and citizens alike to finish licking their wounds and take action.
See omnystudio.com/listener for privacy information.
Trump's Tariff Boredom, Hegseth Goes Diet Woke, Sports War: Super Bowl | Jesse Eisenberg
Tom RocheDSEE back to usual pattern: excellent bits (esp Sports War) followed by skippable interview (so bail @ 18:11)
Jordan Klepper on Trump's boredom over his own tariffs, Pete Hegseth's half-woke Fort Bragg rebrand, and Eric Adams's "get out of jail" card. Plus, Grace Kuhlenschmidt, Michael Kosta, and Troy Iwata take a lesson from Mayor Adams on how to multi-task at the salon.
Sports War: Klepper & Ronny spar over Super Bowl LIX and Kendrick's halftime show.
Academy Award-nominated actor Jesse Eisenberg sits down to discuss writing, directing, and starring in his Oscar-nominated film, "A Real Pain." They talk about carrying generational grief and grappling with his own life’s meaning as a descendant of Holocaust survivors, how his relationship with Kieran Culkin mirrors their characters, and how that influenced his role as director.
See omnystudio.com/listener for privacy information.
Democracy Now! 2025-02-12 Wednesday
Tom RocheEXCELLENT 3rd-post-headlines/final segment interview (claimed part 1, part 2 to come) with Tariq Ali, who states to Amy's face that the 'hard core' of the Zelensky regime 'are actual, lineal descendants of Ukrainian Nazis'
Democracy Now! 2025-02-12 Wednesday
- Headlines for February 12, 2025
- Elon Musk Will Personally Profit from Dismantling Consumer Financial Protection Bureau: Ex-CFPB Official
- "Are We Sleepwalking into Autocracy?" Trump Embraces Authoritarian Playbook of Hungary's Orbán
- Tariq Ali on Trump's Embrace of Ethnic Cleansing in Gaza & Global Rise of the Far Right
E197 - American Jews, Israel, and Palestine w/ Peter Beinart
Tom RocheEXCELLENT
Peter Beinart speaks with Danny and Derek about his book Being Jewish After the Destruction of Gaza: A Reckoning, American Jews’ conception of and relationship with Israel, and how things have changed since the start of the genocide in Gaza. They explore why Peter centers being Jewish at this moment, what he’s seen happen in the Jewish community since October 7, Palestinian dehumanization among American Jews, liberal Zionism and the two-state solution, the loss of agency for Palestinians, American Jewish institutions, and more.
Subscribe now for an ad-free experience and much more content.
Learn more about your ad choices. Visit megaphone.fm/adchoices
907 - Big Balls feat. Kath Krueger & Jeff Stein (2/10/25)
Tom RocheEXCELLENT, funny
Kath joins us for our annual review of the Big Game spectacle. We give our appraisal of what this year’s ad slate says about the state of American culture, plus reactions to Kendrick Lamar’s halftime show, and how conservatives continue to be oppressed by the TV. Then the Washington Post’s Jeff Stein joins us to discuss his reporting on what exactly Elon Musk & the DOGE team are trying to do to the federal government.
Jeff’s piece on Elon & DOGE: https://www.washingtonpost.com/business/2025/02/08/doge-musk-goals/
If you’re in LA, check out Jacques & Grace’s Game Show Pig variety show at the Loge Room this Wednesday, 2/12: https://www.lodgeroomhlp.com/shows/game-show-pig/
Get bonus content on PatreonHosted on Acast. See acast.com/privacy for more information.
Vineet Naik: Recurring checklists using org mode in emacs
Tom RocheVERY EXCELLENT, esp a better way to `git` Org checklists. Archived [here](https://archive.today/awDsA)
Based on my experience of building and maintaining professional and personal/hobby projects, I've come to realize that I often tend to prefer well documented checklists over automated scripts for recurring workflows.
Let me be clear about what I mean by recurring checklists first. I have a side project which is a web application that uses VueJS for the frontend, Rust for backend, and tapestry for generating SQL files from jinja templates. It runs behind nginx and is managed using systemd on a VM. As you can see, there are many steps involved in building and deploying the app and for that I have a checklist in the same repository that comprehensively documents every single step. Even though I have previous experience of automating such workflows, I refrain from doing it here, because every time I have to build and deploy the app, I am happy that it's a checklist and not a script.
As I began writing this article, I thought about the reasons behind such a preference, but that part itself got so big that I felt it deserves to be a separate post. It's sitting in my drafts folder now and I hope to publish it soon. Today, I'll stick to how I manage such recurring checklists in emacs using org mode thanks to a hidden gem from the org-contrib package.
Now org mode supports checklists out of the box. You just have to
create a plain list
under an outline entry and prefix it with a
checkbox i.e. [ ].
A build checklist for the above app would look something like this:
* Build
- [X] Generate SQL files using tapestry
#+begin_src bash
cd <dir>
tapestry render
# etc.
#+end_src
- [X] Build backend
#+begin_src bash
cargo build --release
# etc.
#+end_src
- [ ] Buiild frontend
#+begin_src bash
npm run build
# etc.
#+end_src
- [ ] Create a tarball
#+begin_src bash
# tar czf ..
#+end_src
- [ ] Upload to s3
#+begin_src bash
# aws s3 sync ...
#+end_src
The only problem is that these tasks need to be performed repeatedly i.e. every time I have to build and deploy the code. To address this, the first thing I reached out to was (ya)snippets. In past, I've used snippets quite effectively for recurring activities. For example, I had a snippet that expanded to a template org tree for taking notes during a meeting. There was another similar one for taking interviews.
But in case of build/deploy workflows, the expanded checklist is practically of no use once all the items are checked off. In case of meeting notes or interview notes, the information captured in the expanded org tree during the meeting/interview is usually worth retaining for future reference. Another problem with snippets was that while performing the tasks if the checklist had to be updated due to any deviation, I had to remember to update the snippet as well.
The next thing I tried out was to directly store the expanded
checklist in the repo with all items unchecked. Org being just plain
text, I can simply use M-x query-replace to uncheck all items again
after executing the checklist. When this worked well for me, I thought
it might be a good idea to wrap this into an interactive elisp
function and bind it to some key.
Now emacs has a funny way of always being one step ahead of you! Whenever you find yourself thinking "wouldn't it be great if emacs could do this?" chances are it already can, or someone in the community has already built a package for exactly that purpose. And sure enough, there's org-checklist.el in org-contrib which does exactly what I want!
First you need to install the org-contrib package and require
org-checklist file in your init.el:
(use-package org-contrib
:ensure t
:config
(require 'org-checklist))
Then just set the property RESET_CHECK_BOXES to t in the org
tree. You may do this using C-c C-x p which will show a prompt for
property names and let you enter the value in the minibuffer. It will
also create the property tray if required.
Now my checklist looks something like this (individual tasks collapsed for brevity),
* TODO Build
SCHEDULED: <2025-01-30 Thu .+1d>
:PROPERTIES:
:RESET_CHECK_BOXES: t
:LAST_REPEAT: [2025-01-29 Wed 11:29]
:END:
- State "DONE" from "TODO" [2025-01-29 Wed 11:29]
- [X] Generate SQL files using tapestry...
- [X] Build backend...
- [ ] Buiild frontend...
- [ ] Create a tarball...
- [ ] Upload to s3...
The org item is marked as TODO and a recurring schedule is set with
the .+1d cookie. When the state is changed to DONE, the following
things happen automatically:
- all checkboxes get unchecked,
- the time when the state was changed to
DONEgets recorded, - the org item becomes
TODOagain and the scheduled date gets shifted to the next day
I may not actually end up running the workflow on the next day, but
the .+1d cookie ensures that even if it's repeated next after say 4
days, it won't consider the task as overdue for the previous 3 days 1.
The changes to the org files are committed in git, but I make it a
point do so only after the above side effects have taken place
i.e. the org entry is in TODO state and all items are unchecked
. This way the diff only contains the time when the checklist was last
executed.
With this workflow, there are no additional org entries created with duplicate data that I'd have to archive later. If I have to update the checklist during execution, I can do it there itself and commit the changes in git. But more than anything this workflow feels so much natural and native to org mode.
Footnotes
1. Not sure if I'm making sense here! Repeater cookies are explained with better examples in org mode docs. ↩
UNLOCKED: K-Holing on the Floor of the Bundestag part 2
Tom RocheVERY EXCELLENT: quick informative (and funny) hits on Greens, FDP, Die Linke, and BSW
Nick and Ciarán talk through the less heavy hitting parties of the German snap federal elections of 2025. Make sure to listen to part 1 beforehand
HOW TO SUPPORT US:
https://www.patreon.com/cornerspaeti
HOW TO REACH US:
Bluesky https://bsky.app/profile/cornerspaeti.bsky.social
Twitter https://twitter.com/cornerspaeti
Instagram https://www.instagram.com/cornerspaeti/
Julia https://twitter.com/KMarxiana
Rob https://twitter.com/leninkraft
Nick https://bsky.app/profile/lilouzovert.bsky.social
Uma https://twitter.com/umawrnkl
Ciarán https://bsky.app/profile/ciarandold.bsky.social
2/7/25: Steve Bannon WH Correspondent On Elon, Trump, GOP Infighting!!
Tom Rocheyet another promising-sounding-but-skippable Friday CounterPoints interview with RG+EJ :-( Starts legitimately-enough with the Natalie Winters "origin story" (growing up, journalism entry, connecting with Steve Bannon and War Room), but Ryan and Emily never quite make her transition away from how great Natalie is, how Steve is Like A God, how despicable are their haters, etc. RG+EJ (and listener questions) seem to try to get Winters to talk about (e.g.)
- the (to a 1st approximation) the Bannon-vs-Musk struggle for control of MAGA
- {how, on what} right and left populists can unite
but this hottie's on her spottie, which is relentless self-promotion.
Ryan and Emily are joined by Natalie Winters to discuss her roll as a White House correspondent for Steve Bannon's War Room show.
To become a Breaking Points Premium Member and watch/listen to the show AD FREE, uncut and 1 hour early visit: www.breakingpoints.com
Merch Store: https://shop.breakingpoints.com/
See omnystudio.com/listener for privacy information.
Radio War Nerd EP 498 — Greenlandia, feat. Jakob Stenfalk
Tom RocheEXCELLENT
Long Reads: Anabaptism and the Radical Reformation w/ Martin Empson
Tom RocheVERY EXCELLENT: too shallow to be called a deepdive, but Empson gives a good, quick survey of the Anabaptist movement in the early 16c, from a nascent religious adjunct of the German Peasants' War (1524-1525) to its continuation through (what is usually called) the Münster Rebellion (1534-1535). In addition to providing this context via a brief narrative, the non-academic Empson covers topics including
* Anabaptist Christian communism (esp calls for "community of goods"): only briefly discusses radical economic equality as a core teaching of Christ, the Gospels, and the early Church
* adult baptism: its theological roots, and how it was suppressed by Protestant regimes
* Anabaptist millenarianism from Strasbourg to Münster
* the brutal siege of Münster by (what Empson does /not/ call out as) a Catholic-Lutheran alliance, and the internal repression fostered by the resistance
* after the Münster uprising is crushed:
***** the even-more-brutal killings and torture of the Anabaptists by the new (again, not explicitly identified as a) Catholic-Lutheran civic alliance
***** Anabaptist continuation as quietist Amish and Mennonites
***** legacy in both conventional and Marxist historiography
Last year, Martin Empson joined Long Reads to speak about the German Peasants’ War, Europe’s biggest social revolt before the French Revolution. Martin returns to talk about what happened next.
After the revolt was crushed, radical religious tendencies became a vehicle for social discontent. The most famous of those tendencies was known as Anabaptism. A group of religious radicals inspired by Anabaptist ideas even took power in the German town of Münster. After the bloody repression of the Munster rebels, the very idea of Anabaptism became a sinister bogeyman for Europe’s ruling classes.
Martin’s book The Time of the Harvest Has Come: Revolution, Reformation and the German Peasants’ War will be published later this year.
Read Martin’s Jacobin article, “Anabaptism Was the Revolutionary Face of Reformation Europe,” here: https://jacobin.com/2024/07/anabaptism-reformation-europe-peasants-revolution
Long Reads is a Jacobin podcast looking in-depth at political topics and thinkers, both contemporary and historical, with the magazine’s longform writers. Hosted by features editor Daniel Finn. Produced by Conor Gillies with music by Knxwledge.
TDS Time Machine | Oh, Canada...
Tom Rochefunny (median-quality DS, but amusing enough), and no ads
Take a look back at America's sometimes fraught relationship with our friendly neighbour to the north.
Trevor Noah introduces us to a suspiciously handsome new Prime Minister, Justin Trudeau. Desi Lydic heads to the border to figure out why refugees are dumping America. Jordan Klepper finds himself in the middle of a Canadian trucker convoy protest. Donald Trump starts his first Canadian Trade War, while Trudeau offers to do your homework.
See omnystudio.com/listener for privacy information.
Chris Maiorana: From Emacs To Microsoft Word (And Beyond, Really)
Tom Rochearchived [here](https://web.archive.org/web/20250208172502/https://chrismaiorana.com/from-emacs-to-microsoft-word/)
You’ll notice Emacs inspires words like “magical,” “beautiful,” and “elegant” in descriptions of its interface and functionality. It’s not surprising when you consider how nicely it simplifies everyday work tasks. (Once you have dedicated the time necessary to progress past the dizzying learning curve, of course.)
In my case, I needed an easy way to export my Org Mode documents to the myriad formats and specifications of the writer’s market. Some custom functionality got it done, and I’m finally able to say, through trial and error, that my entire process for composing and submitting fiction (and, prospective publication, of course) is locked in.
Coincidentally, Neal Stephenson mentioned this same problem to Lex Fridman, and they made a clip of it. “The publisher put their foot down, and they want it in Word format now.”
Let’s get into this.
Exporting from Emacs to Word (Or, Wherever)
The theory is simple. I use LibreOffice Writer as a go-between for Emacs and other formats needed in the writer’s marketplace (mostly Microsoft Word or Rich Text Format). This way, you can compose in Emacs without having to reformat your document every time a certain market demands slightly different parameters.
Emacs --> LibreOffice template(s) --> Microsoft Word (.docx)
Using my csm/office-export function, I can have a virtually infinite amount of templates. If a particular publication demands a unique specification, I can generate a new template for it.
Packages used
To fully replicate the functionality in my video on this topic you will need the vertico and orderless completion packages for minibuffer completion magic.
Custom Export Function
Here is the function I use for ODT export. I make no guarantees, of course, but it works well for me. If you want to try it out you can simply replace the dummy values with your own personal template “nice names” and file paths.
(defun csm/office-export ()
"Export Org file to ODT with a user-selected template using nice names."
(interactive)
;; Ask if we should keep line breaks
(let* ((preserve-line-breaks (y-or-n-p "Do you want to preserve line breaks? "))
;; Ask if we should export just the body (no header, footer, title, or author)
(body-only (y-or-n-p "Body only?"))
(templates '(("Template 1" . "~/path/to/template1.ott")
("Template 2" . "~/path/to/template2.ott")
("Template 3" . "~/path/to/template3.ott")))
(nice-name (completing-read "Choose ODT template: " (mapcar 'car templates)))
(template-path (cdr (assoc nice-name templates))))
;; Use `let` to locally bind export options
(let ((org-export-preserve-breaks preserve-line-breaks)
(org-export-with-toc (not body-only))
(org-export-with-title (not body-only))
(org-export-with-author (not body-only))
(org-odt-styles-file template-path))
;; Export the current Org buffer to ODT
(org-odt-export-to-odt))))
Once I run the above function, it will prompt me with a few questions: Do I want to preserve line breaks? Yes or no? There are some publications that want hard line breaks, so I have this option available. Do I want to export the body only? Likewise, there are some publications that prefer “blind submissions” without the author’s name present anywhere in the manuscript. The “body only” option works well for this.
Then, the most important part, the function will cycle through my hard-coded templates, and I can select the one I want. That’s it.
Once you have your OpenOffice document (the .odt file), you can open it, make any last-minute tweaks, like adding a word count, etc., and then save it as a Microsoft Word (.docx) file.
If you don’t know how to make your own Open Office template, you can check out my older video on the subject. It’s pretty simple: just do a base export from Org Mode, customize it, and save it as a template (.ott) file.
The Real Toll of the War in Gaza: A Conversation With Two Doctors
Tom RocheVERY EXCELLENT, eloquent, detailed
The official death toll in Gaza continues to rise every day with Israel engaging in sporadic attacks on Palestinians in Gaza, killing dozens since the “ceasefire” agreement came into effect on January 19. The death toll also climbs every day for two other reasons: bodies retrieved from the rubble, and people who die of their wounds. The health ministry puts the number of confirmed dead at over 47,500 — though it acknowledges this figure as a vast undercount as it only tallies the number of bodies brought to hospitals and morgues in Gaza that are recorded the ministry. The official number of wounded is over 111,000 and people in Gaza continue to die from those wounds every day.
The health care system in Gaza came under a severe and systematic attack by the Israeli military, with nearly all of Gaza’s hospitals completely destroyed or barely functioning. The World Health Organization says that an estimated 14,000 Palestinians need to be medically evacuated to receive treatment outside of Gaza, including 2,500 children who are at imminent risk of death.
To discuss the real death toll in Gaza, the complications around medical evacuations, the war’s effect on children, and the importance of bearing witness, Drop Site News journalists Sharif Abdel Kouddous and Murtaza Hussein speak with two doctors who traveled to Gaza multiple times on medical missions to provide emergency health care during the war: Dr. Mimi Sayed is an emergency medicine physician based in Olympia, Washington, who has completed two medical missions to Gaza, the last one ending on December 31. Dr. Feroze Sidhwa is a general, trauma, and critical care surgeon based in California. He has provided medical care in conflict zones worldwide, including Palestine, Ukraine, Haiti, and Zimbabwe. He was last in Gaza in April and is returning in March.
Get full access to Drop Site News at www.dropsitenews.com/subscribe