Default .emacs on Gentoo

Just a quick follow-up to Practicing Safe Emacs. Everyone knows that Gentoo is the greatest distro on the planet, superior in all ways to RedHat. Anyway, in Gentoo it’s possible to create a generic .emacs file for all users. A great way to ensure that everyone is, among other things, practicing safe editing.

To set this up, simply cons the commands you want into

/usr/share/emacs/site-lisp/site-start.el

and the config commands will be applied to all users. See the Gentoo Wiki Tip on using this to load Portage-installed Emacs packages.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.