From: James Thomas <jimjoe@gmx.net>
To: Divya Ranjan <divya@subvertising.org>
Cc: ding@gnus.org
Subject: Re: Agent and IMAP
Date: Sat, 12 Oct 2024 17:01:19 +0530 [thread overview]
Message-ID: <865xpx5zi0.fsf@gmx.net> (raw)
In-Reply-To: <87plo6otvl.fsf@subvertising.org> (Divya Ranjan's message of "Sat, 12 Oct 2024 03:57:50 +0000")
Divya Ranjan wrote:
> James Thomas writes:
>
>> No, because I use it daily.
>
> Would you be willing to share your configuration?
I don't have any Agent-related configuration. Just do 'J a' on the
nnimap server in the *Server* buffer.
The next time you open the group and read an article, it'll be saved
(the docs of (info "(gnus) Agent Caveats") have recently been updated).
Then you can unplug ('J j') and then enter the group when offline to
read them.
>> Was it 'nnimap that you added to it?
>
> Yes
OK. Though it seems to need only that, I can't help more because I don't
use it that way.
>> I did it as per (info "(gnus) Agent Basics"):
> I also have it set according to that, but then when I look at (info
> "(gnus) (Gnus Unplugged) Agent and IMAP"), it says the following:
>
>> The Agent works with any Gnus back end, including nnimap. However,
>> since there are some conceptual differences between NNTP and IMAP,
>> this section (should) provide you with some information to make Gnus
>> Agent work smoother as a IMAP Disconnected Mode client
Well, "smooth*er*": not that it doesn't work, no? (It's only an
introduction to what follows).
> Let me know more about how you’ve set gnus with IMAP using 'nnimap.
FWIW the only remotely related part of my config is my gnus-daemon
function, which uses Agent features (comments added):
--8<---------------cut here---------------start------------->8---
(defun my/gnus-demon-scan-mail ()
(gnus-agent-while-plugged
;; Only level 3 servers should be agentized, for this.
(gnus-agent-synchronize-flags)
;; Inbox.
(gnus-group-get-new-news 3 t)
(with-temp-message ""
;; Spam.
(gnus-group-get-new-news 4 t)
(gnus-agent-fetch-session))
(unless (equal (current-message) gnus-no-groups-message)
;; Custom alert function.
(alert))
(call-interactively #'gnus-group-list-groups)))
(gnus-demon-add-handler 'my/gnus-demon-scan-mail 90 11)
--8<---------------cut here---------------end--------------->8---
...for my workflow: to mark messages (for future downloading as well) if
I'm checking later when offline.
Oh, and I have a 'downloaded mark' in my Summary line:
--8<---------------cut here---------------start------------->8---
(setq gnus-summary-line-format
"%U%R%O %-16&user-date; %3i %*%B%«%-23,23n%»%T: %s\n")
--8<---------------cut here---------------end--------------->8---
Regards,
James
next prev parent reply other threads:[~2024-10-12 11:31 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-10-11 22:23 Divya Ranjan
2024-10-11 22:44 ` Greg Troxel
2024-10-11 23:07 ` Divya Ranjan
2024-10-11 23:36 ` Greg Troxel
2024-10-12 3:49 ` Divya Ranjan
2024-10-12 8:59 ` Adam Sjøgren
2024-10-12 13:21 ` Divya Ranjan
2024-10-12 13:08 ` Greg Troxel
2024-10-12 13:21 ` Divya Ranjan
2024-10-11 23:55 ` James Thomas
2024-10-12 3:57 ` Divya Ranjan
2024-10-12 11:31 ` James Thomas [this message]
2024-11-04 0:46 ` James Thomas
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=865xpx5zi0.fsf@gmx.net \
--to=jimjoe@gmx.net \
--cc=ding@gnus.org \
--cc=divya@subvertising.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).