From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Peter Dyballa Newsgroups: gmane.emacs.help Subject: Re: umlauts (8bit characters) input Date: Tue, 1 Feb 2005 00:47:04 +0100 Message-ID: <6914BB2C-73E2-11D9-8B7E-000D932A32C4@Web.DE> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1107216022 21977 80.91.229.6 (1 Feb 2005 00:00:22 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 1 Feb 2005 00:00:22 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 01 01:00:14 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CvlSn-0003F2-00 for ; Tue, 01 Feb 2005 01:00:13 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CvlfZ-0005k0-F1 for geh-help-gnu-emacs@m.gmane.org; Mon, 31 Jan 2005 19:13:27 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1CvlZY-0004Bs-9w for help-gnu-emacs@gnu.org; Mon, 31 Jan 2005 19:07:13 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1CvlZS-00048R-Rq for help-gnu-emacs@gnu.org; Mon, 31 Jan 2005 19:07:08 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1CvlZS-00045N-JK for help-gnu-emacs@gnu.org; Mon, 31 Jan 2005 19:07:06 -0500 Original-Received: from [217.72.192.225] (helo=smtp07.web.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.34) id 1CvlG9-0000hW-0l for help-gnu-emacs@gnu.org; Mon, 31 Jan 2005 18:47:09 -0500 Original-Received: from [80.184.176.74] (helo=[192.168.1.2]) by smtp07.web.de with asmtp (TLSv1:RC4-SHA:128) (WEB.DE 4.103 #192) id 1CvlG8-0003Ce-00; Tue, 01 Feb 2005 00:47:08 +0100 In-Reply-To: Original-To: Hendrik Sattler X-Mailer: Apple Mail (2.619) 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 Xref: main.gmane.org gmane.emacs.help:23795 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:23795 Am 31.01.2005 um 23:44 schrieb Hendrik Sattler: > Peter Dyballa wrote: >> Am 31.01.2005 um 17:44 schrieb Hendrik Sattler: >> >>> '(default-input-method "german-postfix") >> >> Doesn't this setting mean to input all umlauts as `a"?? > > Does that imply to ignore a real '=E4' key? I deleted that line but = the > behaviour did not change. Actually I can't tell -- still searching for some answers. Here are=20 some answers from my .emacs: ; (set-language-environment 'UTF-8) (set-default-coding-systems 'utf-8) (setq file-name-coding-system 'utf-8) (setq default-buffer-file-coding-system 'utf-8) (setq coding-system-for-write 'utf-8) ; (set-keyboard-coding-system 'utf-8) (set-terminal-coding-system 'utf-8) ;; (set-clipboard-coding-system 'utf-8) ;; (set-selection-coding-system 'utf-8) ; (set-language-environment 'German) This is for X11 on Mac OS X. The following is for "Carbon Emacsen",=20 i.e. a GNU Emacs that fits into the Aqua environment. These have some=20 restrictions with fonts or fontsets, so restrict them to use ISO Latin. (setq file-name-coding-system 'utf-8) (setq default-buffer-file-coding-system 'iso-latin-9-unix) (set-language-environment 'German) (set-default-coding-systems 'iso-latin-9-unix) (set-keyboard-coding-system 'iso-latin-9) (prefer-coding-system 'iso-latin-9-unix) I think the most important is default-buffer-file-coding-system. It=20 makes Emacs aware and work with umlauts. Using the right fontsets (or=20 at least fonts) should enable you to see the umlauts too. If you here=20 the umlauts when you type them you might need=20 set-keyboard-coding-system and/or set-terminal-coding-system. It's=20 always helpful to check what Emacs actually receives: C-h k and then=20 you type the umlaut. Probably your Linux system too uses UTF-8 as file-name-coding-system ... -- Mit friedvollen Gr=FC=DFen Pete "They're putting dimes in the hole in my head to see the change in me."