GNU bug report logs - #15622
eww: url-retrieve-internal: Wrong type argument: char-or-string-p, author

Previous Next

Package: emacs;

Reported by: Svend Sorensen <svend <at> ciffer.net>

Date: Tue, 15 Oct 2013 16:19:01 UTC

Severity: normal

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 15622 in the body.
You can then email your comments to 15622 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#15622; Package emacs. (Tue, 15 Oct 2013 16:19:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Svend Sorensen <svend <at> ciffer.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Tue, 15 Oct 2013 16:19:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Svend Sorensen <svend <at> ciffer.net>
To: bug-gnu-emacs <at> gnu.org
Subject: eww: url-retrieve-internal: Wrong type argument: char-or-string-p,
 author
Date: Tue, 15 Oct 2013 08:56:58 -0700
[Message part 1 (text/plain, inline)]
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 ****
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#15622; Package emacs. (Tue, 15 Oct 2013 20:51:02 GMT) Full text and rfc822 format available.

Message #8 received at 15622 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: Svend Sorensen <svend <at> ciffer.net>
Cc: 15622 <at> debbugs.gnu.org
Subject: Re: bug#15622: eww: url-retrieve-internal: Wrong type argument:
 char-or-string-p, author
Date: Tue, 15 Oct 2013 16:50:23 -0400
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




Reply sent to Glenn Morris <rgm <at> gnu.org>:
You have taken responsibility. (Wed, 16 Oct 2013 01:32:01 GMT) Full text and rfc822 format available.

Notification sent to Svend Sorensen <svend <at> ciffer.net>:
bug acknowledged by developer. (Wed, 16 Oct 2013 01:32:02 GMT) Full text and rfc822 format available.

Message #13 received at 15622-done <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: 15622-done <at> debbugs.gnu.org
Subject: Re: bug#15622: eww: url-retrieve-internal: Wrong type argument:
 char-or-string-p, author
Date: Tue, 15 Oct 2013 21:31:10 -0400
Version: 24.4

Fixed.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 13 Nov 2013 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 10 years and 178 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.