From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Load path and custom compiling cvs on Debian Date: Tue, 18 Dec 2007 18:09:02 +1100 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <871w9k5vjl.fsf@lion.rapttech.com.au> References: <44dddf400712140946l5df0fe41jf73948e7552467bd@mail.gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1197963673 7095 80.91.229.12 (18 Dec 2007 07:41:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 18 Dec 2007 07:41:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 18 08:41:26 2007 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 1J4X4v-0005Ok-EK for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Dec 2007 08:41:25 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4X4c-00036q-4o for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Dec 2007 02:41:06 -0500 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!newsfeed.freenet.de!news-out1.kabelfoon.nl!newsfeed.kabelfoon.nl!xindi.nntp.kabelfoon.nl!sn-xt-ams-06!sn-xt-ams-05!sn-ams!sn-feed-ams-02!sn-post-ams-02!sn-post-sjc-01!supernews.com!corp.supernews.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) Cancel-Lock: sha1:jivFj5PqiZ6FB67Q6GlmAkkpsEo= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 52 Original-Xref: shelby.stanford.edu gnu.emacs.help:154744 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:50169 Archived-At: Kevin Rodgers writes: > John Wells wrote: >> Guys, >> >> I've learned that anti-aliased fonts don't appear to be supported yet >> on 22, and I've also found that compiling the unicode branch out of >> CVS enables this support. >> >> I've done the compile and it works great...fonts look wonderful. >> However, the problem is the custom compiled emacs doesn't find all my >> pre-installed Debian packaged modes and utilities, like ecb, >> ruby-mode, etc. >> >> It appears that the dpkg's put the various installed files in: >> >> /usr/share/emacs/site-lisp >> /usr/share/emacs22/site-lisp >> >> Then, when I start emacs, these are already there, loaded. >> >> Can someone tell me what configurations settings I need to do to make >> these work with my custom compile? Is it a ./configure option? Is it >> some central emacs config file? Can I inspect where my custom compile >> is looking for modes easily through emacs itself? > > `C-h v load-path RET' will show you the directories that Emacs searches > for files to load. Try `C-h r' to browse the Emacs manual, then `i load > RET' to find out the details about how that works. > > Here's what you should put in your .emacs file to allow the packages > from Debian to be found: > > (add-to-list 'load-path "/usr/share/emacs22/site-lisp" t) > (add-to-list 'load-path "/usr/share/emacs/site-lisp" t) > >> Sorry for so many questions...I'm learning quickly, but there's a lot to learn! > > Enjoy! > > -- You also need to modify startup.el so that it loads the config stuff in /etc/emacs/site-start.d and /etc/emacs22/site-start.d, otherwise, emacs will find the packages, but not the necessary stuff done to config/ and set them up. Tim -- tcross (at) rapttech dot com dot au