Gmail Calendar Documents Web Reader more »
Recently Visited Groups | Help | Sign in
Google Groups Home
Sanskrit Unicode Text Processing
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Tobias  
View profile  
 More options Mar 7, 9:37 am
Newsgroups: gnu.emacs.help
From: Tobias <ku...@mebias.org>
Date: Sun, 07 Mar 2010 10:37:31 +0100
Local: Sun, Mar 7 2010 9:37 am
Subject: Sanskrit Unicode Text Processing

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 <ba...@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" ?Ī)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("\366" "\"o")
;    ("\337" "\"s")
;    ("\374" "\"u")
;; Punctuation part

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

 )


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Eli Zaretskii  
View profile  
 More options Mar 8, 6:25 am
Newsgroups: gnu.emacs.help
From: Eli Zaretskii <e...@gnu.org>
Date: Mon, 08 Mar 2010 01:25:31 -0500
Local: Mon, Mar 8 2010 6:25 am
Subject: Re: Sanskrit Unicode Text Processing

> From: Tobias <ku...@mebias.org>
> Date: Sun, 07 Mar 2010 10:37:31 +0100

> 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

Remove the right parenthesis in the line below, save the file
sanskrit.el, then try again:


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
to...@tuxteam.de  
View profile  
 More options Mar 8, 6:36 am
Newsgroups: gnu.emacs.help
From: to...@tuxteam.de
Date: Mon, 8 Mar 2010 07:36:39 +0100
Local: Mon, Mar 8 2010 6:36 am
Subject: Re: Sanskrit Unicode Text Processing
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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

                    ^^^ 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-----


    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2010 Google