From xemacs-m  Wed Sep 10 13:16:32 1997
Received: from MIT.EDU (PACIFIC-CARRIER-ANNEX.MIT.EDU [18.69.0.28])
	by xemacs.org (8.8.5/8.8.5) with SMTP id NAA22562
	for <xemacs-beta@xemacs.org>; Wed, 10 Sep 1997 13:16:28 -0500 (CDT)
Received: from DEPARTMENT-OF-ALCHEMY.MIT.EDU by MIT.EDU with SMTP
	id AA22705; Wed, 10 Sep 97 14:16:29 EDT
Received: by department-of-alchemy.MIT.EDU (8.8.5/4.7) id OAA29257; Wed, 10 Sep 1997 14:16:24 -0400 (EDT)
Date: Wed, 10 Sep 1997 14:16:24 -0400 (EDT)
Message-Id: <199709101816.OAA29257@department-of-alchemy.MIT.EDU>
From: David Bakhash <cadet@MIT.EDU>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
To: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: PGP and mailcrypt
In-Reply-To: <kigsovdqcwr.fsf@jagor.srce.hr>
References: <199709101653.MAA21409@scrubbing-bubbles.MIT.EDU>
	<m2en6xvzix.fsf@altair.xemacs.org>
	<kigsovdqcwr.fsf@jagor.srce.hr>
X-Mailer: VM 6.31 under 20.2 XEmacs Lucid

Hrvoje Niksic writes:
 > Easymenu is just a compatibility interface.  The officially blessed
 > way of adding menus are (AFAIK) `add-menu-item', `add-submenu' and
 > others.

It's true that VM menus are quite good.  context-dependency is
important.  Can easymenu deal with context-dependency?  

oh.  and the reason that hm--html-minor-mode menus are so weird is
because they are so general.  Plus, they too are context-dependent.  I
guess this is not an easy task in XEmacs.  Still, I believe that if
someone comes along and writes something like a minor-mode (kind of like 
Mailcrypt, which sits on top of RMAIL, GNUS, VM, or mh-e), then it is
the responsibility of that new package not to mess things up that were
initially working just fine.  
	Still, hrvoje, I don't necessarily believe that VM "does it
right" just because its menus are excellent.  Because all we see is the
net result.  The actual code which handles VM menus might hypothetically 
be less than ideal, and maybe the same result could be achieved w/
easymenu (though I'm pretty sure KJ considered this).  I think that b/c
of VM's compatibility w/ emacs, XEmacs, and emacs18, lots of heinus
things had to be done with the menus.  I got the feeling that VM menus
were over my head when I tried to make strokes work in VM.  It mostly
does now, but not completely :^)

dave

