unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Bingham, Jay" <Jay.Bingham@hp.com>
Subject: RE: (setq load-path (cons (expand-file-name "~/.emacs.d/lisp") load-path))
Date: Thu, 19 Sep 2002 10:38:55 -0500	[thread overview]
Message-ID: <72A87F7160C0994D8C5A36E2FDC227F5032E0563@txnexc01.americas.cpqcorp.net> (raw)

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] 
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 
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 
variable.  I really don't want to start playing around with the load path 
in the compile if I can aviod it, and I don't want to resort to having the 
same *.el in multiple place, nor symlinking them.  The above Lisp statement 
looks like a very attractive solution. Unfortunately, it doesn't seem to 
work. 

Can someone clarify what behavior I should expect from that statement?  Does 
it work for you?

-- STH
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://mail.gnu.org/mailman/listinfo/help-gnu-emacs

             reply	other threads:[~2002-09-19 15:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-19 15:38 Bingham, Jay [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-09-18 23:35 (setq load-path (cons (expand-file-name "~/.emacs.d/lisp") load-path)) Grimnir
2002-09-19 15:59 ` Reiner Steib
2002-09-19 17:59   ` Kevin Rodgers
2002-09-19 19:15     ` Reiner Steib
2002-09-19 22:12       ` Grimnir

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=72A87F7160C0994D8C5A36E2FDC227F5032E0563@txnexc01.americas.cpqcorp.net \
    --to=jay.bingham@hp.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).