[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: auto-coding-function for LaTeX
From: |
David Kastrup |
Subject: |
Re: auto-coding-function for LaTeX |
Date: |
Sat, 13 Nov 2004 15:47:46 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
Juri Linkov <address@hidden> writes:
> Arne Jørgensen <address@hidden> writes:
>> I look a bit more in to it. And it actually seems more reasonable to
>> put the function (slightly changed) into `file-coding-system-alist'.
>> [...]
>> (add-to-list 'file-coding-system-alist '("\\.tex\\|\\.ltx\\'" .
>> latex-find-file-coding-system))
>
> I think this is not the most right thing to do since there may
> be LaTeX file extensions other than .tex and .ltx. The standard value
> of `auto-mode-alist' has also .sty, .cl[so], .bbl as file extensions
> corresponding to latex-mode. And users can add own mappings to
> `auto-mode-alist' or use `-*- mode:latex -*-' headers.
> In that case `file-coding-system-alist' wouldn't work.
In all of the mentioned cases, the files are not supposed to carry an
inputenc declaration. So this is not a particularly compelling
reason. However, we also have, say, .dtx and .drv files.
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum
- auto-coding-function for LaTeX, Arne Jørgensen, 2004/11/09
- Bug in widget-complete (was: auto-coding-function for LaTeX), Arne Jørgensen, 2004/11/11
- Re: auto-coding-function for LaTeX, Juri Linkov, 2004/11/11
- Re: auto-coding-function for LaTeX, Arne Jørgensen, 2004/11/11
- Re: auto-coding-function for LaTeX, Arne Jørgensen, 2004/11/11
- Re: auto-coding-function for LaTeX, Reiner Steib, 2004/11/11
- Re: auto-coding-function for LaTeX, Arne Jørgensen, 2004/11/12
- Re: auto-coding-function for LaTeX, Reiner Steib, 2004/11/12
- Re: auto-coding-function for LaTeX, Reiner Steib, 2004/11/12
- Re: auto-coding-function for LaTeX, Juri Linkov, 2004/11/13
- Re: auto-coding-function for LaTeX,
David Kastrup <=
Re: auto-coding-function for LaTeX, Richard Stallman, 2004/11/13