From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: url broken on CVS trunk? Date: Fri, 16 Nov 2007 17:27:46 -0500 Message-ID: References: <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 X-Trace: ger.gmane.org 1195252102 21282 80.91.229.12 (16 Nov 2007 22:28:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 Nov 2007 22:28:22 +0000 (UTC) Cc: emacs-devel@gnu.org To: Nick Roberts Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 16 23:28:17 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 1It9fd-00076Y-Cp for ged-emacs-devel@m.gmane.org; Fri, 16 Nov 2007 23:28:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1It9fQ-0003IE-5S for ged-emacs-devel@m.gmane.org; Fri, 16 Nov 2007 17:28:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1It9fM-0003I9-CR for emacs-devel@gnu.org; Fri, 16 Nov 2007 17:28:00 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1It9fL-0003Hx-0a for emacs-devel@gnu.org; Fri, 16 Nov 2007 17:27:59 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1It9fK-0003Hu-Qb for emacs-devel@gnu.org; Fri, 16 Nov 2007 17:27:58 -0500 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1It9fK-000112-Im for emacs-devel@gnu.org; Fri, 16 Nov 2007 17:27:58 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id A96092CF32F; Fri, 16 Nov 2007 17:27:57 -0500 (EST) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 540813FE0; Fri, 16 Nov 2007 17:27:46 -0500 (EST) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 264AC6CA9C; Fri, 16 Nov 2007 17:27:46 -0500 (EST) In-Reply-To: <18238.2532.34093.161825@kahikatea.snap.net.nz> (Nick Roberts's message of "Sat, 17 Nov 2007 10:21:39 +1300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:83383 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? 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