From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: Colorize objects by method dispatch type Date: Wed, 01 Apr 2020 23:46:07 +0200 Message-ID: <874ku2dgm8.fsf@web.de> References: <87zhbv6jiu.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="117109"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) To: Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Apr 01 23:48:14 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jJlDX-000UKt-GO for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 01 Apr 2020 23:48:11 +0200 Original-Received: from localhost ([::1]:37802 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJlDW-0006p6-9H for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 01 Apr 2020 17:48:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39303) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJlBb-0006ov-Aw for help-gnu-emacs@gnu.org; Wed, 01 Apr 2020 17:46:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJlBa-0007fI-09 for help-gnu-emacs@gnu.org; Wed, 01 Apr 2020 17:46:11 -0400 Original-Received: from mout.web.de ([212.227.15.14]:50859) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jJlBY-0007bx-F8 for help-gnu-emacs@gnu.org; Wed, 01 Apr 2020 17:46:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1585777566; bh=KbozQ7sQqO/+XtBSTJtzJCExRYNfwP8TQ0Jypr3cFCc=; h=X-UI-Sender-Class:From:To:Subject:References:Date:In-Reply-To; b=WBkVLLncvQ1hbKxfMYyFsUQz5uipmzACiO7bIprX0HQLZC4RuacGYuNQr7VPS66WI tDbuQPtCE1K6mym+x2EUvP4g4ySGpSoMZcCPvQBH4KS2g3WFrkTZqtFaqvPyJl5vIH /1TTIvAnusXvY/gfFcv/xbJ7WUBaLZfLBEFBzdIg= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Original-Received: from drachen.dragon ([188.98.99.7]) by smtp.web.de (mrweb002 [213.165.67.108]) with ESMTPSA (Nemesis) id 0Lp7Lg-1io1KU2TDA-00eqKM; Wed, 01 Apr 2020 23:46:06 +0200 In-Reply-To: <87zhbv6jiu.fsf@web.de> (Michael Heerdegen's message of "Wed, 01 Apr 2020 22:25:13 +0200") X-Provags-ID: V03:K1:xqB4/RjQWfpSCEBeWeLD5h6y8mwusRqy1Ad1AF9KNCqfoGZyeT+ jYbvhL6JN49qBRyLFP0/Hbt5egQphaNPsLpUACmgf97b7pOqgzgj81eRFjdH2uvhdzepZqj uzEcmdY83F5ua5pjEidQNli3kSw1UyD4gop7J4J3riyy2sJiGhCs40tBkLklFIC1QlXa2fT ZRvQ/YGpvAKXfnO/XcKJw== X-UI-Out-Filterresults: notjunk:1;V03:K0:WhN0KIpMcn8=:yHAlXSTKEAZVHvFY/rP+oQ E014Iuz7gKh75na5eB5UKHB2Uagv3Iq2W2cPTwDdgQJJBmf7Oa36c7DIEUHjYusTj6pCFTk4K LYwdL3OEBzlnFVp0CpQEvPv+nipPhgFoVOQXorQvYceolCcC9LnMZRCuOdSRyVS7Bz/r9ayss 6mFSvQznwubwvjbw4W5I/gOPlKyDbQOLpIcDlSuPOb7bWjhsBuPbawRuBz9hnJyOUzgQUKAVO 6wt7UJ1TeHzJhsQDKiL3RAzHo0g4wOSt5Gl0ni/8UtaQF9ikTJ1ohCBTL4qCrrlcP01hu36jP AgfMN/WDfmyCYIvgS6ASlOCokjHJpDlm0aisjp41OzyD3OJ8/KF8GeNzNx/c6OouoRV3ChGOa YOjml8fZ0RXC3FnKW5LGllf2YqGQroWhBzoBRnMRBlhGEN9S3GpPK8Fjrr4nlbgxnT8QSrPoN j8qFo7Dncgpm3VWTibVzI1ox5UzerKhlKoU2WNDlGANessp+wEjsPD6TaNEF2uYfJSnmk22Eb ZjMhYVYQMGoO5tAyLTOELTc6HOOcxCeg80aGw+jvbLREq7dOkf4IpdF4Owy8o5VdbN4CXtiWp Hzqun4G16l5FcRcZ+2bb0YQY7z+GvnrK5KiC2RvLDEwo6tBZS8ibx5OooB/pREm7OOrTk1Uqo jOQtnB0Cj/wfoPsA44+imJ89q78YPWa6bCHMbZUcCXX5LOEW998+S6bgpBqTnbnaxkEy/1vOW /Ws4eZoAxpCZvSwnfVh8+buWRb1tKEVzZAZ7trALQZcNZtDic2XX4kAtP1pMac6TlEz+1uMG X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 212.227.15.14 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122731 Archived-At: Michael Heerdegen 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.