From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?UTF-8?B?Sm/Do28gVMOhdm9yYQ==?= Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: What's missing in ELisp that makes people want to use cl-lib? Date: Thu, 2 Nov 2023 15:31:23 +0000 Message-ID: References: <46ab3c7d-d820-4bb4-8ec4-97c614d7c8a0@alphapapa.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18382"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "rms@gnu.org" , "adam@alphapapa.net" , "emacs-devel@gnu.org" , "stefankangas@gmail.com" To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 02 16:32:45 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 1qyZga-0004YZ-Th for ged-emacs-devel@m.gmane-mx.org; Thu, 02 Nov 2023 16:32:44 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qyZfZ-0004z9-0x; Thu, 02 Nov 2023 11:31:41 -0400 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 1qyZfX-0004yo-Pl for emacs-devel@gnu.org; Thu, 02 Nov 2023 11:31:40 -0400 Original-Received: from mail-lf1-x132.google.com ([2a00:1450:4864:20::132]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qyZfW-0008Ki-8p; Thu, 02 Nov 2023 11:31:39 -0400 Original-Received: by mail-lf1-x132.google.com with SMTP id 2adb3069b0e04-507a3b8b113so1284707e87.0; Thu, 02 Nov 2023 08:31:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698939095; x=1699543895; darn=gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=1t1dUOXJpv/cDWhdxfHNcmEgC1FUGF56nTz33F0GOnc=; b=CDT1vcyaVFj74OT1Q2bOkMv97HzTdpF2TE8OZ0YwY2BezWuSl5INJ5Q+tHSkbV4Yio JgeDw5uxfwZRkGPJy9StpvNn0OoyZ/Fb3iOp1TwiqW7gYZ3+OzPx8rEdQXCyBW8t0phi OBbAKZ8SI+Vc3v7Y/AM2CePy6gWYjRZxWprUz6jiyH7YyjsNqhBXBAFT6e5Vu2Alj83Z xYyvHUJo/tKXm12uVSzKc2Z9/u3T3xW+hIh4T/OCuk1lKrknGWmynDfp7XY6sDHUCHkP v5K7TNMAt19XiNjZDu09/AJYC4mdBQydvq2KInBtH3xQQXhw1dJUBVWaWcm/adSQjZF6 vukQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698939095; x=1699543895; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1t1dUOXJpv/cDWhdxfHNcmEgC1FUGF56nTz33F0GOnc=; b=dyYCiBZhgqqs2M5EIGs/MXNKeUQg5zqFnmbOL7A1h3/bPj76OZa7C+lAuxzxRZrN2r uplBqWHGsIDpFz6cjbCl7yLqj1h3WjSqJW0yUlgn7uL8ItxAgawDRDopJ7m/ryW2Z1GS /bphtHePJ35dVA0dFuTXMqkxAD3BG9Hc8/SO9AKa2CD2OmLnvAwenyHDHmLlziY+yO7z /s0TAF7DZN0JvZ4haOaxDS2elyq+l676bjrjSaMzzTK8SYGKKSO36mTP2WZs4YgnTl+y 0mSRbBGCC0qhIYmCQW03OydL4vJudXnMdqz+/M+ug1CNOIDv+XnZova38ihgkZO3SSfZ aVmw== X-Gm-Message-State: AOJu0Yz2j+q1QlyY/fPYNaWqZD7t5AEJUxwaThn5fU1dNsCZUxOw31N2 9ijZSeDQtueBjIItLEVRuK/cK+Bo5OTkgeXLQ1GCesDVLBE= X-Google-Smtp-Source: AGHT+IHPrA16tXMOUpr9dP2KNizPI+ULPFClULI6IBoqUIjkrv6ICY7LDBN6SKfu9vH7GnnaCVTNI634P4J+Q3TDxNA= X-Received: by 2002:a05:6512:230a:b0:508:11c3:c8ca with SMTP id o10-20020a056512230a00b0050811c3c8camr17351702lfu.7.1698939095119; Thu, 02 Nov 2023 08:31:35 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::132; envelope-from=joaotavora@gmail.com; helo=mail-lf1-x132.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:312124 Archived-At: On Thu, Nov 2, 2023 at 3:20=E2=80=AFPM Drew Adams w= rote: > There's a difference between (1) adding &key to > Elisp generally and (2) letting more functions > take advantage of :key and :test, in particular. Good point. Very good point. It's just that (1) happens to be a very good way to do (2). But you're 100% right for sure it's not the only way and (2) is ultimately what I'm after as well. > (We have :test for `make-hash-table', but I > think that's about it.) We have keyword arguments for more functions, make-process, json-serialize are two that come to mind, pretty sure there are others. > It would be nice to be able to provide for > their use in user-defined functions, without > any need to load anything from `cl-*'. So why not introduce a 'definitelynotcl-defun' macro with support for '&definitelynotkey' that does that? ;-) Jo=C3=A3o