Gnus development mailing list
 help / color / mirror / Atom feed
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




       reply	other threads:[~2011-01-24 18:17 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87oc8la5u2.fsf@lifelogs.com>
     [not found] ` <878vzk67mi.fsf@stupidchicken.com>
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  0:34             ` Lars Ingebrigtsen
2011-01-28  1:34               ` Ted Zlatanov

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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).