From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Michael Heerdegen <michael_heerdegen@web.de>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Colorize objects by method dispatch type
Date: Thu, 02 Apr 2020 08:56:23 -0400 [thread overview]
Message-ID: <jwvmu7uoxq1.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87r1x65z5v.fsf@web.de> (Michael Heerdegen's message of "Thu, 02 Apr 2020 05:45:00 +0200")
>> You mean you want to take a hash of the actual code?
>> That will change when the code is tweaked, so I don't think you're going
>> to like that.
>
> Not necessarily the code, better would be a reference to the code, or
> the entry point of the code, if something like that is available.
I must be missing something: you do want to get some sort of a hash, right?
And you do want that hash to be stable over time, so you can get used to
which color corresponds to what, right?
Hashing a reference will not give you a stable result.
As for "entry point", I don't really what that would be but it doesn't
sound like it'd be something that results in a stable hash either.
Also it's not clear to me exactly which part of `type-of` you don't like.
Stefan
next prev parent reply other threads:[~2020-04-02 12:56 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-04-01 20:25 Colorize objects by method dispatch type Michael Heerdegen
2020-04-01 21:46 ` Michael Heerdegen
2020-04-02 3:00 ` Stefan Monnier
2020-04-02 3:45 ` Michael Heerdegen
2020-04-02 12:56 ` Stefan Monnier [this message]
2020-04-02 23:46 ` Michael Heerdegen
2020-04-03 16:01 ` Stefan Monnier
2020-04-03 23:23 ` Michael Heerdegen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvmu7uoxq1.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=help-gnu-emacs@gnu.org \
--cc=michael_heerdegen@web.de \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.