From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/24396 Path: main.gmane.org!not-for-mail From: Kai =?iso-8859-1?q?Gro=DFjohann?= Newsgroups: gmane.emacs.gnus.general Subject: Re: pgnus commandeers emacs to check mail Date: 20 Jul 1999 00:12:01 +0200 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: coloc-standby.netfonds.no Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1035161969 8479 80.91.224.250 (21 Oct 2002 00:59:29 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2002 00:59:29 +0000 (UTC) Return-Path: Original-Received: from farabi.math.uh.edu (farabi.math.uh.edu [129.7.128.57]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id SAA24430 for ; Mon, 19 Jul 1999 18:13:17 -0400 (EDT) Original-Received: from sina.hpc.uh.edu (lists@Sina.HPC.UH.EDU [129.7.3.5]) by farabi.math.uh.edu (8.9.1/8.9.1) with ESMTP id RAB10011; Mon, 19 Jul 1999 17:13:01 -0500 (CDT) Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Mon, 19 Jul 1999 17:13:55 -0500 (CDT) Original-Received: from sclp3.sclp.com (root@sclp3.sclp.com [204.252.123.139]) by sina.hpc.uh.edu (8.9.3/8.9.3) with ESMTP id RAA24771 for ; Mon, 19 Jul 1999 17:13:44 -0500 (CDT) Original-Received: from waldorf.cs.uni-dortmund.de (waldorf.cs.uni-dortmund.de [129.217.4.42]) by sclp3.sclp.com (8.8.5/8.8.5) with ESMTP id SAA24417 for ; Mon, 19 Jul 1999 18:12:35 -0400 (EDT) Original-Received: from petty.cs.uni-dortmund.de (petty.cs.uni-dortmund.de [129.217.20.161]) by waldorf.cs.uni-dortmund.de with SMTP id AAA01885 for ; Tue, 20 Jul 1999 00:12:03 +0200 (MES) Original-Received: (grossjoh@localhost) by petty.cs.uni-dortmund.de id AAA18553; Tue, 20 Jul 1999 00:12:02 +0200 Original-To: ding@gnus.org In-Reply-To: Bill White's message of "19 Jul 1999 16:12:23 -0500" Original-Lines: 32 User-Agent: Gnus/5.070095 (Pterodactyl Gnus v0.95) Emacs/20.3.11 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:24396 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:24396 Bill White writes: > Is there a way to make mail/news checking a completely unobtrusive > thing? Hm. Since Emacs is not multithreaded (yet), you must delegate the process of putting mails into folders to some other program. But Emacs thinks it owns the ~/Mail directory (horrible things will happen if you dare write into ~/Mail!), which makes this kinda difficult. One way to achieve this is to use nnimap and to read mail via IMAP. I have configured things such that the Cyrus `deliver' programm automatically puts mail into the right folder. That means that, when you hit `g', Gnus quickly scans all nnimap groups to see whether there is new mail, and this time does not depend on the amount of new mail, only on the number of groups. Another way to possibly achieve it is to write into ~/Mail anyway if you know exactly what you're doing. I think you won't have much luck unless you use the nnmh backend, and that is so slow compared with nnml that this won't help you either. And for nnfolder groups, Gnus has the files in memory. Btw, wouldn't it be possible to tell Gnus to have a look at the overview files to see if the in-memory copy is still up to date before changing anything in them? This would kind of make it possible to use nnml, if it weren't for race conditions. Could some locking mechanism be added? kai -- Life is hard and then you die.