Gnus development mailing list
 help / color / mirror / Atom feed
From: Michael.Cook@cisco.com
Subject: gnus-summary-crosspost-article
Date: Mon, 12 Nov 2001 13:08:50 -0500	[thread overview]
Message-ID: <g08bsi73lql.fsf@zzz.cisco.com> (raw)

gnus-summary-crosspost-article hasn't been working recently (Oort
Gnus v0.04, GNU Emacs 21.1.1).  it causes a stack trace like this:

Debugger entered--Lisp error: (wrong-type-argument sequencep 26628)
  gnus-summary-move-article(nil nil nil crosspost)
  gnus-summary-crosspost-article(nil)
  call-interactively(gnus-summary-crosspost-article)

the following changes seem to fix the problem:

--- gnus-sum.el.~1~	Mon Nov 12 12:55:16 2001
+++ gnus-sum.el	Mon Nov 12 13:01:42 2001
@@ -8077,7 +8077,7 @@
 		      (mail-header-xref (gnus-summary-article-header article))
 		      " ")))
 	   (setq new-xref (concat (gnus-group-real-name gnus-newsgroup-name)
-				  ":" article))
+				  ":" (number-to-string article)))
 	   (unless xref
 	     (setq xref (list (system-name))))
 	   (setq new-xref
@@ -8094,7 +8094,8 @@
 				(gnus-request-accept-article
 				 to-newsgroup select-method (not articles))))
 	       (setq new-xref (concat new-xref " " (car art-group)
-				      ":" (cdr art-group)))
+				      ":"
+				      (number-to-string (cdr art-group))))
 	       ;; Now we have the new Xrefs header, so we insert
 	       ;; it and replace the new article.
 	       (nnheader-replace-header "Xref" new-xref)

maybe someone would commit these changes into cvs.

m.



             reply	other threads:[~2001-11-12 18:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-12 18:08 Michael.Cook [this message]
2001-11-12 18:49 ` gnus-summary-crosspost-article ShengHuo ZHU

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=g08bsi73lql.fsf@zzz.cisco.com \
    --to=michael.cook@cisco.com \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).