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 nil) >> =(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 -- OpenPGP Key ID : 040D0A3B4ED2E5C7 Athmospheric CO₂ (Updated January 11, 2016, Mauna Loa Obs.): 401.96 ppm