On 6 Feb 2004, at 11:17 AM, Andrea Riciputi wrote:


Hi,
I've installed Fink's emacs and I'd like to personalize it (i.e. add some .el files to site-package dir). Can I simply add them to /sw/share/emacs/site-lisp? Or is it better to put them somewhere else in order to preserve my settings from future Fink's upgrade?

You could put things directly in /sw/share/emacs/site-lisp and they would be in your load-path, but it's safer and cleaner to leave that directory for fink, and to keep your own copy of other things.


And in the latter case which is a good place for them? And how can I tell emacs to look there?

A reasonably standard place is ~/.emacs.d/site-lisp Then just put the following at the top of your .emacs


  ;;; My location for external packages.
  (add-to-list 'load-path "~/.emacs.d/site-lisp")

If there are any packages that would be useful to others, consider creating fink packages for them. It's not that hard, just be sure to read the packaging manual and emacs policy in:

/sw/share/doc/emacsen-common/debian-emacs-policy

Not all existing packages follow the policy.

--
Rohan Lloyd



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to