From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Word wrap for non-whitespace-seperated language Date: Sat, 07 Mar 2020 10:19:22 +0200 Message-ID: <83wo7wa86t.fsf@gnu.org> References: <838skgvu2l.fsf@gnu.org> <3692AB81-B291-4D14-BEDE-924F020D94ED@gmail.com> <837e00vsk9.fsf@gnu.org> <9737C398-80FC-4377-91BA-C0891BD5A0F5@gmail.com> <835zfjwgyb.fsf@gnu.org> <6DE83788-5296-4C4F-A265-88B33A43DC93@gmail.com> <4E3669DB-4012-4E56-9517-F1BEB0D97A78@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="23026"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rms@gnu.org, emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 07 09:19:59 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 1jAUgh-0005u9-Pi for ged-emacs-devel@m.gmane-mx.org; Sat, 07 Mar 2020 09:19:59 +0100 Original-Received: from localhost ([::1]:46396 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAUgg-0000X1-QG for ged-emacs-devel@m.gmane-mx.org; Sat, 07 Mar 2020 03:19:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43284) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAUgD-00007n-Tg for emacs-devel@gnu.org; Sat, 07 Mar 2020 03:19:30 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:36184) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jAUgD-0005uz-Q4; Sat, 07 Mar 2020 03:19:29 -0500 Original-Received: from [176.228.60.248] (port=4712 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jAUg6-0006Bk-Q8; Sat, 07 Mar 2020 03:19:23 -0500 In-Reply-To: <4E3669DB-4012-4E56-9517-F1BEB0D97A78@gmail.com> (message from Yuan Fu on Sat, 7 Mar 2020 00:04:19 -0500) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:245305 Archived-At: > From: Yuan Fu > Date: Sat, 7 Mar 2020 00:04:19 -0500 > Cc: eliz@gnu.org, > emacs-devel@gnu.org > > > Would someone please make fill.el work for variable pitch fonts > > and other things that vary from fixed columns? It is not a small job > > but it is vital for Emacs to advance in the area of formatting. > > I’ve got something mostly working, it provides on-the-fly word wrapping that supports variable pitch fonts and CJK characters. With minor changes it can be also used for filling but I don’t see the point for hard filling variable-pitch font text: they display differently in different fonts. Thank you for your work, but I don't think this is what Richard was asking for. A properly filled text according to what Richard wants should have the right edge of the text almost completely justified to the same pixel.