in reply to Re: Re: Re: Module::Build and the PPM
in thread Module::Build and the PPM

Okay, so following up the hint that people have been putting emacs lisp on cpan, I went looking for some to see how it's being done (I know cperl-mode.el used to be up there, but it hasn't been for awhile, perhaps because it's becoming part of Gnu emacs).

Anyway, I find that by searching cpan for "emacs" and looking very closely through *all* of the results I turned up some emacs lisp packages I didn't know about:

I'm glad to see the "sepia" project (an effort to add features to emacs to compete with the graphical IDEs), but I'm a little disappointed to see that no one seems to have a good way to install elisp and info files using the traditional Makefile.PL. ExtUtils::MakeMaker doesn't seem to have provisions for looking for a good "site-lisp" to install some elisp... the INSTALL directions for sepia just say "put the elisp files somewhere Emacs will find them".

(You see, GNU emacs has no package manager of it's own... I was looking for away to (ab)use CPAN as a substitute.)

Replies are listed 'Best First'.
Re: Emacs lisp on CPAN
by eserte (Deacon) on May 21, 2004 at 08:28 UTC
    For a start, you can do something like

    emacs -q --batch --eval '(print load-path)'

    which will give a list of emacs' default load path, parse it and search for the first site-lisp directory (with or without the version number).