From: azubi <azubi@acm.org>
To: help-gnu-emacs@gnu.org
Subject: Font lock mode and auctex
Date: Tue, 27 Feb 2018 15:45:51 +0100 [thread overview]
Message-ID: <p73quv$1r9$1@shakotay.alphanet.ch> (raw)
Hi all,
recently (I don't know when exactly), I've experienced an error message
when trying to load a "Latex" file.
I've the following message:
File mode specification error: (void-variable font-lock-face-attributes)
when I use emacs-snapshot (27.0.50) or
File mode specification error: (error "Invalid byte opcode: op=183, ptr=2")
File local-variables error: (error "Invalid byte opcode: op=183, ptr=2")
with emacs 24.5.1 (see below)
Then the file I try to edit is loaded, but without fontification and
auctex is not loaded. I must say that for every other type of file (org,
C, html, java, scala) I regularly edit, I did not see any problem.
My config:
GNU Emacs 27.0.50 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of
2018-02-26 or
GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.18.9) of
2017-09-20 on lcy01-07, modified by Debian
The version of auctex is the latest available (12.1.0) on elpa.
I do not know how to debug this error message exactly. The
"--debug-init" flags gives for emacs-24.5.1:
Debugger entered--Lisp error: (void-function cl-defstruct)
(cl-defstruct latex-math-preview-symbol source display func args
image math)
eval-buffer(#<buffer *load*-790676> nil
"/home/azubi/.emacs.d/elpa/latex-math-preview-20170522.1455/latex-math-preview-autoloads.el"
nil t) ; Reading at buffer position 570
load-with-code-conversion("/home/azubi/.emacs.d/elpa/latex-math-preview-20170522.1455/latex-math-preview-autoloads.el"
"/home/azubi/.emacs.d/elpa/latex-math-preview-20170522.1455/latex-math-preview-autoloads.el"
nil t)
load("/home/azubi/.emacs.d/elpa/latex-math-preview-20170522.1455/latex-math-preview-autoloads"
nil t)
#[0 "\302\303\304\305\300\"\301\"\306\307#\207" [latex-math-preview
"/home/azubi/.emacs.d/elpa/latex-math-preview-20170522.1455" load
expand-file-name format "%s-autoloads" nil t] 5 "\n\n(fn)"]()
funcall(#[0 "\302\303\304\305\300\"\301\"\306\307#\207"
[latex-math-preview
"/home/azubi/.emacs.d/elpa/latex-math-preview-20170522.1455" load
expand-file-name format "%s-autoloads" nil t] 5 "\n\n(fn)"])
package-activate-1([cl-struct-package-desc latex-math-preview
(20170522 1455) "preview LaTeX mathematical expressions." nil nil nil
"/home/azubi/.emacs.d/elpa/latex-math-preview-20170522.1455" ((:keywords
"latex" "tex") (:url .
"https://gitlab.com/latex-math-preview/latex-math-preview") (:commit .
"775887a89447dd19541b121161cc02e9799d0d3a")) nil])
package-activate(latex-math-preview)
package-initialize()
eval-buffer(#<buffer *load*> nil "/home/azubi/.emacs" nil t) ;
Reading at buffer position 2070
load-with-code-conversion("/home/azubi/.emacs" "/home/azubi/.emacs" t t)
load("~/.emacs" t t)
#[0 "\b\205\262
and nothing for emacs-snapshot. Can you please give me some pointer
where to search ?
Thank you in advance for your help
next reply other threads:[~2018-02-27 14:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-27 14:45 azubi [this message]
2018-02-27 15:49 ` Font lock mode and auctex Stefan Monnier
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='p73quv$1r9$1@shakotay.alphanet.ch' \
--to=azubi@acm.org \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).