From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Luc Teirlinck Newsgroups: gmane.emacs.devel Subject: buffer-offer-save, gnus and mh-e Date: Sun, 17 Apr 2005 10:00:17 -0500 (CDT) Message-ID: <200504171500.j3HF0Ha22225@raven.dms.auburn.edu> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1113750199 29914 80.91.229.2 (17 Apr 2005 15:03:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 17 Apr 2005 15:03:19 +0000 (UTC) Cc: Bill Wohler Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 17 17:03:17 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DNBI5-0001hi-8J for ged-emacs-devel@m.gmane.org; Sun, 17 Apr 2005 17:02:29 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DNBM0-0006M1-HQ for ged-emacs-devel@m.gmane.org; Sun, 17 Apr 2005 11:06:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DNBLJ-00065J-Gx for emacs-devel@gnu.org; Sun, 17 Apr 2005 11:05:51 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DNBLD-00063C-47 for emacs-devel@gnu.org; Sun, 17 Apr 2005 11:05:46 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DNBLC-00060M-6b for emacs-devel@gnu.org; Sun, 17 Apr 2005 11:05:42 -0400 Original-Received: from [131.204.53.104] (helo=manatee.dms.auburn.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DNBJ0-0005hI-17 for emacs-devel@gnu.org; Sun, 17 Apr 2005 11:03:26 -0400 Original-Received: from raven.dms.auburn.edu (raven.dms.auburn.edu [131.204.53.29]) by manatee.dms.auburn.edu (8.12.10/8.12.10) with ESMTP id j3HF249N007179; Sun, 17 Apr 2005 10:02:04 -0500 (CDT) Original-Received: (from teirllm@localhost) by raven.dms.auburn.edu (8.11.7p1+Sun/8.11.7) id j3HF0Ha22225; Sun, 17 Apr 2005 10:00:17 -0500 (CDT) X-Authentication-Warning: raven.dms.auburn.edu: teirllm set sender to teirllm@dms.auburn.edu using -f Original-To: emacs-devel@gnu.org 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: news.gmane.org gmane.emacs.devel:36052 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:36052 I plan to make buffer-offer-save a permanent local. This already has Richard's approval. It means that it will, as a matter of principle, no longer be appropriate for major modes to set buffer-offer-save, regardless of whether doing so produces any concrete user visible bugs. Grepping shows that the only affected modes are mail-mode, message-mode and mh-folder-mode, which set buffer-offer-save to t. The solution for that is to set buffer-offer-save to t in `compose-mail' and no longer set it in the individual mail modes. I checked that this works for mail-mode and message-mode. I could not check it for mh-folder-mode, but I guess that it must work, since it works through `compose-mail'. For mail-mode there is no problem. For message-mode and mh-folder-mode, I was wondering. I know that the gnus directory is automatically synched, but I do not know whether the version of gnus included with CVS Emacs is also supposed to work with prior Emacs versions or with XEmacs. For mh-e, I have no idea whatsoever how it is supposed to be handled. If conditionals would be required, things might look somewhat strange, because setting buffer-offer-save would still be harmless, even in Emacs 22. The only problem is that major modes are not supposed to touch permanent locals. Sincerely, Luc.