280 reputation
111
bio website
location
age
visits member for 3 years, 8 months
seen 6 hours ago

Jul
20
awarded  Self-Learner
Jul
20
accepted Double-quote produces guillemets in emacs
Jul
19
revised How can I avoid AUCTeX wrongly inferring the language of a document?
Added detail to question.
Jul
19
comment How can I avoid AUCTeX wrongly inferring the language of a document?
@giordano I've added a few of those lines in the question itself, but the change needs to be reviewed, as I don't have enough reputation to edit it myself.
Jul
19
suggested approved edit on How can I avoid AUCTeX wrongly inferring the language of a document?
Jul
18
awarded  Revival
Jul
18
comment How can I avoid AUCTeX wrongly inferring the language of a document?
@giordano There is no auto/ subdirectory there; the class file is in a subdirectory of /usr/local/texlive/texmf-local/tex/latex/, where I don't have write permission as a regular user.
Jul
18
comment How can I avoid AUCTeX wrongly inferring the language of a document?
@DavidCarlisle I see. No, there is no lisp version of the class that I can find.
Jul
18
comment How can I avoid AUCTeX wrongly inferring the language of a document?
@DavidCarlisle yes, in ~/.emacs.d/elpa/auctex-11.87.5/style/babel.el I have babel.el (and babel.elc).
Jul
18
comment How can I avoid AUCTeX wrongly inferring the language of a document?
@giordano, ah, sorry, I misinterpreted your question. I don't know anything about auto-generated style files. How do I check whether I have one or not?
Jul
18
comment How can I avoid AUCTeX wrongly inferring the language of a document?
@DavidCarlisle, changing the \usepackage command to \@nameuse{RequirePackage}[french]{babel} didn't fix the problem either.
Jul
18
comment How can I avoid AUCTeX wrongly inferring the language of a document?
@giordano, this happens even when I run emacs -q, so it seems that my custom settings are not the problem.
Jul
18
comment Double-quote produces guillemets in emacs
@egreg Yes, but it's in a conditional branch in the class file - I guess AUCTeX doesn't see that?
Jul
18
awarded  Teacher
Jul
18
answered Double-quote produces guillemets in emacs
Jul
18
comment Double-quote produces guillemets in emacs
@giordano Good suggestion, thank you. I've checked that now and I think it is indeed the problem. But now how can I fix it? (Question updated with more info.)
Jul
18
revised Double-quote produces guillemets in emacs
added 584 characters in body
Jul
2
awarded  Curious
May
13
awarded  Commentator
May
13
comment Double-quote produces guillemets in emacs
It has happened in english papers that are not using the babel package at all, and in french papers that are using it. The files do not contain any local variables. And, as I said, this happens even when I completely delete the contents of the file, so it seems like these things cannot be causing this behavior.