From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: Emacs, QT and Cairo Date: Wed, 14 Jul 2010 16:28:51 +0200 Message-ID: References: <87wrsymmch.fsf_-_@engster.org> <20893DBE5003491AAD0C6D41143ECE13@us.oracle.com> <878w5eup4b.fsf@engster.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1279118965 18306 80.91.229.12 (14 Jul 2010 14:49:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Jul 2010 14:49:25 +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:49:19 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 1OZ3Gw-0006YW-K6 for ged-emacs-devel@m.gmane.org; Wed, 14 Jul 2010 16:49:18 +0200 Original-Received: from localhost ([127.0.0.1]:51387 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZ2xT-0005lB-75 for ged-emacs-devel@m.gmane.org; Wed, 14 Jul 2010 10:29:11 -0400 Original-Received: from [140.186.70.92] (port=41530 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZ2xM-0005j4-Dn for emacs-devel@gnu.org; Wed, 14 Jul 2010 10:29:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZ2xI-00088S-V3 for emacs-devel@gnu.org; Wed, 14 Jul 2010 10:29:02 -0400 Original-Received: from iwfs.imcode.com ([82.115.149.64]:56421 helo=gate.verona.se) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZ2xI-00087F-Jx for emacs-devel@gnu.org; Wed, 14 Jul 2010 10:29:00 -0400 Original-Received: from localhost.localdomain (IDENT:1005@localhost [127.0.0.1]) by gate.verona.se (8.13.4/8.11.4) with ESMTP id o6EESqgN022022 for ; Wed, 14 Jul 2010 16:28:52 +0200 In-Reply-To: <878w5eup4b.fsf@engster.org> (David Engster's message of "Wed, 14 Jul 2010 16:14:44 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4-2.6 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:127285 Archived-At: David Engster writes: > 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... There are patches around that allows the buffer background to be an image. That support could perhaps be tweaked to allow an SVG, generated from elisp. It would probably be difficult to keep the SVG and the buffer text in sync though. > Regards, > David -- Joakim Verona