all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: emacs-devel@gnu.org
Subject: Re: longlines-mode and visual-line-mode
Date: Mon, 01 Jun 2009 02:03:46 +0900	[thread overview]
Message-ID: <87hbz1kxvx.fsf@catnip.gol.com> (raw)
In-Reply-To: 7b501d5c0905310926l8d441cdqfdf14f8a1b3647f@mail.gmail.com

Deniz Dogan <deniz.a.m.dogan@gmail.com> writes:
>> 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.

Also of course, because longlines-mode _modifies_ the buffer to do it's
thing, it's more dangerous, far less efficient (think of a large
buffer...), and far more likely to interact in unforseen (and likely
bad) ways with various modes...

-Miles

-- 
White, adj. and n. Black.





  reply	other threads:[~2009-05-31 17:03 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 [this message]
2009-05-31 17:11   ` Leo
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

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

  git send-email \
    --in-reply-to=87hbz1kxvx.fsf@catnip.gol.com \
    --to=miles@gnu.org \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.