GNU bug report logs - #4318
23.1; trouble indenting looooong lines with visual-line-mode

Previous Next

Package: emacs;

Reported by: Allan Gottlieb <gottlieb <at> nyu.edu>

Date: Wed, 2 Sep 2009 14:20:04 UTC

Severity: normal

Tags: confirmed

Full log


Message #8 received at 4318 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Allan Gottlieb <gottlieb <at> nyu.edu>
Cc: 4318 <at> debbugs.gnu.org
Subject: Re: 23.1; trouble indenting looooong lines with visual-line-mode
Date: Sat, 17 Sep 2011 09:23:14 +0200
Allan Gottlieb <gottlieb <at> 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/




This bug report was last modified 9 years and 247 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.