From unknown Mon Jun 23 07:51:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15622: eww: url-retrieve-internal: Wrong type argument: char-or-string-p, author Resent-From: Svend Sorensen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Oct 2013 16:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 15622 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 15622@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.13818538986648 (code B ref -1); Tue, 15 Oct 2013 16:19:01 +0000 Received: (at submit) by debbugs.gnu.org; 15 Oct 2013 16:18:18 +0000 Received: from localhost ([127.0.0.1]:51573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VW7K5-0001j6-BO for submit@debbugs.gnu.org; Tue, 15 Oct 2013 12:18:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56976) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VW6zr-0001B1-J0 for submit@debbugs.gnu.org; Tue, 15 Oct 2013 11:57:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VW6zf-0006p4-ME for submit@debbugs.gnu.org; Tue, 15 Oct 2013 11:57:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VW6zf-0006oy-JO for submit@debbugs.gnu.org; Tue, 15 Oct 2013 11:57:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VW6zZ-0005vX-Ee for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2013 11:57:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VW6zT-0006nl-Ks for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2013 11:57:05 -0400 Received: from mail-qe0-f54.google.com ([209.85.128.54]:46732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VW6zT-0006nX-GN for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2013 11:56:59 -0400 Received: by mail-qe0-f54.google.com with SMTP id 1so6341194qec.41 for ; Tue, 15 Oct 2013 08:56:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=c70seOPCwYAFUN5R0xsBD7FL8kMakKxAswxoLC+gasQ=; b=LnUQutHahqX1H2E8Ekzl+P6W/0Z1vwveIW08Hw/tJOy/rxoeHBwZ9/isYHs7Mpl42/ yfpHoeL0V2ofVs068B39EyeGuAkeeyxipmxw29QFfl8rylBcsmnyythrt0ELyWhX2V76 AypvSeyVKekogou56AYMzDekC0J/flfNo0CaJOI1fYGbayFrt4/HC2qCyJ4x+sR+1/+R 3Lt1Y3k+DU2C2TeZq22ysfKT8FGiggoFuVuWqRsNx8sQiWXKdhGp6p33knCLpkEDqlcc 6UU7UKNBLjKCctlfxuL0B4rzvoYlkpnGCmBs4SNvB4LdTr8AT089ziMW+GXsC8AAAvVT Jl9A== X-Gm-Message-State: ALoCoQnSiylaxNGiZEYLV0yWU8e/fbHMEUuqKfg9/vMl1lK1B3PmPELRaJlE6plqWCUjg+hBusVQ MIME-Version: 1.0 X-Received: by 10.224.32.133 with SMTP id c5mr12449873qad.84.1381852618213; Tue, 15 Oct 2013 08:56:58 -0700 (PDT) Received: by 10.49.5.38 with HTTP; Tue, 15 Oct 2013 08:56:58 -0700 (PDT) X-Originating-IP: [64.124.61.215] Date: Tue, 15 Oct 2013 08:56:58 -0700 Message-ID: From: Svend Sorensen Content-Type: multipart/alternative; boundary=047d7b67760070dcc904e8c9a206 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Mailman-Approved-At: Tue, 15 Oct 2013 12:18:15 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --047d7b67760070dcc904e8c9a206 Content-Type: text/plain; charset=ISO-8859-1 eww-current-url is set to 'author when visiting a URL of a web page with no title. This causes reload to fail. To reproduce: emacs -q M-x eww http://www.gnu.org/software/emacs/news/NEWS.24.3 M-x eww-reload url-retrieve-internal: Wrong type argument: char-or-string-p, author M-: eww-current-url author Emacs version: GNU Emacs 24.3.50.1 (i386-apple-darwin12.5.0, NS apple-appkit-1187.40) of 2013-10-14 on **** --047d7b67760070dcc904e8c9a206 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
eww-current-url is set to 'author when visiting a URL = of a web page with no title. This causes reload to fail.

To reproduce:

emacs -q

M-x eww

=
M-x eww-reload
url-retrieve-internal: Wrong type = argument: char-or-string-p, author

M-: eww-current-url
author
Emacs version:

GNU Emacs 24.3.50= .1 (i386-apple-darwin12.5.0, NS apple-appkit-1187.40)
=A0of 2013-= 10-14 on ****
--047d7b67760070dcc904e8c9a206-- From unknown Mon Jun 23 07:51:15 2025 X-Loop: help-debbugs@gnu.org Subject: bug#15622: eww: url-retrieve-internal: Wrong type argument: char-or-string-p, author Resent-From: Glenn Morris Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Oct 2013 20:51:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15622 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Svend Sorensen Cc: 15622@debbugs.gnu.org Received: via spool by 15622-submit@debbugs.gnu.org id=B15622.13818702295342 (code B ref 15622); Tue, 15 Oct 2013 20:51:02 +0000 Received: (at 15622) by debbugs.gnu.org; 15 Oct 2013 20:50:29 +0000 Received: from localhost ([127.0.0.1]:52420 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VWBZU-0001O5-N6 for submit@debbugs.gnu.org; Tue, 15 Oct 2013 16:50:29 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:42941 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VWBZR-0001Nw-TO for 15622@debbugs.gnu.org; Tue, 15 Oct 2013 16:50:26 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1VWBZP-0006cD-JD; Tue, 15 Oct 2013 16:50:24 -0400 From: Glenn Morris References: X-Spook: nitrate chameleon man infowar JPL CISU eternity server X-Ran: (gXgIMh;SY_hPXe1yM]aQE&a6Dq0at#6}QwdAej!cuRwo\spUOTw>=&*a>'I%hvi{yMGOs X-Hue: magenta X-Attribution: GM Date: Tue, 15 Oct 2013 16:50:23 -0400 In-Reply-To: (Svend Sorensen's message of "Tue, 15 Oct 2013 08:56:58 -0700") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.5 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) Svend Sorensen wrote: > eww-current-url is set to 'author when visiting a URL of a web page with no > title. Actually I believe it is whenever it visits anything that is not of type "text/html". This should fix it: *** lisp/net/eww.el 2013-09-18 04:48:55 +0000 --- lisp/net/eww.el 2013-10-15 20:45:47 +0000 *************** *** 157,165 **** ((equal (car content-type) "text/html") (eww-display-html charset url)) ((string-match "^image/" (car content-type)) ! (eww-display-image)) (t ! (eww-display-raw))) (setq eww-history-position 0) (cond (point --- 157,167 ---- ((equal (car content-type) "text/html") (eww-display-html charset url)) ((string-match "^image/" (car content-type)) ! (eww-display-image) ! (setq eww-current-url url)) (t ! (eww-display-raw) ! (setq eww-current-url url))) (setq eww-history-position 0) (cond (point From unknown Mon Jun 23 07:51:15 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.503 (Entity 5.503) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Svend Sorensen Subject: bug#15622: closed (Re: bug#15622: eww: url-retrieve-internal: Wrong type argument: char-or-string-p, author) Message-ID: References: X-Gnu-PR-Message: they-closed 15622 X-Gnu-PR-Package: emacs Reply-To: 15622@debbugs.gnu.org Date: Wed, 16 Oct 2013 01:32:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1381887122-847-1" This is a multi-part message in MIME format... ------------=_1381887122-847-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #15622: eww: url-retrieve-internal: Wrong type argument: char-or-string-p, = author which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 15622@debbugs.gnu.org. --=20 15622: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D15622 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1381887122-847-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 15622-done) by debbugs.gnu.org; 16 Oct 2013 01:31:14 +0000 Received: from localhost ([127.0.0.1]:53152 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VWFxB-0000CZ-MI for submit@debbugs.gnu.org; Tue, 15 Oct 2013 21:31:14 -0400 Received: from fencepost.gnu.org ([208.118.235.10]:46222 ident=Debian-exim) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VWFx9-0000CR-Ui for 15622-done@debbugs.gnu.org; Tue, 15 Oct 2013 21:31:12 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1VWFx8-0004kM-ST; Tue, 15 Oct 2013 21:31:10 -0400 From: Glenn Morris To: 15622-done@debbugs.gnu.org Subject: Re: bug#15622: eww: url-retrieve-internal: Wrong type argument: char-or-string-p, author References: X-Spook: USCODE anarchy FIPS140 ASDIC Pine Gap BCCI spies Islam X-Ran: L-p8tVw$'=(;_iO8^L_#D#D3WEuvAB{k},{4g]=W@T\j-ngdsE~2os_#H6#$/8M\l3ZS5X X-Hue: blue X-Debbugs-No-Ack: yes X-Attribution: GM Date: Tue, 15 Oct 2013 21:31:10 -0400 In-Reply-To: (Glenn Morris's message of "Tue, 15 Oct 2013 16:50:23 -0400") Message-ID: User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -5.5 (-----) X-Debbugs-Envelope-To: 15622-done X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -5.5 (-----) Version: 24.4 Fixed. ------------=_1381887122-847-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 15 Oct 2013 16:18:18 +0000 Received: from localhost ([127.0.0.1]:51573 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VW7K5-0001j6-BO for submit@debbugs.gnu.org; Tue, 15 Oct 2013 12:18:18 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56976) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VW6zr-0001B1-J0 for submit@debbugs.gnu.org; Tue, 15 Oct 2013 11:57:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VW6zf-0006p4-ME for submit@debbugs.gnu.org; Tue, 15 Oct 2013 11:57:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,HTML_MESSAGE autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:52468) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VW6zf-0006oy-JO for submit@debbugs.gnu.org; Tue, 15 Oct 2013 11:57:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VW6zZ-0005vX-Ee for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2013 11:57:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VW6zT-0006nl-Ks for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2013 11:57:05 -0400 Received: from mail-qe0-f54.google.com ([209.85.128.54]:46732) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VW6zT-0006nX-GN for bug-gnu-emacs@gnu.org; Tue, 15 Oct 2013 11:56:59 -0400 Received: by mail-qe0-f54.google.com with SMTP id 1so6341194qec.41 for ; Tue, 15 Oct 2013 08:56:58 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=c70seOPCwYAFUN5R0xsBD7FL8kMakKxAswxoLC+gasQ=; b=LnUQutHahqX1H2E8Ekzl+P6W/0Z1vwveIW08Hw/tJOy/rxoeHBwZ9/isYHs7Mpl42/ yfpHoeL0V2ofVs068B39EyeGuAkeeyxipmxw29QFfl8rylBcsmnyythrt0ELyWhX2V76 AypvSeyVKekogou56AYMzDekC0J/flfNo0CaJOI1fYGbayFrt4/HC2qCyJ4x+sR+1/+R 3Lt1Y3k+DU2C2TeZq22ysfKT8FGiggoFuVuWqRsNx8sQiWXKdhGp6p33knCLpkEDqlcc 6UU7UKNBLjKCctlfxuL0B4rzvoYlkpnGCmBs4SNvB4LdTr8AT089ziMW+GXsC8AAAvVT Jl9A== X-Gm-Message-State: ALoCoQnSiylaxNGiZEYLV0yWU8e/fbHMEUuqKfg9/vMl1lK1B3PmPELRaJlE6plqWCUjg+hBusVQ MIME-Version: 1.0 X-Received: by 10.224.32.133 with SMTP id c5mr12449873qad.84.1381852618213; Tue, 15 Oct 2013 08:56:58 -0700 (PDT) Received: by 10.49.5.38 with HTTP; Tue, 15 Oct 2013 08:56:58 -0700 (PDT) X-Originating-IP: [64.124.61.215] Date: Tue, 15 Oct 2013 08:56:58 -0700 Message-ID: Subject: eww: url-retrieve-internal: Wrong type argument: char-or-string-p, author From: Svend Sorensen To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=047d7b67760070dcc904e8c9a206 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 15 Oct 2013 12:18:15 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --047d7b67760070dcc904e8c9a206 Content-Type: text/plain; charset=ISO-8859-1 eww-current-url is set to 'author when visiting a URL of a web page with no title. This causes reload to fail. To reproduce: emacs -q M-x eww http://www.gnu.org/software/emacs/news/NEWS.24.3 M-x eww-reload url-retrieve-internal: Wrong type argument: char-or-string-p, author M-: eww-current-url author Emacs version: GNU Emacs 24.3.50.1 (i386-apple-darwin12.5.0, NS apple-appkit-1187.40) of 2013-10-14 on **** --047d7b67760070dcc904e8c9a206 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
eww-current-url is set to 'author when visiting a URL = of a web page with no title. This causes reload to fail.

To reproduce:

emacs -q

M-x eww

=
M-x eww-reload
url-retrieve-internal: Wrong type = argument: char-or-string-p, author

M-: eww-current-url
author
Emacs version:

GNU Emacs 24.3.50= .1 (i386-apple-darwin12.5.0, NS apple-appkit-1187.40)
=A0of 2013-= 10-14 on ****
--047d7b67760070dcc904e8c9a206-- ------------=_1381887122-847-1--