all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: narrow color bar using display properties
Date: Tue, 05 Mar 2013 19:49:42 +0200	[thread overview]
Message-ID: <83sj49spmx.fsf@gnu.org> (raw)
In-Reply-To: <87lia29xay.fsf@ericabrahamsen.net>

> 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?



  parent reply	other threads:[~2013-03-05 17:49 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 [this message]
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
     [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=83sj49spmx.fsf@gnu.org \
    --to=eliz@gnu.org \
    --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.