From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christoph Scholtes Newsgroups: gmane.emacs.bugs 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 Message-ID: <5071EECD.80903@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1349644005 30753 80.91.229.3 (7 Oct 2012 21:06:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 7 Oct 2012 21:06:45 +0000 (UTC) To: 12599@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 07 23:06:51 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TKy3m-0003b9-HC for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Oct 2012 23:06:50 +0200 Original-Received: from localhost ([::1]:53725 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKy3g-0000Gc-5C for geb-bug-gnu-emacs@m.gmane.org; Sun, 07 Oct 2012 17:06:44 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKy3c-0000GX-WF for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2012 17:06:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKy3a-0001tx-Vf for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2012 17:06:40 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50151) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKy3a-0001sX-SG for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2012 17:06:38 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TKy3y-0005zj-Ap for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2012 17:07:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christoph Scholtes Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 07 Oct 2012 21:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 12599 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.134964402123034 (code B ref -1); Sun, 07 Oct 2012 21:07:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Oct 2012 21:07:01 +0000 Original-Received: from localhost ([127.0.0.1]:60402 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKy3w-0005zT-J3 for submit@debbugs.gnu.org; Sun, 07 Oct 2012 17:07:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:34167) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TKy3u-0005zG-0D for submit@debbugs.gnu.org; Sun, 07 Oct 2012 17:06:59 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKy3P-0001rD-Jn for submit@debbugs.gnu.org; Sun, 07 Oct 2012 17:06:28 -0400 Original-Received: from lists.gnu.org ([208.118.235.17]:35067) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKy3P-0001r9-GO for submit@debbugs.gnu.org; Sun, 07 Oct 2012 17:06:27 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35484) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKy3N-0000FX-Mf for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2012 17:06:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TKy3M-0001qe-37 for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2012 17:06:25 -0400 Original-Received: from mail-ie0-f169.google.com ([209.85.223.169]:42533) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TKy3L-0001qU-TL for bug-gnu-emacs@gnu.org; Sun, 07 Oct 2012 17:06:24 -0400 Original-Received: by mail-ie0-f169.google.com with SMTP id 10so9316270ied.0 for ; Sun, 07 Oct 2012 14:06:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=syX0dsaXakqKTUC8eHCqqrOmXu/ptZjuw+H7Nr7VKmE=; b=esXJPhbXKEI0hhk4Rr+sKTO+ACasom4TxnfmvD3Q+Q17wvvcTiwocz3OCeetNpHUA7 xFcEAQMQQtp0xPkT2bzdQkxggDGzlbEDqtSSk5t8PZIUjvp4khXuJgU6/HjIiDMIjo5e KbyxA32+h71suDK7Hp9yIEEAj4TCvrAgqMa4I6ZYXciDLLkq9O+JlT50r1rDsK36FG9d d2hQqgEV1Yxp1LwG34nH+n2O8pP5aJz9OlCuVWIiniRzxtlXMcacR18XGabtk7B7U6v/ 2rqc6dpzDHMidFhETTXt1U1/hl0Zu2PC101DBDQmw7lRNOt3QdRZF7wAJfVpcRwq6Jw3 /ZXg== Original-Received: by 10.50.13.138 with SMTP id h10mr4071460igc.55.1349643983242; Sun, 07 Oct 2012 14:06:23 -0700 (PDT) Original-Received: from [192.168.1.2] (97-118-175-223.hlrn.qwest.net. [97.118.175.223]) by mx.google.com with ESMTPS id ce10sm5632813igb.1.2012.10.07.14.06.22 (version=SSLv3 cipher=OTHER); Sun, 07 Oct 2012 14:06:22 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120912 Thunderbird/15.0.1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:65358 Archived-At: 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 #)\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 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 C-a C-p C-p C-SPC C-n C-n C-n C-n C-n C-e C-x C-e M-x r e p o r t 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)