From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Word wrap for non-whitespace-seperated language Date: Sat, 07 Mar 2020 09:40:53 +0100 Message-ID: <87h7z0o8ve.fsf@gnus.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> <83v9nga81m.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="108781"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: casouri@gmail.com, rms@gnu.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Mar 07 09:41:53 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 1jAV1s-000SCV-IF for ged-emacs-devel@m.gmane-mx.org; Sat, 07 Mar 2020 09:41:52 +0100 Original-Received: from localhost ([::1]:46492 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAV1r-0003gT-Kc for ged-emacs-devel@m.gmane-mx.org; Sat, 07 Mar 2020 03:41:51 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44116) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jAV12-00032S-Vw for emacs-devel@gnu.org; Sat, 07 Mar 2020 03:41:01 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jAV11-0006ar-UH for emacs-devel@gnu.org; Sat, 07 Mar 2020 03:41:00 -0500 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:51188) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jAV11-0006Qt-NS; Sat, 07 Mar 2020 03:40:59 -0500 Original-Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jAV0w-0004Uh-Bs; Sat, 07 Mar 2020 09:40:56 +0100 In-Reply-To: <83v9nga81m.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 07 Mar 2020 10:22:29 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a01:4f9:2b:f0f::2 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:245307 Archived-At: Eli Zaretskii writes: >> 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 think shr.el already does that, see shr-fill-lines. We just need to > lift that code from shr.el and use it in fill.el. > > Lars, am I missing something? No, I thing that should be fairly straightforward to do. I'm not quite sure it would be generally useful, though -- presumably people who use variable-width fonts when writing text also set `word-wrap' to t, because you can't really tell what font you're next going to use when editing/looking at the text. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no