unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Leo <sdl.web@gmail.com>
To: Deniz Dogan <deniz.a.m.dogan@gmail.com>
Cc: emacs-devel@gnu.org
Subject: Re: longlines-mode and visual-line-mode
Date: Sun, 31 May 2009 18:11:18 +0100	[thread overview]
Message-ID: <xbai4ov1qjt5.fsf@cam.ac.uk> (raw)
In-Reply-To: <7b501d5c0905310926l8d441cdqfdf14f8a1b3647f@mail.gmail.com> (Deniz Dogan's message of "Sun, 31 May 2009 18:26:38 +0200")

On 2009-05-31 17:26 +0100, Deniz Dogan wrote:
> 2009/5/31 Leo <sdl.web@gmail.com>:
>> Hi there,
>>
>> After briefly trying these two modes, I haven't found any significant
>
>> difference between them. It looks like longlines has all the features
>> for visual-line-mode. Is my impression correct? Thank you.
>>
>
> This is not the case, as I understand it.  For an example, fill a
> buffer with a very long line in longlines-mode and resize the window.
> Then turn it off and switch to visual-line-mode and resize the window.
>  Notice the difference!  visual-line-mode turns on word-wrap (a
> variable) which is what gives this differente behaviour.
>
> IIRC, longlines-mode is/was a hack which was introduced due to the
> lack of something like word-wrap in earlier versions of Emacs.

After (setq longlines-wrap-follows-window-size 10), I haven't noticed
any difference.

Could you elaborate the different you were referring to? Thanks.

Leo




  parent reply	other threads:[~2009-05-31 17:11 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-31 16:05 longlines-mode and visual-line-mode Leo
2009-05-31 16:26 ` Deniz Dogan
2009-05-31 17:03   ` Miles Bader
2009-05-31 17:11   ` Leo [this message]
2009-05-31 17:17     ` Deniz Dogan
2009-05-31 17:21     ` David Reitter
2009-05-31 17:55       ` Leo
2009-05-31 21:21         ` Chong Yidong
  -- strict thread matches above, loose matches on Subject: below --
2009-06-01  0:53 MON KEY
2009-06-01  2:27 ` Leo
2009-06-01 14:08   ` Stefan Monnier
2009-06-01  5:14 MON KEY
2009-06-01  9:55 ` tomas
2009-06-01 10:01   ` Lennart Borgman
2009-06-01 13:27 ` Leo
2009-06-03  3:09 MON KEY

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=xbai4ov1qjt5.fsf@cam.ac.uk \
    --to=sdl.web@gmail.com \
    --cc=deniz.a.m.dogan@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).