From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69835 Path: news.gmane.org!not-for-mail From: Ted Zlatanov Newsgroups: gmane.emacs.gnus.general Subject: Re: Accessing all incoming mails, checking for network connection, changes in message status Date: Mon, 26 Jul 2010 16:13:57 -0500 Organization: =?utf-8?B?0KLQtdC+0LTQvtGAINCX0LvQsNGC0LDQvdC+0LI=?= @ Cienfuegos Message-ID: <87eieqx7xm.fsf@lifelogs.com> References: <7saapinvff.fsf@fi.upm.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1280178867 8246 80.91.229.12 (26 Jul 2010 21:14:27 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 26 Jul 2010 21:14:27 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18225@lists.math.uh.edu Mon Jul 26 23:14:26 2010 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.69) (envelope-from ) id 1OdV08-0002yN-Jn for ding-account@gmane.org; Mon, 26 Jul 2010 23:14:20 +0200 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 1OdV05-0001L0-Rf; Mon, 26 Jul 2010 16:14:17 -0500 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 1OdV04-0001Kf-AB for ding@lists.math.uh.edu; Mon, 26 Jul 2010 16:14:16 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OdV02-0007KM-P1 for ding@lists.math.uh.edu; Mon, 26 Jul 2010 16:14:16 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OdV02-0002yd-00 for ; Mon, 26 Jul 2010 23:14:14 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OdUzx-0002sS-JI for ding@gnus.org; Mon, 26 Jul 2010 23:14:09 +0200 Original-Received: from 38.98.147.130 ([38.98.147.130]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Jul 2010 23:14:09 +0200 Original-Received: from tzz by 38.98.147.130 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 26 Jul 2010 23:14:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 75 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 38.98.147.130 X-Face: bd.DQ~'29fIs`T_%O%C\g%6jW)yi[zuz6;d4V0`@y-~$#3P_Ng{@m+e4o<4P'#(_GJQ%TT= D}[Ep*b!\e,fBZ'j_+#"Ps?s2!4H2-Y"sx" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:ljiVMmjIa/Bjj3L8QPM6/DKygRo= X-Spam-Score: -0.7 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69835 Archived-At: On Fri, 23 Jul 2010 15:07:32 +0100 manuel carro 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