From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/47777 Path: main.gmane.org!not-for-mail From: Martin Thornquist Newsgroups: gmane.emacs.gnus.general Subject: Re: Morse decoding Date: Thu, 21 Nov 2002 18:59:57 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1037901625 14480 80.91.224.249 (21 Nov 2002 18:00:25 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 21 Nov 2002 18:00:25 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18Evck-0003lI-00 for ; Thu, 21 Nov 2002 19:00:22 +0100 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 18Evcu-0005OS-00; Thu, 21 Nov 2002 12:00:32 -0600 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 21 Nov 2002 12:01:20 -0600 (CST) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id MAA07482 for ; Thu, 21 Nov 2002 12:00:52 -0600 (CST) Original-Received: (qmail 23346 invoked by alias); 21 Nov 2002 17:59:59 -0000 Original-Received: (qmail 23341 invoked from network); 21 Nov 2002 17:59:58 -0000 Original-Received: from quimby.gnus.org (80.91.224.244) by gnus.org with SMTP; 21 Nov 2002 17:59:58 -0000 Original-Received: from news by quimby.gnus.org with local (Exim 3.12 #1 (Debian)) id 18EveD-0004Ed-00 for ; Thu, 21 Nov 2002 19:01:53 +0100 Original-To: ding@gnus.org Original-Path: not-for-mail Original-Newsgroups: gnus.ding Original-Lines: 23 Original-NNTP-Posting-Host: teleute.netfonds.no Original-X-Trace: quimby.gnus.org 1037901713 14504 80.91.225.73 (21 Nov 2002 18:01:53 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: 21 Nov 2002 18:01:53 GMT X-Face: *F7Hd7p3}A$V&*+$yikQb~';$]%NCmb'VY Mail-Copies-To: nobody User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.2 (i386-debian-linux-gnu) Cancel-Lock: sha1:IW3Xd5oRMOt5/VTsQf4peDkpHy8= Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:47777 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:47777 [ Christoph Conrad ] > (add-to-list 'morse-code '("\ä" . ".-.-")) > (add-to-list 'morse-code '("\ö" . "---.")) > (add-to-list 'morse-code '("\ü" . "..--")) > ;; transcribe to "ss" > (add-to-list 'morse-code '("\ß" . ".../...")) Norwegian: (add-to-list 'morse-code '("\æ" . ".-.-")) (add-to-list 'morse-code '("\ø" . "---.")) (add-to-list 'morse-code '("\å" . ".--.-")) æ and ø clashes with ä and ö, but those are pronounced more or less the same so it doesn't matter that much. unmorse-region doesn't seem to mind, either, it just translates to the last defined. Martin -- "An ideal world is left as an exercise to the reader." -Paul Graham, On Lisp