Re: Fedora Core 3: File mode specification error

Ralf Angeli <[email protected]>
Newsgroups gmane.emacs.auc-tex
Message-ID <[email protected]>
* auc-tex-return-6709-angeli iwi (2005-01-18) writes:

> I just installed Fedora Core 3 (and ran "yum update") and the latest
> auctex rpm for fedora (auctex-emacs-11.54-2.fedora.noarch.rpm) from
[...]
> When I try to load a (la)tex file (new or existing), I get the
> following error message:
>
> (New file)
> Loading tex...
> Loading advice...done
> Loading tex...done
> Loading latex...done
> Loading font-latex...done
> File mode specification error: (error "Variable binding depth exceeds max-specpdl-size")
[...]
> Backtrace:

At last a backtrace.

> Debugger entered--Lisp error: (error "Variable binding depth exceeds max-specpdl-size")
[...]
>   regexp-opt-group(nil t t)
>   regexp-opt-group(nil t t)
>   regexp-opt-group(nil nil)
>   regexp-opt(nil)
>   font-latex-set-syntactic-keywords()
>   font-latex-setup()
>   VirTeX-common-initialization()
>   LaTeX-common-initialization()
>   latex-mode()
> * call-interactively(latex-mode)
>   execute-extended-command(nil)
>   call-interactively(execute-extended-command)

Could it be that `regexp-opt' in Emacsen shipped with Fedora is
broken?  With every Emacs I have here `M-: (regexp-opt nil) RET'
returns `""'.  And according to the source code of `regexp-opt-group'
that's what is supposed to happen.

As a workaround I could check in `font-latex-syntactic-keywords' if
the argument given to `regexp-opt' is empty and inhibit its call.  But
I am really wondering why there is this error on Fedora systems.

-- 
Ralf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.