unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* url broken on CVS trunk?
@ 2007-11-16 21:21 Nick Roberts
  2007-11-16 22:27 ` Stefan Monnier
  2007-11-17  4:31 ` Edward O'Connor
  0 siblings, 2 replies; 4+ messages in thread
From: Nick Roberts @ 2007-11-16 21:21 UTC (permalink / raw)
  To: emacs-devel


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-11-17  4:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-16 21:21 url broken on CVS trunk? Nick Roberts
2007-11-16 22:27 ` Stefan Monnier
2007-11-16 23:07   ` Nick Roberts
2007-11-17  4:31 ` Edward O'Connor

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).