Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: Accessing all incoming mails, checking for network connection, changes in message status
Date: Mon, 26 Jul 2010 16:13:57 -0500	[thread overview]
Message-ID: <87eieqx7xm.fsf@lifelogs.com> (raw)
In-Reply-To: <7saapinvff.fsf@fi.upm.es>

On Fri, 23 Jul 2010 15:07:32 +0100 manuel carro <mcarro@fi.upm.es> wrote: 

mc> Dear GNUSers,

mc> I have been using GNUS for some months now and there are some things I
mc> would like to know how to do.

mc> [1] 

mc> I process a lot of mail and right now I have a series of split rules
mc> which divert the mail into some 260 different groups.  However, when I
mc> read mail (I download it to my laptop using IMAP, then do all processing
mc> on the laptop) I am more or less forced to go through all the groups
mc> with active messages and process them.  I used to have a virtual groups
mc> which gathered all active messages, but in the end I had to go to the
mc> group the message was in to read and answer it so that the answer was
mc> stored in the group where the original message was stroed (I set up the
mc> GCC: field so that mails go to the group where I am when I answer).

mc> Wat I would like is to know how to do is:

mc> (a) Set up Gnus variables / options (or what additional functions I
mc> could add) so that incoming mail goes to a single group, and from there
mc> I can respool it to other groups according to a set of spooling /
mc> splitting rules.  I think that the best setup would be to be suggested a
mc> group to respool which I could then edit in the command line, but this
mc> can probably be made with other pieces from the GNUs code.

mc> (b) It would be great if, after respooling, I could almost automatically
mc> (or with minor effort) switch to the group where the message was
mc> respooled (to, e.g., answer from there) and when quitting the group,
mc> appear again in the group where all the messages are stored.

Virtual groups should do this.  Otherwise you're reinventing the same
functionality.  So if the only problem is that the GCC field is wrong,
let's fix that.  Or is there another reason why virtual groups are not
what you want?

mc> [2]

mc> I work offline often (for example, I am writing this message while in a
mc> plane) and I use SMTP from within GNUS.  I have a function which
mc> switches from queing to non-queieng messages and vice-versa, and takes
mc> care of sending the stored messages when selecting the non-queuing
mc> state.  But I have to remember to make that switch.  Is there any way to
mc> cleanly check that there is connection?  I would like to do something
mc> like:

mc> (defun my-gnus-mail-send-message ()
mc>     (store-message)
mc>     (if (connection-ok smtpmail-default-smtp-server)
mc>         (send-all-mails)
mc>     )
mc> )

I don't think that's available like that right now.  But the Gnus Agent
is supposed to help with connected/disconnected transitions; have you
looked at it?

I would perfonally set up a local SMTP server that will queue my mails
until the network connection is up again.  But that's probably too much
for most users.

mc> Also, unrelated with the above, I am intermittently experiencing small
mc> problems with mails changing status - i.e., unread mails which move to
mc> the "O[ld]" state or to the "r[ead]" state, and old / already read
mc> messages which appear again as new.  Does any of you exeperience
mc> something similar.  Does that happen to any of you?  I usually run the
mc> version in git.

This indicates article marks are inconsistent.  Is this over IMAP or
another protocol?  Could the server be modifying article numbers behind
Gnus' back?

Ted




  reply	other threads:[~2010-07-26 21:13 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-23 14:07 manuel carro
2010-07-26 21:13 ` Ted Zlatanov [this message]
2010-07-27 12:47   ` Manuel Carro
2010-08-03 19:07     ` Ted Zlatanov
2010-08-09 10:44       ` Manuel Carro

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=87eieqx7xm.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --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).