From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Emacs and Gnome Canvas Date: Thu, 15 Jul 2010 13:22:17 -0400 Message-ID: <87y6dcacdy.fsf@stupidchicken.com> References: <4C3CD120.4040905@swipnet.se> <5A91499A-0470-43FD-9F48-560CEAD3424C@mit.edu> <83wrsyr068.fsf@gnu.org> <83iq4hhjww.fsf@gnu.org> <87sk3lbvv0.fsf@telefonica.net> <83hbk1grnq.fsf@gnu.org> <4C3EBCDC.8050709@swipnet.se> <83d3upgmwj.fsf@gnu.org> <4C3ECB4C.6050208@swipnet.se> <83aaptgly1.fsf@gnu.org> <4C3ED4F9.4080603@swipnet.se> <83630hgi0r.fsf@gnu.org> <4C3EE8D6.3020607@swipnet.se> <8339vlgcax.fsf@gnu.org> <87fwzkbzg8.fsf@telefonica.net> <877hkwag6y.fsf@stupidchicken.com> <877hkwbth6.fsf@telefonica.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1279214553 5976 80.91.229.12 (15 Jul 2010 17:22:33 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 15 Jul 2010 17:22:33 +0000 (UTC) Cc: emacs-devel@gnu.org To: =?utf-8?Q?=C3=93scar?= Fuentes Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 15 19:22:32 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 1OZS8j-0003jV-Hw for ged-emacs-devel@m.gmane.org; Thu, 15 Jul 2010 19:22:29 +0200 Original-Received: from localhost ([127.0.0.1]:46731 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZS8i-0003wT-Oj for ged-emacs-devel@m.gmane.org; Thu, 15 Jul 2010 13:22:28 -0400 Original-Received: from [140.186.70.92] (port=39596 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OZS8Z-0003uS-O8 for emacs-devel@gnu.org; Thu, 15 Jul 2010 13:22:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OZS8Y-0006Qq-H9 for emacs-devel@gnu.org; Thu, 15 Jul 2010 13:22:19 -0400 Original-Received: from pantheon-po18.its.yale.edu ([130.132.50.74]:32990) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OZS8Y-0006Qj-EG for emacs-devel@gnu.org; Thu, 15 Jul 2010 13:22:18 -0400 Original-Received: from furry (dhcp128036014221.central.yale.edu [128.36.14.221]) (authenticated bits=0) by pantheon-po18.its.yale.edu (8.12.11.20060308/8.12.11) with ESMTP id o6FHMHQJ007742 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Thu, 15 Jul 2010 13:22:17 -0400 Original-Received: by furry (Postfix, from userid 1000) id 38430C013; Thu, 15 Jul 2010 13:22:17 -0400 (EDT) In-Reply-To: <877hkwbth6.fsf@telefonica.net> (=?utf-8?Q?=22=C3=93scar?= Fuentes"'s message of "Thu, 15 Jul 2010 18:27:49 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-YaleITSMailFilter: Version 1.2c (attachment(s) not renamed) 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:127382 Archived-At: =C3=93scar Fuentes writes: > Would that system allow to draw UML diagrams with real graphics, instead > of ASCII? Would it allow to implement a real graphical view for the DAG > of a dVCS history? In short, would it a real drawing surface where you > can draw arbitrary stuff and react to user actions such as the user > clicking and dragging a line, preferably from Elisp code? If this is the reason you want to work with Canvas, I don't think it's necessary to overhaul the Emacs redisplay engine at all. A better approach would be to create a system that allows Canvas objects to be embedded in an Emacs display, in the same way that images can be embedded. Thinking of this problem as "replacing" redisplay, or creating an alternative to redisplay, is unnecessary. Joakim's patch for embedding gtk widgets is an interesting existing experiment, somewhat along these lines.