From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Price Subject: Re: Re: org-indent-mode and visual-line-mode Date: Thu, 19 Nov 2009 21:12:06 -0500 Message-ID: <1258683126.10710.29.camel@gont> References: <1258574856.3971.4751.camel@gont> <1258644001.29221.1095.camel@gont> <87zl6ign67.fsf@benfinney.id.au> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0011469162==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBIyv-0002QP-Ig for emacs-orgmode@gnu.org; Thu, 19 Nov 2009 21:12:17 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBIyq-0002Lh-BV for emacs-orgmode@gnu.org; Thu, 19 Nov 2009 21:12:16 -0500 Received: from [199.232.76.173] (port=36810 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBIyq-0002LW-6r for emacs-orgmode@gnu.org; Thu, 19 Nov 2009 21:12:12 -0500 Received: from bureau62.ns.utoronto.ca ([128.100.132.159]:44949) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NBIyp-0001U9-TN for emacs-orgmode@gnu.org; Thu, 19 Nov 2009 21:12:12 -0500 Received: from anarres.mercey.org (69-165-170-213.dsl.teksavvy.com [69.165.170.213]) (authenticated bits=0) by bureau62.ns.utoronto.ca (8.13.8/8.13.8) with ESMTP id nAK2C8k9004085 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 19 Nov 2009 21:12:09 -0500 In-Reply-To: <87zl6ign67.fsf@benfinney.id.au> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============0011469162== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-7d8RArqaZV7bpljrjDrd" --=-7d8RArqaZV7bpljrjDrd Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Fri, 2009-11-20 at 09:33 +1100, Ben Finney wrote: > Matt Price writes: >=20 > > Visual-line-mode is a replacement for longlines-mode; it soft-wraps > > text at the screen boundary, and does a much better job than > > longlines-mode did. >=20 > I think you're confused by a (helpful) conflation. >=20 > The =E2=80=98visual-lines-mode=E2=80=99 is indeed a replacement for =E2= =80=98longlines-mode=E2=80=99, > but its job is to cause editing commands to act on visual, rather than > logical lines. >=20 > The wrapping behaviour you're describing is performed by =E2=80=98word-wr= ap=E2=80=99, a > buffer-local variable that cuases lines to be visually broken at word > boundaries. >=20 > The =E2=80=98word-wrap=E2=80=99 variable is set by =E2=80=98visual-lines-= mode=E2=80=99, which is why > you're seeing it happen. But =E2=80=98word-wrap=E2=80=99 is independent o= f this. >=20 that's very helpful. but see below... > > Is that what you needed? I'm not sure where the code for > > visual-line-mode lives -- there isn't a visual-line.el anywhere that i > > can find on my system. >=20 > Fortunately, =E2=80=98visual-line-mode=E2=80=99 appears to be a distracti= on from what > you're describing; Carsten only needs to learn about =E2=80=98word-wrap= =E2=80=99. >=20 would you expect then that i should see the same difficulty if I evaluate '(word-wrap 1) in a buffer using org-indent-mode? Because when I do that, the wrapping seems to occur as expected and, importantly, the indentation level is preserved too. So to my extremely unpracticed eye it seems that visual-lines-mode does something to the wrapping behaviour that makes problems for org-mode. =20 Does anyone else use visual-=3Dline-mode with org? I'm sort of surprised no one would -- it seems a completely obvious choice to me and it may be that I'm just missing something about optimum work flows or similar. =20 Anyway, thanks again, Matt --=-7d8RArqaZV7bpljrjDrd Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAksF+vYACgkQ/8YOD+8+rlmseACeN2W57OWFSvQPuqXKBTEbuqsZ FiYAn2dI1NyHg3Ib3Q2NRslpoSFELM97 =Y7/b -----END PGP SIGNATURE----- --=-7d8RArqaZV7bpljrjDrd-- --===============0011469162== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0011469162==--