unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: emacs-devel@gnu.org
Subject: url broken on CVS trunk?
Date: Sat, 17 Nov 2007 10:21:39 +1300	[thread overview]
Message-ID: <18238.2532.34093.161825@kahikatea.snap.net.nz> (raw)


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?

-- 
Nick                                           http://www.inet.net.nz/~nickrob

             reply	other threads:[~2007-11-16 21:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-16 21:21 Nick Roberts [this message]
2007-11-16 22:27 ` url broken on CVS trunk? Stefan Monnier
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=18238.2532.34093.161825@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=emacs-devel@gnu.org \
    /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).