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 (was: bug#19462: shr: use wrap-prefix when possible, instead of filling the text) Date: Mon, 29 Dec 2014 21:59:40 +0200 Message-ID: <83387ycjmb.fsf@gnu.org> References: <83y4pzptpx.fsf@gnu.org> <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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1419883211 12207 80.91.229.3 (29 Dec 2014 20:00:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Dec 2014 20:00: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 Mon Dec 29 21:00: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 1Y5gTz-0000Qv-AE for ged-emacs-devel@m.gmane.org; Mon, 29 Dec 2014 21:00:03 +0100 Original-Received: from localhost ([::1]:34654 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5gTy-00052T-Gk for ged-emacs-devel@m.gmane.org; Mon, 29 Dec 2014 15:00:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5gTv-00052I-DY for emacs-devel@gnu.org; Mon, 29 Dec 2014 15:00:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y5gTr-0002Jk-Cn for emacs-devel@gnu.org; Mon, 29 Dec 2014 14:59:59 -0500 Original-Received: from mtaout22.012.net.il ([80.179.55.172]:39293) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y5gTr-0002JY-4q for emacs-devel@gnu.org; Mon, 29 Dec 2014 14:59:55 -0500 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0NHD00J000RKQZ00@a-mtaout22.012.net.il> for emacs-devel@gnu.org; Mon, 29 Dec 2014 21:59:53 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NHD00JG50VT9S90@a-mtaout22.012.net.il>; Mon, 29 Dec 2014 21:59:53 +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.172 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:180861 Archived-At: > From: Stefan Monnier > Date: Mon, 29 Dec 2014 09:17:55 -0500 > Cc: emacs-devel@gnu.org > > 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). This is too vague. On what text will this property be put? E.g., it cannot be on the part that could be after the wrap point, so it will probably have to be on the first character of a line. Next, what is the extent of text for which this takes effect? IOW, where does this setting end? There are also issues with cursor placement and continuation glyphs/bitmaps. This all needs to be decided before it can be implemented. And of course, it doesn't fix Lars's use case, because he needed to fit several "columns" of text inside a window-width. Wrapping at some column is not enough for that.