From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Engster Newsgroups: gmane.emacs.devel Subject: Re: Emacs, QT and Cairo Date: Wed, 14 Jul 2010 16:14:44 +0200 Message-ID: <878w5eup4b.fsf@engster.org> References: <87wrsymmch.fsf_-_@engster.org> <20893DBE5003491AAD0C6D41143ECE13@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1279116941 10280 80.91.229.12 (14 Jul 2010 14:15:41 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Jul 2010 14:15:41 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 14 16:15:39 2010 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OZ2jw-0002qi-2N for ged-emacs-devel@m.gmane.org; Wed, 14 Jul 2010 16:15:35 +0200 Original-Received: from localhost ([127.0.0.1]:39909 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZ2jm-0000hh-Uk for ged-emacs-devel@m.gmane.org; Wed, 14 Jul 2010 10:15:02 -0400 Original-Received: from [140.186.70.92] (port=36323 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZ2jf-0000hc-L4 for emacs-devel@gnu.org; Wed, 14 Jul 2010 10:14:57 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZ2jc-0005xB-Gd for emacs-devel@gnu.org; Wed, 14 Jul 2010 10:14:53 -0400 Original-Received: from m61s02.vlinux.de ([83.151.21.164]:36093) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZ2jc-0005wt-BP for emacs-devel@gnu.org; Wed, 14 Jul 2010 10:14:52 -0400 Original-Received: from [134.76.4.240] (helo=myhost) by m61s02.vlinux.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1OZ2ja-0008M7-GT for emacs-devel@gnu.org; Wed, 14 Jul 2010 16:14:50 +0200 In-Reply-To: <20893DBE5003491AAD0C6D41143ECE13@us.oracle.com> (Drew Adams's message of "Wed, 14 Jul 2010 06:50:01 -0700") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Mail-Followup-To: emacs-devel@gnu.org X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:127281 Archived-At: Drew Adams writes: >> http://blogs.sun.com/tor/resource/formatting-before.png >> I think it is currently not possible to do stuff like this? > > Depends what you mean by "stuff like this". See vline.el and col-highlight.el > > http://www.emacswiki.org/emacs/HighlightCurrentColumn I mean stuff like "draw a line with a width of 1 pixel transparently at a certain position in this buffer". For example, instead of a different background color, I would like to draw a rectangle around code forming one semantic tag in the Minimap. Another one: I think faint lines hinting at the indentation level might be useful at times, like Komodo does it: http://delimitdesign.com/wp-content/uploads/2009/03/komodo-edit-text-editor.jpg I know I can use overlays to approximate that, but I'd have to jump through hoops to get there (just look at the code in vline.el), and in the end it's often slow and you have to make compromises (vline vanishes while scrolling, for example). And it would probably even look ugly... Regards, David