From xemacs-m  Thu Jul 10 09:32:30 1997
Received: from ns1.eds.com (ns1.eds.com [192.85.154.78])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id JAA05663
	for <xemacs-beta@xemacs.org>; Thu, 10 Jul 1997 09:32:30 -0500 (CDT)
Received: from nnsa.eds.com (nnsa.eds.com [130.174.31.78])
	by ns1.eds.com (8.8.6/8.8.5) with ESMTP id KAA27882;
	Thu, 10 Jul 1997 10:32:30 -0400 (EDT)
Received: from kocrsv04.delcoelect.com (kocrsv04.delcoelect.com [144.250.100.205])
	by nnsa.eds.com (8.8.5/8.8.5) with ESMTP id KAA20697;
	Thu, 10 Jul 1997 10:32:29 -0400 (EDT)
Received: from kocrsw12.delcoelect.com (kocrsw12.delcoelect.com [144.250.106.18]) by kocrsv04.delcoelect.com (8.7.5/8.7.3) with SMTP id JAA00640; Thu, 10 Jul 1997 09:32:28 -0500 (EST)
Received: from kocrsw12 by kocrsw12.delcoelect.com (SMI-8.6/SMI-SVR4)
	id JAA26339; Thu, 10 Jul 1997 09:32:27 -0500
X-Mailer: exmh version 2.0gamma 1/27/97
To: Hrvoje Niksic <hniksic@srce.hr>
cc: XEmacs Developers <xemacs-beta@xemacs.org>
Subject: Re: gnuserv.el enhancement - "Done" button 
X-Attribution: mts
X-Face: 4tk3bJx]I+QTZ|=]*1+Z){9+;5u_hK*NBeZK6[+B+iB%bVuOJ%^uK~fIG}O-}%WLX*D
 ^aW>Gv8E3Xtz0\N&fQl^:pj<K{xM`:d>pPt:9lF-YXB%O)?@rd?*/jE!s94`?]:jJ#C5RDP:;M
 r.3lwo`0{vIT+<{%IRwe]vLd]7>\X|*z{TUX_t;?TPcOLBMIv8_V92!Vk(*DJVU~0M[`5D^PAW
 LniO1?YYWArMU*j9o+>?1MWi.lO?F-?aVt:qQ8OaG?R}B:I!7S_+KuzxZ.f9M@$z#n\bG2$Q2{od
Date: Thu, 10 Jul 1997 09:32:27 -0500
Message-ID: <26337.868545147@kocrsw12>
From: Mike Scheidler <c23mts@eng.delcoelect.com>

"Hrv" == Hrvoje Niksic <hniksic@srce.hr> writes:
 Hrv> 
 Hrv> Here is a simpler patch that does the same thing, but doesn't use
 Hrv> undocumented and obsolete functions (like `add-menu-item-1').

Thanks for the feedback, Hrvoje.  I agree that this should be done using
mainstream features, if possible.

 Hrv> Please let me know whether it works for you.

Almost.  I ran across a situation where the "Done" button is displayed for
non-gnuclient buffers.  When pressed, the error message "xxx does not
belong to a gnuserv client" is displayed, so no harm is done, but the
button really shouldn't be there in the first place.

Here's how to reproduce it:

  1.  Edit a file using gnuclient.  A new frame will be created.
  2.  In the new frame, do a C-x C-f to edit another file.  The new buffer
      will have a "Done" button that shouldn't be there.

-- 
Mike Scheidler                     c23mts@eng.delcoelect.com
Corporate Software Technology
Delco Electronics Corporation      PHONE:  (765) 451-0319
Kokomo, IN 46904-9005              GMNET:  8-322-0319




