From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/86599 Path: news.gmane.org!not-for-mail From: Alan Schmitt Newsgroups: gmane.emacs.gnus.general Subject: Re: a bug with gnus-summary-refer-article? Date: Wed, 13 Jan 2016 09:49:34 +0100 Message-ID: References: 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 1452675100 14123 80.91.229.3 (13 Jan 2016 08:51:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 13 Jan 2016 08:51:40 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M34826@lists.math.uh.edu Wed Jan 13 09:51:28 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 1aJH9L-0006WZ-Re for ding-account@gmane.org; Wed, 13 Jan 2016 09:51:28 +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 1aJH7l-0002dC-VT; Wed, 13 Jan 2016 02:49:50 -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 1aJH7i-0002cm-H2 for ding@lists.math.uh.edu; Wed, 13 Jan 2016 02:49:46 -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 1aJH7f-00012L-P4 for ding@lists.math.uh.edu; Wed, 13 Jan 2016 02:49:46 -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 1aJH7d-0007Ue-0a for ding@gnus.org; Wed, 13 Jan 2016 09:49:41 +0100 X-IronPort-AV: E=Sophos;i="5.22,288,1449529200"; d="asc'?scan'208";a="197042836" Original-Received: from charm-ecran.irisa.fr ([131.254.101.83]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/AES128-GCM-SHA256; 13 Jan 2016 09:49:35 +0100 In-Reply-To: (Katsumi Yamaoka's message of "Wed, 13 Jan 2016 09:50:30 +0900") User-Agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/24.5 (darwin) X-Spam-Score: -7.1 (-------) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:86599 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2016-01-13 09:50, Katsumi Yamaoka writes: > On Sun, 10 Jan 2016 22:21:55 +0100, Alan Schmitt wrote: >> 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. > [...] >> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p ni= l) >> =3D(nil 32) >> gnus-summary-mark-article(-1 82) > [...] >> gnus-summary-refer-article("52947012.308@cse.gu.se") > > I'm not quite sure whether these are helpful questions, but > > What is the method of the group (nnml, nnimap, ...) you are in? nnimap > What is the method of the group where <52947012.308@cse.gu.se> comes? nnimap, from another server > What is the mark the <52947012.308@cse.gu.se> article had? 79, which seems to be 'O'. > I haven't been able to reproduce such an error so far. The crux of the error is on line 11110 of gnus-sem.el. When I edebug this function, it is used twice (once for the existing article in the group, and once for the newly inserted article). During the second execution, this line (setq mark (gnus-request-update-mark gnus-newsgroup-name article mark)) evaluates to nil, I guess because `article' is a negative number or because the article comes from a group that is on another server. Do you see this as well? Thanks, Alan =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 Athmospheric CO=E2=82=82 (Updated January 11, 2016, Mauna Loa Obs.): 401.96= ppm --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQEcBAEBCgAGBQJWlg+eAAoJEAQNCjtO0uXHw8YH/iwYQghCiSifnyyb+cvZuvgt 50jDf8sEE3wY3oa95OIHeIUIQ/WsBZZ7iMUFI/XYWu6QwWQ5n4fx0D2zqSrlJ7Am yQx3d4JGc+R7a7z7LZSxW4Ey5rqB3DDF5/6HnYB+kiDsl9J4LBtxRb7PpPRQC1Fe Z6XU114cg5Z+XUCwvZ7bmj5hLTJIPSOtAFPGrbsP8vw74lyG1teNspWTP1iEyh8u hwqCaFqD7RsV9s9b6AXvzoWZr2Iag9zow3UUI0Jz7Kkvc4e/1XEsYO+Lgvp+6RPl SZLi3+eghWrFqLEC1qVgzCbwhY9xnLLq7/rYxOnyrQu9zDzhH7nFJSZ8Q/bvAOM= =Yu7t -----END PGP SIGNATURE----- --=-=-=--