From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: \201 chars showing up in buffer when using emacs from mutt Date: Fri, 25 Mar 2005 02:12:27 +0100 Message-ID: <89a257782f881a234ca54eddba84ee24@Web.DE> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (Apple Message framework v619.2) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1111714088 17417 80.91.229.2 (25 Mar 2005 01:28:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 25 Mar 2005 01:28:08 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 25 02:28:07 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DEdcJ-0005Tg-JC for geh-help-gnu-emacs@m.gmane.org; Fri, 25 Mar 2005 02:28:03 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DEdrh-0003Qh-P7 for geh-help-gnu-emacs@m.gmane.org; Thu, 24 Mar 2005 20:43:57 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DEdof-0002L6-5f for help-gnu-emacs@gnu.org; Thu, 24 Mar 2005 20:40:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DEdoU-0002Gw-3j for help-gnu-emacs@gnu.org; Thu, 24 Mar 2005 20:40:40 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DEdoT-0002C6-DM for help-gnu-emacs@gnu.org; Thu, 24 Mar 2005 20:40:37 -0500 Original-Received: from [217.72.192.224] (helo=smtp06.web.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1DEdNF-0002yw-PB for help-gnu-emacs@gnu.org; Thu, 24 Mar 2005 20:12:30 -0500 Original-Received: from [84.245.189.109] (helo=[192.168.1.2]) by smtp06.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.104 #268) id 1DEdNC-0004sK-00; Fri, 25 Mar 2005 02:12:26 +0100 In-Reply-To: Original-To: X-Mailer: Apple Mail (2.619.2) X-Sender: Peter_Dyballa@web.de X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:25132 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25132 Am 24.03.2005 um 13:14 schrieb : > So does anyone have bullet proof settings such that I will never see > that > dreaded \201 again? I am *almost* capabable of just removing them > trough some > hook function when I start emacs, but taht seems very evil. > You have a few choices: a) set in the file's header something like -*- coding: utf-8 -*- where is the comment character for this type of file b) set file-coding-system-alist, auto-coding-alist -- You can customize this variable: ("\\.tex\\'" iso-latin-9-unix . iso-latin-9-unix) c) some of these: (set-language-environment 'Chinese-BIG5) (set-default-coding-systems 'euc-jp-unix) (set-keyboard-coding-system 'mac-roman) (set-clipboard-coding-system 'sjis-mac) (set-terminal-coding-system 'utf-8) (set-file-name-coding-system 'utf-8) d) combinations of above -- Greetings Pete "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -Benjamin Franklin, Historical Review of Pennsylvania.