From: Tassilo Horn <tassilo@member.fsf.org>
To: ding@gnus.org
Subject: Re: How to open a summary buffer reliable?
Date: Thu, 11 Dec 2008 17:39:53 +0100 [thread overview]
Message-ID: <87myf28y3q.fsf@thinkpad.tsdh.de> (raw)
In-Reply-To: <87prjzyvuq.fsf@thinkpad.tsdh.de> (Tassilo Horn's message of "Thu, 11 Dec 2008 09:11:41 +0100")
Tassilo Horn <tassilo@member.fsf.org> 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
next prev parent reply other threads:[~2008-12-11 16:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-10 19:14 Tassilo Horn
2008-12-10 19:48 ` Reiner Steib
2008-12-10 20:45 ` Tassilo Horn
2008-12-10 21:52 ` David Engster
2008-12-11 8:11 ` Tassilo Horn
2008-12-11 16:39 ` Tassilo Horn [this message]
2008-12-11 18:30 ` David Engster
2008-12-11 19:21 ` Tassilo Horn
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=87myf28y3q.fsf@thinkpad.tsdh.de \
--to=tassilo@member.fsf.org \
--cc=ding@gnus.org \
/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).