From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67867 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: How to open a summary buffer reliable? Date: Thu, 11 Dec 2008 17:39:53 +0100 Message-ID: <87myf28y3q.fsf@thinkpad.tsdh.de> References: <87k5a7g7vv.fsf@thinkpad.tsdh.de> <871vwf3dh8.fsf@randomsample.de> <87prjzyvuq.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229013682 2808 80.91.229.12 (11 Dec 2008 16:41:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2008 16:41:22 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16313@lists.math.uh.edu Thu Dec 11 17:42:25 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LAoc1-0000Pz-Ni for ding-account@gmane.org; Thu, 11 Dec 2008 17:42:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1LAoa2-0002KH-SB; Thu, 11 Dec 2008 10:40:02 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LAoa1-0002K6-NW for ding@lists.math.uh.edu; Thu, 11 Dec 2008 10:40:01 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LAoZy-00036k-Op for ding@lists.math.uh.edu; Thu, 11 Dec 2008 10:40:01 -0600 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LAoa8-00009a-00 for ; Thu, 11 Dec 2008 17:40:08 +0100 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 12A1B789AD4F for ; Thu, 11 Dec 2008 17:39:55 +0100 (CET) Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23505-06 for ; Thu, 11 Dec 2008 17:39:53 +0100 (CET) X-CHKRCPT: Envelopesender vrfy tassilo@member.fsf.org Original-Received: from thinkpad.tsdh.de (dhcp182.uni-koblenz.de [141.26.71.182]) by deliver.uni-koblenz.de (Postfix) with ESMTP id E0DE9789AD89 for ; Thu, 11 Dec 2008 17:39:53 +0100 (CET) Mail-Copies-To: never Mail-Followup-To: ding@gnus.org In-Reply-To: <87prjzyvuq.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Thu, 11 Dec 2008 09:11:41 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-Virus-Scanned: amavisd-new at uni-koblenz.de X-Spam-Score: -5.5 (-----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67867 Archived-At: Tassilo Horn writes: >> If you rescan the group before entering, Gnus should notice that the >> article got deleted. You can do this by using gnus-activate-group >> with `scan' being non-nil. > > Hey, that seems to work! I was a bit too quick. It does work for nnimap groups, but I get an error for nnml groups. --8<---------------cut here---------------start------------->8--- Debugger entered--Lisp error: (wrong-type-argument stringp nil) string-match("^[^:]+:" nil) gnus-request-article("<20080825064634.61290@gmx.net>" nil) gnus-request-head("<20080825064634.61290@gmx.net>" nil) gnus-read-header("<20080825064634.61290@gmx.net>") gnus-summary-insert-subject("<20080825064634.61290@gmx.net>") byte-code("[snipped control chars]" [gnus-override-method --cl-dolist-temp-- message-id number gnus-refer-article-methods nil gnus-check-server gnus-summary-insert-subject gnus-summary-select-article throw found t gnus-message 3 "Couldn't fetch article %s"] 6) gnus-summary-refer-article("<20080825064634.61290@gmx.net>") gnus-summary-goto-article("<20080825064634.61290@gmx.net>" nil t) (cond ((and group article) (gnus-activate-group group t) (gnus-group-read-group 1 nil group) (gnus-summary-goto-article article nil t)) (group (gnus-group-jump-to-group group))) org-gnus-follow-link("nnml+Popmail:misc" "<20080825064634.61290@gmx.net>") (let (group article) (if (not ...) (error "Error in Gnus link")) (setq group (match-string 1 path) article (match-string 3 path)) (when group (setq group ...)) (when article (setq article ...)) (org-gnus-follow-link group article)) org-gnus-open(#("nnml+Popmail:misc#<20080825064634.61290@gmx.net>" 0 48 (org-attr nil))) org-open-at-point(nil) call-interactively(org-open-at-point nil nil) --8<---------------cut here---------------end--------------->8--- Doing things manually after (gnus-activate-group "nnml+Foo:bar" t) a `C-u 1 RET' won't enter that group, too. So I guess the error comes from the fact that the group's summary wasn't created. So is that a bug in nnml or is it correct that only nnimap supports it? Ideally I'd love to see that work for all backends supporting deletion. Bye, Tassilo