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: Line wrap reconsidered Date: Tue, 26 May 2020 19:29:43 +0300 Message-ID: <83wo4yu0aw.fsf@gnu.org> References: <92FF4412-04FB-4521-B6CE-52B08526E4E5@gmail.com> <83r1v7vmwy.fsf@gnu.org> <87imgjpihp.fsf@localhost> <83k10yvjlx.fsf@gnu.org> <871rn67naq.fsf@localhost> <834ks2vho2.fsf@gnu.org> <87y2pe66nv.fsf@localhost> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="115238"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, emacs-devel@gnu.org To: Ihor Radchenko Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue May 26 18:31:22 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 1jdcU3-000Tp3-Lj for ged-emacs-devel@m.gmane-mx.org; Tue, 26 May 2020 18:31:19 +0200 Original-Received: from localhost ([::1]:56576 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdcU2-0004jz-JI for ged-emacs-devel@m.gmane-mx.org; Tue, 26 May 2020 12:31:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56240) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdcSm-0003mZ-8G for emacs-devel@gnu.org; Tue, 26 May 2020 12:30:00 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:47503) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jdcSl-0002eL-TI; Tue, 26 May 2020 12:29:59 -0400 Original-Received: from [176.228.60.248] (port=2822 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jdcSl-0000pR-7K; Tue, 26 May 2020 12:29:59 -0400 In-Reply-To: <87y2pe66nv.fsf@localhost> (message from Ihor Radchenko on Tue, 26 May 2020 23:46:12 +0800) 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:251460 Archived-At: > From: Ihor Radchenko > Cc: casouri@gmail.com, emacs-devel@gnu.org > Date: Tue, 26 May 2020 23:46:12 +0800 > > > I tried to explain why this is impossible: either those lines will be > > truncated or they will be wrapped (at some character). There's no > > other possibility. > > I understand that it is impossible on master. However, without knowing > much about the Emacs internals, I wanted to mention possible useful > feature to be considered in the proposed patch. Since we discuss > changing display code here, I thought that it would be great if the > change also introduced selective wrapping/truncation. Now, reading your > comment, I assume that selective wrapping/truncation is very hard to > implement. We are miscommunicating. The "impossible" part in what I wrote doesn't mean the current code cannot do that, it means I think it's impossible in principle. Emacs can truncate a long line, which means the characters beyond the window-edge will not be displayed. Or it can display those characters on the next screen line (a.k.a. "wrap" the line). These are the only two possibilities that I can envision _in_principle_. But you seem to be talking about some third possibility, and I simply don't understand what that third possibility could possibly be. What would you like Emacs to do with characters that are beyond the window's edge in this third possibility? I'm confused.