From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Gerd_M=C3=B6llmann?= Newsgroups: gmane.emacs.devel Subject: Re: What's missing in ELisp that makes people want to use cl-lib? Date: Tue, 14 Nov 2023 07:06:54 +0100 Message-ID: References: <8734xetjkk.fsf@yahoo.com> <87cywhsrcf.fsf@yahoo.com> <87cywgx1z0.fsf@web.de> <83wmuowwp3.fsf@gnu.org> <8334xcwank.fsf@gnu.org> <320999cc-6c83-2315-0044-cc0403400af3@gutov.dev> <9ab5d2bd-a648-cae0-a4a7-ae86be10af0f@gutov.dev> <87r0kuqxbf.fsf@gmail.com> <54e115a2-fc36-3056-a030-0dbf32416ddb@gutov.dev> <43f290b0-4119-597b-c89a-0fb4c7db1665@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="36851"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= , Eli Zaretskii , michael_heerdegen@web.de, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 14 07:08:26 2023 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 1r2mb2-0009NZ-Up for ged-emacs-devel@m.gmane-mx.org; Tue, 14 Nov 2023 07:08:24 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2mZt-0004zZ-Hr; Tue, 14 Nov 2023 01:07:13 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r2mZl-0004z4-WD for emacs-devel@gnu.org; Tue, 14 Nov 2023 01:07:06 -0500 Original-Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r2mZh-0005LG-JT; Tue, 14 Nov 2023 01:07:05 -0500 Original-Received: by mail-lf1-x130.google.com with SMTP id 2adb3069b0e04-50970c2115eso7328773e87.1; Mon, 13 Nov 2023 22:06:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1699942016; x=1700546816; darn=gnu.org; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to; bh=QB4Cuw1CDErip4Kh0Ksf+Zp366w58Cpkk/fWcIEmZgk=; b=gygmuazUYM7S9KRdkJbGzbM6Wc9AAXgZC4ddfCGq009H3I2lvPzSEQsmgFHZFFlNHO IxCmafqv+5QTZ8csLTH1mN7cBZ3W7yNO63yDhEBFe761sjKL7tAVYIjRZu0wJ44zZHk4 nVuGfy84vLrgbej9v0jey60b1+eZi5tmuqdwC/vf/y9sB4fyfa2+giIl0BGoz22Sx/ml nLEcZpsaB6e5wxZf3yryYbmbXKFxAgaTQ0FKmLXZvTKnCf67NMESbnqRXZL8vmbFkYwG o0aTyZDwPUpeHgGow/LTE9vxCXWCkiRZ00iO0aiTxVMHYwd5vtqigqZF3oZH6vLoSE4x abug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1699942016; x=1700546816; h=mime-version:user-agent:message-id:date:references:in-reply-to :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=QB4Cuw1CDErip4Kh0Ksf+Zp366w58Cpkk/fWcIEmZgk=; b=LHhORNSlHqj1JG0J5XeSQOY096DauRn9+aeU+R+oUBaP07RoS7crvhnYD6tgD5ng3P X7c9DW5GKXCWayk2urSc87sOffA5pdFdoWaTQ4Q3Np+3R456XogFtWSs7yTQFPbJNYKS 4CDxt9BrdJDsVh3dcKFWcQhn4TSuCPc9PU1/K5K5f4qLsDtOF90oduB7+fzIIBpWt68Q 22DljgSRGTg7qMrBmaSYC3YUL4O06LM3b/5C/dwA+sEV2F5I9BSXGUTAC4YTLlg3A0td zGy5P4d14IjW5iQO0fHQeTsyjjaH9+icrvjUVw8KqS1S7h15U5dx+fk7HRspHSO7DC8o jNKA== X-Gm-Message-State: AOJu0YyMKEc38jn7CJOZgNH9Ok5P28mTQS90D0ovaei6DmhJyolSWS/a FCg54Ra5XrpBEs6gGSL+Tq9C0b3bM6E= X-Google-Smtp-Source: AGHT+IG8p7F8NaAAbj1GyZ5dz3DXUObxYLWkuzM4O2441JIofgs7gb9afN3dmOA94sIBtqEsMHSLMw== X-Received: by 2002:a05:6512:941:b0:500:a378:db71 with SMTP id u1-20020a056512094100b00500a378db71mr5502938lft.57.1699942015881; Mon, 13 Nov 2023 22:06:55 -0800 (PST) Original-Received: from Pro.fritz.box (pd9e366fb.dip0.t-ipconnect.de. [217.227.102.251]) by smtp.gmail.com with ESMTPSA id h11-20020a05600c314b00b00407460234f9sm10224252wmo.21.2023.11.13.22.06.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Nov 2023 22:06:55 -0800 (PST) In-Reply-To: <43f290b0-4119-597b-c89a-0fb4c7db1665@gutov.dev> (Dmitry Gutov's message of "Tue, 14 Nov 2023 02:41:02 +0200") Received-SPF: pass client-ip=2a00:1450:4864:20::130; envelope-from=gerd.moellmann@gmail.com; helo=mail-lf1-x130.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:312715 Archived-At: Dmitry Gutov writes: > First of all, the type dispatch _does_ happen more than once per > sequence in the current master. That doesn't seem to hurt much while > the method is not specialized (only has the default implementation), > but has impact as soon as the function gets additional method > definitions. Thanks for taking a look az the effect of having more than one method. It's pretty much what is to expect, I guess. It's not bad though. Next hit is then probably in the case where effective method functions have to be constructed. Emfs being the result of combining applicable methods. I think in Emacs that boils down to combining a main method with around, after, before methods.