From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: cl-defgeneric vs random funcall in project.el Date: Thu, 30 Jul 2015 17:31:36 -0400 Message-ID: References: <86oaiwa57v.fsf@stephe-leake.org> <55B79B3F.1060200@yandex.ru> <86wpxj93r2.fsf@stephe-leake.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1438291930 6327 80.91.229.3 (30 Jul 2015 21:32:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 30 Jul 2015 21:32:10 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stephen Leake Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 30 23:32:02 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZKvQi-0003x9-TP for ged-emacs-devel@m.gmane.org; Thu, 30 Jul 2015 23:31:57 +0200 Original-Received: from localhost ([::1]:42061 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKvQi-00009Q-Ff for ged-emacs-devel@m.gmane.org; Thu, 30 Jul 2015 17:31:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58192) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKvQW-000093-GC for emacs-devel@gnu.org; Thu, 30 Jul 2015 17:31:45 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZKvQS-0002hD-8S for emacs-devel@gnu.org; Thu, 30 Jul 2015 17:31:44 -0400 Original-Received: from pruche.dit.umontreal.ca ([132.204.246.22]:50514) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZKvQS-0002ea-48 for emacs-devel@gnu.org; Thu, 30 Jul 2015 17:31:40 -0400 Original-Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.DIT.UMontreal.CA (8.14.1/8.14.1) with ESMTP id t6ULVZCK008339; Thu, 30 Jul 2015 17:31:36 -0400 Original-Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 5F145AE09C; Thu, 30 Jul 2015 17:31:36 -0400 (EDT) In-Reply-To: <86wpxj93r2.fsf@stephe-leake.org> (Stephen Leake's message of "Tue, 28 Jul 2015 20:00:49 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV5383=0 X-NAI-Spam-Version: 2.3.0.9393 : core <5383> : inlines <3499> : streams <1480395> : uri <2000346> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:188209 Archived-At: >> And if a project implementation has to provide its own implementation, >> it's much cleaner, I think, if it only has to deal with >> project-search-path-function, instead of being forced to >> cl-call-next-method. > Well, that's my question. I don't see that as "cleaner"; I much prefer > object dispatching to random funcalls. Currently, project-search-path-function takes no argument, so there's not much on which to dispatch. Stefan