In article <[EMAIL PROTECTED]>, Werner LEMBERG <[EMAIL PROTECTED]> 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
[EMAIL PROTECTED]


_______________________________________________
Emacs-devel mailing list
Emacs-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-devel

Reply via email to