From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: LEE Sau Dan Newsgroups: gmane.emacs.help Subject: Re: German umlaut problems after moving from Windows to Linux Date: 28 Feb 2004 17:26:25 +0100 Organization: Rechenzentrum der Universitaet Freiburg, Germany Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-7 X-Trace: sea.gmane.org 1078144275 11522 80.91.224.253 (1 Mar 2004 12:31:15 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 1 Mar 2004 12:31:15 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Mar 01 13:31:05 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AxmZc-0004xt-00 for ; Mon, 01 Mar 2004 13:31:05 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1AxmV8-0002qN-Aj for geh-help-gnu-emacs@m.gmane.org; Mon, 01 Mar 2004 07:26:26 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!news2.telebyte.nl!npeer.de.kpn-eurorings.net!feed.news.schlund.de!schlund.de!newsfeed01.sul.t-online.de!t-online.de!news.belwue.de!news.uni-freiburg.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 51 Original-NNTP-Posting-Host: savona.informatik.uni-freiburg.de User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-Xref: shelby.stanford.edu gnu.emacs.help:121392 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:17347 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:17347 >>>>> "Thomas" == Thomas Gehrlein writes: Thomas> 1) Which of the 2 "+AOQ-" is the "correct" one for a Linux Thomas> system? Both. They both show up alike on my computer. The computer (Emacs) cares about the difference between an +AOQ- in iso-8859-1 and an +AOQ- in iso-8859-15. I don't. (You can type in the former using the intput methods latin-1-* and the later with latin-9-*.) Thomas> 2) How can I turn all "+AOQ-"s in .diary in "correct" +AOQ-s? (defun iso-8859-15to1 (from to) ; for German only. Not French, Italian... (interactive "r") (save-excursion (goto-char from) (while (re-search-forward "[+AOQAxAD2ANYA/ADcAN8A6wDLAO8Azw-]" to t) (let ((matched-char (string-to-char (match-string 0)))) (replace-match (char-to-string (cond ((eq matched-char ?\+AOQ-) ?\+AOQ-) ((eq matched-char ?\+AMQ-) ?\+AMQ-) ((eq matched-char ?\+APY-) ?\+APY-) ((eq matched-char ?\+ANY-) ?\+ANY-) ((eq matched-char ?\+APw-) ?\+APw-) ((eq matched-char ?\+ANw-) ?\+ANw-) ((eq matched-char ?\+AN8-) ?\+AN8-) ((eq matched-char ?\+AOs-) ?\+AOs-) ((eq matched-char ?\+AMs-) ?\+AMs-) ((eq matched-char ?\+AO8-) ?\+AO8-) ((eq matched-char ?\+AM8-) ?\+AM8-) (t (error "bug %s" matched-char))))))) )) Thomas> 3) How can I tell Emacs: "Take all umlauts and other weird Thomas> characters in my home directory and make with them Thomas> whatever you want - but don't ever bother me with this Thomas> kind of $&%$&$% again"? For me, the only problem is with searching (regexp matching). Otherwise, I don't care. But I don't use German that often. -- Lee Sau Dan +Z05biGVm-(Big5) ~{@nJX6X~}(HZ) E-mail: danlee@informatik.uni-freiburg.de Home page: http://www.informatik.uni-freiburg.de/~danlee