From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: TheFlyingDutchman Newsgroups: gmane.emacs.help Subject: Re: emacs Question Date: Tue, 11 Nov 2008 19:44:50 -0800 (PST) Organization: http://groups.google.com Message-ID: <4b8ea64b-d85a-4833-a157-c0f40ae745e2@r36g2000prf.googlegroups.com> References: <365630.88929.qm@web36505.mail.mud.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1226464847 19873 80.91.229.12 (12 Nov 2008 04:40:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 12 Nov 2008 04:40:47 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 12 05:41:48 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1L07Y3-0006en-Pd for geh-help-gnu-emacs@m.gmane.org; Wed, 12 Nov 2008 05:41:48 +0100 Original-Received: from localhost ([127.0.0.1]:59482 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1L07Ww-0001hU-6Q for geh-help-gnu-emacs@m.gmane.org; Tue, 11 Nov 2008 23:40:38 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!r36g2000prf.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 32 Original-NNTP-Posting-Host: 192.91.171.36 Original-X-Trace: posting.google.com 1226461491 9975 127.0.0.1 (12 Nov 2008 03:44:51 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 12 Nov 2008 03:44:51 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: r36g2000prf.googlegroups.com; posting-host=192.91.171.36; posting-account=9bWHAAoAAAAxSFC_2O_ssTETNW9NhMbW User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; .NET CLR 2.0.50727; InfoPath.1; MS-RTC LM 8),gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:164342 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:59676 Archived-At: On Nov 11, 10:47=A0am, Peter Dyballa 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 =A0 > > 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 =A0 > these directories, either a private one or for example into one site- > lisp directory, depending on whether the ELisp file depends on some =A0 > 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.