[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "Wrong type argument: number-or-marker-p, nil" error when compiling/
From: |
Tassilo Horn |
Subject: |
Re: "Wrong type argument: number-or-marker-p, nil" error when compiling/viewing docs with AucTeX 13 |
Date: |
Tue, 02 Feb 2021 07:27:21 +0100 |
User-agent: |
mu4e 1.5.8; emacs 28.0.50 |
Ikumi Keita <ikumi@ikumi.que.jp> writes:
Hi Artemio,
>>>>>> Artemio González López <artemiog@mac.com> writes:
>> Debugger entered--Lisp error: (wrong-type-argument number-or-marker-p nil)
>> TeX-active-master-with-quotes("pdf" t)
>> (lambda nil (TeX-active-master-with-quotes (TeX-output-extension) t))()
>> apply((lambda nil (TeX-active-master-with-quotes (TeX-output-extension)
>> t)) nil)
>> TeX-command-expand("%V")
>> TeX-command("View" TeX-master-file nil)
>> TeX-command-master(nil)
>> funcall-interactively(TeX-command-master nil)
>> call-interactively(TeX-command-master nil nil)
>> command-execute(TeX-command-master)
>
> My first guess is that you have customized `TeX-expand-list', but
> looking at the custom variable list you provieded, it doesn't seem so.
But looking at the backtrace, we can at least say that %V doesn't expand
to the current default.
> Then I suspect that older installation of AUCTeX interferes with the
> latest one. Don't you have AUCTeX<13 somewhere? You can usually check
> by examining the value of `load-path'.
M-x list-load-path-shadows RET is helpful here.
> Or you may still be using an emacs session invoked _before_ upgrading
> AUCTeX. In that case, please restart your emacs session. In general,
> files loaded before upgrade can conflict with the files loaded after
> upgrade.
Indeed.
Bye,
Tassilo