GNU bug report logs - #11759
24.1.50; word-wrap should wrap on non-words if the current word is too long

Previous Next

Package: emacs;

Reported by: Ivan Andrus <darthandrus <at> gmail.com>

Date: Thu, 21 Jun 2012 16:32:01 UTC

Severity: minor

Merged with 31666

Found in version 24.1.50

Full log


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

From: Lennart Borgman <lennart.borgman <at> gmail.com>
To: Chong Yidong <cyd <at> gnu.org>
Cc: Ivan Andrus <darthandrus <at> gmail.com>, 11759 <at> debbugs.gnu.org,
	Stefan Monnier <monnier <at> iro.umontreal.ca>
Subject: Re: bug#11759: 24.1.50; word-wrap should wrap on non-words if the
	current word is too long
Date: Sat, 23 Jun 2012 13:27:20 +0200
On Sat, Jun 23, 2012 at 1:14 PM, Chong Yidong <cyd <at> gnu.org> wrote:
> Stefan Monnier <monnier <at> IRO.UMontreal.CA> writes:
>
>>> if the entire line is one "word" but indented, which is not uncommon
>>> in some files that I regularly edit, then the entire line is wrapped
>>> to the next line leaving a completely blank visual line.
>>
>> I also use word-wrap everywhere, including programming modes and see the
>> same problem.
>>
>> - if the word is the first non-blank char on the line, wrapping to the
>>   next line results in a visually empty line, losing the
>>   indentation info.
>> - if the word is wider than the window (plus the wrap-prefix), then even
>>   after word-wrapping it to the next line, it gets char-wrapped anyway,
>>   so we didn't win anything.
>
> FWIW, word wrap behaves the same way in other editors (checked with
> gedit and with a text box in Firefox).

I think it will be very nice if such long words could wrap. It would
also be nice to have the alternative to truncate such long words.
(They are often URL in my case and truncating them with the full URL
as a help string would be fine.)




This bug report was last modified 5 years and 61 days ago.

Previous Next


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