From: Dan Espen <despen@verizon.net>
To: help-gnu-emacs@gnu.org
Subject: Re: narrow color bar using display properties
Date: Tue, 05 Mar 2013 13:26:29 -0500 [thread overview]
Message-ID: <icd2vd66ui.fsf@home.home> (raw)
In-Reply-To: mailman.21466.1362505829.855.help-gnu-emacs@gnu.org
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Eric Abrahamsen <eric@ericabrahamsen.net>
>> Date: Tue, 05 Mar 2013 14:26:45 +0800
>>
>> I've got my cursor-type set to a colored bar, and looking at it today I
>> thought it would be very nice if I could create a similar effect with
>> code: presumably using text properties (I'm guessing the display
>> property) to lay a bar of color (either background color or a
>> transparent foreground color) over existing text, only a couple of
>> pixels wide and aligned left, without otherwise disturbing the placement
>> of the text beneath.
>
> I don't get it: do you mean to have a color bar to the left of _every_
> character in a region of text? Why would want something like that?
> Or did I misunderstand what you want?
I'm not sure what the OP wants either, but if you've ever seen
an IBM 5251 with the "column separator" attribute that would be one
explanation. But column separators formed a bucket around an
input character:
| |
|_|
Actually pretty nice for indicating input fields vs. protected fields.
--
Dan Espen
next prev parent reply other threads:[~2013-03-05 18:26 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-03-05 6:26 narrow color bar using display properties Eric Abrahamsen
2013-03-05 15:46 ` Stefan Monnier
2013-03-05 17:49 ` Eli Zaretskii
2013-03-05 18:16 ` Peter Dyballa
2013-03-05 18:43 ` Eli Zaretskii
2013-03-05 18:45 ` Drew Adams
2013-03-06 1:52 ` Eric Abrahamsen
[not found] ` <mailman.21466.1362505829.855.help-gnu-emacs@gnu.org>
2013-03-05 18:26 ` Dan Espen [this message]
[not found] <mailman.21422.1362464496.855.help-gnu-emacs@gnu.org>
2013-03-05 14:33 ` Michael Heerdegen
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=icd2vd66ui.fsf@home.home \
--to=despen@verizon.net \
--cc=help-gnu-emacs@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.