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...
You could put things directly in /sw/share/emacs/site-lisp..., but it's safer and cleaner to... keep your own copy of other things...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")
Or, even simpler, just create ~/.emacs, your "Init File" (see Emacs Manual, section 'The Init File, "~/.emacs"'. Here's the better part of mine:
(global-set-key "\C-cb" 'delete-region) (global-font-lock-mode t) (setq tex-dvi-view-command "/sw/bin/xdvi") (setq tex-default-mode 'plain-tex-mode)
The manual points out that if the .emacs file grows large, then it's better to rename it '.emacs.el' and byte-compile it.
This chapter also talks about the load-path (the places where emacs looks for libraries) including how to get and set it.
HTH,
Jonathan
------------------------------------------------------- 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
