[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



In zwei in System 79.40, ZMail 40.7, Remote-File 2.0, LMFILE-Remote 5.3,
microcode 849, on Lisp Machine Six:

M-X Find Unbalanced Parentheses reported "probably no right-paren for this left-paren"
with the cursor positioned at the top of the file, with just white space following.
Previous to loading the file or starting the editor I had eval'd "(tex-syntax)":

(defun tex-syntax ()
  
  (mapc #'zwei:set-char-syntax
	`(,zwei:list-open
	  ,zwei:list-close
	  ,zwei:list-comment
	  ,zwei:list-alphabetic
	  ,zwei:list-slash 
	  ,zwei:list-alphabetic)
	(circular-list zwei:*list-syntax-table*)
	`(,#/{ ,#/} ,#/% ,#/; ,#/\ ,#//))
  )


Just previous to checking for unbalanced parens, I had tried to flush all memoization by
inserting and then deleting a space in each line (using MACRO).

So:  1) Is this a ZWEI bug?
     2) Is there an easier way to flush parsed line memoization?  This is necessary
        whenever I change the syntax table in the middle of editing a file.