Re: emacs-snapshot and load-path
Le 31 Jan 2005, Vincent Bernat a dit :
> Hello !
Hi !
> I have installed a CVS version of emacs using emacs-snapshot.tgz from
> Jérôme. I ran into some trouble when trying to use Gnus. I have
> compiled my own version from CVS and put it in ~/emacs/gnus. I changed
> in .gnus the load-path and therefore half of Gnus was from
> emacs-snapshot and the other half from gnus-cvs. I have corrected
> this.
Mmmh... How did you compiled/installed emacs-snapshot ?
I used «fakeroot dpkg-buildpackage» to make the different .deb then after
installation of the packages emacs-snapshot is installed properly in /usr
tree.
Original /usr/bin/emacs /usr/share/emacs... and so on are preserved,
emacs-snapshot installs in parallel with genuine emacs. Thus you have a
/usr/bin/emacs-snapshot /usr/share/emacs-snapshot...
After that the simpler method imo would be to «update-alternatives --config
emacs». You should see your former emacs21 and your brand new
emacs-snapshot.
>
> Now, if I look at my load-path, I have something like this :
>
> [...]
Ugh :/
Maybe you should also take a look at /etc/emacs-snapshot/site-start.d/ to
add a 01emacs-snapshot-fixes.el not to modify your own .emacs...
I found these steps in that page :
http://usefulinc.com/edd/notes/CVSEmacsOnDebian
>
> From what I understand, /usr/share/emacs/21.3.50/lisp is what is
> bundled with emacs-snapshot, while other paths are added by debian
> packages. I have two questions :
>
> - why is ocaml at the end ?
> - what is the diff between emacs/21.3.50 and emacs-snapshot and why
> some of the packages have added both paths (tuareg mode for
> example) ?
Look at the «flavor» fix that must be added to some packages, maybe yours
have to too ?
--
Sébastien Kirche
Reply to: