From ... From: Erik Naggum Subject: Re: OO-Browser does not understand Lisp defstruct options? Date: 2000/07/23 Message-ID: <3173331462556290@naggum.net>#1/1 X-Deja-AN: 649736138 References: mail-copies-to: never Content-Type: text/plain; charset=us-ascii X-Complaints-To: newsmaster@eunet.no X-Trace: oslo-nntp.eunet.no 964352754 28352 195.0.192.66 (23 Jul 2000 11:45:54 GMT) Organization: Naggum Software; vox: +47 8800 8879; fax: +47 8800 8601; http://naggum.no; http://naggum.net User-Agent: Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 Mime-Version: 1.0 NNTP-Posting-Date: 23 Jul 2000 11:45:54 GMT Newsgroups: comp.emacs.xemacs,comp.lang.lisp * Jean-Louis Leroy | Is this a known bug and does anybody have a solution? Tia... I don't use OO-Browser, but it shouldn't be too hard to find the place where it picks out the name of the struct, unless it uses regexps to do it, of course, and test for a list and if so, use its first element, instead of the whole thing. From the error message, it looks like it uses regexps, which would provide yet another good example of why using regexps is the wrong solution in the general case and real parsing is not replaceable with regexps hacks. If it does use regexps, all hope is probably lost, and you have rewrite a lot of hairy code to get a simple thing like this fixed. #:Erik -- If this is not what you expected, please alter your expectations.