3 ms·
Emacs Script Pitfalls (2014)
- peatfreak 12y agoI stopped reading at '"real" Emacs is typically installed via Homebrew at /usr/local/bin/emacs'.
- ibrahima 12y agoErr, to be fair the context was that OS X usually has a very outdated version of Emacs. (Don't have a Mac so dunno for sure if that's still the case or if the article is out of date.)
- cenazoic 12y agoOn Yosemite 10.10.3, the emacs version is 22.1.1.
- klibertp 12y agoSo it's really ancient: 22.1 was released in 2007.
- rafadc 12y agoI've installed through homebrew and the version says GNU Emacs 24.5.1 (x86_64-apple-darwin14.3.0, NS apple-appkit-1347.57) of 2015-04-13 on mymachine
- hatmatrix 12y agoThat's the emacs that comes with the BSD OS. You can download and install 24.5-1 at http://emacsformacosx.com/ http://emacsformacosx.com/ without having to use homebrew.
- e40 12y agoYes the version @ http://emacsformacosx.com/ http://emacsformacosx.com/ is much better.
- rafadc 12y agoWhy? What is the difference between that and brew install emacs --cocoa?
- samatman 12y agoGotta throw in a pitch for the Japanese Cocoa-native Emacs port: https://github.com/railwaycat/emacs-mac-port https://github.com/railwaycat/emacs-mac-port Running this with Spacemacs is... well, surprisingly pleasant. Unicode, pixel level scrolling, image support that isn't totally broken, it's...nice.
- chriswarbo 12y agoI've come across this before and it's pretty much correct: using Emacs Lisp as a scripting language can give a huge 'bang for the buck' when automating some existing Emacs feature/application. For any other task? Definitely avoid ELisp and go for a more 'mainstream' language. (In fact, I'm currently writing some ELisp scripts to automate ProofGeneral; reading HN while the test suite runs ;) )