From xemacs-m  Wed Dec 11 17:43:41 1996
Received: from altair.xemacs.org (steve@xemacs.miranova.com [206.190.83.19]) by xemacs.cs.uiuc.edu (8.8.3/8.8.3) with ESMTP id RAA01602 for <xemacs-beta@xemacs.org>; Wed, 11 Dec 1996 17:43:40 -0600 (CST)
Received: (from steve@localhost)
          by altair.xemacs.org (8.8.4/8.8.4)
	  id PAA08847; Wed, 11 Dec 1996 15:53:35 -0800
Sender: steve@xemacs.org
To: xemacs-beta@xemacs.org
Subject: Re: Some problems rebuilding lisp files on 19.15-b3
References: <199612112101.NAA20985@infodock.com>
X-Url: http://www.miranova.com/%7Esteve/
Mail-Copies-To: never
X-Face: #!T9!#9s-3o8)*uHlX{Ug[xW7E7Wr!*L46-OxqMu\xz23v|R9q}lH?cRS{rCNe^'[`^sr5"
 f8*@r4ipO6Jl!:Ccq<xoV[Qz2u8<8-+Vwf2gzJ44lf_/y9OaQ`@#Q65{U4/TC)i2`~/M&QI$X>p:9I
 OSS'2{-)-4wBnVeg0S\O4Al@)uC[pD|+
X-Attribution: sb
From: Steven L Baur <steve@miranova.com>
In-Reply-To: Bob Weiner's message of Wed, 11 Dec 1996 13:01:24 -0800
Mime-Version: 1.0 (generated by tm-edit 7.95)
Content-Type: text/plain; charset=US-ASCII
Date: 11 Dec 1996 15:53:34 -0800
Message-ID: <m2wwuo4ozl.fsf@altair.xemacs.org>
Lines: 69
X-Mailer: Red Gnus v0.72/XEmacs 20.0

>>>>> "Bob" == Bob Weiner <weiner@infodock.com> writes:
>>>>> "DW" == David Worenklein <dcw@gcm.com> writes:

DW> During make autoloads
DW> =====================
DW> Generating autoloads for /vol/emacs/xemacs-19.15-b3/lisp/modes/eiffel3.el...
>>>> Error processing /vol/emacs/xemacs-19.15-b3/lisp/modes/eiffel3.el: 
DW> Unbalanced parentheses

Bob> This error was fixed in earlier XEmacs distributions.  I believe
Bob> the problem was use of a close parentheses character syntax ?)
Bob> without a backslash to quote the paren, like so ?\).  (Maybe it
Bob> was an opening paren.)  The author then used Emacs auto-paren
Bob> matching facilities to get the number of close parens right, but
Bob> instead added one too few or too many because of the unescaped
Bob> syntax character.

The Lisp syntax is O.K. because it bytecompiles.  Paren highlighting
with mic-paren works as expected, and font-lock likes it.

I assume this is a bug in the code that generates autoloads.

How about this (valid for 19.15b3 & 20.0b31)?

At least it stops the `Unbalanced parentheses' message while
generating autoloads.

*** xemacs-20.0-b31/lisp/modes/eiffel3.el	Fri Oct  4 22:38:41 1996
--- xemacs-20.0-b32/lisp/modes/eiffel3.el	Wed Dec 11 15:48:02 1996
***************
*** 1770,1776 ****
      (modify-syntax-entry ?> "." table)
      (modify-syntax-entry ?& "." table)
      (modify-syntax-entry ?| "." table)
!     (modify-syntax-entry ?; "." table)
      (modify-syntax-entry ?: "." table)
      (modify-syntax-entry ?! "." table)
      (modify-syntax-entry ?. "." table)
--- 1770,1776 ----
      (modify-syntax-entry ?> "." table)
      (modify-syntax-entry ?& "." table)
      (modify-syntax-entry ?| "." table)
!     (modify-syntax-entry ?\; "." table)
      (modify-syntax-entry ?: "." table)
      (modify-syntax-entry ?! "." table)
      (modify-syntax-entry ?. "." table)
***************
*** 1853,1859 ****
  	  )
        (progn
  	(backward-sexp 1)
! 	(if (looking-at "(")
  	    (backward-word 1)
  	  )
  	(beginning-of-line)
--- 1853,1859 ----
  	  )
        (progn
  	(backward-sexp 1)
! 	(if (looking-at "(")	; )
  	    (backward-word 1)
  	  )
  	(beginning-of-line)

-- 
steve@miranova.com baur
Unsolicited commercial e-mail will be billed at $250/message.
"That Bill Clinton.  He probably doesn't know how to log on to the
Internet."  -- Rush Limbaugh, noted Computer Expert

