[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Prefix Argument and optional argument
From: |
Christopher Dimech |
Subject: |
Re: Prefix Argument and optional argument |
Date: |
Thu, 7 Jul 2022 15:15:01 +0200 |
> Sent: Friday, July 08, 2022 at 12:53 AM
> From: "Michael Heerdegen" <michael_heerdegen@web.de>
> To: "Christopher Dimech" <dimech@gmx.com>
> Cc: help-gnu-emacs@gnu.org
> Subject: Re: Prefix Argument and optional argument
>
> Christopher Dimech <dimech@gmx.com> writes:
>
> > Is the error because one can either use the prefix argument C-u M-x
> > poke or use just M-x poke? Or something else?
>
> Which error?
>
> Michael.
Have recently seen that compiling
(defun poke (prefix)
"TODO."
(interactive "P")
...)
gives
Warning: misplaced interactive spec: ‘(interactive P)’
Is this associated with trying to call the function non-interactively
or because the prefix (C-u) is not always used when running the function
interactively?
- Re: Prefix Argument and optional argument, (continued)
- Re: Prefix Argument and optional argument, Stefan Monnier, 2022/07/07
- Message not available
- Message not available
- Re: Prefix Argument and optional argument, carlmarcos, 2022/07/06
- Re: Prefix Argument and optional argument, Michael Heerdegen, 2022/07/07
- Re: Prefix Argument and optional argument, Emanuel Berg, 2022/07/07
- Re: Prefix Argument and optional argument, Emanuel Berg, 2022/07/07
- Re: Prefix Argument and optional argument, Michael Heerdegen, 2022/07/07
- Re: Prefix Argument and optional argument, Christopher Dimech, 2022/07/07
- Re: Prefix Argument and optional argument, Michael Heerdegen, 2022/07/07
- Re: Prefix Argument and optional argument,
Christopher Dimech <=
- Re: Prefix Argument and optional argument, Michael Heerdegen, 2022/07/07
- Re: Prefix Argument and optional argument, Christopher Dimech, 2022/07/07
- Re: Prefix Argument and optional argument, Michael Heerdegen, 2022/07/07
- Re: Prefix Argument and optional argument, Emanuel Berg, 2022/07/07
- Re: Prefix Argument and optional argument, Michael Heerdegen, 2022/07/07
- Re: Prefix Argument and optional argument, Emanuel Berg, 2022/07/07
- docstrings (was: Re: Prefix Argument and optional argument), Emanuel Berg, 2022/07/07
- Re: docstrings (was: Prefix Argument and optional argument), Christopher Dimech, 2022/07/07
- Re: docstrings (was: Prefix Argument and optional argument), Christopher Dimech, 2022/07/07
- Re: docstrings (was: Prefix Argument and optional argument), Emanuel Berg, 2022/07/07