From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general Subject: Re: Mail mode vs message mode Date: Wed, 18 Nov 2009 11:53:55 -0500 Message-ID: <87r5rvvknw.fsf@stupidchicken.com> References: <87639beb4n.fsf@stupidchicken.com> <876399p00j.fsf@stupidchicken.com> <87iqd8rh73.fsf@marauder.physik.uni-ulm.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258563255 4378 80.91.229.12 (18 Nov 2009 16:54:15 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Nov 2009 16:54:15 +0000 (UTC) Cc: ding@gnus.org To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Nov 18 17:54:08 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 1NAnnE-0005jt-43 for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2009 17:54:08 +0100 Original-Received: from localhost ([127.0.0.1]:44103 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAnnD-0002wC-Ko for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2009 11:54:07 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NAnn8-0002vZ-Ba for emacs-devel@gnu.org; Wed, 18 Nov 2009 11:54:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NAnn3-0002uH-NO for emacs-devel@gnu.org; Wed, 18 Nov 2009 11:54:02 -0500 Original-Received: from [199.232.76.173] (port=55084 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NAnn3-0002uA-Ej for emacs-devel@gnu.org; Wed, 18 Nov 2009 11:53:57 -0500 Original-Received: from pantheon-po44.its.yale.edu ([130.132.50.78]:60986) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NAnn3-0000wH-3Q for emacs-devel@gnu.org; Wed, 18 Nov 2009 11:53:57 -0500 Original-Received: from furry (dhcp128036014244.central.yale.edu [128.36.14.244]) (authenticated bits=0) by pantheon-po44.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id nAIGrtMh031316 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 18 Nov 2009 11:53:55 -0500 Original-Received: by furry (Postfix, from userid 1000) id 2BC37C071; Wed, 18 Nov 2009 11:53:55 -0500 (EST) In-Reply-To: <87iqd8rh73.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Tue, 17 Nov 2009 22:10:08 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) 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:117186 gmane.emacs.gnus.general:69200 Archived-At: Reiner Steib writes: >> (defcustom message-from-style >> (if (featurep 'xemacs) 'angles mail-from-style) >> ....) > > I don't like this. The current default value of message-from-style > tries to avoid quoting if possible and therefore is preferable to > `angles'. BTW, message-mode doesn't handle the value > `system-default'. We should switch the mail-mode default to `angles'. Not sure what to do about the `system-default' setting; maybe we should deprecate it, as I'm not sure it's useful anymore. > If I understand the correctly, the goal is not to provide full > compatibility with mail-mode but to have a default mail composition > mode that handles MIME correctly. So how about simply providing a > function, say `message-initalize-from-mail-mode' that initializes > message variables and hooks from the corresponding mail-mode ones? One minor problem: Customize would complain about the value being changed from the default. In general, it's not nice to set the default value of a variable outside of its defcustom, as that can lead to confusion. We can do it your way if you really object to making the message-mode options default to the corresponding mail-* options, but I'd like to know the reasoning first. (If any of the default values for the mail-* options grate, like mail-from-style, we can change them.)