>>>> On 08 Apr 2003 10:34:28 +0200, Micha Wiedenmann
<Micha.Wiedenmann(a)gmx.net> said:
Micha> Hello James,
Micha> This is not the case if a user uses `pui-list-packages' to
Micha> update a XEmacs installation. IMHO this is even more likely to
Micha> be newer than any Debian package. Why does one want to use the
Micha> Debian package with XEmacs if XEmacs already comes with Gnus?
Actually still untrue. The XEmacs packages get updated to a new
upstream version (upstream to XEmacs) less frequently than the debian
packages do. (And this is not meant as a criticism of anyone it's
just the way it is.)
Micha> Thank you for your help. I'm sorry to say but I don't know how
Micha> to edit `00debian.el'. I can't find the file where
Micha> /usr/share/xemacs21/packages/lisp/foo is added to the
Micha> load-path.
Change:
(setq load-path
(append
(dir-and-all-good-subs
(expand-file-name "~/.xemacs/xemacs-packages"))
(dir-and-all-good-subs
(expand-file-name "~/.xemacs/packages"))
(list (concat "/etc/xemacs" debian-xemacs-major-version))
'("/etc/emacs")
(list (concat "/usr/local/share/emacs/xemacs-" debian-xemacs-version
"/site-lisp"))
'("/usr/local/share/emacs/site-lisp")
`(,@(dir-and-all-good-subs "/usr/local/lib/xemacs/site-lisp")
,@(dir-and-all-good-subs
(concat "/usr/share/xemacs/site-lisp-"
debian-xemacs-major-version "/"))
,@(dir-and-all-good-subs "/usr/share/xemacs/site-lisp/")
,@(dir-and-all-good-subs
(concat "/usr/share/xemacs" debian-xemacs-major-version
"/site-lisp/"))
)
load-path
'("/usr/share/emacs/site-lisp")))
To:
(setq load-path
(append
(dir-and-all-good-subs
(expand-file-name "~/.xemacs/xemacs-packages"))
(dir-and-all-good-subs
(expand-file-name "~/.xemacs/packages"))
(list (concat "/etc/xemacs" debian-xemacs-major-version))
'("/etc/emacs")
(list (concat "/usr/local/share/emacs/xemacs-" debian-xemacs-version
"/site-lisp"))
'("/usr/local/share/emacs/site-lisp")
load-path
`(,@(dir-and-all-good-subs "/usr/local/lib/xemacs/site-lisp")
,@(dir-and-all-good-subs
(concat "/usr/share/xemacs/site-lisp-"
debian-xemacs-major-version "/"))
,@(dir-and-all-good-subs "/usr/share/xemacs/site-lisp/")
,@(dir-and-all-good-subs
(concat "/usr/share/xemacs" debian-xemacs-major-version
"/site-lisp/"))
)
'("/usr/share/emacs/site-lisp")))
and then move /etc/xemacs21/site-start.d/20gnus-init.el to
/etc/xemacs21/site-start.d/unused20gnus-init.el (Sorry forgot about
the possibility of a gnus start file.)
Micha> Is there a way to use XEmacs package system and Debian
Micha> packages without conflicts?
Not at the moment. It's one of those things I keep planning on doing,
starting and then realizing it's a big project and I don't have enough
time right now to do.
Jim
--
@James LewisMoss <dres(a)lewismoss.org> | Blessed Be!
@
http://www.lewismoss.org/~dres | Linux is kewl!
@"Argue for your limitations and sure enough, they're yours." Bach