[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [AUCTeX] have AUCTeX insert the encoding as local variable specifica

From: jfbu
Subject: Re: [AUCTeX] have AUCTeX insert the encoding as local variable specification
Date: Sat, 29 Nov 2014 09:39:06 +0100
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

Le 28/11/2014 21:18, Mosè Giordano a écrit :
Wrong!  latexenc package, shipped with GNU Emacs (don't know about
XEmacs), does exactly that.  [...]

For people who could have fallen in the same
trap as myself (but these people will have
to be as antiquated as myself):

I had from many years back a customization of
which assigned some default coding to .tex extension
(lately it was utf-8

Hence I never benefited from the
which is the default configuration for .tex since
(if I got it right) GNU Emacs 22.

Makes me think that there could be a one-time-only
parsing of the .emacs and customization files when
a new Emacs major release is first executed by the
user, so as to signal possible mis-configuration.

I imagine this has been discussed already many
times by Emacs developers. As the .emacs file can
be shared among more than one Emacs (for example
on Mac OS X a GUI emacs and a /usr/bin/emacs) the
place where the emacs major version number is stored
should be chosen carefully.

My .emacs checks for emacs-major-version and loads
corresponding "init.el" and custom files,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]