[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [help-texinfo] Re: coding systems vs. info files
From: |
Juri Linkov |
Subject: |
Re: [help-texinfo] Re: coding systems vs. info files |
Date: |
Mon, 13 Feb 2006 19:48:29 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) |
>> it is easy to add @documentencoding to the source Texinfo file.
>
> I suppose it'd be nice if emacs looked for that to know the file
> coding. Another entry for `auto-coding-functions' I guess.
It would be useless to scan every visited file for @documentencoding
after adding a function to find @documentencoding to the default value
of `auto-coding-functions'.
Other similar modes use the variable `file-coding-system-alist',
with an entry like
("\\.\\(tex\\|ltx\\|dtx\\|drv\\)\\'" . latexenc-find-file-coding-system)
But this is not ideal either. Ideally, the coding-guessing function
should be mode-dependent, not filename-dependent. But it seems currently
it's not possible to do this, and this should wait until the next release.
--
Juri Linkov
http://www.jurta.org/emacs/
Re: coding systems vs. info files, Juri Linkov, 2006/02/09