emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: colorizing empty space


From: Ted Zlatanov
Subject: Re: colorizing empty space
Date: Mon, 24 Jan 2011 12:17:51 -0600
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux)

On Mon, 20 Dec 2010 18:50:13 +0800 Chong Yidong <address@hidden> wrote: 

CY> Ted Zlatanov <address@hidden> writes:
>> I wonder if there's a way to give all the lines max(paragraph lines)+1
>> width using "visual" space, so at least one "visual" space is added on
>> the right (shown with x):
>> 
>> Helloxxxx\n
>> therexxxx\n
>> everyonex\n
>> 
>> which can then be colorized with the proper background.  I'd like this
>> to happen without actually modifying the text (so if copied it will
>> retain the original content), so I was wondering if font-lock or some
>> other Emacs wizardry could be used to create this "visual" space effect.

CY> You could make the "xxxx\n" a display string on top of the newline
CY> character.

That sounds reasonable.  Thank you for the hint.  We'll try it in Gnus.

Ted




reply via email to

[Prev in Thread] Current Thread [Next in Thread]