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: Mon, 09 Mar 2020 19:20:15 +0200 Message-ID: <83a74pbg34.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> <17F1587A-CE02-4BF7-9C53-68E66FD733ED@gmail.com> <1DFB258C-A804-406F-8ADB-EE8D2782087A@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="66089"; 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 Mon Mar 09 18:21:03 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 1jBM5P-000H59-8G for ged-emacs-devel@m.gmane-mx.org; Mon, 09 Mar 2020 18:21:03 +0100 Original-Received: from localhost ([::1]:47200 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBM5O-0001ue-Ad for ged-emacs-devel@m.gmane-mx.org; Mon, 09 Mar 2020 13:21:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58074) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jBM4o-0001Tp-6l for emacs-devel@gnu.org; Mon, 09 Mar 2020 13:20:27 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47037) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jBM4o-0008Ge-3A; Mon, 09 Mar 2020 13:20:26 -0400 Original-Received: from [176.228.60.248] (port=2212 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jBM4d-0002yZ-PT; Mon, 09 Mar 2020 13:20:16 -0400 In-Reply-To: <1DFB258C-A804-406F-8ADB-EE8D2782087A@gmail.com> (message from Yuan Fu on Mon, 9 Mar 2020 11:44:51 -0400) 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:245393 Archived-At: > From: Yuan Fu > Date: Mon, 9 Mar 2020 11:44:51 -0400 > Cc: eliz@gnu.org, > emacs-devel@gnu.org > > >>> Without truly filling the lines, do the commands C-a, C-n, etc work properly? > > > >> It depends on the commands: C-n/p works fine (given > >> line-move-visual is t), but C-a/e moves to the end of buffer line, > >> which is the beginning/end of the paragraph in a users eyes > > > > I was afraid it would be like that. > > > > I suppose that the rectangle commands don't work, and C-x = does > > something unhelpful. Is that so? What about C-x TAB? > > > > If all the commands that ought to make sense for such text > > understand how the display shows the line-wrapping, and DTRT, > > I suppose that will be as good as real wrapping. Would you like to > > work on that? > > For all the commands, the behavior of flywrap (I’m calling it flywrap now) should be identical to that of normally redisplay word wrapping: No, with word-wrap C-a/C-e work as you'd expect: they move to the beginning/end of the visual line, not the physical line.