all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Christoph Scholtes <cschol2112@gmail.com>
To: 12599@debbugs.gnu.org
Subject: bug#12599: 24.2.50; wrong-number-of-arguments when using url-retrieve with https URL
Date: Sun, 07 Oct 2012 15:06:21 -0600	[thread overview]
Message-ID: <5071EECD.80903@gmail.com> (raw)

emacs -Q

Evaluate the following in *scratch*:

(url-retrieve
"https://www.gnu.org"
(lambda (s) (message "GNU!")))

The following backtrace is shown:

Debugger entered--Lisp error: (wrong-number-of-arguments #[(url callback 
cbargs) "\304\305
\v#)\207" [url-gateway-method url callback cbargs tls url-http] 4 
("/home/schroeder/devel/emacs/trunk/lisp/url/url-http.elc" . 35607)] 1)
url-https([cl-struct-url "https" nil nil "www.gnu.org" nil "/" nil nil t 
nil t])
url-retrieve-internal("https://www.gnu.org" (lambda (s) (message 
"GNU!")) (nil) nil nil)
url-retrieve("https://www.gnu.org" (lambda (s) (message "GNU!")))
eval((url-retrieve "https://www.gnu.org" (lambda (s) (message "GNU!"))) 
nil)
eval-last-sexp-1(nil)
eval-last-sexp(nil)
call-interactively(eval-last-sexp nil nil)

This only happens with a https URL. Same function with a http version
works as expected.



In GNU Emacs 24.2.50.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.10)
of 2012-10-07 on marvin
Bzr revision: 110431 fabian@anue.biz-20121007193737-y7fsm9ts74jks2so
Windowing system distributor `The X.Org Foundation', version 11.0.11103000
System Description: Ubuntu 12.04.1 LTS

Configured using:
`configure 'CC=clang''

Important settings:
value of $LANG: en_US.UTF-8
locale-coding-system: utf-8-unix
default enable-multibyte-characters: t

Major mode: Debugger

Minor modes in effect:
tooltip-mode: t
mouse-wheel-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
blink-cursor-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
buffer-read-only: t
line-number-mode: t
transient-mark-mode: t

Recent input:
C-y 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-SPC C-SPC C-SPC 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 <backspace>
C-p C-p C-p C-p C-p C-p C-p C-p C-SPC C-SPC C-n C-n
C-n <backspace> C-a C-p C-p C-SPC C-n C-n C-n <backspace>
C-n C-n C-e C-x C-e M-x r e p o r t <tab> <return>

Recent messages:
For information about GNU Emacs and the GNU system, type C-h C-a.
Mark set [2 times]
Mark deactivated
Mark activated
byte-code: End of buffer
Mark set
Mark deactivated
Mark activated
Entering debugger...

Load-path shadows:
None found.

Features:
(shadow sort mail-extr emacsbug message format-spec rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader sendmail
mail-utils help-mode easymenu debug url-http tls mail-parse rfc2231
rfc2047 rfc2045 ietf-drums url-gw url-cache url-auth url url-proxy
url-privacy url-expand url-methods url-history url-cookie url-domsuf
url-util url-parse auth-source eieio byte-opt bytecomp byte-compile
cconv gnus-util mm-util mail-prsvr password-cache url-vars mailcap
time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd
tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment
lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar
mouse jit-lock font-lock syntax facemenu font-core frame cham georgian
utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean
japanese hebrew greek romanian slovak czech european ethiopic indian
cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev
minibuffer loaddefs button faces cus-face macroexp files text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget
hashtable-print-readable backquote make-network-process dbusbind
dynamic-setting system-font-setting font-render-setting move-toolbar gtk
x-toolkit x multi-tty emacs)






             reply	other threads:[~2012-10-07 21:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-07 21:06 Christoph Scholtes [this message]
2012-10-08  7:48 ` bug#12599: 24.2.50; wrong-number-of-arguments when using url-retrieve with https URL Glenn Morris

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5071EECD.80903@gmail.com \
    --to=cschol2112@gmail.com \
    --cc=12599@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.