From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: word-wrap and wrapping before window-width Date: Tue, 30 Dec 2014 20:50:41 +0200 Message-ID: <83y4pp9dku.fsf@gnu.org> References: <83ppbanqhe.fsf@gnu.org> <87vbl2xigp.fsf@ferrier.me.uk> <83ioh2nlow.fsf@gnu.org> <87sig6xech.fsf@ferrier.me.uk> <83fvc5ni0u.fsf@gnu.org> <87k31fwwyv.fsf@ferrier.me.uk> <87bnmq9ibf.fsf@ferrier.me.uk> <87lhlrx5fc.fsf@building.gnus.org> <878uhrcr5l.fsf@building.gnus.org> <83sifzjflk.fsf@gnu.org> <87egric2ki.fsf_-_@violet.siamics.net> <877fxaa49w.fsf@violet.siamics.net> <831tnicji7.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1419965471 11573 80.91.229.3 (30 Dec 2014 18:51:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Dec 2014 18:51:11 +0000 (UTC) Cc: ivan@siamics.net, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 30 19:51:04 2014 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y61sk-0002dq-HW for ged-emacs-devel@m.gmane.org; Tue, 30 Dec 2014 19:51:02 +0100 Original-Received: from localhost ([::1]:37957 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y61sj-0000QQ-TQ for ged-emacs-devel@m.gmane.org; Tue, 30 Dec 2014 13:51:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47332) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y61sg-0000QJ-2s for emacs-devel@gnu.org; Tue, 30 Dec 2014 13:50:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y61sc-0005lD-32 for emacs-devel@gnu.org; Tue, 30 Dec 2014 13:50:58 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:56187) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y61sb-0005kw-RI for emacs-devel@gnu.org; Tue, 30 Dec 2014 13:50:54 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0NHE00M00S2LHY00@a-mtaout20.012.net.il> for emacs-devel@gnu.org; Tue, 30 Dec 2014 20:50:51 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NHE00MK0SCRIN00@a-mtaout20.012.net.il>; Tue, 30 Dec 2014 20:50:51 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:180894 Archived-At: > From: Stefan Monnier > Cc: Ivan Shmakov , emacs-devel@gnu.org > Date: Mon, 29 Dec 2014 22:12:03 -0500 > > If the word-wrapped lines are wrapped at a text-specified column rather > than "at the end of the window", then it would make a lot of sense, to > just keep the lines "wrapped as before" and just visually shift them > according to the horizontal scrolling. > > It might also make sense to consider that a "wrap-column" which is set past > the window-width would cause those lines to be displayed as "truncated > and wrapped". E.g. display it as: > > +---------+ > here is t|he example| > wrapped t|ext | > ^ | > window border | > | > ^ > wrap-column > > IOW, the wrapping would be window (and hscrolling) independent. > > And a "truncated line" could then "simply" be a line with an "infinite" > wrap-column. I simply fail to see any practical use cases for this kind of display. What are we trying to support with this? It's hard to reason about this without having some use cases in mind.