From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69827 Path: news.gmane.org!not-for-mail From: manuel carro Newsgroups: gmane.emacs.gnus.general Subject: Accessing all incoming mails, checking for network connection, changes in message status Date: Fri, 23 Jul 2010 15:07:32 +0100 Message-ID: <7saapinvff.fsf@fi.upm.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1279913565 12658 80.91.229.12 (23 Jul 2010 19:32:45 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 23 Jul 2010 19:32:45 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M18217@lists.math.uh.edu Fri Jul 23 21:32:44 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 1OcNzA-0003yt-7G for ding-account@gmane.org; Fri, 23 Jul 2010 21:32:44 +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 1OcNyd-00034l-CJ; Fri, 23 Jul 2010 14:32:11 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1OcNya-00034U-KJ for ding@lists.math.uh.edu; Fri, 23 Jul 2010 14:32:08 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1OcNyY-0003bS-RK for ding@lists.math.uh.edu; Fri, 23 Jul 2010 14:32:08 -0500 Original-Received: from relay.fi.upm.es ([138.100.8.77] helo=relay4.fi.upm.es) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1OcNyE-0004MD-00 for ; Fri, 23 Jul 2010 21:31:46 +0200 Original-Received: from localhost (localhost.localdomain [127.0.0.1]) by relay4.fi.upm.es (Postfix) with ESMTP id C67AC304D1 for ; Fri, 23 Jul 2010 21:31:31 +0200 (CEST) X-Virus-Scanned: by amavisd-new using ClamAV at efiltro.fi.upm.es Original-Received: from mail2.fi.upm.es (mail2.fi.upm.es [138.100.243.143]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by relay4.fi.upm.es (Postfix) with ESMTP id AF3AF304CF for ; Fri, 23 Jul 2010 21:31:31 +0200 (CEST) Original-Received: from manuel-laptop (unknown [77.210.48.101]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail2.fi.upm.es (Postfix) with ESMTP id D595E2D04B3 for ; Fri, 23 Jul 2010 21:31:30 +0200 (CEST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-Spam-Score: -3.3 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69827 Archived-At: Dear GNUSers, I have been using GNUS for some months now and there are some things I would like to know how to do. [1]=20 I process a lot of mail and right now I have a series of split rules which divert the mail into some 260 different groups. However, when I read mail (I download it to my laptop using IMAP, then do all processing on the laptop) I am more or less forced to go through all the groups with active messages and process them. I used to have a virtual groups which gathered all active messages, but in the end I had to go to the group the message was in to read and answer it so that the answer was stored in the group where the original message was stroed (I set up the GCC: field so that mails go to the group where I am when I answer). Wat I would like is to know how to do is: (a) Set up Gnus variables / options (or what additional functions I could add) so that incoming mail goes to a single group, and from there I can respool it to other groups according to a set of spooling / splitting rules. I think that the best setup would be to be suggested a group to respool which I could then edit in the command line, but this can probably be made with other pieces from the GNUs code. (b) It would be great if, after respooling, I could almost automatically (or with minor effort) switch to the group where the message was respooled (to, e.g., answer from there) and when quitting the group, appear again in the group where all the messages are stored. [2] I work offline often (for example, I am writing this message while in a plane) and I use SMTP from within GNUS. I have a function which switches from queing to non-queieng messages and vice-versa, and takes care of sending the stored messages when selecting the non-queuing state. But I have to remember to make that switch. Is there any way to cleanly check that there is connection? I would like to do something like: (defun my-gnus-mail-send-message () (store-message) (if (connection-ok smtpmail-default-smtp-server) (send-all-mails) ) ) Also, unrelated with the above, I am intermittently experiencing small problems with mails changing status - i.e., unread mails which move to the "O[ld]" state or to the "r[ead]" state, and old / already read messages which appear again as new. Does any of you exeperience something similar. Does that happen to any of you? I usually run the version in git. Cheers and thank you! --=20 +--------------------------------------------------------------------------= ----+ | Manuel Carro --- Facultad de Inform=C3=A1tica -- U. Polit=C3=A9cnica de = Madrid (UPM) | | Campus de Montegancedo --- E-28660 Boadilla del Monte --- Spain = | | Phone: +34-913363747 --- FAX: +34-913363669 = |