From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stephen Leake Newsgroups: gmane.emacs.devel Subject: Re: Warning: Non-symbol arguments to cl-defgeneric Date: Sat, 09 Jul 2022 16:40:59 -0700 Message-ID: <86czedj1mc.fsf@stephe-leake.org> References: <86let2imer.fsf@stephe-leake.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35243"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (windows-nt) Cc: emacs-devel To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 10 01:42:44 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oAK5z-0008yT-Hs for ged-emacs-devel@m.gmane-mx.org; Sun, 10 Jul 2022 01:42:43 +0200 Original-Received: from localhost ([::1]:53192 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oAK5x-0005GQ-TW for ged-emacs-devel@m.gmane-mx.org; Sat, 09 Jul 2022 19:42:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAK4f-0004aK-1D for emacs-devel@gnu.org; Sat, 09 Jul 2022 19:41:24 -0400 Original-Received: from outbound-ss-761.bluehost.com ([74.220.211.250]:36039) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oAK4c-0002Dm-Lq for emacs-devel@gnu.org; Sat, 09 Jul 2022 19:41:20 -0400 Original-Received: from cmgw12.mail.unifiedlayer.com (unknown [10.0.90.127]) by progateway8.mail.pro1.eigbox.com (Postfix) with ESMTP id 9E6DD1004A38A for ; Sat, 9 Jul 2022 23:41:04 +0000 (UTC) Original-Received: from host2007.hostmonster.com ([67.20.76.71]) by cmsmtp with ESMTP id AK4OoczE6Wg0EAK4Ooeanb; Sat, 09 Jul 2022 23:41:04 +0000 X-Authority-Reason: nr=8 X-Authority-Analysis: v=2.4 cv=Y4w9DjSN c=1 sm=1 tr=0 ts=62ca1210 a=dWLzHQi6WpdymmZIwiVdBw==:117 a=HlCpoMJyzbfmKqni6+j5Yg==:17 a=dLZJa+xiwSxG16/P+YVxDGlgEgI=:19 a=RgO8CyIxsXoA:10:nop_rcvd_month_year a=vvvmwbhNdt4A:10:endurance_base64_authed_username_1 a=iRZporoAAAAA:8 a=-7BE3RUHZOahq663y_kA:9 a=NOBgFS-JBQ2l-kSd6-zu:22 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=stephe-leake.org; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Gw3qlaPt6UDliPXp6xh8KKnLpHmwosfMYdn6Kdkb+VY=; b=m7EBzfjdbjIcYn70zhesH4fp8n KnHoISySN3N+UEB9O0wlyf+ojASA6dhx09jVp1l8nQtZJ1Z43PICy2pTiJ9UJ/OHdbF4VA1Ki3XNn R+ter91HGROGPM5BnAw7ao21OApzguJwBy2xB0LsgG+m1343FRgsL6W+o8C+bnDB7RoARal88gJPe GEGnLlN9PniC1kstdKTwpPlKWoGQ8zzJH3pkEPhIGJSVp6PBzpjiRNfr02SHOqnqZuez5mK6tQMoz VPvi9rQNfus4TknYp20nNRJ5wgegKYx9IHF/bO+lUYY/vsweszJjPPZPOlcYbIDCH4Rjh9RodpfqL Co53D98g==; Original-Received: from 192-184-171-126.fiber.dynamic.sonic.net ([192.184.171.126]:59600 helo=Takver4) by host2007.hostmonster.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1oAK4O-000X2Y-6b; Sat, 09 Jul 2022 17:41:04 -0600 In-Reply-To: (Stefan Monnier's message of "Sat, 09 Jul 2022 11:33:50 -0400") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - host2007.hostmonster.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - stephe-leake.org X-BWhitelist: no X-Source-IP: 192.184.171.126 X-Source-L: No X-Exim-ID: 1oAK4O-000X2Y-6b X-Source-Sender: 192-184-171-126.fiber.dynamic.sonic.net (Takver4) [192.184.171.126]:59600 X-Source-Auth: stephen_leake@stephe-leake.org X-Email-Count: 2 X-Source-Cap: c3RlcGhlbGU7c3RlcGhlbGU7aG9zdDIwMDcuaG9zdG1vbnN0ZXIuY29t X-Local-Domain: yes Received-SPF: pass client-ip=74.220.211.250; envelope-from=stephen_leake@stephe-leake.org; helo=outbound-ss-761.bluehost.com X-Spam_score_int: -16 X-Spam_score: -1.7 X-Spam_bar: - X-Spam_report: (-1.7 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:292001 Archived-At: Stefan Monnier writes: >> (cl-defgeneric wisi-parser-transaction-log-buffer-name ((parser wisi-parser)) >> "Return a buffer name for the transaction log buffer.") > > The arglist here puts a `wisi-parser` specializer on the arg. > That's something you can do in `cl-defmethod` but not in `cl-defgeneric` > (where you can only specify the general shape of the arglist). Ah, right. Thanks. That does fix the problem. -- -- Stephe