help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sanskrit Unicode Text Processing


From: tomas
Subject: Re: Sanskrit Unicode Text Processing
Date: Mon, 8 Mar 2010 07:36:39 +0100
User-agent: Mutt/1.5.15+20070412 (2007-04-11)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, Mar 07, 2010 at 10:37:31AM +0100, Tobias wrote:
> 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

Hmm. Looking at the definition of "quail-define-rules" it seems that...

> 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)
                    ^^^ this closing parenthesis is bogus 

> 
> ;; Sanskrit part
> ;; JH special 
>  ("#a" ?ā)
>  ("#A" ?Ā)
>  ("#i" ?ī)
>  ("#I" ?Ī)
[...]
>  ("<<" ["« "]) ; French
>  (">>" [" »"]) ; French
> 
>  )

Try removing it --  this might work. On the other hand, I might just not
know what I'm talking about ;-)

Regards
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFLlJr2Bcgs9XrR2kYRAmRvAJ9ztloTJqmXfb2gkzc56D4TKVZ1VwCfRgCx
TeHcK2rHgw5+FPuCbFN++0s=
=RvTj
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]