From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Ivan Shmakov Newsgroups: gmane.emacs.devel Subject: Re: word-wrap and wrapping before window-width Date: Mon, 29 Dec 2014 15:01:47 +0000 Message-ID: <877fxaa49w.fsf@violet.siamics.net> References: <871tnr1gqo.fsf@ferrier.me.uk> <83bnmvowdb.fsf@gnu.org> <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> 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 1419865338 14841 80.91.229.3 (29 Dec 2014 15:02:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Dec 2014 15:02:18 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Dec 29 16:02:15 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 1Y5bpm-0004FY-7U for ged-emacs-devel@m.gmane.org; Mon, 29 Dec 2014 16:02:14 +0100 Original-Received: from localhost ([::1]:33663 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5bpl-0008PL-MT for ged-emacs-devel@m.gmane.org; Mon, 29 Dec 2014 10:02:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38322) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5bpZ-0008Oy-0w for emacs-devel@gnu.org; Mon, 29 Dec 2014 10:02:02 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y5bpX-0006u0-QV for emacs-devel@gnu.org; Mon, 29 Dec 2014 10:02:00 -0500 Original-Received: from fely.am-1.org ([2a01:4f8:d15:1b86::2]:52998) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5bpX-0006tt-Hb for emacs-devel@gnu.org; Mon, 29 Dec 2014 10:01:59 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=siamics.net; s=a2013295; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:In-Reply-To:Date:Sender:References:Subject:To:From; bh=+PfP2m6C28O9js/P6mIc/LvIcIm7NYrkpbxQhXyVSyY=; b=ingaWORNB/Jm/A1P0CqI9Xhu8KtGn5LEBocdqmKd/62hFiMbLR3zFcmr45GkpuqZzQ36ZdXv5OCGqISCAJyTaNxI3wsCV4teyAiOgnNoihAcA/OH76KWLTxGS9+2DQ6Y81yGttGDUG+mpAxHM0GLJVwgfPHlaW3sNsd4vuiV1bU=; Original-Received: from [2a02:2560:6d4:26ca::1:1d] (helo=violet.siamics.net) by fely.am-1.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Y5bpT-0002lf-0r for emacs-devel@gnu.org; Mon, 29 Dec 2014 15:01:55 +0000 Original-Received: from localhost ([::1] helo=violet.siamics.net) by violet.siamics.net with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1Y5bpL-00028S-PD for emacs-devel@gnu.org; Mon, 29 Dec 2014 22:01:47 +0700 Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: (Stefan Monnier's message of "Mon, 29 Dec 2014 09:17:55 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a01:4f8:d15:1b86::2 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:180836 Archived-At: >>>>> Stefan Monnier writes: >> The only feature that I=E2=80=99m aware to be missing is the actual sup= port >> for Emacs native text wrapping (as in: the word-wrap variable and >> wrap-prefix text property) in SHR. > Reminds me that while I opposed adding a =E2=80=98wrap-column=E2=80=99 o= ption for > those people who want to do word-wrap without using the whole window > width, I would actually welcome a new text-property which lets the > wrap-column be set locally to a different value (ideally, this should > also allow specifying that some part of the text should be > word-wrapped while others should be truncated). 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. Otherwise, I have very little knowledge of the Emacs display engine implementation to actually code support for such a property myself. However, should it be implemented, I=E2=80=99d happily update my patch for #19462 to use that so that non-flowable content gets marked as such. --=20 FSF associate member #7257 http://boycottsystemd.org/ =E2=80=A6 3013 B6A0= 230E 334A