unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Tobias <kuzum@mebias.org>
To: help-gnu-emacs@gnu.org
Subject: Sanskrit Unicode Text Processing
Date: Sun, 07 Mar 2010 10:37:31 +0100	[thread overview]
Message-ID: <1267954651.3391.15.camel@localhost.localdomain> (raw)

[-- Attachment #1: Type: text/plain, Size: 3730 bytes --]

when I configure Emacs for Sanskrit Unicode according to this:

http://coseruc.people.cofc.edu/unicode/

at Point 4 I do:

C-x C-f to reach the Emacs leim path where you copied the sanskrit.el
file and execute:

M-x byte-compile-file sanskrit.el

I get error as this one: sanskrit.el:33:2:Warning: `"#a"' is a malformed
function

can anyone enlighten me on this problem

the sanskrit.el file looks like this:


;; -*- coding: utf-8 -*-
;;
;; sanskrit.el
;;
;; Emacs Unicode input method for Sanskrit transliteration and Western
;; European characters
;;
;; Author: Stefan Baums <baums@u.washington.edu>
;;
;; Version 1.0 (first public release) 12 February 2002
;;
;;     Changed by J Hanneder Sept.2002
;;     Now # and . are the escape characters 
;;     for all Sanskrit related diacritics.
;;
;;     added some Tamil 6/05

(require 'quail)

(quail-define-package "sanskrit" "Sanskrit" "S>" t
"This is an input method for Sanskrit transliteration and Western
European characters.  Basically, you type first the required diacritic
and then the letter (as in ['] [a] to get á).  After typing the
diacritic, a list of possible letters is shown in the echo area."
nil nil nil nil nil nil nil nil nil nil t)

(quail-define-rules)

;; Sanskrit part
;; JH special 
 ("#a" ?ā)
 ("#A" ?Ā)
 ("#i" ?ī)
 ("#I" ?Ī)
 ("#u" ?ū)
 ("#U" ?Ū)
 ("#s" ?ś)
 ("#S" ?Ś)
 ("#X" ?Ś)
 ("#h" ?ḥ)
 ("#j" ?ñ)
 ("#c" ?ñ)
 ("#g" ?ṅ)
 ("#k" ?ṅ)
 ("#m" ?ṃ)
 ("#r" ?ṛ)
 (".r" ?ṝ)
 ("#e" ?ē)
 ("#o" ?ō)
;;;;;;;;;;;;;;;;;;;

 ("'a" ?á)
 ("'A" ?Á)
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("~n" ?ñ)
 ("~N" ?Ñ)
 (".t" ?ṭ)
 (".T" ?Ṭ)
 (".d" ?ḍ)
 (".D" ?Ḍ)
 (".n" ?ṇ)
 (".N" ?Ṇ)
 ("'s" ?ś)
 ("'S" ?Ś)
 (".s" ?ṣ)
 (".S" ?Ṣ) 

;; Western European part (completes coverage of ISO 8859‐1 letters plus
;; œ Œ)

 ("^a" ?â)
 ("^A" ?Â)
 ("~a" ?ã)
 ("~A" ?Ã)
 ("\"a" ?ä)
 ("\"A" ?Ä)
 ("/e" ?æ)
 ("/E" ?Æ)
 ("/a" ?å)
 ("/A" ?Å)
 (",c" ?ç)
 (",C" ?Ç)
 ("/d" ?ð)
 ("/D" ?Ð)
 ("^e" ?ê)
 ("^E" ?Ê)
 ("\"e" ?ë)
 ("\"E" ?Ë)
 ("^i" ?î)
 ("^I" ?Î) 
 ("\"i" ?ï)
 ("\"I" ?Ï)
 ("^o" ?ô)
 ("^O" ?Ô) 
 ("~o" ?õ)
 ("~O" ?Õ)
 ("\"o" ?ö)
 ("\"O" ?Ö)
 ("/o" ?ø)
 ("/O" ?Ø)
 ("\\oe" ?œ)
 ("\\OE" ?Œ) 
 ("/s" ?ß)
 ("/t" ?þ)
 ("/T" ?Þ)
 ("^u" ?û)
 ("^U" ?Û) 
 ("\"u" ?ü)
 ("\"U" ?Ü)
 ("'Y" ?Ý)
 ("'y" ?ý)
 ("\"y" ?ÿ)
;; German keyboard

;    ("\304" ?Ä)
;    ("\326" "\"O")
;    ("\334" "\"U")
;    ("\344" "\"a")
;    ("\366" "\"o")
;    ("\337" "\"s")
;    ("\374" "\"u") 
;; Punctuation part

 ("\-" ?‐)
 ("\-\-" ?--)
 ("\-\-\-" ?---)
 ("$\-$" ?−)
 ("\\`" ?‘)
 ("\\'" ?’)
 ("\\," ?‚)
 ("\\``" ?“)
 ("\\''" ?”)
 ("\\,," ?„)
 ("<<" ["« "]) ; French
 (">>" [" »"]) ; French

 )





[-- Attachment #2: Type: text/html, Size: 8093 bytes --]

             reply	other threads:[~2010-03-07  9:37 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-07  9:37 Tobias [this message]
2010-03-08  6:25 ` Sanskrit Unicode Text Processing Eli Zaretskii
2010-03-08  6:36 ` tomas

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=1267954651.3391.15.camel@localhost.localdomain \
    --to=kuzum@mebias.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).