From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.emacs.devel Subject: Mention 'enable-character-translation' Date: Sat, 24 Jun 2006 11:28:42 +1200 Message-ID: <17564.31018.802480.109121@kahikatea.snap.net.nz> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1151105404 22775 80.91.229.2 (23 Jun 2006 23:30:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 23 Jun 2006 23:30:04 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 24 01:30:02 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ftv64-00058k-E3 for ged-emacs-devel@m.gmane.org; Sat, 24 Jun 2006 01:29:57 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ftv63-00030k-Rg for ged-emacs-devel@m.gmane.org; Fri, 23 Jun 2006 19:29:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ftv5o-0002yC-9P for emacs-devel@gnu.org; Fri, 23 Jun 2006 19:29:40 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ftv5n-0002xk-FN for emacs-devel@gnu.org; Fri, 23 Jun 2006 19:29:39 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ftv5n-0002xe-8P for emacs-devel@gnu.org; Fri, 23 Jun 2006 19:29:39 -0400 Original-Received: from [202.37.101.8] (helo=viper.snap.net.nz) by monty-python.gnu.org with esmtp (Exim 4.52) id 1FtvH5-0005Hk-Mj for emacs-devel@gnu.org; Fri, 23 Jun 2006 19:41:20 -0400 Original-Received: from kahikatea.snap.net.nz (p423-tnt1.snap.net.nz [202.124.111.169]) by viper.snap.net.nz (Postfix) with ESMTP id EEF3676DBA3 for ; Sat, 24 Jun 2006 11:29:40 +1200 (NZST) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id 5AAD01D3550; Sat, 24 Jun 2006 11:28:43 +1200 (NZST) Original-To: emacs-devel@gnu.org X-Mailer: VM 7.19 under Emacs 22.0.50.22 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:56135 Archived-At: This entry has not been added to the Emacs manual: *** You can disable character translation for a file using the -*- construct. Include `enable-character-translation: nil' inside the -*-...-*- to disable any character translation that may happen by various global and per-coding-system translation tables. You can also specify it in a local variable list at the end of the file. I guess it should go here (but there seems to be a typo): If you add the character `!' at the end of the coding system name, it disables any character translation while decoding the file. For instance, it effectively cancels the effect of `unify-8859-on-decoding-mode'. This is useful when you need to make sure that the character codes in the Emacs buffer will not according to ^^^ user settings; for instance, for the sake of strings in Emacs Lisp source files. -- Nick http://www.inet.net.nz/~nickrob