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: Wed, 31 Dec 2014 17:55:33 +0000 Message-ID: <87lhln66wa.fsf@violet.siamics.net> References: <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> <87vbks7bk5.fsf@violet.siamics.net> <83r3vga3g1.fsf@gnu.org> <87r3vg73bl.fsf@violet.siamics.net> <838uhndc44.fsf@gnu.org> <87387v7p2i.fsf@violet.siamics.net> <83387vd9g0.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 1420048567 28656 80.91.229.3 (31 Dec 2014 17:56:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Dec 2014 17:56:07 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 31 18:56:03 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 1Y6NV2-0001Pr-Nk for ged-emacs-devel@m.gmane.org; Wed, 31 Dec 2014 18:56:00 +0100 Original-Received: from localhost ([::1]:40962 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6NV2-0008KT-71 for ged-emacs-devel@m.gmane.org; Wed, 31 Dec 2014 12:56:00 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6NUo-0008KM-5J for emacs-devel@gnu.org; Wed, 31 Dec 2014 12:55:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y6NUm-0001j2-UH for emacs-devel@gnu.org; Wed, 31 Dec 2014 12:55:46 -0500 Original-Received: from fely.am-1.org ([2a01:4f8:d15:1b86::2]:53356) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y6NUm-0001il-Kt for emacs-devel@gnu.org; Wed, 31 Dec 2014 12:55:44 -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=z4m8RH8CZxB4T2HIv/jk3zVDl53OSBEimnp58/uBO8I=; b=B5qqGILb0YRreZNE561BfbCKmsHyqTJVqLs9Xr5iFpvr1bKjL4O328QPTIZsZ+i3LstR8YMhpax4fXjt5QB4JJfR1a/wzV9YuyCinksUb+K5IaD123qkvOlwOXeXd8+hQEc1pPcql9QQdgg0JHJB8a6hKbcwYmrwfDa05vf2XF8=; 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 1Y6NUk-0004Mb-8P for emacs-devel@gnu.org; Wed, 31 Dec 2014 17:55:42 +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 1Y6NUc-00084o-8c for emacs-devel@gnu.org; Thu, 01 Jan 2015 00:55:34 +0700 Mail-Followup-To: emacs-devel@gnu.org In-Reply-To: <83387vd9g0.fsf@gnu.org> (Eli Zaretskii's message of "Wed, 31 Dec 2014 19:18:39 +0200") 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:180904 Archived-At: >>>>> Eli Zaretskii writes: >>>>> From: Ivan Shmakov Date: Wed, 31 Dec 2014 16:37:41 +0000 [=E2=80=A6] >>> What I see there is not what was described in this discussion. >>> There are blocks of text there that are exempt from word wrap, >>> that's all. >> That=E2=80=99s also all what I=E2=80=99ve initially requested: to be ab= le to mark >> portions of text as exempt from word wrap. (Or, better still, =E2=80= =93 to >> force truncation for such lines.) > No, you said: IS> There=E2=80=99s an minor issue of how to display word-wrapped lines wh= ile IS> the window is scrolled horizontally. Currently, horizontal IS> scrolling simply inhibits word-wrap. ^^^^^^^^^^ IS> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ I=E2=80=99ve also said in this same discussion (though not, strictly speaking, at an ancestor node to this message) [1]: IS> The other so far unresolved issue with this approach is that the IS> tables and
 elements may actually require truncate-lines.
 IS> Unfortunately, I know of no way to allow for word-wrapped and
 IS> truncated lines to exist in the same buffer; I guess we may need
 IS> either a truncate-lines or word-wrap property (or both) to override
 IS> the buffer-local variables in this case.

	Please consider /that/ a request.  TIA.  And sorry for the
	confusion.

[1] news:8761cubx18.fsf@violet.siamics.net
    http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D19462#10

 > And Firefox does that too: it inhibits word wrap when horizontal
 > scrolling is in effect.  It just doesn't unwrap what was already
 > wrapped, that's all the difference.

	Frankly, I=E2=80=99m not so sure of this interpretation.  Anyway, from
	the user=E2=80=99s perspective, =E2=80=93 is there a difference between
	=E2=80=9Cnot unwrapping=E2=80=9D and =E2=80=9Cwrapping at an arbitrary col=
umn=E2=80=9D?

	Note that there=E2=80=99s the =E2=80=98width=E2=80=99 CSS property, =E2=80=
=93 which can easily
	be set on per-paragraph basis, to the possible effect of making
	these paragraphs all wrap at different columns.

[=E2=80=A6]

 >> Such display is clearly possible with Firefox, while the Emacs
 >> display engine so far doesn=E2=80=99t support it.

 > Yes, but Emacs has a harder job to do: the above model is problematic
 > with bidirectional text when a single buffer has paragraphs of
 > different directionality (which Firefox doesn't seem to support).

	You mean, your install Firefox install doesn=E2=80=99t cope with, say,
	the simplistic example document shown at [2]?

[2] https://ru.wikibooks.org/wiki/HTML_=D0=B2_=D0=BF=D1=80=D0=BE=D1=84=D0=
=B8=D0=BB=D1=8F=D1=85/=D0=91=D0=B0=D0=B7=D0=BE=D0=B2=D1=8B=D0=B9_=D0=BF=D1=
=80=D0=BE=D1=84=D0=B8=D0=BB=D1=8C#multilingual.html

[=E2=80=A6]

--=20
FSF associate member #7257  np. The Light (Part II) =E2=80=94 Justin Bianco=
 230E 334A