[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#4318: 23.1; trouble indenting looooong lines with visual-line-mode
From: |
Lars Magne Ingebrigtsen |
Subject: |
bug#4318: 23.1; trouble indenting looooong lines with visual-line-mode |
Date: |
Sat, 17 Sep 2011 09:23:14 +0200 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
Allan Gottlieb <gottlieb@nyu.edu> writes:
> yyyy
> xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>
> So far so good. Now indent the long line with say one space.
> If visual-line-mode is OFF, I see what I expect, the long line is
> preceded by one space.
>
> But with visual-line-mode ON, a blank line appears on the screen between
> the short and long lines, i.e. the long line (with only one word) was
> wrapped.
> This behavior seems wrong.
I can confirm this behaviour in Emacs 24.
The problem seems to be that `visual-line-mode' breaks long lines after
any white space -- even if the white space begins the line. That
doesn't seem optimal, I think.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
- bug#4318: 23.1; trouble indenting looooong lines with visual-line-mode,
Lars Magne Ingebrigtsen <=