From mboxrd@z Thu Jan  1 00:00:00 1970
Path: news.gmane.org!not-for-mail
From: Katsumi Yamaoka <yamaoka@jpl.org>
Newsgroups: gmane.emacs.devel,gmane.emacs.gnus.general
Subject: Re: Mail mode vs message mode
Date: Fri, 27 Nov 2009 17:41:03 +0900
Organization: Emacsen advocacy group
Message-ID: <b4meinkpdgg.fsf@jpl.org>
References: <87639beb4n.fsf@stupidchicken.com>
	<876399p00j.fsf@stupidchicken.com>
	<87iqd8rh73.fsf@marauder.physik.uni-ulm.de>
	<87r5rvvknw.fsf@stupidchicken.com>
	<87lji3od0l.fsf@marauder.physik.uni-ulm.de>
	<87vdh6focv.fsf@stupidchicken.com> <b4meinu12jy.fsf@jpl.org>
	<87pr7aftaj.fsf@marauder.physik.uni-ulm.de> <b4mhbski8kt.fsf@jpl.org>
	<871vjmcmgh.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 1259311367 25882 80.91.229.12 (27 Nov 2009 08:42:47 GMT)
X-Complaints-To: usenet@ger.gmane.org
NNTP-Posting-Date: Fri, 27 Nov 2009 08:42:47 +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 Fri Nov 27 09:42:35 2009
Return-path: <emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org>
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 1NDwPT-0001RK-G9
	for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2009 09:42:35 +0100
Original-Received: from localhost ([127.0.0.1]:54751 helo=lists.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43)
	id 1NDwPT-0006oQ-4F
	for ged-emacs-devel@m.gmane.org; Fri, 27 Nov 2009 03:42:35 -0500
Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43)
	id 1NDwOF-0005uu-Iv
	for emacs-devel@gnu.org; Fri, 27 Nov 2009 03:41:19 -0500
Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43)
	id 1NDwOA-0005sG-6h
	for emacs-devel@gnu.org; Fri, 27 Nov 2009 03:41:19 -0500
Original-Received: from [199.232.76.173] (port=45967 helo=monty-python.gnu.org)
	by lists.gnu.org with esmtp (Exim 4.43) id 1NDwO9-0005s3-UL
	for emacs-devel@gnu.org; Fri, 27 Nov 2009 03:41:13 -0500
Original-Received: from orlando.hostforweb.net ([216.246.45.90]:50462)
	by monty-python.gnu.org with esmtps
	(TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60)
	(envelope-from <yamaoka@jpl.org>) id 1NDwO9-0001rV-OO
	for emacs-devel@gnu.org; Fri, 27 Nov 2009 03:41:13 -0500
Original-Received: from localhost ([127.0.0.1]:37650)
	by orlando.hostforweb.net with esmtpa (Exim 4.69)
	(envelope-from <yamaoka@jpl.org>)
	id 1NDwLL-00011R-8d; Fri, 27 Nov 2009 02:38:19 -0600
X-Hashcash: 1:20:091127:emacs-devel@gnu.org::nE4MkidTtoDuV8j7:0000000000000000000000000000000000000000000MM9
X-Hashcash: 1:20:091127:ding@gnus.org::xEljmPttAKW/5Ipp:000006bw
X-Face: #kKnN,xUnmKia.'[pp`;
	Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk
	B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;
	B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&(
User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.50 (gnu/linux)
Cancel-Lock: sha1:xZtNvEIfuIFI5XF/xJxTQGoJ/co=
X-AntiAbuse: This header was added to track abuse,
	please include it with any abuse report
X-AntiAbuse: Primary Hostname - orlando.hostforweb.net
X-AntiAbuse: Original Domain - gnu.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - jpl.org
X-Source: 
X-Source-Args: 
X-Source-Dir: 
X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not
	recognized.
X-BeenThere: emacs-devel@gnu.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: "Emacs development discussions." <emacs-devel.gnu.org>
List-Unsubscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/pipermail/emacs-devel>
List-Post: <mailto:emacs-devel@gnu.org>
List-Help: <mailto:emacs-devel-request@gnu.org?subject=help>
List-Subscribe: <http://lists.gnu.org/mailman/listinfo/emacs-devel>,
	<mailto:emacs-devel-request@gnu.org?subject=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:117855 gmane.emacs.gnus.general:69227
Archived-At: <http://permalink.gmane.org/gmane.emacs.devel/117855>

>>>>> Reiner Steib wrote:
> On Tue, Nov 24 2009, Katsumi Yamaoka wrote:

>> They may not be serious, but as for `message-yank-prefix', it may
>> not be easy to users to find the way to make Gnus work as before
>> (the new behavior is that cited lines are prefixed only with three
>> space characters).

> This is not acceptable IMHO.  We need to find a solution for this.
> I don't have a good idea, though.

How about using the value of mail-* if and only if the value of
mail-* is customized by a user or its default value is suitable
to Gnus?

(defcustom MESSAGE-VAR
  (if (or
       ;; MAIL-VAR's value is set by a user in the ~/.emacs file but
       ;; the .el file containing the form `(defcustom MAIL-VAR ...)'
       ;; is not loaded yet.
       (and (boundp MAIL-VAR)
	    (not (get MAIL-VAR 'standard-value)))
       ;; MAIL-VAR's value is customized by a user.
       (and (get MAIL-VAR 'standard-value)
	    (not (equal (car (get MAIL-VAR 'standard-value))
			(symbol-value MAIL-VAR))))
       ;; MAIL-VAR's default value is suitable to Gnus' default.
       (and (boundp MAIL-VAR)
	    (equal (symbol-value MAIL-VAR) VALUE-SUITABLE-TO-GNUS)))
      ;; Use MAIL-VAR's value.
      (symbol-value MAIL-VAR)
    ;; Use a value suitable to Gnus' default.
    VALUE-SUITABLE-TO-GNUS)
  "doc string")

For `message-yank-prefix', it will be the following:

(defcustom message-yank-prefix
  (if (or (and (boundp 'mail-yank-prefix)
	       (not (get 'mail-yank-prefix 'standard-value)))
	  (and (get 'mail-yank-prefix 'standard-value)
	       (not (equal (car (get 'mail-yank-prefix 'standard-value))
			   mail-yank-prefix)))
	  (and (boundp 'mail-yank-prefix)
	       (equal mail-yank-prefix "> ")))
      mail-yank-prefix
    "> ")
  "doc string")

In Emacs 22, it will default to "> ", while mail-yank-prefix's
default is nil.

The above one differs from this:

(defcustom message-yank-prefix "> "
  "doc string")

User's preference to mail-* is reflected to message-*.

Regards,