|--==> "HN" == Hrvoje Niksic <hniksic(a)xemacs.org> writes:
HN> Steve Youngs <sryoungs(a)bigpond.net.au> writes:
>(1) (local-variables/warning) File local-variables error: Local
>variables entry is missing the prefix
>
>So there _is_ a problem, just not the exact one that I reported. :-P
HN> In this case, the problem is that you used the string "Local
HN> Variables:" *twice* near the end of the buffer. In your example:
HN> ;; and a Local Variables: example
HN> If my edebug-assisted analysis is correct, the code is fooled by that
HN> line and sets PREFIX to ";; and a ". Since the following line does
HN> not begin with that ";; and a", a warning is printed. I'm not
really
HN> sure if that should be considered a bug.
Yes, your analysis is correct. A possible solution (and I'm not sure
whether or not it would be worth while "fixing") could be...
Provide a way to escape the string "Local Variables:" so it is possible
to refer to it in comments or doc strings.
HN> I'm curious as to what causes your infloop.
I found the problem. It was Latin-Unity induced.
Heads Up Mr Turnbull! There is a patch on its way to xemacs-patches
that fixes the problem.
--
|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
| Ashes to ashes, dust to dust. |
| The proof of the pudding, is under the crust. |
|------------------------------<sryoungs(a)bigpond.net.au>---|