From: Emanuel Berg <incal@dataswamp.org>
To: help-gnu-emacs@gnu.org
Subject: Re: interactive spec with reasonable numbers for c-u
Date: Tue, 20 Sep 2022 00:43:45 +0200 [thread overview]
Message-ID: <87wn9z0yu6.fsf@dataswamp.org> (raw)
In-Reply-To: <CAJcAo8v1zKzp1A8s=16V=k3G94naPMhiSEjDoA8hP+qFq5oXsQ@mail.gmail.com> (Samuel Wales's message of "Mon, 19 Sep 2022 15:14:03 -0700")
Samuel Wales wrote:
> i don't need to improve the code. looks like it is
> broken anyway.
Interesting ...
> it was just an nyi example of what interactive could do with
> a spec that allows you to supply symbols and then those
> symbols are set acording to number of c-u operatiosn.
Well, of course with programming you can do whatever you want
with data. f(x) = y ...
> i don't like the interactie spec normally. but in this case
> if it is going to exist for p and P then i think it should
> get symbolic.
Write code ...
(defun try (this times)
(interactive (list "this" 501)) ; <-- here
(message "try %s %s times" this times) )
--
underground experts united
https://dataswamp.org/~incal
prev parent reply other threads:[~2022-09-19 22:43 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-08 0:47 interactive spec with reasonable numbers for c-u Samuel Wales
2022-09-08 1:03 ` Emanuel Berg
2022-09-08 5:45 ` Eli Zaretskii
2022-09-08 9:39 ` Emanuel Berg
[not found] ` <CAJcAo8vg6_Ej-0TtdKQdKDTJ32f=-UJExeyS0Wd-0SCSQyY2jw@mail.gmail.com>
2022-09-10 2:03 ` Emanuel Berg
2022-09-17 6:19 ` Samuel Wales
2022-09-09 0:49 ` Samuel Wales
2022-09-09 3:36 ` Emanuel Berg
[not found] ` <CAJcAo8v1ygssXWXHN2yu7OCk9UagSG48-DEPvU7bnZg691JjRg@mail.gmail.com>
[not found] ` <CAJcAo8v9XaoT8c8f=9_a=8LOh3euerW5mnfjfNGjDfGjsvPvSg@mail.gmail.com>
2022-09-19 7:10 ` Emanuel Berg
[not found] ` <CAJcAo8v1zKzp1A8s=16V=k3G94naPMhiSEjDoA8hP+qFq5oXsQ@mail.gmail.com>
2022-09-19 22:43 ` Emanuel Berg [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
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=87wn9z0yu6.fsf@dataswamp.org \
--to=incal@dataswamp.org \
--cc=help-gnu-emacs@gnu.org \
/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.
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).