bug#12407: url-retrieve-synchronously fails when passed a vector as URL
From:
upgradingdave
Subject:
bug#12407: url-retrieve-synchronously fails when passed a vector as URL argument
Date:
Mon, 10 Sep 2012 14:01:09 -0400
`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:
I think the problem is the following (line 185 of url.el.gz) should first check to make sure the URL is not a vector:
(setq url (url-encode-url url))
This is my first time submitting a bug report, so if you need any more
info, please let me know.
Thanks! Dave
In GNU Emacs 24.1.50.1 (x86_64-pc-linux-gnu, GTK+ Version 3.2.0) of 2012-07-28 on meitnerium, modified by Debian (emacs-snapshot package, version 2:20120728-fake2-1~ppa~oneiric1)
Windowing system distributor `The X.Org Foundation', version 11.0.11004000 Configured using: `configure '--build' 'x86_64-linux-gnu' '--host' 'x86_64-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
'--localstatedir=/var' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs-snapshot:/etc/emacs:/usr/local/share/emacs/24.1.50/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.1.50/site-lisp:/usr/share/emacs/site-lisp'
'--without-compress-info' '--with-crt-dir=/usr/lib/x86_64-linux-gnu/' '--with-x=yes' '--with-x-toolkit=gtk3' '--with-imagemagick=yes' 'build_alias=x86_64-linux-gnu' 'host_alias=x86_64-linux-gnu'
'CFLAGS=-DDEBIAN -DSITELOAD_PURESIZE_EXTRA=5000 -g -O2' 'LDFLAGS=-g -Wl,--as-needed -znocombreloc' 'CPPFLAGS=''
Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil
value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix
default enable-multibyte-characters: t
Major mode: IELM
Minor modes in effect: recentf-mode: t ido-ubiquitous-mode: t show-paren-mode: t mouse-wheel-mode: t file-name-shadow-mode: t
global-font-lock-mode: t font-lock-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t
Recent input: C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n C-n
C-n C-n C-n C-n C-p C-f C-f C-f C-f C-x x f <return> C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-u C-M-x C-x b p o m <return> C-c m d s l o g 4 j <return> n n n n n n n n C-b C-b C-b C-b C-b C-b C-b C-h f <return>
<help-echo> C-b C-h f <return> C-x o C-n C-n C-n C-n C-x b m v n C-g C-x o C-M-x <help-echo> C-u C-g C-l C-x r m <return> q C-x r b <return> C-x RET r e p o r t - b u g s <backspace> <backspace> <backspace> <backspace>
e m a c s - b u g <return> C-g C-g C-n C-p C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-b C-f C-f C-x b i e l <return> C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-SPC C-n C-n C-n C-e M-w C-n C-n C-n
C-n C-n C-n C-n C-n C-n C-y C-p C-p <C-backspace> <C-backspace> <C-backspace> e n d <backspace> c o d e - u r l ( ) <backspace> <backspace> C-n C-n C-e <return> C-p C-p
C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-f C-f C-h f <return> q <backspace> C-x o q C-b C-b C-SPC C-n C-n C-n C-e M-w C-x RET <up> < return>
Recent messages:
Quit url-retrieve-internal Quit Back to top level. Quit [2 times] Mark set [2 times] Contacting host: search.maven.org:80 Type C-x 1 to delete the help window.
Mark set