Subject: Re: bug#12407: url-retrieve-synchronously fails when passed a vector as URL argument

From: Bastien <[email-masked]>
Date: Tue, 11 Sep 2012 17:43:38 +0200

Hi,

upgradingdave <[email-masked]> writes:

> `url-retrieve-synchronously` docs claims to accept a parsed URL
> vector as an argument, but in latest version of emacs 24.1.50 it
> seems to break when
> passed a URL vector. For example, this throws an error:
>
> (url-retrieve-synchronously
>         (url-generic-parse-url
>          (concat "http://search.maven.org" "/solrsearch/select?q=\""
>                  "log4j" "\"&rows=20&wt=json")))

This does not throw an error here with GNU Emacs 24.2.50.1
(i686-pc-linux-gnu, GTK+ Version 2.24.10) of 2012-09-10.

Can you (setq debug-on-error t) and report the backtrace you
get when running the code above?

-- 
 Bastien