From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: narrow color bar using display properties Date: Tue, 05 Mar 2013 19:49:42 +0200 Message-ID: <83sj49spmx.fsf@gnu.org> References: <87lia29xay.fsf@ericabrahamsen.net> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1362505839 24115 80.91.229.3 (5 Mar 2013 17:50:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 5 Mar 2013 17:50:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Mar 05 18:51:03 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UCw0y-0004aR-FN for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Mar 2013 18:51:00 +0100 Original-Received: from localhost ([::1]:36915 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCw0d-0000h4-0n for geh-help-gnu-emacs@m.gmane.org; Tue, 05 Mar 2013 12:50:39 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43560) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCw0N-0000e0-G9 for help-gnu-emacs@gnu.org; Tue, 05 Mar 2013 12:50:27 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UCw0J-00075N-Gb for help-gnu-emacs@gnu.org; Tue, 05 Mar 2013 12:50:23 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:52214) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UCw0J-000759-2n for help-gnu-emacs@gnu.org; Tue, 05 Mar 2013 12:50:19 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MJ700J0082P2G00@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Tue, 05 Mar 2013 19:49:46 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MJ700IHF86XT9B0@a-mtaout23.012.net.il> for help-gnu-emacs@gnu.org; Tue, 05 Mar 2013 19:49:46 +0200 (IST) In-reply-to: <87lia29xay.fsf@ericabrahamsen.net> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.175 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:89366 Archived-At: > From: Eric Abrahamsen > 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?