all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
Cc: "Andrew M. Scott" <ascott@sedona.ch.intel.com>, bugs@gnus.org
Subject: Re: nnrss-node-just-text: Wrong type argument: sequencep, 62
Date: Tue, 30 Nov 2004 21:38:15 +0900	[thread overview]
Message-ID: <b9yekibzf48.fsf@jpl.org> (raw)
In-Reply-To: gfbvfbonqhs.fsf@chlr4917.ch.intel.com

Hello,

In the bugs@gnus.org list, I found a bug report which is
attached below.  I don't know which of xml.el and nnrss.el is
wrong, but I found a strange behavior of xml.el.

(with-temp-buffer
  (insert "<rss><![CDATA[ding]]></rss>")
  (xml-parse-region (point-min) (point-max)))
 => ((rss nil "ding"))

(with-temp-buffer
  (insert "<rss> <![CDATA[ding]]> </rss>")
  (xml-parse-region (point-min) (point-max)))
 => ((rss nil " " 32 103 110 105 100))

The latter case seems to have returned a mirrored string as
characters:

(concat '(32 103 110 105 100))
 => " gnid"

Is it the intended behavior?

The problem Andrew M. Scott reported is not the same but similar
to this.  The same behavior that xml-parse-region returns a
mirrored character sequence can be reproduced as follows:

cd /tmp
wget 'http://www.lockergnome.com/rss/news.php'

(with-temp-buffer
  (insert-file-contents "/tmp/news.php")
  (xml-parse-region (point-min) (point-max)))

Regards,

>>>>> In <gfbvfbonqhs.fsf@chlr4917.ch.intel.com> Andrew M. Scott wrote:

> I encountered an nnrss-node-just-text: Wrong type argument: sequencep, 62
> error in the 11/29/2004 CVS version of gnus, which precedes the
> Emacs-21.3.50 (11/29/2004) gnus in my load-path.

> Invocating a fresh emacs, then hitting M-x gnus, produced
> the following *Messages* and *Backtrace*

> Could nnrss be enhanced not to abort on this kind of error?

> My temporary workaround was to execute (gnus-no-server-1 1) and then
> "U" the offending group, save from the GNUS summary buffer, quit GNUS,
> and then restart via M-x gnus.

> No Gnus v0.3
> GNU Emacs 21.3.50.1 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
>  of 2004-11-29 on chlr4918
> 200 news01.intel.com InterNetNews NNRP server INN 2.3.3 ready (posting ok).

> *Messages*
> Opening nnrss server...done
> Opening nnrss server on syndic8.com...
> Loading /eng/eng10/ascott/News/rss/nnrss-syndic8.com.el (source)...done
> Opening nnrss server on syndic8.com...done
> Opening nnrss server...
> Loading /eng/eng10/ascott/News/rss/nnrss.el (source)...done
> Opening nnrss server...done
> nnrss-node-just-text: Wrong type argument: sequencep, 62

> *Backtrace*
> Debugger entered--Lisp error: (wrong-type-argument sequencep 62)
>   mapconcat(nnrss-node-just-text (62 112 47 60 62 97 47 60 39 101 108 98 111 78 32 100 110 97 32 115 101 110 114 97 66 32 110 105 32 105 70 45 105 87 39 32 114 111 102 32 115 107 110 105 76 32 100 101 116 97 ...) " ")
>   nnrss-node-just-text((description nil 62 112 47 60 62 97 47 60 39 101 108 98 111 78 32 100 110 97 32 115 101 110 114 97 66 32 110 105 32 105 70 45 105 87 39 32 114 111 102 32 115 107 110 105 76 32 100 101 ...))
>   nnrss-node-text(nil description (item nil "\n			" (title nil "Wi-Fi in Barnes and Noble") "\n			" (description nil 62 112 47 60 62 97 47 60 39 101 108 98 111 78 32 100 110 97 32 115 101 110 114 97 66 32 110 105 32 105 70 45 105 87 39 32 114 111 102 32 115 107 110 105 76 32 100 101 ...) "\n               " (author nil "rss_feedback@lockergnome.com (Meryl Evans)") "\n			" (category nil "Wi-Fi") "\n			" (pubDate nil "Mon, 29 Nov 2004 11:32:42 -0800") "\n			" (link nil "http://channels.lockergnome.com/news/archives/20041129_wifi_in_barnes_and_noble.phtml") "\n			" (guid nil "http://channels.lockergnome.com/news/archives/20041129_wifi_in_barnes_and_noble.phtml") "\n			\n		"))
>   nnrss-check-group("Lockergnome's Technology News" "")
>   nnrss-request-group("Lockergnome's Technology News" "" nil)
>   gnus-activate-group("nnrss:Lockergnome's Technology News" scan)
>   gnus-get-unread-articles(nil)
>   gnus-setup-news(nil nil nil)
>   byte-code("\b

       reply	other threads:[~2004-11-30 12:38 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <gfbvfbonqhs.fsf@chlr4917.ch.intel.com>
2004-11-30 12:38 ` Katsumi Yamaoka [this message]
2004-11-30 16:44   ` nnrss-node-just-text: Wrong type argument: sequencep, 62 Mark A. Hershberger
2004-12-01  4:48 Mark A. Hershberger
2004-12-01  6:23 ` Katsumi Yamaoka

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=b9yekibzf48.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=ascott@sedona.ch.intel.com \
    --cc=bugs@gnus.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.