From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86583 Path: news.gmane.org!not-for-mail From: Alan Schmitt Newsgroups: gmane.emacs.gnus.general Subject: a bug with gnus-summary-refer-article? Date: Sun, 10 Jan 2016 22:21:55 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1452461054 18869 80.91.229.3 (10 Jan 2016 21:24:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Jan 2016 21:24:14 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34810@lists.math.uh.edu Sun Jan 10 22:24:02 2016 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from lists1.math.uh.edu ([129.7.128.208]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aINSz-0005bc-OR for ding-account@gmane.org; Sun, 10 Jan 2016 22:24:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.85) (envelope-from ) id 1aINRH-0003mx-NG; Sun, 10 Jan 2016 15:22:15 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.85) (envelope-from ) id 1aINRE-0003mT-4z for ding@lists.math.uh.edu; Sun, 10 Jan 2016 15:22:12 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.85) (envelope-from ) id 1aINRA-0007pY-Tj for ding@lists.math.uh.edu; Sun, 10 Jan 2016 15:22:12 -0600 Original-Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]) by quimby.gnus.org with esmtps (TLS1.2:RSA_ARCFOUR_SHA1:128) (Exim 4.80) (envelope-from ) id 1aINR8-0000pV-49 for ding@gnus.org; Sun, 10 Jan 2016 22:22:06 +0100 X-IronPort-AV: E=Sophos;i="5.20,549,1444687200"; d="asc'?scan'208";a="196559712" Original-Received: from cbg35-2-78-242-14-140.fbx.proxad.net (HELO charm-ecran.irisa.fr) ([78.242.14.140]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 10 Jan 2016 22:21:59 +0100 User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) X-Spam-Score: -5.2 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86583 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello, I think I found a bug with `gnus-summary-refer-article'. If I fetch an article that comes from another group, it gets inserted in the summary with a number of -1. During the call to `gnus-summary-mark-article', the following is done (setq mark (gnus-request-update-mark gnus-newsgroup-name article mark)) which results in mark being nil. This in turn makes the comparisons such as (=3D mark gnus-unread-mark) fail with a "Wrong type argument: number-or-marker-p, nil". Here is a trimmed-down backtrace: Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil) =3D(nil 32) ... gnus-summary-mark-article(-1 82) gnus-summary-mark-read-and-unread-as-read() run-hooks(gnus-mark-article-hook) apply(run-hooks gnus-mark-article-hook) gnus-run-hooks(gnus-mark-article-hook) gnus-article-prepare(-1 nil) gnus-summary-display-article(-1 nil) gnus-summary-select-article(nil nil nil -1) (progn (gnus-summary-select-article nil nil nil number) (throw (quote fou= nd) t)) ... gnus-summary-refer-article("52947012.308@cse.gu.se") call-interactively(gnus-summary-refer-article nil nil) command-execute(gnus-summary-refer-article) Is this a known bug? Thanks, Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 Athmospheric CO=E2=82=82 (Updated December 28, 2015, Mauna Loa Obs.): 402.6= 0 ppm --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCgAGBQJWkstzAAoJEAQNCjtO0uXHw7MH/AuqZRyi4kSmxlEjoI40xEWt MB0A2taAIhYv5g2/mGYBSQWIxt372FIAhd0GlLbBXrmmNdxWMAP+kVFv21OdlwdI 4iEu/nC41mDMOR5GY5Byd6drpCm8ItcLl9M8nyv3l2fxr5+VOrJTmY/vewBuz06X FX8QxqWxauPsqL2J/CcNbap0VtW0SS1NgXYCxIZ7QCE7aUenZb9pnr/L+LyBUPCZ W/LKbsNJs0KXBdtHGDNYiwq05D39LYF9H2NrKYcFtSfN1yeNY5LrDy7oVEdLFQNB B6pSBP4ZkpBdnetq8e8H9tnqciP3qzBlZQfRx04ML4cJjmO8QmAXm37bVf3eHa8= =OJiQ -----END PGP SIGNATURE----- --=-=-=--