From: "Stephen J. Turnbull" <stephen@xemacs.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: Emacs-Devel devel <emacs-devel@gnu.org>
Subject: Wild idea for call-interactively [was: # in my waste basket]
Date: Thu, 15 Oct 2009 01:50:33 +0900 [thread overview]
Message-ID: <87oco9gbs6.fsf@uwakimon.sk.tsukuba.ac.jp> (raw)
In-Reply-To: <jwv7huy86cf.fsf-monnier+emacs@gnu.org>
Stefan Monnier writes:
> But with call-interactively, it can't specify the file to delete.
D'oh. WIBNI you could? Ie, a list of arguments is passed to
call-interactively along with the function to call. If an argument is
non-nil, it is used as is. If it is nil, then call-interactively
consults the interactive spec to find out how to get that argument.
Or MIWNBN (maybe it would not be nice).
BTW, I guess if the interactive spec is a function, then
call-interactively calls the police instead, and you go to jail. :-)
Or maybe it calls the function as usual and ignores the passed
arguments. Or ... well, this is way too speculative. Make it an
error to pass args to a function with an function for interactive spec.
prev parent reply other threads:[~2009-10-14 16:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-13 21:24 # in my waste basket Lennart Borgman
2009-10-14 7:09 ` Tassilo Horn
2009-10-14 10:23 ` Stephen J. Turnbull
2009-10-14 13:18 ` Stefan Monnier
2009-10-14 16:50 ` Stephen J. Turnbull [this message]
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=87oco9gbs6.fsf@uwakimon.sk.tsukuba.ac.jp \
--to=stephen@xemacs.org \
--cc=emacs-devel@gnu.org \
--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 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.