help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: interactive spec with reasonable numbers for c-u


From: Emanuel Berg
Subject: Re: interactive spec with reasonable numbers for c-u
Date: Tue, 20 Sep 2022 00:43:45 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]