From xemacs-m  Wed Sep 17 21:47:17 1997
Received: from norway.aosi.com (norway.aosi.net [207.242.152.23])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id VAA17604
	for <xemacs-beta@xemacs.org>; Wed, 17 Sep 1997 21:47:17 -0500 (CDT)
Received: from aosi.com ([207.242.153.53]) by norway.aosi.com
          (Post.Office MTA v3.1 release PO203a ID# 0-36402U1000L100S0)
          with ESMTP id AAA75; Wed, 17 Sep 1997 22:50:21 -0400
Sender: joel
Message-ID: <342094AE.1BD0243F@aosi.com>
Date: Wed, 17 Sep 1997 22:40:46 -0400
From: Joel Peterson <tarzan@aosi.com>
Organization: Me Tarzan, you Jane?
X-Mailer: Mozilla 4.03 [en] (X11; I; Linux 2.0.27 i586)
MIME-Version: 1.0
To: Glynn Clements <glynn@sensei.co.uk>, xemacs-beta@xemacs.org
Subject: Re: [Success] Bern, Linux
References: <199709172201.XAA08482@cerise.sensei.co.uk>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Glynn Clements wrote:
> Compiled with Lesstif-0.81, which doesn't seem to exhibit the keyboard
> focus problems associated with earlier versions.
> 
> I do get the missing directory name in autoloads files, but it doens't
> seem to cause any problems. dired and efs both work OK, AFAICT.
> 
> One glitch: doing
> 
>         (relabel-menu-item '("File") "%_File")
> 
> to add accelerators to the menu no longer works; instead I get a literal
> `%_' prepended to the menu item.

Were you using Lesstif with the earlier betas?  Do the accelerator keys
still work?

One of the known buglets in the menu accelerator code that I contributed
is that it doesn't have the code to properly draw accelerators to the
Motif menus.  I don't have access to a machine with Motif, so I wasn't
able to implement it.  The accelerator keys should continue to work.

If this is indeed your problem, then the functions that need to be
updated are string_width_u and string_draw_u in lwlib/xlwmenu.c.  Any
volunteers with access to Motif?

From looking at the code just now, I see a minor bug with string_width_u
that will cause menus to be a little bit wider than desired when
USE_XFONTSET is defined and a menu accelerator is present.  I'll submit
a patch for this as soon as I have a chance to get the latest beta.

-- 
"Spoon!"
 
                  Joel Peterson
                       Supreme Deputy of scratching Dogbert behind the
                       ears until he has little leg spasms.

