From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Bingham, Jay" Newsgroups: gmane.emacs.help Subject: RE: (setq load-path (cons (expand-file-name "~/.emacs.d/lisp") load-path)) Date: Thu, 19 Sep 2002 10:38:55 -0500 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <72A87F7160C0994D8C5A36E2FDC227F5032E0563@txnexc01.americas.cpqcorp.net> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Trace: main.gmane.org 1032449968 3296 127.0.0.1 (19 Sep 2002 15:39:28 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 19 Sep 2002 15:39:28 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17s3Op-0000r2-00 for ; Thu, 19 Sep 2002 17:39:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17s3P5-0000lp-00; Thu, 19 Sep 2002 11:39:43 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17s3ON-0000UA-00 for help-gnu-emacs@gnu.org; Thu, 19 Sep 2002 11:38:59 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17s3OL-0000R2-00 for help-gnu-emacs@gnu.org; Thu, 19 Sep 2002 11:38:59 -0400 Original-Received: from zcamail04.zca.compaq.com ([161.114.32.104]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17s3OL-0000Qj-00 for help-gnu-emacs@gnu.org; Thu, 19 Sep 2002 11:38:57 -0400 Original-Received: from cacexg11.americas.cpqcorp.net (cacexg11.americas.cpqcorp.net [16.105.250.94]) by zcamail04.zca.compaq.com (Postfix) with ESMTP id 91CA118E2 for ; Thu, 19 Sep 2002 08:38:56 -0700 (PDT) Original-Received: from txnexc01.americas.cpqcorp.net ([16.74.7.244]) by cacexg11.americas.cpqcorp.net with Microsoft SMTPSVC(5.0.2195.2966); Thu, 19 Sep 2002 08:38:56 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 content-class: urn:content-classes:message X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: (setq load-path (cons (expand-file-name "~/.emacs.d/lisp") load-path)) Thread-Index: AcJfbZuL02KWpkYVRKmG5FnBwd2KXgAhE05g Original-To: X-OriginalArrivalTime: 19 Sep 2002 15:38:56.0507 (UTC) FILETIME=[AA6204B0:01C25FF2] Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1631 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1631 I just tried the statement as you have it in your message. I don't know = if this is exactly what you have in your .emacs but if it is it will not = work you have an extra double quote at the end of the statement. If you want to see how something will work paste it into the scratch = buffer and type C-j at the end of the sexp. Emacs will attempt to = execute/evaluate the expression and will display the results in the = scratch buffer. -_ J_) C_)ingham . HP - NonStop Austin Software & Services - Software Product = Assurance . Austin, TX . Language is the apparel in which your thoughts parade in public. . Never clothe them in vulgar and shoddy attire. -Dr. George W. = Crane- -----Original Message----- From: Grimnir [mailto:valfather@hotmail.com]=20 Sent: Wednesday, September 18, 2002 6:35 PM To: help-gnu-emacs@gnu.org Subject: (setq load-path (cons (expand-file-name "~/.emacs.d/lisp") = load-path)) I'm trying to install session.el on my SuSE Linux system. I downloaded = it=20 from: http://emacs-session.sourceforge.net/ The INSTALL file says: "The cases: ... (b) You use Emacs and install Session in your home directory: create directory "~/.emacs.d/lisp/" and copy "lisp/session.el" to it. Add the following lines at the beginning of your Emacs init file: (setq load-path (cons (expand-file-name "~/.emacs.d/lisp") = load-path))" I added that to my .gnu-emacs but it doesn't seem to modify the = load-path=20 variable. I really don't want to start playing around with the load = path=20 in the compile if I can aviod it, and I don't want to resort to having = the=20 same *.el in multiple place, nor symlinking them. The above Lisp = statement=20 looks like a very attractive solution. Unfortunately, it doesn't seem to = work.=20 Can someone clarify what behavior I should expect from that statement? = Does=20 it work for you? -- STH _______________________________________________ Help-gnu-emacs mailing list Help-gnu-emacs@gnu.org http://mail.gnu.org/mailman/listinfo/help-gnu-emacs