unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Werner LEMBERG <wl@gnu.org>
Cc: rms@gnu.org, emacs-devel@gnu.org
Subject: Re: announcing thaiword.el?
Date: Fri, 25 Mar 2005 23:26:13 +0100 (CET)	[thread overview]
Message-ID: <20050325.232613.73792307.wl@gnu.org> (raw)
In-Reply-To: <m1u0mzvldv.fsf-monnier+emacs@gnu.org>

> The explanation is that you're not talking about the same thing.
> Changing the forward-word function is out of the question (it's a
> function used at may places, so changing its behavior has to be done
> extremely carefully).  That's what Richard is talking about.

OK.

> Whereas you're maybe just talking about M-f and M-b, which can be
> changed with something like a thai-word-mode minor mode, to which
> nobody would object.

Hmm, I really think that in a Thai environment the word movement
functions should automatically handle Thai, without special
activation.  In general, a hook into forward-word and friends to
handle scripts which don't use a space for word boundaries is a must
IMHO as soon as we have native Unicode support.

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).

Any Thai users on the list which actually want to test those
functions?


    Werner

  reply	other threads:[~2005-03-25 22:26 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 [this message]
2005-03-26  1:06         ` Kenichi Handa
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=20050325.232613.73792307.wl@gnu.org \
    --to=wl@gnu.org \
    --cc=emacs-devel@gnu.org \
    --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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).