this post was submitted on 12 Oct 2023
1 points (100.0% liked)

Emacs

310 readers
2 users here now

A community for the timeless and infinitely powerful editor. Want to see what Emacs is capable of?!

Get Emacs

Rules

  1. Posts should be emacs related
  2. Be kind please
  3. Yes, we already know: Google results for "emacs" and "vi" link to each other. We good.

Emacs Resources

Emacs Tutorials

Useful Emacs configuration files and distributions

Quick pain-saver tip

founded 1 year ago
MODERATORS
 

I'm seriously considering buying an M2 MacBook, after over 20 years on Linux. My main concern is whether it will be difficult to set up Emacs after such a long-term investment in my init files. I would love to hear from others who have made the same transition -- was it hard? Do you have tips to make it easier?

Thanks in advance!

you are viewing a single comment's thread
view the rest of the comments
[–] dm_g@alien.top 1 points 1 year ago

The only HUGE thing to consider is that the file system of MacOS by default case preserving, not case sensitive. So make sure don't have files named Abc and ABC in the same directory.

I used to use Emacs primarily in Linux, but lately I am mostly using MacOS (Hammespoon made it possible). I find them to be equivalent once you set the keyboard accordingly.

At the beginning of my init.el I set a variable to know the OS and Machine where I am running, and do conditional configuration based on this. That way I can separate OS related configs for each of them. I run the exact emacs configuration in my different computers with different OSs.

Learn to use homebrew and make sure the binaries your emacs config uses (if any) are present (at the beginning of your init.el). I find dependency management slightly easier in linux than homebrew.

Another issue to consider is that Unix utilities in MacOS are not the FSF ones (instead, they are from BSDs). This means that commands like grep have different parameters in OS X (but that is usually handled by the emacs packages, usually).