From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: Word wrap for non-whitespace-seperated language Date: Wed, 4 Mar 2020 15:34:45 -0500 Message-ID: <9737C398-80FC-4377-91BA-C0891BD5A0F5@gmail.com> References: <838skgvu2l.fsf@gnu.org> <3692AB81-B291-4D14-BEDE-924F020D94ED@gmail.com> <837e00vsk9.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.60.0.2.5\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="105584"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Mar 04 21:35:26 2020 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1j9ajj-000RJK-MR for ged-emacs-devel@m.gmane-mx.org; Wed, 04 Mar 2020 21:35:23 +0100 Original-Received: from localhost ([::1]:39480 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9aji-0007uy-Od for ged-emacs-devel@m.gmane-mx.org; Wed, 04 Mar 2020 15:35:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56869) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9ajE-0007K7-Ff for emacs-devel@gnu.org; Wed, 04 Mar 2020 15:34:53 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9ajD-0006kV-G9 for emacs-devel@gnu.org; Wed, 04 Mar 2020 15:34:52 -0500 Original-Received: from mail-qk1-x72e.google.com ([2607:f8b0:4864:20::72e]:35664) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j9ajC-0006k1-5L; Wed, 04 Mar 2020 15:34:50 -0500 Original-Received: by mail-qk1-x72e.google.com with SMTP id 145so3058265qkl.2; Wed, 04 Mar 2020 12:34:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=I1anjWx2i/z7ewwoiyerV4CzGi7UdeomsmcsakHaARw=; b=caX73olenGEJWv+4z7/yO8tnezfiA5/F46k3sKmKhRG9FSOETpVSoRdTItMd3HupWt ntDQEYwFldDRsV0fmJesBIy2sZ6drP973PMKiKnYuA+ByDp+cUec5MTzHRYrUQ2GBrsp diMaZtU1XPcO72pc9XUO1AbpBZTV7QP3rVt35cV0Zi6AfEBaHzHnSkxaME7uxqLs6wrm 7WzisHpCMDvYoEsGrhbOtnMSH7XcrH7UOgjsB8R9i7McHgHzXquEnAgevPUaPvh0tsXZ yKTtw16unJGM2Qj6TKnkDNjnJ1jQSBOE+h57sZ6KtCXdTplF2xZy1z62/kDkr7gEOVKb NcEA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=I1anjWx2i/z7ewwoiyerV4CzGi7UdeomsmcsakHaARw=; b=NCsfv6BFwkKpNyTeDQqlP1MdTRRn8TgrvYyD69TuJVgx3VWYK8pEUj+1mCVz01pn4M xVsnahrk6EEIkuTh9jrslELFjT1aV5RKBFd26uUaGyrvk//fxXw6k1/thlmRAIzaStY0 6Yv2wtKZaFygholC4eI8+54QVwuHkIaUr/TqFRH/0PO48TIqbxw2HoJ23y7QqXnxCjqn yWmffn4Dl5Wxc3CUewL3YK+pPJXf2E8KDtmYpxZr1d+D8bsj0iWXfsMRMvo2zD8myTIv yIG/WsZjEq9MaW2erewm8da/JrKn3qoCnAR7BNn3n7MvY7LU0rIr7AYNc94R1hqwBj8/ K+7w== X-Gm-Message-State: ANhLgQ2wT5kNGziaqC5wqrYeN+l/SP5dvaGCv2zV/OcmpItnL75hA0Sn xWZi17C8XGP0RRSqMgheWUOUqfPDteVAOQ== X-Google-Smtp-Source: ADFU+vvl6H9gv60LlKa1PDkvW9aAUN5hPhQqKHs8V/CfdMST7uUO7hDMxswGNI7j+TYy+sLMlRhiog== X-Received: by 2002:a37:a38b:: with SMTP id m133mr4654411qke.418.1583354089078; Wed, 04 Mar 2020 12:34:49 -0800 (PST) Original-Received: from [104.39.190.53] ([104.39.190.53]) by smtp.gmail.com with ESMTPSA id q1sm7083296qtp.81.2020.03.04.12.34.48 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 04 Mar 2020 12:34:48 -0800 (PST) In-Reply-To: <837e00vsk9.fsf@gnu.org> X-Mailer: Apple Mail (2.3608.60.0.2.5) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::72e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:245240 Archived-At: > On Mar 4, 2020, at 2:16 PM, Eli Zaretskii wrote: >=20 >> From: Yuan Fu >> Date: Wed, 4 Mar 2020 13:51:41 -0500 >> Cc: emacs-devel@gnu.org >>=20 >> Thanks, where is it located? Is it deeply integrated? >=20 > You are asking about word wrap? It's part of the basic layout code in > the display engine, search xdisp.c for WORD_WRAP. Thanks, that=E2=80=99s what I meant. Seems to me that simply changing = IT_DISPLAYING_WHITESPACE won=E2=80=99t give what I want, since I want = the engine to wrap _anywhere_ between Chinese/Japanes/etc characters. = Use fill.el and wrap with overlay might be a more tractable approach. Yuan=