all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
Cc: emacs-devel@gnu.org, monnier@iro.umontreal.ca, rms@gnu.org
Subject: Re: announcing thaiword.el?
Date: Sat, 26 Mar 2005 10:06:17 +0900 (JST)	[thread overview]
Message-ID: <200503260106.KAA20718@etlken.m17n.org> (raw)
In-Reply-To: <20050325.232613.73792307.wl@gnu.org> (message from Werner LEMBERG on Fri, 25 Mar 2005 23:26:13 +0100 (CET))

In article <20050325.232613.73792307.wl@gnu.org>, Werner LEMBERG <wl@gnu.org> 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
handa@m17n.org

  reply	other threads:[~2005-03-26  1:06 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-24  7:29 announcing thaiword.el? Werner LEMBERG
2005-03-24 19:41 ` Eli Zaretskii
2005-03-24 21:11   ` Werner LEMBERG
2005-03-30  7:16     ` Werner LEMBERG
2005-03-30 11:34       ` Kenichi Handa
2005-03-25  6:42 ` Richard Stallman
2005-03-25  7:18   ` Werner LEMBERG
2005-03-25 14:44     ` Stefan Monnier
2005-03-25 22:26       ` Werner LEMBERG
2005-03-26  1:06         ` Kenichi Handa [this message]
2005-03-26 15:21           ` Stefan Monnier
2005-03-29  8:10             ` Kenichi Handa
2005-03-27  3:53           ` Richard Stallman
2005-03-28  0:47             ` Kenichi Handa
2005-03-28 22:53               ` Richard Stallman
2005-03-29  7:25                 ` Kim F. Storm
2005-03-29 11:35                   ` Kenichi Handa
2005-03-29  5:44               ` Juri Linkov
2005-03-29  8:35               ` Miles Bader
2005-03-29  9:02                 ` Kenichi Handa
2005-03-29 10:14                   ` Miles Bader
2005-03-29 11:29                     ` Kenichi Handa

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200503260106.KAA20718@etlken.m17n.org \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    --cc=rms@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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.