From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Augusto Stoffel Newsgroups: gmane.emacs.devel Subject: Re: ELPA submission: drepl (REPL protocol) Date: Thu, 02 Nov 2023 17:08:14 +0100 Message-ID: <878r7g87f5.fsf@gmail.com> References: <87wmv4bmtx.fsf@gmail.com> <874ji7w44p.fsf@posteo.net> <87sf5p9vkm.fsf@gmail.com> <87edh9z5d1.fsf@posteo.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="19240"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Philip Kaludercic , emacs-devel@gnu.org To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Nov 02 17:09: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 1qyaG5-0004j5-KS for ged-emacs-devel@m.gmane-mx.org; Thu, 02 Nov 2023 17:09:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qyaF7-000586-Gc; Thu, 02 Nov 2023 12:08:25 -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 1qyaF6-00057H-93 for emacs-devel@gnu.org; Thu, 02 Nov 2023 12:08:24 -0400 Original-Received: from mail-ed1-x52e.google.com ([2a00:1450:4864:20::52e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qyaF1-0007wm-Jp for emacs-devel@gnu.org; Thu, 02 Nov 2023 12:08:24 -0400 Original-Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-53e04b17132so1812270a12.0 for ; Thu, 02 Nov 2023 09:08:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1698941297; x=1699546097; darn=gnu.org; h=content-transfer-encoding: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=X1Wl80SNxnN5DxLYdHovMzg3esMd0HEHZDBVFRRxm18=; b=NYZvZwIQj0IEnbHjV8BG/uNbd3EH3kRO0MOCJLXc6EgJoYpcxLjx0FjYmbC0Axqkro O/GQgJXEiJz0hoUxbqFOxtFUHzriLgHET51q7eFZHFJQCpu1uKoQvOdpO5M1paQRRBDs pjGebmaYuLue+KI7T+yjXmnl8g0DrnYGujv4kcgv6SbYCS6iJlnbS9NtBbk9yvm+wF32 mmGd1g7dFneur8Aj1uyF8UOy2yQc6F6UtH5yzh9qRcoVVdjhhcyHUW1Nv6LXRVbYhlW2 Yc1DP4RbCyd+xoPMmZ54S7lccUA78dCOrFli9I3ko6D50bxgQ24tvudnluQkOCUsCM01 5WFw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1698941297; x=1699546097; h=content-transfer-encoding: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=X1Wl80SNxnN5DxLYdHovMzg3esMd0HEHZDBVFRRxm18=; b=Kv6OxADVj24Tm6xmbOFA7wD/e+FFgvoVjVrve24jzsfuoAW935KGKhvCRs0nuq6hEg 2r2pGIDX1Pz9O+HZFVx+PHp32sC7qMTJZNJ9so9rr92ro8guuDHKjZDayTcGTCY+S3cQ qPy9b9maQvc4q4ty+C+HHhIB8xZE/ULHZEDYuQdu24wBklH6QfHBXjmIQr0dGsDeCg5t sB2loS2jsSxKoOuOiNJkrDHuzBILXIFS8nAo3adoWo1ngG4ZGL01hEw+ijR2j73gP4Mq YqUMQwyUgoiUhEPnimWb0WNOujKWrAFbtDzTLctbDyt8g4E/T4IqQERfE+AB5LNaVcCU lEew== X-Gm-Message-State: AOJu0YyXANF6bLH5vOWr6/cjMjNvVycbisglGPXb4yFQtq0mmatbqnkD /TR4pN9f+ugIs0UjcUDatHRJJbd3A9Q= X-Google-Smtp-Source: AGHT+IGUcVTxyKgAaC0wUi+uFMY3YFTLNIINenU0xs9w2yVpUI1TuAaIzpPPEhiQmEOh5BhOD0K4sQ== X-Received: by 2002:a17:907:78b:b0:9d3:8d1e:cf0 with SMTP id xd11-20020a170907078b00b009d38d1e0cf0mr4353566ejb.54.1698941297150; Thu, 02 Nov 2023 09:08:17 -0700 (PDT) Original-Received: from ars3 ([2a02:8109:8ace:5100::1448]) by smtp.gmail.com with ESMTPSA id la22-20020a170906ad9600b009b8a4f9f20esm1306911ejb.102.2023.11.02.09.08.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Nov 2023 09:08:16 -0700 (PDT) In-Reply-To: (=?utf-8?Q?=22Jo=C3=A3o_T=C3=A1vora=22's?= message of "Thu, 2 Nov 2023 14:26:56 +0000") Received-SPF: pass client-ip=2a00:1450:4864:20::52e; envelope-from=arstoffel@gmail.com; helo=mail-ed1-x52e.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, T_SCC_BODY_TEXT_LINE=-0.01, T_SPF_TEMPERROR=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:312125 Archived-At: On Thu, 2 Nov 2023 at 14:26, Jo=C3=A3o T=C3=A1vora wrote: > Two notes here: > > * If this generic is something that anyone else besides drepl.el > is meant to add methods to, then it shouldn't be a '--' symbol. Well, those symbols are somewhere in between "public" and "private". As a user you shouldn't fiddle with them (unless you know what you're doing). If anyone wanted to implement a subclass elsewhere, they certainly would have to add methods to some '--' symbols. But then the burden of keeping up with changes in drepl.el is on them and not me. I suppose that's what people understand by double-dashed symbols...? > * Normally, instead of "error", CL programmers just leave out such > a default implementation. The standard "No applicable method" error > already signals that some generic function was invoked with arguments > for which there wasn't an applicable method, and the error message > contains information about those arguments. Ah, sure, that's what I should do.