From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: url broken on CVS trunk? Date: Sat, 17 Nov 2007 10:21:39 +1300 Message-ID: <18238.2532.34093.161825@kahikatea.snap.net.nz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1195249334 12486 80.91.229.12 (16 Nov 2007 21:42:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Nov 2007 21:42:14 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 16 22:42:18 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1It8ww-00079Q-Gp for ged-emacs-devel@m.gmane.org; Fri, 16 Nov 2007 22:42:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1It8wj-0003WO-FC for ged-emacs-devel@m.gmane.org; Fri, 16 Nov 2007 16:41:53 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1It8we-0003S0-7r for emacs-devel@gnu.org; Fri, 16 Nov 2007 16:41:48 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1It8wc-0003PD-92 for emacs-devel@gnu.org; Fri, 16 Nov 2007 16:41:47 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1It8wc-0003Ov-4u for emacs-devel@gnu.org; Fri, 16 Nov 2007 16:41:46 -0500 Original-Received: from viper.snap.net.nz ([202.37.101.8]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1It8wb-0004cX-GD for emacs-devel@gnu.org; Fri, 16 Nov 2007 16:41:45 -0500 Original-Received: from kahikatea.snap.net.nz (204.63.255.123.dynamic.snap.net.nz [123.255.63.204]) by viper.snap.net.nz (Postfix) with ESMTP id C19713DA05A for ; Sat, 17 Nov 2007 10:22:04 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 1000) id 54BB28FC6D; Sat, 17 Nov 2007 10:21:43 +1300 (NZDT) X-Mailer: VM 7.19 under Emacs 23.0.50.47 X-detected-kernel: by monty-python.gnu.org: Linux 2.4-2.6 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:83374 Archived-At: 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