GNU bug report logs - #5000
23.1.50; empty string not allowed as line-prefix

Previous Next

Package: emacs;

Reported by: Carsten Dominik <carsten.dominik <at> gmail.com>

Date: Sat, 21 Nov 2009 11:10:04 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #21 received at 5000-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Carsten Dominik <carsten.dominik <at> gmail.com>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 5000-done <at> debbugs.gnu.org
Subject: Re: 23.1.50; empty string not allowed as line-prefix
Date: Sat, 5 Dec 2009 23:58:57 +0100
On Dec 5, 2009, at 11:49 PM, Chong Yidong wrote:

>> - open a new buffer in fundamental mode, no auto-fill-mode
>> - insert a long line that will be wrapped for display into two or  
>> more
>>  lines.
>> - insert the following form into the buffer, after the long line
>>
>>   (add-text-properties (point-min) (point) '(line-prefix ""))
>>
>> - evaluate this form
>>
>> Expected result:  No change in display
>> Actual result:  The formerly wrapped line is no longer wrapped but
>> displayed as if truncate-lines had been set (it is not set)
>
> I've checked in a fix.  Thanks.

You guys are the best, thanks.

- Carsten




This bug report was last modified 15 years and 171 days ago.

Previous Next


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