[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs Interactive functions with arguments
From: |
Emanuel Berg |
Subject: |
Re: Emacs Interactive functions with arguments |
Date: |
Fri, 09 Oct 2020 16:10:17 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux) |
Christopher Dimech wrote:
> Besides general comments, I have some specific
> question. (1) The two constructs (interactive "p")
> and (interactive "pMessage: ") are valid, but are
> they equivalent? (2) How is (interactive "p")
> different from (interactive "N"). They both
> represent numeric arguments, but what is different?
C-h f interactive RET
> ( defun IntchgWp (arg)
> "TODO"
> (interactive "p")
> (transpose-words arg)
> )
>
> ( defun IntchgW--pmesg (arg)
> "TODO"
> (interactive "pType Arg to transpose-words: ")
> (transpose-words arg)
> )
C-h f defalias RET
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal