all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* narrow color bar using display properties
@ 2013-03-05  6:26 Eric Abrahamsen
  2013-03-05 15:46 ` Stefan Monnier
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Eric Abrahamsen @ 2013-03-05  6:26 UTC (permalink / raw)
  To: help-gnu-emacs

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.

Right now the most promising approach seems to be the image display
property (presumably I could use the :data specification just to draw a
block of colored pixels), except that if I understand it correctly that
will replace the underlying text, not add to it.

Does anyone have advice on achieving this?

Thanks,
Eric




^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2013-03-06  1:52 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.21422.1362464496.855.help-gnu-emacs@gnu.org>
2013-03-05 14:33 ` narrow color bar using display properties Michael Heerdegen
2013-03-05  6:26 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

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.