From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Mail mode vs message mode Date: Sun, 15 Nov 2009 16:22:48 -0500 Message-ID: <87639beb4n.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258320202 12108 80.91.229.12 (15 Nov 2009 21:23:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Nov 2009 21:23:22 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 15 22:23:15 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N9mYy-0002cR-1q for ged-emacs-devel@m.gmane.org; Sun, 15 Nov 2009 22:23:12 +0100 Original-Received: from localhost ([127.0.0.1]:45512 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N9mYx-0005Gl-DX for ged-emacs-devel@m.gmane.org; Sun, 15 Nov 2009 16:23:11 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N9mYg-0005Es-TN for emacs-devel@gnu.org; Sun, 15 Nov 2009 16:22:55 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N9mYb-0005EM-VW for emacs-devel@gnu.org; Sun, 15 Nov 2009 16:22:54 -0500 Original-Received: from [199.232.76.173] (port=36275 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N9mYb-0005EJ-S5 for emacs-devel@gnu.org; Sun, 15 Nov 2009 16:22:49 -0500 Original-Received: from pantheon-po26.its.yale.edu ([130.132.50.121]:52699) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N9mYb-0005qM-Kf for emacs-devel@gnu.org; Sun, 15 Nov 2009 16:22:49 -0500 Original-Received: from furry (dhcp128036163117.central.yale.edu [128.36.163.117]) (authenticated bits=0) by pantheon-po26.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id nAFLMme5030326 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 15 Nov 2009 16:22:48 -0500 Original-Received: by furry (Postfix, from userid 1000) id 3758FC071; Sun, 15 Nov 2009 16:22:48 -0500 (EST) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.4-2.6 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:117014 Archived-At: If we are to switch to message-mode for Emacs 23.2, there remains several issues that need to be resolved. However, no one has done anything. If no one has fixed these issues during the next few weeks, I think we should revert back to mail-mode. I've taken a quick look, and the problems mainly come in three categories. 1. Variables that are straightfowardly duplicated by message-mode. These variables should be either made into variable aliases (assuming no one would ever want to have different behaviors between message-mode and mail-mode): mail-from-style message-from-style mail-envelope-from message-envelope-from mail-interactive message-interactive mail-yank-prefix message-yank-prefix mail-signature message-signature mail-signature-file message-signature-file mail-default-headers message-default-headers mail-indentation-spaces message-indentation-spaces mail-mailer-swallows-blank-line message-mailer-swallows-blank-line This will probably require compatibility code for XEmacs, too. 2. Hook variables. I am not sure what to do about this, but the switch has bitten at least one use (Bug#3942). Maybe we should make these variable aliases too: mail-mode-hook message-mode-hook mail-citation-hook message-citation-hook mail-setup-hook message-setup-hook mail-send-hook message-send-hook 3. Variables that affect mail-mode but have no counterpart in message mode. These need code changes: mail-specify-envelope-from message-sendmail-envelope-from mail-self-blind mail-yank-ignored-headers mail-archive-file-name mail-default-reply-to mail-default-directory mail-bury-selects-summary