all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eric Abrahamsen <eric@ericabrahamsen.net>
To: emacs-devel@gnu.org
Cc: Stefan Monnier <monnier@iro.umontreal.ca>
Subject: Re: chinese word mode
Date: Fri, 08 Nov 2013 11:36:28 +0800	[thread overview]
Message-ID: <87li0z5zur.fsf@ericabrahamsen.net> (raw)
In-Reply-To: 87zjpg2yt0.fsf@gnu.org

Kenichi Handa <handa@gnu.org> writes:

> In article <jwv4n7pbqlt.fsf-monnier+emacs@gnu.org>, Stefan Monnier <monnier@iro.umontreal.ca> writes:
>
>> > Assuming I fix this problem and other inevitable bugs, would this
>> > library be of general interest to Emacs? The dictionary comes from the
>
>> Handa?  Any comment on this suggestion?
>
> I agree that such a feature is useful for Chinese users.
> But I have one question.
>
>> The idea is that an entire dictionary of words are provided in a nested
>> char table, and then a minor mode both remaps most word-related commands
>> to use that dictionary, and fill-find-break-point-function is rewired to
>> do the same.
>
> I understand that such commands as M-f and M-d will get more
> convenient on Chiense text, but I don't understandd the
> latter part; i.e. the need for working on
> fill-find-break-point-function.  As far as I know, Chinese
> text (as well as Japanese text) can be broken at any point
> except for "kinsoku" processing.  So there's no need to
> change the current behavior as to line-breaking.  Am I
> missing something?

Huh, interesting -- I'd been thinking entirely in terms of making
Chinese editing easier on the eyes, rather than Chinese typographical
conventions. But you're right, breaking words is perfectly okay.

I can add a chinese-word-enable-kinsoku option, and then add the "<" and
">" categories to the characters that need them.

Eric




  reply	other threads:[~2013-11-08  3:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-05  9:11 chinese word mode Eric Abrahamsen
2013-11-06  6:59 ` Eric Abrahamsen
2013-11-06 13:36   ` Stefan Monnier
2013-11-07 12:15     ` Kenichi Handa
2013-11-08  3:36       ` Eric Abrahamsen [this message]
2013-11-08 23:03         ` Xue Fuqiao
2013-11-09  2:51           ` Eric Abrahamsen
2013-11-06 15:37   ` William Xu
2013-11-07  7:13     ` Eric Abrahamsen

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=87li0z5zur.fsf@ericabrahamsen.net \
    --to=eric@ericabrahamsen.net \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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.