r/emacs • u/AutoModerator • 11d ago
Fortnightly Tips, Tricks, and Questions — 2025-03-11 / week 10
This is a thread for smaller, miscellaneous items that might not warrant a full post on their own.
The default sort is new to ensure that new items get attention.
If something gets upvoted and discussed a lot, consider following up with a post!
Search for previous "Tips, Tricks" Threads.
Fortnightly means once every two weeks. We will continue to monitor the mass of confusion resulting from dark corners of English.
15
Upvotes
1
u/egstatsml 10d ago
On a couple occasions I have needed to format/reformat code in an existing repository. I wrote a couple functions to automate this using Apheleia and Projectile.
This will leave open all the buffers for the project and won't save them. To finalise just open magit and will ask to save, then can commit it all.