unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Simon Josefsson <jas@extundo.com>
Subject: [PATCH] Add non-ASCII characters to morse.el
Date: Wed, 20 Nov 2002 12:25:59 +0100	[thread overview]
Message-ID: <ilu8yzoscs8.fsf@latte.josefsson.org> (raw)

Is there a better way to represent non-ASCII in elisp?  If anyone has
a better source of non-ASCII morse characters, it might be useful as
well.  Unfortunately, I think morse has been dropped as an official
language, so a canonical source might be difficult to find.

2002-11-20  Simon Josefsson  <jas@extundo.com>

	* play/morse.el (morse-code): Add non-ASCII characters, according
	to table at http://www.soton.ac.uk/~scp93ch/morse/.

--- morse.el.~1.4.~	2001-07-16 11:10:19.000000000 +0200
+++ morse.el	2002-11-20 12:22:29.000000000 +0100
@@ -76,7 +76,16 @@
 		     ("6" . "-....")
 		     ("7" . "--...")
 		     ("8" . "---..")
-		     ("9" . "----."))
+		     ("9" . "----.")
+		     ;; Non-ASCII
+		     ("Ä" . ".-.-")
+		     ("Á" . ".--.-")
+		     ("Å" . ".--.-")
+		     ("Ch" . "----")
+		     ("É" . "..-..")
+		     ("Ñ" . "--.--")
+		     ("Ö" . "---.")
+		     ("Ü" . "..--"))
   "Morse code character set.")
 
 ;;;###autoload

             reply	other threads:[~2002-11-20 11:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-11-20 11:25 Simon Josefsson [this message]
2002-11-20 11:54 ` [PATCH] Add non-ASCII characters to morse.el Kenichi Handa
2002-11-20 19:33   ` Simon Josefsson
2002-11-20 21:22     ` Stefan Monnier
2002-11-21 11:30       ` Simon Josefsson
2002-11-22 16:11         ` Karl Eichwalder
2002-11-22 17:00           ` Simon Josefsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=ilu8yzoscs8.fsf@latte.josefsson.org \
    --to=jas@extundo.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).