emacs-devel
[Top][All Lists]
Advanced

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

Re: Should `auto-coding-functions' be mode-specific?


From: Romain Francoise
Subject: Re: Should `auto-coding-functions' be mode-specific?
Date: Mon, 08 Jan 2007 20:46:45 +0100

Juri Linkov <address@hidden> writes:

> We either could create a new function sgml-meta-auto-coding-function
> (like sgml-html-meta-auto-coding-function), or add encoding detection
> of HTML-like SGML files to sgml-html-meta-auto-coding-function by
> fetching and applying the sgml-mode rule as well as html-mode rule
> from magic-mode-alist.

I guess.

On the other hand, this hook runs every single time you save a file,
doing this would use resources for the benefit of a rather obscure
special case.

-- 
Romain Francoise <address@hidden> | The sea! the sea! the open
it's a miracle -- http://orebokech.com/ | sea! The blue, the fresh, the
                                        | ever free! --Bryan W. Procter




reply via email to

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