From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/73074 Path: news.gmane.org!not-for-mail From: Lars Magne Ingebrigtsen Newsgroups: gmane.emacs.gnus.general Subject: Re: shr.el: folding Japanese text Date: Wed, 13 Oct 2010 21:01:37 +0200 Organization: Programmerer Ingebrigtsen Message-ID: References: <8762xcvbsp.fsf@lifelogs.com> <87eibxkxa3.fsf@anar.kanru.info> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1286996539 19660 80.91.229.12 (13 Oct 2010 19:02:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 13 Oct 2010 19:02:19 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M21446@lists.math.uh.edu Wed Oct 13 21:02:18 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1P66ae-0007a1-Sz for ding-account@gmane.org; Wed, 13 Oct 2010 21:02:17 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1P66aH-0002RJ-Km; Wed, 13 Oct 2010 14:01:53 -0500 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1P66aF-0002Qw-Vw for ding@lists.math.uh.edu; Wed, 13 Oct 2010 14:01:51 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.72) (envelope-from ) id 1P66aB-0007WJ-CS for ding@lists.math.uh.edu; Wed, 13 Oct 2010 14:01:51 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1P66aA-0003Kf-00 for ; Wed, 13 Oct 2010 21:01:46 +0200 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1P66a8-0007IQ-ER for ding@gnus.org; Wed, 13 Oct 2010 21:01:44 +0200 Original-Received: from cm-84.215.34.171.getinternet.no ([84.215.34.171]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Oct 2010 21:01:44 +0200 Original-Received: from larsi by cm-84.215.34.171.getinternet.no with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 13 Oct 2010 21:01:44 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: ding@gnus.org Original-Lines: 18 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: cm-84.215.34.171.getinternet.no Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAGFBMVEUrAgFFBwbBiGX34bRg EAyuVi16Lx0XAADAGEqpAAACM0lEQVQ4jW2UTXPbIBCGl5lMdYUMdc9Fo/wAmNyjFHOvEnS2U9he nVz09/susmLH052xhfdhP3hZi2I0mpaTimI1T0OJiblEipVHQ0RqBTkXPBvYO9gDiF1BXI3is4Ah aiL7H+DyHLWyN8CH4OE5GrP/AkJYwauJe855NM02IC2S2XPh5kZFgL4PLqaI+nbUCq3TGcCcSZlH stjcSd/jmsp7Z4RwxcdOA9SQCC/tYrWDIFhVbDwio3n2gwCQuzwhaX7B1xDJ3AeJGFHP7KfWeC9t krGiWpTuY3xrYJJ2yCjp267H3ffeZTcIIU2qbRYrtUI1dDD1AkgCwLCAVg7iuCH3ZASIsmlUo4Ey AHnI0xmQqrWoOGrT7gRGy7KcSJ/ucKcaxNh0Bh2APRBXLscjH38jlxtmAIS8JyZOh8Lf7A9OPK1A UnWkrVz6Ij8UpmOrcYKW5QmKQxbTfcfx1hpyNUjFjCLMf5e3HsJIvAAlQ9ctq9kpPAKcNrD54dg5 avuJhC7LhayeK9+GzBrR3YJFbakavA48e5VuD30JpTYjctYZs2uL3qIoXOwB/yeM7lrxGoRh8m7m uSX8AvzkB+beP3U3QMat1Bz8oVuo/wIe8+tORvFnR3Jj7kKZja3SCIAM+WZzTEfMAyaugU9/5ijT V+c/N2AuIy7RwhUoXQMEdO8OL4b0QvLm+KxRTLd8hIfE6Y0iyAbmESf7FTxjiAiD/gmKhhZofeAd gI2pXgV8iDSvaf4HqqsVIbgJSecAAAAASUVORK5CYII= Mail-Copies-To: never X-Now-Playing: Hector Zazou & Swara's _In the House of Mirrors_: "Twice As Good As We Are" User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:Cv4UIUyIv71oubeNzlLNs70kQ/g= X-Spam-Score: -1.9 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:73074 Archived-At: Lars Magne Ingebrigtsen writes: > Yes, I think that should work, but I think using > `fill-find-break-point-function-table' instead of "[^\000-\377]" and > stuff will probably give you better results when mixing, say, Japanese > and Russian. I've now tweaked the filling algorithm slightly, and it seems to do the right thing in the Han Han group (with Chinese text), but I haven't tested it in any groups with mixed European/Japanese text. What's a good test group? Also, what font(s) should I install on Debian to get a display that has the traditional kanji-are-twice-as-wide-as-non-kanji buffer? -- (domestic pets only, the antidote for overdose, milk.) larsi@gnus.org * Lars Magne Ingebrigtsen