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 11:41:50 +0200 Message-ID: <87wrsymmch.fsf_-_@engster.org> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1279100539 16733 80.91.229.12 (14 Jul 2010 09:42:19 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 14 Jul 2010 09:42:19 +0000 (UTC) Cc: emacs-devel@gnu.org To: YAMAMOTO Mitsuharu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jul 14 11:42:18 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 1OYyTo-00073D-OP for ged-emacs-devel@m.gmane.org; Wed, 14 Jul 2010 11:42:17 +0200 Original-Received: from localhost ([127.0.0.1]:50118 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYyTo-0006ex-0W for ged-emacs-devel@m.gmane.org; Wed, 14 Jul 2010 05:42:16 -0400 Original-Received: from [140.186.70.92] (port=34972 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OYyTg-0006df-7a for emacs-devel@gnu.org; Wed, 14 Jul 2010 05:42:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OYyTf-0001nm-8G for emacs-devel@gnu.org; Wed, 14 Jul 2010 05:42:08 -0400 Original-Received: from m61s02.vlinux.de ([83.151.21.164]:39088) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OYyTf-0001nd-3c for emacs-devel@gnu.org; Wed, 14 Jul 2010 05:42:07 -0400 Original-Received: from vpn-2219.gwdg.de ([134.76.2.219] helo=spaten) by m61s02.vlinux.de with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1OYyTc-00030X-S5; Wed, 14 Jul 2010 11:42:04 +0200 In-Reply-To: (YAMAMOTO Mitsuharu's message of "Wed, 14 Jul 2010 17:59:49 +0900") User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Mail-Followup-To: YAMAMOTO Mitsuharu , 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:127268 Archived-At: YAMAMOTO Mitsuharu writes: >>>>>> On Tue, 13 Jul 2010 16:02:02 -0300, Stephen Eilert said: > >> What about exposing Cairo bindings (GTK already uses it, so it is >> not exactly a new dependency, only the headers) to elisp so that we >> can actually draw a prettier user interface? Things like real lines >> instead of "-" for the modeline (and a better looking modeline >> itself), better looking widgets (the horrendous fake buttons created >> by customize, for example), better fringe layer or even, say, an UML >> mode with good-looking classes. And perhaps a cute speedbar. > > An alternative way to do some of them would be generating and > rendering SVG images dynamically. That is possible even now, and more > standard and less platform specific than cairo bindings. An > interesting example is given in > http://lists.gnu.org/archive/html/bug-gnu-emacs/2010-05/msg00521.html Yes, one could probably create buttons and stuff like that with SVG. But the way images are handled in Emacs make this very limited. I'm not even talking about eye candy here, but very basic things. For example, drawing a faint line at column 80, like this: http://blogs.sun.com/tor/resource/formatting-before.png I think it is currently not possible to do stuff like this? -David