From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: word-wrap and wrapping before window-width Date: Mon, 29 Dec 2014 22:12:03 -0500 Message-ID: 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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1419909150 5677 80.91.229.3 (30 Dec 2014 03:12:30 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 30 Dec 2014 03:12:30 +0000 (UTC) Cc: Ivan Shmakov , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 30 04:12:22 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 1Y5nEL-0003ZT-Se for ged-emacs-devel@m.gmane.org; Tue, 30 Dec 2014 04:12:22 +0100 Original-Received: from localhost ([::1]:35467 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5nEK-0006H4-UT for ged-emacs-devel@m.gmane.org; Mon, 29 Dec 2014 22:12:20 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5nE8-0006Gp-TT for emacs-devel@gnu.org; Mon, 29 Dec 2014 22:12:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y5nE8-0003ZU-49 for emacs-devel@gnu.org; Mon, 29 Dec 2014 22:12:08 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:50402) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5nE4-0003Yf-Jl; Mon, 29 Dec 2014 22:12:04 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AmkPAOwQflRFpY0B/2dsb2JhbABbgweDYFCFCsUdBAICgSQXAQEBAQEBfIQDAQEDASMzIxALGgIYDgICFBgNJIhKCcAGllMBAQEHAgEfgSuPRAeCdYFTBYsBpC6BeIQZIYJ3AQEB X-IPAS-Result: AmkPAOwQflRFpY0B/2dsb2JhbABbgweDYFCFCsUdBAICgSQXAQEBAQEBfIQDAQEDASMzIxALGgIYDgICFBgNJIhKCcAGllMBAQEHAgEfgSuPRAeCdYFTBYsBpC6BeIQZIYJ3AQEB X-IronPort-AV: E=Sophos;i="5.07,502,1413259200"; d="scan'208";a="104004508" Original-Received: from 69-165-141-1.dsl.teksavvy.com (HELO ceviche.home) ([69.165.141.1]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 29 Dec 2014 22:12:04 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id E7110660FB; Mon, 29 Dec 2014 22:12:03 -0500 (EST) In-Reply-To: <831tnicji7.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 29 Dec 2014 22:02:08 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 206.248.154.181 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:180876 Archived-At: >> There=E2=80=99s an minor issue of how to display word-wrapped lines >> while the window is scrolled horizontally. Currently, >> horizontal scrolling simply inhibits word-wrap. > What other GUI application does something different in this case? 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. Stefan