From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Multiple Gnus running at the same time Date: Mon, 03 Jan 2005 18:53:27 -0500 Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1104796523 9731 80.91.229.6 (3 Jan 2005 23:55:23 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 3 Jan 2005 23:55:23 +0000 (UTC) Cc: bugs@gnus.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 04 00:55:12 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Clc2a-00030d-00 for ; Tue, 04 Jan 2005 00:55:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ClcDk-0006eO-DP for ged-emacs-devel@m.gmane.org; Mon, 03 Jan 2005 19:06:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1ClcCg-0006OD-6S for emacs-devel@gnu.org; Mon, 03 Jan 2005 19:05:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1ClcCd-0006Kv-Kz for emacs-devel@gnu.org; Mon, 03 Jan 2005 19:05:37 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ClcCd-0006K0-Du for emacs-devel@gnu.org; Mon, 03 Jan 2005 19:05:35 -0500 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Clc11-0001m7-RR for emacs-devel@gnu.org; Mon, 03 Jan 2005 18:53:35 -0500 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 7B1328282AB; Mon, 3 Jan 2005 18:53:35 -0500 (EST) Original-Received: from asado.iro.umontreal.ca (asado.iro.umontreal.ca [132.204.24.84]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id A17414AC0DB; Mon, 3 Jan 2005 18:53:27 -0500 (EST) Original-Received: by asado.iro.umontreal.ca (Postfix, from userid 20848) id 4C49D8CA69; Mon, 3 Jan 2005 18:53:27 -0500 (EST) Original-To: Simon Josefsson In-Reply-To: (Simon Josefsson's message of "Tue, 04 Jan 2005 00:19:51 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-4.676, requis 5, autolearn=not spam, AWL 0.22, BAYES_00 -4.90) X-MailScanner-From: monnier@iro.umontreal.ca X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:31775 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:31775 > Seeing summary entries for messages that aren't there any more suggest > a bug in the agent cache, unless you have disabled it. FWIW, I'm > seeing this too, but haven't had time to fix it. You can `rm -rf > ~/News/agent/nnimap/SERVER/GROUP' (even when Gnus is running) and > things will be back to normal. Well, I spent half an hour "going through" (i.e. selecting them only to see them immediately marked as missing) all those messages instead ;-) > What other things looked odd? That's the only thing I noticed. But I haven't looked for surprises. Once I understood that I had run 2 instances at the same time, I just expected the unexpected and didn't pay any more attention. > Users are often surprised that the unread count in the group buffer is > inaccurate, but this is actually a documented behavior (it is an estimate, > and can be wrong). Yes, I'm familiar with this aspect. > Or Gnus should handle when more than one instance is running at the > same time. That's one way, but I'd probably be just as happy if Gnus followed the usual "file locking" discipline of Emacs (so it would warn even before saving, as soon as simultaneous changes are made). > I think 's' simply overwrite the .newsrc.eld, the file is not normally > visited, which would trigger Emacs' locking code. Yesm that's what it looks like. It would be great to take advantage of Emacs's locking code. Stefan