Dmitry Yaitskov <dimas(a)home.com> writes:
Hi,
Using the Sunday Jul 9 cvs updated XEmacs 21.2.34 (cygnus/w2k), I
cannot "list and install" packages. It looks like XEmacs is trying to
open a file as a directory, but it beats me why. Using a build from a
few weeks ago, this worked just fine (since then, I also went from nt4
to w2k - I don't think this could be the problem though - but who
knows...). Any help would be appreciated. Thanks.
Same thing here. I think the culprit is a change in package-get.el,
that tries to load a remote file using
insert-file-contents-literally. This patch makes updates work again
(at least on my machine...).
/dan
--
Dan Ola Holmsand
dan(a)innehall.com
Index: lisp/package-get.el
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs/lisp/package-get.el,v
retrieving revision 1.13.2.28
diff -u -r1.13.2.28 package-get.el
--- package-get.el 2000/06/14 20:24:03 1.13.2.28
+++ package-get.el 2000/07/10 13:22:21
@@ -400,7 +400,7 @@
(save-excursion
(set-buffer buf)
(erase-buffer buf)
- (insert-file-contents-literally db-file)
+ (insert-file-contents-internal db-file)
(package-get-update-base-from-buffer buf)
(if (file-remote-p db-file)
(package-get-maybe-save-index db-file)))