From xemacs-m  Wed Feb  5 05:53:58 1997
Received: from mikan.jaist.ac.jp (mikan-e0.jaist.ac.jp [150.65.1.9])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id FAA26230
	for <xemacs-beta@xemacs.org>; Wed, 5 Feb 1997 05:53:54 -0600 (CST)
Received: from is18e0s01.jaist.ac.jp (MORIOKA Tomohiko <morioka@jaist.ac.jp>) by mikan.jaist.ac.jp (8.7.5); id UAA02645; Wed, 5 Feb 1997 20:52:07 +0900 (JST)
Message-Id: <199702051152.UAA02645@mikan.jaist.ac.jp>
X-MUA: mh-e 5.0.2 + tm-mh-e 7.73, tm-view 7.80
X-Face: %yc?f+O/cVKlH*K(H2X/6-d''suf|"1{S:Y0}_9$t@0G3:5M2:-Ck^[8+4^iSLeGc[Ey[WP
 PF]2M#Q9C'u~[=7TJP72J`PZdWvP=s-'-/LhFneC->=ILc~H#$lf2%hLL5U8?psIp`<[>d&@$Pm%~(
 A'"CJ.zuX@TXh\Ra4,b7M&`f"hexU-a4,#X\]Bfp'JI+MGUDRA%_$&UnWAem4}1R"4%uivgn;xFZ%"
 NS>)eCuFYNHc/:W^:{7H>bGQS],x5z[Cy~C;7j#:8y9q|"~9~UWjE<Vm_;)o<Q4S5NweLc(cl7-suY
 NF|_O*xodbmQavM
X-Emacs: Emacs 19.34.91, Mule 3.0 =?ISO-2022-JP?B?KBskQjlITVUybBsoQik=?=
From: =?ISO-2022-JP?B?GyRCPGkyLBsoQiAbJEJDTkknGyhC?= / MORIOKA Tomohiko <morioka@jaist.ac.jp>
To: Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch>
cc: xemacs-beta@xemacs.org
Subject: Re: XEmacs 20.0 w/ MULE enables TM 
In-reply-to: Your message of "Wed, 05 Feb 1997 09:06:49 +0100."
             <9702050806.AA12414@lspsun16.epfl.ch> 
Mime-Version: 1.0 (generated by tm-edit 7.103)
Content-Type: multipart/signed; protocol="application/pgp-signature";
 boundary="pgp-sign-Multipart_Wed_Feb__5_20:51:48_1997-1"; micalg=pgp-md5
Content-Transfer-Encoding: 7bit
Date: Wed, 05 Feb 1997 20:52:06 JST
Sender: morioka@jaist.ac.jp

--pgp-sign-Multipart_Wed_Feb__5_20:51:48_1997-1
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

>>>>> In <9702050806.AA12414@lspsun16.epfl.ch> 
>>>>>=09"Oscar" =3D Oscar Figueiredo <Oscar.Figueiredo@di.epfl.ch> wrote:

Oscar> I agree with Kyle. Given the current state of development, I
Oscar> think that TM should insinuate into VM only upon explicit user
Oscar> request. My suggestion to Tomohiko is thus to move the lines:

Oscar> (add-hook 'mail-setup-hook 'mime/decode-message-header)
Oscar> (add-hook 'mail-setup-hook 'mime/editor-mode 'append)
Oscar> (add-hook 'mail-send-hook  'mime-editor/maybe-translate)
Oscar> (set-alist 'mime-editor/split-message-sender-alist
Oscar>            'mail-mode (function
Oscar>                        (lambda ()
Oscar>                          (interactive)
Oscar>                          (funcall send-mail-function)
Oscar>                          )))

  I think it should delete for VM.  However it is not only for VM but
also for RMAIL.  I think mail-setup-hook or mail-send-hook is
originally for mail-mode (RMAIL), not for VM.  If possible, please
separate variable between VM and RMAIL.

  Maybe current realistic choice is:

(if running-xemacs-with-mule
    (progn
      (add-hook 'mail-setup-hook 'mime/decode-message-header)
      (add-hook 'mail-setup-hook 'mime/editor-mode 'append)
      (add-hook 'mail-send-hook  'mime-editor/maybe-translate)
      ))

Maybe there are no need to thinking about RMAIL in XEmacs.


Oscar> from mime-setup.el to the various tm-MUA extenders that need
Oscar> it. Thus mime-setup could still be dumped into XEmacs without
Oscar> interaction with VM. Users who would want to use to TM in VM
Oscar> for a more complete MIME support than the one currently
Oscar> provided natively by VM would simply need to add (require
Oscar> 'tm-vm) to their .vm

  Or it may be better to set up only tm-setup.  If tm features about
MIME composing is required, insert (load "mime-setup") in ~/.emacs.

-- 
----------------------------------------------------------------------
MORIOKA Tomohiko <morioka@jaist.ac.jp>
        Japan advanced Institute of Science and Technology, Hokuriku
                Asahi-dai, Tatsu-no-kuchi ch=F4, Nomi, Ishikawa, Japan
------------------------------------------ Frisch, Frei, Fr=F6hlich! ---

--pgp-sign-Multipart_Wed_Feb__5_20:51:48_1997-1
Content-Type: application/pgp-signature
Content-Transfer-Encoding: 7bit

-----BEGIN PGP MESSAGE-----
Version: 2.6.3ia
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBMvh0XhnuUGV7wuH5AQHasAP/Rtkd9o9DXr17CHfN6N/DACvJb1DRgSd3
4zSHx3YBKBDsHEF4w7CYukZTVA7pHN58job01vGH7q1GIzq3K8bhflcI/OGX4sUL
b7XVSYT0bwkzKKdABXCN/A1i++C14eUPSDR88xzy2p3EE7v946u7nA4KkTk979IZ
Ts/I6SD/mMk=
=vihL
-----END PGP MESSAGE-----

--pgp-sign-Multipart_Wed_Feb__5_20:51:48_1997-1--

