all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Augusto Stoffel <arstoffel@gmail.com>
To: "João Távora" <joaotavora@gmail.com>
Cc: Philip Kaludercic <philipk@posteo.net>,  emacs-devel@gnu.org
Subject: Re: ELPA submission: drepl (REPL protocol)
Date: Thu, 02 Nov 2023 17:08:14 +0100	[thread overview]
Message-ID: <878r7g87f5.fsf@gmail.com> (raw)
In-Reply-To: <CALDnm50Syyhc3f1+LC9XG=NuBQYZDE9-BUgh0T72bX5JUHAqYQ@mail.gmail.com> ("João Távora"'s message of "Thu, 2 Nov 2023 14:26:56 +0000")

On Thu,  2 Nov 2023 at 14:26, João Távora 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.



  reply	other threads:[~2023-11-02 16:08 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-30  7:18 ELPA submission: drepl (REPL protocol) Augusto Stoffel
2023-10-30 22:33 ` Stefan Kangas
2023-10-31  8:11   ` Augusto Stoffel
2023-11-01 20:18     ` Stefan Kangas
2023-10-31  9:08 ` Philip Kaludercic
2023-11-01 18:28   ` Augusto Stoffel
2023-11-01 18:38     ` Philip Kaludercic
2023-11-01 18:56       ` Augusto Stoffel
2023-11-02 14:26       ` João Távora
2023-11-02 16:08         ` Augusto Stoffel [this message]
2023-11-02 16:16           ` João Távora
2023-11-01 18:36   ` Augusto Stoffel
2023-11-07  8:20   ` Philip Kaludercic
2023-11-07 16:52     ` Augusto Stoffel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878r7g87f5.fsf@gmail.com \
    --to=arstoffel@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=joaotavora@gmail.com \
    --cc=philipk@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.