From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Ole Andre Birkedal Newsgroups: gmane.emacs.help Subject: Re: Emacs load-path after update Date: 13 Apr 2003 01:19:14 +0200 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87ptnr483x.fsf@online.no> References: <87znmv4ulw.fsf@online.no> <848yufviqn.fsf@lucy.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1050189907 14093 80.91.224.249 (12 Apr 2003 23:25:07 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 12 Apr 2003 23:25:07 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 13 01:25:06 2003 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 194UMr-0003f1-00 for ; Sun, 13 Apr 2003 01:25:05 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 194UNQ-0003oV-00 for gnu-help-gnu-emacs@m.gmane.org; Sat, 12 Apr 2003 19:25:40 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!newsswitch.lcs.mit.edu!newspump.monmouth.com!newspeer.monmouth.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed1.e.nsc.no!nsc.no!nextra.com!news2.e.nsc.no.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.help X-Home-Page: http://termos.devcave.net Original-Lines: 61 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 Original-NNTP-Posting-Host: 80.212.183.66 Original-X-Complaints-To: news-abuse@telenor.net Original-NNTP-Posting-Date: Sun, 13 Apr 2003 01:23:00 MEST Original-X-Trace: news2.ulv.nextra.no 1050189780 80.212.183.66 Original-Xref: shelby.stanford.edu gnu.emacs.help:111923 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:8423 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:8423 kai.grossjohann@gmx.net (Kai Großjohann) writes: > Ole Andre Birkedal writes: > > > I downloaded the latest version of Emacs from > > CVS which is 21.3.50.2 and compiled it from source. > > My previous version was 21.2.x which was in Debian > > unstable, and the load-path was /usr/share/emacs/site-lisp/ > > but default. When installing this new Emacs the load-path > > was not the same, I did make install and found out that it > > made something in /usr/local/share/emacs/site-lisp/, > > This is normal. By default, Emacs is installed in /usr/local. This > means binaries go in /usr/local/bin, Lisp files in > /usr/local/share/emacs/VERSION/lisp, and so on. > > The Debian package installs in /usr, so the binary goes in /usr/bin > and so on. > > Additionally, the Debian packages have added magic so that both Emacs > and XEmacs will find the right Lisp files. To this end, the *.el > files are stored in the same directory for both Emacs and XEmacs, but > the *.elc files are stored in different directories. (The *.elc > files are usually incompatible between Emacs flavors.) > > > but when I put the programs from the old load-path in that directory > > they didn't load, or work at all. > > It's difficult to say what has happened from this description. Can > you given an example of a "program" that you took from the old > load-path and put it into the new site-lisp directory? Yes, there was very little detail about that, let me try to fill in on that, sorry. I am running gnus with mailcrypt just fine in the cvs compiled version of Emacs, probably because it came with it. When I installed it, it put gnus and mailcrypt in /usr/local/share/emacs/21.3.50/lisp, as you said. The program I am trying to move is ERC, the IRC client for Emacs. I have tried moving it into /usr/local/share/emacs/21.3.50/lisp, as well as /usr/local/share/emacs/site-lisp/ with no luck. > Note that there should be a file site-start.el and/or default.el. Yes, I was thinking about this, since I have never (AFAIK) had any of these files for ERC. But I looked around a bit, and there is a mailcrypt-init.el in /usr/local/share/emacs/site-lisp/, maybe that could explain something? > This file contains (these files contain) commands that are necessary > for setting up the add-on packages. It's not enough to drop a random > *.el file into the right directory, you also have to configure Emacs > to actually use that file. > -- > file-error; Data: (Opening input file no such file or directory ~/.signature) As I am not a very experienced Emacs user I can't fill in on very much more than that. I don't know what more to tell you really, sorry. Hoper it was enough info anyway. In advance, thanks. :-) -- the Termos, Ole André http://termos.devcave.net