From xemacs-m  Tue Jun 24 09:18:42 1997
Received: from newman.aventail.com (root@newman.aventail.com [199.238.236.1])
	by xemacs.org (8.8.5/8.8.5) with ESMTP id JAA17878
	for <xemacs-beta@xemacs.org>; Tue, 24 Jun 1997 09:18:41 -0500 (CDT)
Received: from kramer.in.aventail.com.aventail.com (wmperry@kramer.in.aventail.com [192.168.1.12])
	by newman.aventail.com (8.8.5/8.8.5) with SMTP id HAA05024;
	Tue, 24 Jun 1997 07:17:59 -0700 (PDT)
To: xemacs-beta@xemacs.org
Cc: weiner@altrasoft.com
Subject: Re: [w3] wrong type argument: overlayp, nil
References: <87vi34ajoa.fsf@bittersweet.inetarena.com> <m27mfk3c63.fsf@altair.xemacs.org>
Errors-to: wmperry@aventail.com
Reply-to: wmperry@aventail.com
X-Face: O~Rn;(l][/-o1sALg4A@xpE:9-"'IR[%;,,!m7</SYF`{vYQ(&RI1&EiH[FvT;J}@f!4kfz
 x_!Y#=y{Uuj9GvUi=cPuajQ(Z42R[wE@{G,sn$qGr5g/wnb*"*ktI+,CD}1Z'wxrM2ag-r0p5I6\nA
 [WJopW_J.WY;
From: wmperry@aventail.com (William M. Perry)
In-Reply-To: Steven L Baur's message of "23 Jun 1997 20:36:04 -0700"
X-Mailer: Gnus v5.4.59/XEmacs 20.3(beta8) - "Copenhagen"
Date: 24 Jun 1997 06:59:07 -0700
Message-ID: <86205s6r10.fsf@kramer.in.aventail.com>
Lines: 54

Steven L Baur <steve@xemacs.org> writes:

> Karl M Hegbloom <karlheg@inetarena.com> writes:
> 
> >  I'm getting `wrong type argument: overlayp, nil' when I middle click
> > on a URL in W3.  (copenhagen)
> 
> This is probably fixed in W3-3.0.89 (to be included with Sofia), but
> there's another problem.
> 
> I'm getting `Symbol's function definition is void: id-set-mode-menubar'
> errors all over the place.
> 
> It appears to come from some InfoDock compatibility code in w3-menu.el:

  Yup - not sure why it wasn't croaking for me, weird.  This patch will be
in 3.0.90

-Bill P.

*** w3-menu.el	1997/06/20 18:53:20	1.39
--- w3-menu.el	1997/06/24 13:55:32
***************
*** 35,55 ****
  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  ;;; InfoDock stuff
  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
! (if (fboundp 'id-menubar-get)
!     nil
!   (defun id-menubar-get (mode)
!     "Return mode-specific menubar symbol for MODE or nil if none."
!     (get mode 'id-menubar))
! 
!   (defun id-menubar-set (mode menubar-sym)
!     "Associate MODE with MENUBAR-SYM."
!     (put mode 'id-menubar menubar-sym)
!     ;; Add mode to list of modes with mode-specific menubars.
!     (add-hook 'id-menubar-modes mode)
!     ;; Add hook to select mode-specific menubar.
!     (add-hook (intern (concat (symbol-name mode) "-hook"))
! 	      'id-set-mode-menubar))
!   )
  
  (id-menubar-set 'w3-mode 'w3-menu-make-xemacs-menubar)
  
--- 35,42 ----
  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  ;;; InfoDock stuff
  ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
! (if (not (fboundp 'id-menubar-set))
!     (fset 'id-menubar-set 'ignore))
  
  (id-menubar-set 'w3-mode 'w3-menu-make-xemacs-menubar)
  

