unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Clément Pit-Claudel" <cpitclaudel@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: Cursor drawing
Date: Fri, 21 Dec 2018 15:27:52 -0500	[thread overview]
Message-ID: <1d7c13bd-8223-4999-8999-41fb4d5570c7@gmail.com> (raw)
In-Reply-To: <83lg4ibq6x.fsf@gnu.org>

[-- Attachment #1: Type: text/plain, Size: 811 bytes --]

On 21/12/2018 15.05, Eli Zaretskii wrote:
>> From: Elias Mårtenson <lokedhs@gmail.com>
>> Date: Sat, 22 Dec 2018 00:36:10 +0800
>> Cc: Stefan Monnier <monnier@iro.umontreal.ca>, emacs-devel <emacs-devel@gnu.org>
>>
>> The feature I needed was a way to draw arbitrary graphics on top of the buffer content. In my case, I wanted to
>> draw arrows between different symbols in the text, representing dataflow.
> 
> Doesn't drawing an image of the arrow fit the bill?

I can't answer for Elias, of course, but for the use cases I have in mind I think it wouldn't work. I think Elias' idea is that you would have arrows drawn over the text, pointing from one symbol in the source code to another one.  The DrRacket IDE does this to highlight bound occurrences, for example; I have attached a screenshot.

Clément.

[-- Attachment #2: Screenshot from 2018-12-21 15-27-09.png --]
[-- Type: image/png, Size: 49270 bytes --]

  reply	other threads:[~2018-12-21 20:27 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-20  4:11 Process: Determining the origin of a command loop Keith David Bershatsky
2018-12-20 14:11 ` Eli Zaretskii
2018-12-20 15:39   ` Cursor drawing (was: Process: Determining the origin of a command loop) Stefan Monnier
2018-12-20 19:07     ` Cursor drawing Eli Zaretskii
2018-12-20 19:18       ` Stefan Monnier
2018-12-20 19:35         ` Eli Zaretskii
2018-12-20 19:58           ` Stefan Monnier
2018-12-21  4:03             ` Elias Mårtenson
2018-12-21  7:09               ` Eli Zaretskii
2018-12-21 16:36                 ` Elias Mårtenson
2018-12-21 20:05                   ` Eli Zaretskii
2018-12-21 20:27                     ` Clément Pit-Claudel [this message]
2018-12-21 20:37                       ` Eli Zaretskii
2018-12-21 20:41                         ` Eli Zaretskii
2018-12-22 16:43                         ` Stefan Monnier
2018-12-22 17:03                           ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1d7c13bd-8223-4999-8999-41fb4d5570c7@gmail.com \
    --to=cpitclaudel@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).