[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX-devel] What is the proper way to install auctex as a user?
From: |
Arash Esbati |
Subject: |
Re: [AUCTeX-devel] What is the proper way to install auctex as a user? |
Date: |
Mon, 12 Mar 2018 21:20:10 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.3 |
Arash Esbati <address@hidden> writes:
> Alex Branham <address@hidden> writes:
>
>> It seems that didn't quite help. I'm still getting a lot of errors that look
>> like this:
>>
>> Error during redisplay: (jit-lock-function 2855) signaled
>> (wrong-type-argument integer-or-marker-p nil)
>> Error during redisplay: (jit-lock-function 10261) signaled (void-function
>> :super)
>
> Can you please restart Emacs, eval this in scratch
>
> (setq font-latex-fontify-script nil)
>
> and open your .tex file again?
Following up myself, I think I found the problem. I installed this
patch which replaces `case' macro from `cl' with `cl-case' from
`cl-lib'.
Can you please update your repo, compile the files and try it again?
--8<---------------cut here---------------start------------->8---
diff --git a/font-latex.el b/font-latex.el
index 1df751a..b3ab6f7 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -2023,7 +2023,7 @@ END marks boundaries for searching for quotation ends."
(defun font-latex--get-script-props (pos script-type)
(let* ((old-raise (or (plist-get (get-text-property pos 'display) 'raise)
0.0))
(new-level (1+ (or (get-text-property pos 'script-level) 0)))
- (disp-props (copy-sequence (case script-type
+ (disp-props (copy-sequence (cl-case script-type
(:super (cdr font-latex-script-display))
(:sub (car
font-latex-script-display)))))
(new-disp-props (let ((raise (plist-get disp-props 'raise))
@@ -2041,7 +2041,7 @@ END marks boundaries for searching for quotation ends."
(* nl nl
0.012018514285714385)))))
disp-props))))
`(face ,(if (<= new-level font-latex-fontify-script-max-level)
- (case script-type
+ (cl-case script-type
(:super 'font-latex-superscript-face)
(:sub 'font-latex-subscript-face))
nil)
--8<---------------cut here---------------end--------------->8---
Best, Arash
- [AUCTeX-devel] What is the proper way to install auctex as a user?, Alex Branham, 2018/03/07
- Re: [AUCTeX-devel] What is the proper way to install auctex as a user?, Alex Branham, 2018/03/07
- Re: [AUCTeX-devel] What is the proper way to install auctex as a user?, Arash Esbati, 2018/03/07
- Re: [AUCTeX-devel] What is the proper way to install auctex as a user?, Alex Branham, 2018/03/07
- Re: [AUCTeX-devel] What is the proper way to install auctex as a user?, Colin Baxter, 2018/03/08
- Re: [AUCTeX-devel] What is the proper way to install auctex as a user?, Alex Branham, 2018/03/08
- Re: [AUCTeX-devel] What is the proper way to install auctex as a user?, Arash Esbati, 2018/03/11
- Re: [AUCTeX-devel] What is the proper way to install auctex as a user?,
Arash Esbati <=
- Re: [AUCTeX-devel] What is the proper way to install auctex as a user?, Alex Branham, 2018/03/13
- Re: [AUCTeX-devel] What is the proper way to install auctex as a user?, Arash Esbati, 2018/03/16
- Re: [AUCTeX-devel] What is the proper way to install auctex as a user?, Ikumi Keita, 2018/03/29
- Re: [AUCTeX-devel] What is the proper way to install auctex as a user?, Alex Branham, 2018/03/29
- Re: [AUCTeX-devel] What is the proper way to install auctex as a user?, Ikumi Keita, 2018/03/29
- Re: [AUCTeX-devel] What is the proper way to install auctex as a user?, Arash Esbati, 2018/03/11
Re: [AUCTeX-devel] What is the proper way to install auctex as a user?, Vladimir Lomov, 2018/03/08