From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Nick Roberts <nickrob@snap.net.nz>
Cc: emacs-devel@gnu.org
Subject: Re: url broken on CVS trunk?
Date: Fri, 16 Nov 2007 17:27:46 -0500 [thread overview]
Message-ID: <jwvoddtu8se.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <18238.2532.34093.161825@kahikatea.snap.net.nz> (Nick Roberts's message of "Sat, 17 Nov 2007 10:21:39 +1300")
> Tom Tromey's Emacs Lisp Package Archive has the following piece of code that
> needs to be evaluated:
> (let ((buffer (url-retrieve-synchronously
> "http://tromey.com/elpa/package-install.el")))
> (save-excursion
> (set-buffer buffer)
> (goto-char (point-min))
> (re-search-forward "^$" nil 'move)
> (eval-region (point) (point-max))
> (kill-buffer (current-buffer))))
> This works fine on EMACS_22_BASE, but with Emacs on the CVS trunk it gives:
> Debugger entered--Lisp error: (wrong-type-argument char-or-string-p cl-struct-url)
> url-scheme-get-property(cl-struct-url loader)
> url-retrieve-internal("http://tromey.com/elpa/package-install.el"...
> Is something in url broken?
There's been some changes in url-parse which require recompilation of
its users (i.e. basically all url*.el files). But that was months ago.
If you haven't bootstrapped in a while, then maybe that's the problem.
Stefan
next prev parent reply other threads:[~2007-11-16 22:27 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-11-16 21:21 url broken on CVS trunk? Nick Roberts
2007-11-16 22:27 ` Stefan Monnier [this message]
2007-11-16 23:07 ` Nick Roberts
2007-11-17 4:31 ` Edward O'Connor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvoddtu8se.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=nickrob@snap.net.nz \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).