unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Alex Branham <alex.branham@gmail.com>,
	Stefan Monnier <monnier@iro.umontreal.ca>
Cc: 33170@debbugs.gnu.org
Subject: bug#33170: 27.0.50; interactive spec with cl-defgeneric/method
Date: Sat, 27 Oct 2018 19:11:42 +0300	[thread overview]
Message-ID: <83r2gbmksh.fsf@gnu.org> (raw)
In-Reply-To: <87d0rva1fx.fsf@gmail.com> (message from Alex Branham on Sat, 27 Oct 2018 09:50:26 -0500)

> From: Alex Branham <alex.branham@gmail.com>
> Cc: 33170@debbugs.gnu.org
> Date: Sat, 27 Oct 2018 09:50:26 -0500
> 
> >> Here, M-x my/test does not work.
> >
> > But "M-: (my/test) RET" does.
> 
> Right. I'd like them to be interactive though so I can e.g. use them
> from a keymap.

You could have a single command that invoked my/test, I think that
would do what you want.

> > I don't think generic functions can be interactive.  At least it is
> > not documented anywhere that they can be.
> 
> Ah, that's unfortunate. Perhaps this limitation should be documented
> somewhere?

If Stefan (CC'ed) says it's a limitation and not a bug, I will
document it.





  reply	other threads:[~2018-10-27 16:11 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-26 22:19 bug#33170: 27.0.50; interactive spec with cl-defgeneric/method Alex Branham
2018-10-27  6:54 ` Eli Zaretskii
2018-10-27 12:40   ` Alex Branham
2018-10-27 14:47     ` Eli Zaretskii
2018-10-27 14:50       ` Alex Branham
2018-10-27 16:11         ` Eli Zaretskii [this message]
2018-10-27 16:14           ` Alex Branham
2018-10-27 21:49           ` Stefan Monnier
2018-10-29 14:18             ` Alex Branham
2018-10-30 10:15               ` Eli Zaretskii
2018-10-30 12:48                 ` Stefan Monnier
2018-10-30 13:09                   ` Eli Zaretskii
2018-10-31 14:49                     ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=83r2gbmksh.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=33170@debbugs.gnu.org \
    --cc=alex.branham@gmail.com \
    --cc=monnier@iro.umontreal.ca \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).