From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: RMAIL, rmail-mbox-branch Date: Mon, 27 Oct 2003 18:44:50 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <87ad7tow7y.fsf_-_@oak.pohoyda.family> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1067298959 6458 80.91.224.253 (27 Oct 2003 23:55:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 27 Oct 2003 23:55:59 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Oct 28 00:55:57 2003 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AEHDJ-0006ua-00 for ; Tue, 28 Oct 2003 00:55:57 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1AEHDJ-0005Sh-00 for ; Tue, 28 Oct 2003 00:55:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AEHCN-0000yI-GN for emacs-devel@quimby.gnus.org; Mon, 27 Oct 2003 18:54:59 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AEH89-0007Y0-MR for emacs-devel@gnu.org; Mon, 27 Oct 2003 18:50:37 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AEH7Y-0007Br-AY for emacs-devel@gnu.org; Mon, 27 Oct 2003 18:50:31 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AEH7V-000787-10 for emacs-devel@gnu.org; Mon, 27 Oct 2003 18:49:57 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1AEH2Y-0007DN-E9; Mon, 27 Oct 2003 18:44:50 -0500 Original-To: Alexander Pohoyda In-reply-to: <87ad7tow7y.fsf_-_@oak.pohoyda.family> (message from Alexander Pohoyda on 22 Oct 2003 22:26:09 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:17481 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:17481 1) If RMAIL file does not exist, rmail-display-labels function fails deep inside rmaildesc.el and I dont see a reason to display labels if there are no messages. If nothing is done, will the labels from the previously displayed message hang around in the modeline? If so, we should fix rmail-display-labels so it does the right thing when there is no message. If not, your fix seems right. Which one is it? 2) rmail-use-spam-filter is void variable, used in rmail-get-new-mail function. It is defined in rmail-spam-filter.el, but we cannot (require 'rmail-spam-filter) before the rmail-mode-map variable is defined further in rmail.el file. I'm not sure what is a right way to fix this. How about initializing the variable to nil, and making rmail-get-new-mail ignore it when it's nil? How about doing the require at a place such as the function `rmail' so that we know rmail-mode-map is already set up?