4 ms·
I use zsh and shell mode in Emacs. Knowing how to use a standalone shell, I've found, is synergistic with heavy Emacs use. For one, and the most annoying, if a
by jwdunne 8y ago
I use zsh and shell mode in Emacs. Knowing how to use a standalone shell, I've found, is synergistic with heavy Emacs use.
For one, and the most annoying, if a package update goes wrong, you're 'glove' is back to factory-made and you need to debug it to get it back. Shell helps here.
There are things that are easier to do in shell too. Batch processing of files over a whole directory tree is far more comfortable to me - especially binary format files.
I have shell scripts too. Automating parts of project development with Emacs is a bad idea since they can't be shared with colleagues who may be using, say, a JetBrains IDE.
- mickeyp 8y agoIndeed. Apropos batch processing, I wrote about executing shell commands against marked files in Dired. It may tickle your fancy and help you out---assuming you're not familiar with it already of course! https://www.masteringemacs.org/article/dired-shell-commands-find-xargs-replacement https://www.masteringemacs.org/article/dired-shell-commands-...
- jwdunne 8y agoOh I didn't realise you were the author of mastering Emacs! I've learned a lot from your writings over the years. Thank you for that :) Yes, the `find ... | xargs` pattern is exactly what I meant. This is awesome, thank you :)