help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Load path and custom compiling cvs on Debian


From: Kevin Rodgers
Subject: Re: Load path and custom compiling cvs on Debian
Date: Fri, 14 Dec 2007 21:28:47 -0700
User-agent: Thunderbird 1.5.0.13 (Macintosh/20070809)

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!

--
Kevin Rodgers
Denver, Colorado, USA





reply via email to

[Prev in Thread] Current Thread [Next in Thread]