From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.help Subject: Re: getting out of raw-text encoding Date: Sat, 10 May 2003 20:52:51 +0300 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <8296-Sat10May2003205250+0300-eliz@elta.co.il> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1052589506 13786 80.91.224.249 (10 May 2003 17:58:26 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Sat, 10 May 2003 17:58:26 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Sat May 10 19:58:23 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19EYc3-0003a5-00 for ; Sat, 10 May 2003 19:58:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19EYc8-0005cU-01 for gnu-help-gnu-emacs@m.gmane.org; Sat, 10 May 2003 13:58:28 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10.13) id 19EYbb-0004yq-00 for help-gnu-emacs@gnu.org; Sat, 10 May 2003 13:57:55 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10.13) id 19EYbN-0004Xl-00 for help-gnu-emacs@gnu.org; Sat, 10 May 2003 13:57:41 -0400 Original-Received: from odin.inter.net.il ([192.114.186.10]) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 19EYaH-00038z-00 for help-gnu-emacs@gnu.org; Sat, 10 May 2003 13:56:33 -0400 Original-Received: from zaretsky (cable-130-147.inter.net.il [213.8.130.147]) by odin.inter.net.il (Mirapoint Messaging Server MOS 3.2.2-GA) with ESMTP id BDC39089; Sat, 10 May 2003 20:56:30 +0300 (IDT) Original-To: help-gnu-emacs@gnu.org X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: (david.madore@ens.fr) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:9539 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:9539 > From: david.madore@ens.fr (David Madore) > Newsgroups: gnu.emacs.help > Date: 10 May 2003 15:21:08 GMT > > So, basically, how do I get out of raw-text without killing the > buffer? For every 8-bit value CHAR that you want Emacs to accept in an otherwise Latin-1 encoded file, put this line into your .emacs: (aset latin-extra-code-table CHAR t) For example, to accept the character whose code is 158, do this (untested): (aset latin-extra-code-table 158 t) I should caution you that this might bite you in scertain situations, so I would not recommend doing that for all the characters in the region 128-159, just for those you actually see frequently.