From: "Stephen J. Turnbull" <turnbull@sk.tsukuba.ac.jp>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>
Cc: 1580@debbugs.gnu.org, emacs-devel@gnu.org, jidanni@jidanni.org
Subject: Re: zap-to-char too raw, or document
Date: Sun, 17 Jul 2011 09:23:21 +0900 [thread overview]
Message-ID: <87ipr1sqkm.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <m3fwm62iiw.fsf@quimbies.gnus.org>
Lars Magne Ingebrigtsen writes:
> Should there be an interactive spec that allows reading one character,
> but allows input methods? Or does that make no sense?
Yes, there should be such a spec. Personally, I would expect "c" to
be that spec. This does make sense both conceptually and
implementation-wise because input methods conceptually operate as a
"preedit" stage. And of course if your input method is implemented in
the OS rather than Emacs you already can input non-ASCII characters to
the "c" interactive spec.
However, many input methods can return non-trivial strings (in
Japanese it's quite common to compose whole sentences in the input
method before the input method returns any characters), and IIRC the
XIM spec explicitly says a string is returned. In cases of phonetic
input methods for Asian languages, it is often convenient to convert a
whole word then delete unneeded characters to get a specific
character. My recommendation would be for "c" to read either a
character or a string, characters being used directly, and otherwise
extracting the first character from the string read. An empty string
would be an error.
next prev parent reply other threads:[~2011-07-17 0:23 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-14 15:28 bug#1580: zap-to-char too raw, or document jidanni
2011-07-10 14:26 ` Lars Magne Ingebrigtsen
2011-07-16 18:21 ` Lars Magne Ingebrigtsen
2011-07-17 0:23 ` bug#1580: " Stephen J. Turnbull
2011-07-17 0:23 ` Stephen J. Turnbull [this message]
2011-07-17 8:01 ` David Kastrup
2011-07-17 9:34 ` Andreas Röhler
2011-07-17 11:18 ` Andreas Schwab
2011-07-17 17:36 ` Andreas Röhler
2011-07-18 13:39 ` Stephen J. Turnbull
2011-07-20 15:02 ` bug#1580: " Chong Yidong
2011-07-20 20:09 ` Lars Magne Ingebrigtsen
2011-07-21 16:19 ` Chong Yidong
2011-07-21 19:16 ` Glenn Morris
2011-07-31 15:33 ` Lars Magne Ingebrigtsen
2011-07-31 15:33 ` Lars Magne Ingebrigtsen
2012-04-10 2:24 ` Lars Magne Ingebrigtsen
2012-04-10 2:24 ` Lars Magne Ingebrigtsen
2011-07-21 19:16 ` Glenn Morris
2011-07-16 18:21 ` Lars Magne Ingebrigtsen
2011-07-10 19:37 ` jidanni
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=87ipr1sqkm.fsf@uwakimon.sk.tsukuba.ac.jp \
--to=turnbull@sk.tsukuba.ac.jp \
--cc=1580@debbugs.gnu.org \
--cc=emacs-devel@gnu.org \
--cc=jidanni@jidanni.org \
--cc=larsi@gnus.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.