changeset 48494:f07e2528571d

(morse-code): Add non-ASCII characters, according to table at http://www.soton.ac.uk/~scp93ch/morse/.
author Simon Josefsson <jas@extundo.com>
date Thu, 21 Nov 2002 18:08:33 +0000
parents 4c14ea08ea5d
children 95f9bec21156
files lisp/play/morse.el
diffstat 1 files changed, 13 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/play/morse.el	Thu Nov 21 17:34:00 2002 +0000
+++ b/lisp/play/morse.el	Thu Nov 21 18:08:33 2002 +0000
@@ -1,6 +1,6 @@
-;;; morse.el --- convert text to morse code and back
+;;; morse.el --- convert text to morse code and back             -*- coding: utf-8 -*-
 
-;; Copyright (C) 1995 Free Software Foundation, Inc.
+;; Copyright (C) 1995, 2002 Free Software Foundation, Inc.
 
 ;; Author: Rick Farnbach <rick_farnbach@MENTORG.COM>
 ;; Keywords: games
@@ -76,7 +76,17 @@
 		     ("6" . "-....")
 		     ("7" . "--...")
 		     ("8" . "---..")
-		     ("9" . "----."))
+		     ("9" . "----.")
+		     ;; Non-ASCII
+		     ("Ä" . ".-.-")
+		     ("Á" . ".--.-")
+		     ("Å" . ".--.-")
+		     ;; ligature character?? ("Ch" . "----")
+		     ("ß" . ".../...")
+		     ("É" . "..-..")
+		     ("Ñ" . "--.--")
+		     ("Ö" . "---.")
+		     ("Ü" . "..--"))
   "Morse code character set.")
 
 ;;;###autoload