Arash Esbati <ar...@gnu.org> writes: > Hi Nikolaus, > > "Nikolaus Thiel" <k...@fsfe.org> writes: > > Sorry for my late response. > >> I started Emacs from the command line using >> >> $ /Applications/MacPorts/Emacs.app/Contents/MacOS/Emacs -Q >> >> That produced the following messages in the terminal: >> >> Emacs[1071:29235] Failed to initialize color list unarchiver: >> Error Domain=NSCocoaErrorDomain Code=4864 >> "*** -[NSKeyedUnarchiver >> _initForReadingFromData:error:throwLegacyExceptions:]: non-keyed >> archive cannot be decoded by NSKeyedUnarchiver" >> UserInfo={NSDebugDescription=*** -[NSKeyedUnarchiver >> _initForReadingFromData:error:throwLegacyExceptions:]: non-keyed >> archive cannot be decoded by NSKeyedUnarchiver} > > I'm not familiar with macOS, so I can't tell what's going on. I can > only suspect that you've installed Emacs via MacPorts, and maybe you > have installed AUCTeX through MacPorts as well. > >> I saved the small LaTeX code into a file. Opening it, only the TeX menu >> appeared >> but neither LaTeX nor Command menu. So I used "C-c C-c RET" > > It seems that AUCTeX isn't loaded and you end up with Emacs tex-mode. > >> pdflatex ends with the expected LaTeX error: >> >> bash-3.2$ cd /Users/klaus/Desktop/ >> bash-3.2$ pdflatex \\nonstopmode\\input test.tex >> This is pdfTeX, Version 3.14159265-2.6-1.40.21 (TeX Live 2020) (preloaded >> format=pdflatex) >> restricted \write18 enabled. >> .... >> >> >> xelatex does not even start >> >> bash-3.2$ xelatex >> This is XeTeX, Version 3.14159265-2.6-0.999992 (TeX Live 2020) (preloaded >> format=xelatex) >> restricted \write18 enabled. >> ** > > Be careful here; xelatex is running in interactive mode and expects an > input. In your shell, try \relax RET \bye RET. > >> If I change the command in *tex-shell* manually to "xelatex >> \\nonstopmode\\input >> test.tex" the file is compiled successfully. >> >> >> >> The evaluation of >> >> (TeX-command-expand "xelatex -interaction=nonstopmode %s") >> >> produces the following error: >> >> Debugger entered--Lisp error: (void-function TeX-command-expand) >> (TeX-command-expand "xelatex -interaction=nonstopmode %s") >> eval((TeX-command-expand "xelatex -interaction=nonstopmode %s") nil) >> elisp--eval-last-sexp(nil) >> eval-last-sexp(nil) >> funcall-interactively(eval-last-sexp nil) >> call-interactively(eval-last-sexp nil nil) >> command-execute(eval-last-sexp) > > See above, I think your installation is broken. > >> I do not know a recipe how to produce the error on your system. >> >> Did you also try on Mac OS X 11.1? > > Nope, I'm not on macOS. Sorry, but I'm out of ideas here. I can only > suggest that you delete all your AUCTeX installations (ELPA, MacPorts > etc.), load a .tex file and do `M-x list-load-path-shadows RET' and see > if you don't have dupe installations, restart Emacs, and install AUCTeX > via ELPA.
(I'm going through old bug reports that unfortunately weren't resolved at the time.) No further comments, and I can't reproduce this on macOS, so I'm closing this report. Best, Arash _______________________________________________ bug-auctex mailing list bug-auctex@gnu.org https://lists.gnu.org/mailman/listinfo/bug-auctex