From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/7339 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.user Subject: Re: batch email reading? Date: Tue, 16 May 2006 21:41:37 +0900 Organization: Emacsen advocacy group Message-ID: References: <1147782145.394634.8030@v46g2000cwv.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1147787023 9434 80.91.229.2 (16 May 2006 13:43:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 May 2006 13:43:43 +0000 (UTC) Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Tue May 16 15:43:37 2006 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ffznc-0000dz-5z for gegu-info-gnus-english@m.gmane.org; Tue, 16 May 2006 15:41:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ffznb-0003LN-Gu for gegu-info-gnus-english@m.gmane.org; Tue, 16 May 2006 09:41:19 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 16 Original-X-Trace: individual.net cUZXlz+jyo3zFToxSHVTdwQqMPoIGqThd0WHlS/bPq51XWNDw= X-Face: #kKnN,xUnmKia.'[pp`; Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu; B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/23.0.0 (gnu/linux) Cancel-Lock: sha1:UD1P86yZ1WVFVQ9qj4QVqbN+ycc= Original-Xref: shelby.stanford.edu gnu.emacs.gnus:77522 Original-To: info-gnus-english@gnu.org X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:7339 Archived-At: >>>>> In <1147782145.394634.8030@v46g2000cwv.googlegroups.com> >>>>> "jacques.wainer@gmail.com" wrote: > Anyone has a batch email reading function for gnus? (So gnus will read > and classify the 100+ emails a day I receive before I get to work?) > The gnus-batch-kill function does not read email, and I tried to use it > as a base for a batch mail reader but it seems that I call a function > that generates an error while in batch. I use the following crontab entry which runs before I get to work: 15 6 * * * rm -f ~/#.newsrc-dribble# ~/.newsrc-dribble; /usr/local/bin/emacs -batch -u yamaoka --eval '(gnus 1)' -f gnus-group-quit `-u yamaoka' is necessary to let Emacs load my ~/.emacs file (my account name is "yamaoka"). `1' means to make Gnus check only mail groups (I've set the group levels to 1 for all mail groups).