bug#81648: 32.0.50; Running LaTeX on files with non-ASCII chars in the name

Arash Esbati <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
Eli Zaretskii <[email protected]> writes:

> Thanks, but why do you think this is an Emacs bug?

Because I can load ä.tex with `tex-main-file' replaced with `TeX-master'
with AUCTeX enabled:

--8<---------------cut here---------------start------------->8---
\documentclass{article}

\begin{document}

master-foo

\end{document}

%%% Local Variables:
%%% coding: utf-8
%%% mode: latex
%%% TeX-master: t
%%% End:
--8<---------------cut here---------------end--------------->8---

and can compile it successfully by hitting C-c C-c.

> If you understand what happens here enough to conclude this is an
> Emacs bug, would you mind describing what happens when you type
> "C-c C-c RET", in a way that gives us some hint why this could be
> an Emacs issue?

I'm not familiar enough with the internals of tex-mode.el and what
happens after hitting "C-c C-c RET", but after having another look, I
think that the current invokation:

  pdflatex  \\nonstopmode\\input \ä.tex

should be:

  pdflatex  \\nonstopmode\\input \\detokenize{ä}.tex

> In any case, for problems like this one (if they are Emacs-related),
> it is important to know the locale you are using and its codeset,
> assuming this is related to encoding (although I don't yet see why it
> should be).

I agree, the issue isn't related to codeset etc., AFAICT.

Best, Arash
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.