[Top][All Lists]

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

Re: announcing thaiword.el?

From: Kenichi Handa
Subject: Re: announcing thaiword.el?
Date: Sat, 26 Mar 2005 10:06:17 +0900 (JST)
User-agent: SEMI/1.14.3 (Ushinoya) FLIM/1.14.2 (Yagi-Nishiguchi) APEL/10.2 Emacs/22.0.50 (sparc-sun-solaris2.6) MULE/5.0 (SAKAKI)

In article <address@hidden>, Werner LEMBERG <address@hidden> writes:

> As a compromise I suggest that M-f and M-b are mapped to
> thai-forward-word and thai-backward-word, respectively, as soon as we
> enter the Thai environment.  This should be a two-liner or so for the
> experienced Emacs Lisp hacker (which I'm not, unfortunately).

We can do that by setup-function and exit-function of a
language environment.

  setup-function     value is a function to call to switch to this
                        language environment.
  exit-function      value is a function to call to leave this
                        language environment.

But, I'm not an expert of key-binding.

Could someone tell me what is the right way to rebind all
keys that are currently bound to forward-word to
thai-forward-word, and bind them back to the orignal later?

Ken'ichi HANDA

reply via email to

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