From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Ryde Newsgroups: gmane.emacs.devel Subject: Re: Should `auto-coding-functions' be mode-specific? Date: Wed, 03 Jan 2007 11:54:59 +1100 Message-ID: <87d55x2al8.fsf@zip.com.au> References: <87ejqd88iv.fsf@pacem.orebokech.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1167785738 18153 80.91.229.12 (3 Jan 2007 00:55:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 3 Jan 2007 00:55:38 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 03 01:55:35 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1H1uPe-0001f6-Uf for ged-emacs-devel@m.gmane.org; Wed, 03 Jan 2007 01:55:27 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H1uPe-0000cy-EA for ged-emacs-devel@m.gmane.org; Tue, 02 Jan 2007 19:55:26 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H1uPP-0000bz-NV for emacs-devel@gnu.org; Tue, 02 Jan 2007 19:55:11 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H1uPN-0000a3-HF for emacs-devel@gnu.org; Tue, 02 Jan 2007 19:55:11 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H1uPN-0000Zw-AG for emacs-devel@gnu.org; Tue, 02 Jan 2007 19:55:09 -0500 Original-Received: from [61.8.2.231] (helo=mailout2.pacific.net.au) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H1uPM-0004cc-NG for emacs-devel@gnu.org; Tue, 02 Jan 2007 19:55:09 -0500 Original-Received: from mailproxy1.pacific.net.au (mailproxy1.pacific.net.au [61.8.2.162]) by mailout2.pacific.net.au (Postfix) with ESMTP id AA19D6E01C for ; Wed, 3 Jan 2007 11:55:01 +1100 (EST) Original-Received: from localhost (ppp2AB5.dyn.pacific.net.au [61.8.42.181]) by mailproxy1.pacific.net.au (Postfix) with ESMTP id DFF278C04 for ; Wed, 3 Jan 2007 11:55:02 +1100 (EST) Original-Received: from gg by localhost with local (Exim 4.63) (envelope-from ) id 1H1uPE-0003ad-Ch for emacs-devel@gnu.org; Wed, 03 Jan 2007 11:55:00 +1100 Original-To: emacs-devel@gnu.org In-Reply-To: <87ejqd88iv.fsf@pacem.orebokech.com> (Romain Francoise's message of "Tue, 02 Jan 2007 21:43:04 +0100") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:64667 Archived-At: Romain Francoise writes: > > i.e. don't use the META header function in buffers that aren't in > html-mode (or equivalent). When this came up a while ago about .po and gutenberg .txt, I thought a filename could be bound/offered to the auto-coding-functions funcs, so they could limit themselves if they felt the need. Maybe the html one could just check the text starts with "" (perhaps after a