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: replacing characters and whacky trans-buffer conversion Date: Fri, 9 Mar 2007 14:02:37 +0100 Message-ID: References: <45ED8574.3040201@speakeasy.net> <45EF2512.9060200@speakeasy.net> <45EF28B8.2050905@speakeasy.net> <953CC6C7-14E6-4321-8899-665613380DC2@Web.DE> <45F13538.5010805@speakeasy.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v752.2) Content-Type: text/plain; charset=UTF-8; delsp=yes; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1173445487 7030 80.91.229.12 (9 Mar 2007 13:04:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Mar 2007 13:04:47 +0000 (UTC) Cc: GNU Emacs List To: ken Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 09 14:04:41 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HPem0-0000ns-CE for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Mar 2007 14:04:40 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HPemI-0000Ha-7r for geh-help-gnu-emacs@m.gmane.org; Fri, 09 Mar 2007 08:04:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HPekX-0007q1-Sb for help-gnu-emacs@gnu.org; Fri, 09 Mar 2007 08:03:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HPekV-0007o3-Mf for help-gnu-emacs@gnu.org; Fri, 09 Mar 2007 08:03:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HPekV-0007nv-G0 for help-gnu-emacs@gnu.org; Fri, 09 Mar 2007 08:03:07 -0500 Original-Received: from fmmailgate03.web.de ([217.72.192.234]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HPekA-0006Fp-FR for help-gnu-emacs@gnu.org; Fri, 09 Mar 2007 08:02:46 -0500 Original-Received: from smtp08.web.de (fmsmtp08.dlan.cinetic.de [172.20.5.216]) by fmmailgate03.web.de (Postfix) with ESMTP id 2AF62675A1FD; Fri, 9 Mar 2007 14:02:45 +0100 (CET) Original-Received: from [62.134.212.226] (helo=[192.168.1.2]) by smtp08.web.de with asmtp (TLSv1:AES128-SHA:128) (WEB.DE 4.107 #114) id 1HPek8-0006gN-00; Fri, 09 Mar 2007 14:02:45 +0100 In-Reply-To: <45F13538.5010805@speakeasy.net> X-Mailer: Apple Mail (2.752.2) X-Sender: Peter_Dyballa@web.de X-detected-kernel: Linux 2.4-2.6 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 Xref: news.gmane.org gmane.emacs.help:41826 Archived-At: Am 09.03.2007 um 11:21 schrieb ken: > I've further discovered that it's not even a matter of cutting & > pasting/yanking. If I simply enter C-q 5 5 4 2 RETURN in *.el and =20 > again > in *scratch*, this results in a different character in each buffer, =20= > the > *.el file getting it wrong (which is the kern of the problem). Emacs Lisp files are usually kep in some ISO Latin. If you want to =20 enter the GREEK SMALL LETTER BETA, U+03B2, i.e. ``=CE=B2=C2=B4=C2=B4 = (and not the =20 German LATIN SMALL LETTER SHARP S, U+00DF, i.e. ``=C3=9F=C2=B4=C2=B4), = you should =20 add this as the first line of your ~/.emacs file (more variables =20 possible): ;;; -*- mode: Emacs-Lisp; coding: utf-8-unix; -*- First open the file as usual, then add the new line as first line (or =20= enter them as local variables at the file's end), and finally save as =20= utf-8. -- 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.