From: Ted Zlatanov <tzz@lifelogs.com>
To: ding@gnus.org
Cc: emacs-devel@gnu.org
Subject: Re: colorizing empty space
Date: Mon, 24 Jan 2011 12:17:51 -0600 [thread overview]
Message-ID: <87zkqqb1yo.fsf@lifelogs.com> (raw)
In-Reply-To: 878vzk67mi.fsf@stupidchicken.com
On Mon, 20 Dec 2010 18:50:13 +0800 Chong Yidong <cyd@stupidchicken.com> wrote:
CY> Ted Zlatanov <tzz@lifelogs.com> 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
next prev parent reply other threads:[~2011-01-24 18:17 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-16 19:13 colorizing empty space Ted Zlatanov
2010-12-20 10:50 ` Chong Yidong
2011-01-24 18:17 ` Ted Zlatanov [this message]
2011-01-24 22:16 ` Lars Ingebrigtsen
2011-01-24 23:02 ` Lars Ingebrigtsen
2011-01-24 23:14 ` Lars Ingebrigtsen
2011-01-24 23:26 ` Lars Ingebrigtsen
2011-01-25 8:24 ` Daniel Colascione
2011-01-25 10:17 ` Lennart Borgman
2011-01-25 12:51 ` Daniel Colascione
2011-01-26 2:28 ` Stephen J. Turnbull
2011-01-26 3:23 ` Stefan Monnier
2011-01-26 4:46 ` Miles Bader
2011-01-26 6:28 ` Eli Zaretskii
2011-01-26 6:50 ` Miles Bader
2011-01-26 6:52 ` Daniel Colascione
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87zkqqb1yo.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--cc=ding@gnus.org \
--cc=emacs-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.