[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: colorizing empty space
From: |
Chong Yidong |
Subject: |
Re: colorizing empty space |
Date: |
Mon, 20 Dec 2010 18:50:13 +0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
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.
You could make the "xxxx\n" a display string on top of the newline
character.