emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: longlines-mode and visual-line-mode


From: MON KEY
Subject: Re: longlines-mode and visual-line-mode
Date: Sun, 31 May 2009 20:53:40 -0400

Was surprised to learn today of a new mode to rival
visual-line-mode... Lone Lines Mode - presumably for Texans!

`emacs-23.0.94/info/emacs-3  @line 1611 column 28 there is a typo:
``Unlike Visual Line mode, Lone Lines mode breaks long lines at the fill''
should be ``Long Lines'' - I hope :P
see diff below
---
>> I also think longlines should be marked obsolete for 23.1.

> I'm planning to do this post 23.1.

How does visual-lines-mode mirror longlines-mode functionality w/re
softlines at fill-column?
`
>From what I can gather from the docs visual-line-mode and word-wrap are
wrapped at the fringe whereas longlines mode can _line wrap_  at an
arbitrary buffer or mode local fill column setting.

If indeed visual-line-mode and longlines-mode offer reasonably
identical behavior, how does one duplicate the longlines effect with
visual-lines-mode?
Neither the docstrings or the manual are clear about this vis a vis
filling when visual-lines-mode is non-nil.

FWIW, I have come to rely on longlines mode for certain types of
functionality and have also managed to kludge together more than one
function to accomodate it's idiosyncrasies.  While I have no objection
to abandoning longlines-mode this should not be at the loss of the
line-wrapping it has to offer.

(info "(emacs)Visual Line Mode")
"Here, each long logical line is divided into two or more screen
lines, like in ordinary line continuation.  However, Emacs attempts to
wrap the line at word boundaries near the right window edge."

Per `longlines-mode' docstring:
"In Long Lines mode, long lines are wrapped if they extend beyond
`fill-column'.  The soft newlines used for line wrapping will not
show up when the text is yanked or saved to disk.

(info (emacs)Continuation Lines")
"This is called "line wrapping" or "continuation", and the long
logical line is called a "continued line".


----------------------------------------------------------------
*** /home/sp/local-emacs/emacs-23.0.94/info/mm  
--- /home/sp/local-emacs/emacs-23.0.94/info/emacs-3     
***************
*** 1608,1614 ****
  "soft newlines" as you type (*note Hard and Soft Newlines::).  These
  soft newlines won't show up when you save the buffer into a file, or
  when you copy the text into the kill ring, clipboard, or a register.
! Unlike Visual Line mode, Long Lines mode breaks long lines at the fill
  column (*note Fill Commands::), rather than the right window edge.  To
  enable Long Lines mode, type `M-x longlines-mode'.  If the text is full
  of long lines, this also immediately "wraps" them all.
--- 1608,1614 ----
  "soft newlines" as you type (*note Hard and Soft Newlines::).  These
  soft newlines won't show up when you save the buffer into a file, or
  when you copy the text into the kill ring, clipboard, or a register.
! Unlike Visual Line mode, Lone Lines mode breaks long lines at the fill
  column (*note Fill Commands::), rather than the right window edge.  To
  enable Long Lines mode, type `M-x longlines-mode'.  If the text is full
  of long lines, this also immediately "wraps" them all.
--------------------------------------------------------------------




reply via email to

[Prev in Thread] Current Thread [Next in Thread]