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: Mon, 17 Dec 2007 20:05:52 +1100 Organization: Posted via Supernews, http://www.supernews.com Message-ID: <8763yx668f.fsf@lion.rapttech.com.au> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1197884847 8281 80.91.229.12 (17 Dec 2007 09:47:27 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 17 Dec 2007 09:47:27 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Dec 17 10:47:39 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 1J4CZU-00009x-Fp for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Dec 2007 10:47:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J4CZA-0005HO-OH for geh-help-gnu-emacs@m.gmane.org; Mon, 17 Dec 2007 04:47:16 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!sn-xt-sjc-05!sn-xt-sjc-09!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:Naa+LRqGDXC/Dq03OoHGDkFpFnQ= Original-X-Complaints-To: abuse@supernews.com Original-Lines: 54 Original-Xref: shelby.stanford.edu gnu.emacs.help:154711 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:50137 Archived-At: "John Wells" writes: > 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? > There are a number of things you need to do to get a CVS build of emacs work with debian managed elisp packages. The debian version of emacs 22 is modified to handle this and you will need to do the same sort of modifications to make this work with your CVS version. The best way to do this is grep the files in the lisp directory of the debian version of emacs 22 for the string 'debian' (make it case insensitive). I can't remember all the files that are modified, but it does include startup.el and I think paths.el and possibly some others. You will also need to make the site-lisp of the installed CVS version (i.e. probably /usr/local/share/emacs/23.x/site-lisp a symbolic link to /usr/share/emacs22/site-lisp. Note also that when emacs is built, aI think it dumps an image of itself to speedup startup. This means you cannot just modify startup.el and have it work. You need to modify it and then build emacs. At one stage there were some emacs22 snapshot packages being done - maybe google to see if you can find someone else who has done all the hard work Tim -- tcross (at) rapttech dot com dot au