>>>> "Dan" == Dan Holmsand
<dan(a)innehallsbolaget.com> writes:
Dan> 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.
>
Dan> Same thing here. I think the culprit is a change in package-get.el,
Dan> that tries to load a remote file using
Dan> insert-file-contents-literally. This patch makes updates work again
Dan> (at least on my machine...).
Hi Dan.
I made that change and will investigate what's going on here.
Your patch fixes the effect, not the cause and it should not get
applied to XEmacs sources.
More later,
Adrian
Dan> /dan
Dan> --
Dan> Dan Ola Holmsand
Dan> dan(a)innehall.com
Dan> Index: lisp/package-get.el
Dan> ===================================================================
Dan> RCS file: /usr/CVSroot/XEmacs/xemacs/lisp/package-get.el,v
Dan> retrieving revision 1.13.2.28
Dan> diff -u -r1.13.2.28 package-get.el
Dan> --- package-get.el 2000/06/14 20:24:03 1.13.2.28
Dan> +++ package-get.el 2000/07/10 13:22:21
Dan> @@ -400,7 +400,7 @@
Dan> (save-excursion
Dan> (set-buffer buf)
Dan> (erase-buffer buf)
Dan> - (insert-file-contents-literally db-file)
Dan> + (insert-file-contents-internal db-file)
Dan> (package-get-update-base-from-buffer buf)
Dan> (if (file-remote-p db-file)
Dan> (package-get-maybe-save-index db-file)))