From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#8415: 23.3.50; Extensible Emacs Registers Date: Mon, 04 Apr 2011 23:07:05 -0400 Message-ID: References: <4D9A45CD.4030808@gmail.com> <4D9A7537.5030005@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1301974649 22407 80.91.229.12 (5 Apr 2011 03:37:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 5 Apr 2011 03:37:29 +0000 (UTC) Cc: Davis Herring , 8415@debbugs.gnu.org, Leo To: Daniel Colascione Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Apr 05 05:37:24 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Q6x51-0002Ip-R4 for geb-bug-gnu-emacs@m.gmane.org; Tue, 05 Apr 2011 05:37:24 +0200 Original-Received: from localhost ([127.0.0.1]:44211 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6x51-0002PH-A1 for geb-bug-gnu-emacs@m.gmane.org; Mon, 04 Apr 2011 23:37:23 -0400 Original-Received: from [140.186.70.92] (port=33490 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6x4u-0002PA-PK for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 23:37:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6x4t-0007Hn-Mh for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 23:37:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33488) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6x4t-0007HU-JZ for bug-gnu-emacs@gnu.org; Mon, 04 Apr 2011 23:37:15 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1Q6wcb-0003Q0-OF; Mon, 04 Apr 2011 23:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 05 Apr 2011 03:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 8415 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 8415-submit@debbugs.gnu.org id=B8415.130197283913089 (code B ref 8415); Tue, 05 Apr 2011 03:08:01 +0000 Original-Received: (at 8415) by debbugs.gnu.org; 5 Apr 2011 03:07:19 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q6wbu-0003P4-SW for submit@debbugs.gnu.org; Mon, 04 Apr 2011 23:07:19 -0400 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Q6wbo-0003Om-LX for 8415@debbugs.gnu.org; Mon, 04 Apr 2011 23:07:17 -0400 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AvsEAEKGmk1Ld/Y6/2dsb2JhbAClZ3iIebl9hWsElkU X-IronPort-AV: E=Sophos;i="4.63,301,1299474000"; d="scan'208";a="103208940" Original-Received: from 75-119-246-58.dsl.teksavvy.com (HELO ceviche.home) ([75.119.246.58]) by ironport2-out.pppoe.ca with ESMTP/TLS/ADH-AES256-SHA; 04 Apr 2011 23:07:05 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 3F814660B0; Mon, 4 Apr 2011 23:07:05 -0400 (EDT) In-Reply-To: <4D9A7537.5030005@gmail.com> (Daniel Colascione's message of "Mon, 04 Apr 2011 18:49:43 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Mon, 04 Apr 2011 23:08:01 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:45635 Archived-At: >> It's the difference between "one simple obviously correct change" and >> "one big change that might be correct". > I see your point, though both approaches would be pretty small changes > in the scheme of things. If you want to split the change into smaller > steps, that's fine so long as we eventually aim to get rid of the > typecase polymorphism. The end point is pretty much the same, but all the intermediate steps are safe and easy to check. > Well, there's EIEIO. It gives you the ability to easily add methods > while not baking the dispatch into each one. On the other hand, it's a > quite a bit of code to pull into the core at runtime. Indeed. Stefan