all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Michael Heerdegen <michael_heerdegen@web.de>
To: Emacs mailing list <help-gnu-emacs@gnu.org>
Subject: Re: Colorize objects by method dispatch type
Date: Wed, 01 Apr 2020 23:46:07 +0200	[thread overview]
Message-ID: <874ku2dgm8.fsf@web.de> (raw)
In-Reply-To: <87zhbv6jiu.fsf@web.de> (Michael Heerdegen's message of "Wed, 01 Apr 2020 22:25:13 +0200")

Michael Heerdegen <michael_heerdegen@web.de> writes:

> That's why I would rather use references to the appropriate method
> implementations for hashing.

A nice addition would be to take ancestors into account, somehow.
E.g. if I have a class C_n, and I know it has ancestors

  C_n <- C_n-1 <- ... <- C_1

then the color for C_n could be, instead of it's directly derived color
c_n, the arithmetical mean of c_n and the colors of the ancestors, so
that related classes get similar colors.

Michael.



  reply	other threads:[~2020-04-01 21:46 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 [this message]
2020-04-02  3:00 ` Stefan Monnier
2020-04-02  3:45   ` Michael Heerdegen
2020-04-02 12:56     ` Stefan Monnier
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=874ku2dgm8.fsf@web.de \
    --to=michael_heerdegen@web.de \
    --cc=help-gnu-emacs@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 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.