Gnus development mailing list
 help / color / mirror / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Subject: Re: shr.el: folding Japanese text
Date: Fri, 08 Oct 2010 12:23:18 -0500	[thread overview]
Message-ID: <8762xcvbsp.fsf@lifelogs.com> (raw)
In-Reply-To: <m3wrpsk425.fsf@quimbies.gnus.org>

On Fri, 08 Oct 2010 19:05:54 +0200 Lars Magne Ingebrigtsen <larsi@gnus.org> wrote: 

LMI> Just when typing this, it occurs to me that there may be help from the
LMI> unicode standard, perhaps?  I mean, it shr-insert inserts a text with
LMI> characters from the Japanese, Chinese, Korean and *mumble* planes, then
LMI> we can break it on "character" boundaries, instead where spaces appear.
LMI> So if Emacs has a way to say (character-from-non-space-language-p char),
LMI> then our problems would be solved.  :-)

http://unicode.org/cldr/utility/properties.jsp

Maybe you can use some of these properties?

http://unicode.org/cldr/utility/list-unicodeset.jsp?a=[:East_Asian_Width=Wide:]
http://unicode.org/cldr/utility/list-unicodeset.jsp?a=[:Line_Break=Ideographic:]
http://unicode.org/cldr/utility/list-unicodeset.jsp?a=[:Word_Break=Katakana:]

I don't know the right way, sorry...

Ted




  reply	other threads:[~2010-10-08 17:23 UTC|newest]

Thread overview: 44+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-08  8:10 Katsumi Yamaoka
2010-10-08 17:05 ` Lars Magne Ingebrigtsen
2010-10-08 17:23   ` Ted Zlatanov [this message]
2010-10-09 16:09     ` Lars Magne Ingebrigtsen
2010-10-09 21:35       ` Lars Magne Ingebrigtsen
2010-10-09 21:48         ` Lars Magne Ingebrigtsen
2010-10-10  4:57         ` CHENG Gao
2010-10-10 13:42         ` Andreas Schwab
2010-10-10 13:47           ` Lars Magne Ingebrigtsen
2010-10-10 16:22             ` Andreas Schwab
2010-10-11  4:03             ` James Cloos
2010-10-11  7:23         ` Kan-Ru Chen
2010-10-11 18:07           ` Lars Magne Ingebrigtsen
2010-10-12  8:19             ` Katsumi Yamaoka
2010-10-12 12:48               ` Lars Magne Ingebrigtsen
2010-10-12 14:13                 ` Katsumi Yamaoka
2010-10-13  8:13                   ` Katsumi Yamaoka
2010-10-13 16:53                     ` Lars Magne Ingebrigtsen
2010-10-13 19:01                       ` Lars Magne Ingebrigtsen
2010-10-14  8:16                         ` Katsumi Yamaoka
2010-10-14 10:12                           ` Katsumi Yamaoka
2010-10-14 14:13                           ` Katsumi Yamaoka
2010-10-14 18:34                           ` Lars Magne Ingebrigtsen
2010-10-14 19:10                             ` Lars Magne Ingebrigtsen
2010-10-15  0:40                               ` Katsumi Yamaoka
2010-10-15  7:35                                 ` Lars Magne Ingebrigtsen
2010-10-15 10:28                                   ` Lars Magne Ingebrigtsen
2010-10-15 10:48                                     ` Lars Magne Ingebrigtsen
2010-10-15  1:28                               ` Kan-Ru Chen
2010-10-15  6:29                               ` Reiner Steib
2010-10-15 18:05                                 ` Andreas Schwab
2010-10-15 20:16                                   ` Reiner Steib
2010-10-15  1:18                             ` Katsumi Yamaoka
2010-10-14 19:05                           ` Lars Magne Ingebrigtsen
2010-10-15  8:08                             ` Katsumi Yamaoka
2010-10-15 14:02                               ` Lars Magne Ingebrigtsen
2010-10-17  1:04                                 ` Lars Magne Ingebrigtsen
2010-10-18  5:19                                   ` Katsumi Yamaoka
2010-10-18 19:01                                     ` Lars Magne Ingebrigtsen
2010-10-18  5:19                                 ` Katsumi Yamaoka
2010-10-19  7:52                                   ` Katsumi Yamaoka
2010-10-19 18:12                                     ` Lars Magne Ingebrigtsen
2010-10-20  7:29                                       ` Katsumi Yamaoka
2010-10-20 17:22                                         ` Lars Magne Ingebrigtsen

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=8762xcvbsp.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=ding@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.
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 NNTP newsgroup(s).