all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* visual-line-mode as a replacement for longlines-mode
@ 2013-02-28  7:27 Torsten Bronger
  2013-02-28 11:02 ` Stephen Berman
  0 siblings, 1 reply; 3+ messages in thread
From: Torsten Bronger @ 2013-02-28  7:27 UTC (permalink / raw)
  To: emacs-devel

Hallöchen!

I used Emacs org-mode in combination with longlines-mode.  Now that
longlines-mode is gone, I use visual-line-mode.  However, I consider
this a mild regression for two usecases.

(1)
Limiting line width.  In longlines-mode, one could limit the line
width for legibility and/or aesthetics.  This doesn't seem to be
possible anymore.  In
<http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00824.html>,
Stefan Monnier says (I paraphrase) that he sees no need to add a
set-wrap-width variable for visual line mode.  I increase margin
width by using James Wright's solution on
<http://www.emacswiki.org/emacs/VisualLineMode>.  However, I regard
this as a kludge.  It is not easy to find, may collide with other
things, and is visually less appealing to me than longlines-mode.

(2)
longlines-mode rendered org-mode lists better than visual-line-mode:

- this is
  a list

versus

- this is
a list

The only solution is to use org-indent-mode.  But this is intended
for a different use case.  Actually, I think visual-line-mode should
work as well as longlines-mode.  So should I file a bug report?

Tschö,
Torsten.

-- 
Torsten Bronger    Jabber ID: torsten.bronger@jabber.rwth-aachen.de
                                  or http://bronger-jmp.appspot.com




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: visual-line-mode as a replacement for longlines-mode
  2013-02-28  7:27 visual-line-mode as a replacement for longlines-mode Torsten Bronger
@ 2013-02-28 11:02 ` Stephen Berman
  2013-02-28 17:25   ` Torsten Bronger
  0 siblings, 1 reply; 3+ messages in thread
From: Stephen Berman @ 2013-02-28 11:02 UTC (permalink / raw)
  To: emacs-devel

On Thu, 28 Feb 2013 08:27:48 +0100 Torsten Bronger <bronger@physik.rwth-aachen.de> wrote:

> Hallöchen!
>
> I used Emacs org-mode in combination with longlines-mode.  Now that
> longlines-mode is gone, I use visual-line-mode.  However, I consider
> this a mild regression for two usecases.
[...]
> (2)
> longlines-mode rendered org-mode lists better than visual-line-mode:
>
> - this is
>   a list
>
> versus
>
> - this is
> a list

To get the former in visual-line-mode you can use install
adaptive-wrap.el from GNU ELPA (M-x package-list-packages) and enable
the minor mode adaptive-wrap-prefix-mode.

Steve Berman



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: visual-line-mode as a replacement for longlines-mode
  2013-02-28 11:02 ` Stephen Berman
@ 2013-02-28 17:25   ` Torsten Bronger
  0 siblings, 0 replies; 3+ messages in thread
From: Torsten Bronger @ 2013-02-28 17:25 UTC (permalink / raw)
  To: emacs-devel

Hallöchen!

Stephen Berman writes:

> On Thu, 28 Feb 2013 08:27:48 +0100 Torsten Bronger <bronger@physik.rwth-aachen.de> wrote:
>
>> I used Emacs org-mode in combination with longlines-mode.  Now
>> that longlines-mode is gone, I use visual-line-mode.  However, I
>> consider this a mild regression for two usecases.  [...]
>>
>> (2)
>> longlines-mode rendered org-mode lists better than visual-line-mode:
>>
>> - this is
>>   a list
>>
>> versus
>>
>> - this is
>> a list
>
> To get the former in visual-line-mode you can use install
> adaptive-wrap.el from GNU ELPA (M-x package-list-packages) and
> enable the minor mode adaptive-wrap-prefix-mode.

Thank you, this works nicely for me!

Nevertheless, I suggest visual-line-mode should have the same
ability as its predecessor in this respect.  Besides, adaptive-wrap
is not easy to find.

Tschö,
Torsten.

-- 
Torsten Bronger    Jabber ID: torsten.bronger@jabber.rwth-aachen.de
                                  or http://bronger-jmp.appspot.com




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-02-28 17:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-02-28  7:27 visual-line-mode as a replacement for longlines-mode Torsten Bronger
2013-02-28 11:02 ` Stephen Berman
2013-02-28 17:25   ` Torsten Bronger

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.