From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Elias_M=E5rtenson?= Newsgroups: gmane.emacs.devel Subject: Vector graphics overlays Date: Sat, 22 Mar 2014 13:15:44 +0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a1137e9862783dd04f52b182f X-Trace: ger.gmane.org 1395465349 7940 80.91.229.3 (22 Mar 2014 05:15:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 22 Mar 2014 05:15:49 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 22 06:15:59 2014 Return-path: Envelope-to: ged-emacs-devel@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 1WREHj-0003em-2J for ged-emacs-devel@m.gmane.org; Sat, 22 Mar 2014 06:15:55 +0100 Original-Received: from localhost ([::1]:55737 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WREHi-0008EU-6F for ged-emacs-devel@m.gmane.org; Sat, 22 Mar 2014 01:15:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WREHe-0008AM-PY for emacs-devel@gnu.org; Sat, 22 Mar 2014 01:15:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WREHa-0000Ci-D0 for emacs-devel@gnu.org; Sat, 22 Mar 2014 01:15:50 -0400 Original-Received: from mail-lb0-x236.google.com ([2a00:1450:4010:c04::236]:39559) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WREHa-0000CK-3S for emacs-devel@gnu.org; Sat, 22 Mar 2014 01:15:46 -0400 Original-Received: by mail-lb0-f182.google.com with SMTP id n15so2227483lbi.41 for ; Fri, 21 Mar 2014 22:15:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=U7ksz1hlNYsBrK8LkxJO36QMND11Pt6TU24uCAEICgk=; b=Ul0NXTIVcB1mvSzHdyEKceiTg/dCBhhLMCCsv2iiSVQTmzpXw/i2mGc0ntxCbg//MF gFRhGBQ8voO2BmmA0OxCW3EWbie0OAP72DEdUKiafijAG6SpSMX5a+imGAdz/85eoDPr IkNRW7k/SFUyTIjhBi3NGP74JZxQJ5D5KWaLQp3nwOjKOCsnNwo7GqGIUayJ8/wfquGS eXplz6DhSHxeAyxqad0xPqG48uhex8LmaJQV3hucZGmLAppSxIn4pQGYnSWx/c0C045O nuZ5rnCq0Wrmsn3YajsdCSWgkKZEmEFXfGy8dyXCKGGf43AboOJzEmg/NrxOX7kQbGz6 H6MQ== X-Received: by 10.153.7.200 with SMTP id de8mr36450052lad.19.1395465344481; Fri, 21 Mar 2014 22:15:44 -0700 (PDT) Original-Received: by 10.112.17.100 with HTTP; Fri, 21 Mar 2014 22:15:44 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:4010:c04::236 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:170762 Archived-At: --001a1137e9862783dd04f52b182f Content-Type: text/plain; charset=ISO-8859-1 A few times now, when developing Emacs modes, I have found myself wishing that there was a way of doing graphical overlays on top of the text in a buffer. In one case, I wanted to draw arrows connecting elements in a Common Lisp buffer in order to visually connect related symbols with arrows. In other cases I have wanted to highlight sections of text using symbols and graphics that floats on top (semi-transparent) of the text being edited. I figured that one way of dealing with this would be to have the ability to overlay SVG graphics on top of the text being edited. I was about to start actually implementing this when someone pointed out to me that this would be completely incompatible with running Emacs in text mode (although I was thinking to myself that so is inline images, and that's a supported feature). What is the opinion about this? Is this something that has been discussed previously, and if so, what was the outcome? Regards, Elias --001a1137e9862783dd04f52b182f Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
A few times now, when developing Emacs modes, I have found= myself wishing that there was a way of doing graphical overlays on top of = the text in a buffer.

In one case, I wanted to draw arro= ws connecting elements in a Common Lisp buffer in order to visually connect= related symbols with arrows.

In other cases I have wanted to highlight sections of t= ext using symbols and graphics that floats on top (semi-transparent) of the= text being edited.

I figured that one way of deal= ing with this would be to have the ability to overlay SVG graphics on top o= f the text being edited. I was about to start actually implementing this wh= en someone pointed out to me that this would be completely incompatible wit= h running Emacs in text mode (although I was thinking to myself that so is = inline images, and that's a supported feature).

What is the opinion about this? Is this something that = has been discussed previously, and if so, what was the outcome?
<= br>
Regards,
Elias
--001a1137e9862783dd04f52b182f--