help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacs Question


From: TheFlyingDutchman
Subject: Re: emacs Question
Date: Tue, 11 Nov 2008 19:44:50 -0800 (PST)
User-agent: G2/1.0

On Nov 11, 10:47 am, Peter Dyballa <Peter_Dyba...@Web.DE> wrote:
> Am 11.11.2008 um 18:02 schrieb Craig Petty:
>
> > How do i install linum.el on fedora 9 and what file do i need to  
> > put it in?
>
> Look up the value of load-path

In case the poster is not familiar how to do this it is
ctrl-h (control key + h key together) followed by the "v key" followed
by "load-path"

> and then put the file into one of  
> these directories, either a private one or for example into one site-
> lisp directory, depending on whether the ELisp file depends on some  
> particular version of GNU Emacs or not.

Or you can make a new directory for all of your added Emacs Lisp
(*.el) files. One named something like elisp or EmacsLisp under your
home directory. Then you can tell Emacs how to find this new directory
by adding this to your .emacs file (which is in your home directory).

(add-to-list 'load-path (expand-file-name "~/elisp/") )
    or
(add-to-list 'load-path (expand-file-name "~/EmacsLisp/") )

And I believe you should also add

(require 'linum)

to the .emacs file as well, to avoid having to load it each time you
want to use it.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]