[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Rationale behind conversion of a nil prefix arg to numeric 1
From: |
Kaushal Modi |
Subject: |
Re: Rationale behind conversion of a nil prefix arg to numeric 1 |
Date: |
Tue, 06 Sep 2016 16:41:55 +0000 |
Ah! So you are suggesting to use the lowercase (interactive "p") AND (setq
counter (or arg 1)) !
I thought you were providing an alternative to not having to use the
lowercase p interactive form.
On Tue, Sep 6, 2016 at 12:37 PM Andreas Röhler <
andreas.roehler@easy-emacs.de> wrote:
> Not sure IIUC
>
> (defun whatarg-p (arg)
> (interactive "p")
> (message "%s" arg))
>
> Called with simply C-u without numeric argument gives me "4"
>
> (4) would be the result with uppercase P
>
--
Kaushal Modi
- Re: Rationale behind conversion of a nil prefix arg to numeric 1, (continued)
- Re: Rationale behind conversion of a nil prefix arg to numeric 1, Andreas Röhler, 2016/09/05
- Re: Rationale behind conversion of a nil prefix arg to numeric 1, Eli Zaretskii, 2016/09/05
- Re: Rationale behind conversion of a nil prefix arg to numeric 1, tomas, 2016/09/06
- Re: Rationale behind conversion of a nil prefix arg to numeric 1, Florian v. Savigny, 2016/09/06
- Re: Rationale behind conversion of a nil prefix arg to numeric 1, tomas, 2016/09/06
- Re: Rationale behind conversion of a nil prefix arg to numeric 1, Andreas Röhler, 2016/09/06
- Re: Rationale behind conversion of a nil prefix arg to numeric 1, Florian v. Savigny, 2016/09/06
- RE: Rationale behind conversion of a nil prefix arg to numeric 1, Drew Adams, 2016/09/06
- Re: Rationale behind conversion of a nil prefix arg to numeric 1, Kaushal Modi, 2016/09/06
- Re: Rationale behind conversion of a nil prefix arg to numeric 1, Andreas Röhler, 2016/09/06
- Re: Rationale behind conversion of a nil prefix arg to numeric 1,
Kaushal Modi <=
- Re: Rationale behind conversion of a nil prefix arg to numeric 1, Charles Millar, 2016/09/07
- Re: Rationale behind conversion of a nil prefix arg to numeric 1, Kaushal Modi, 2016/09/08
- Re: Rationale behind conversion of a nil prefix arg to numeric 1, Charles Millar, 2016/09/08
- RE: Rationale behind conversion of a nil prefix arg to numeric 1, Drew Adams, 2016/09/08
- Re: Rationale behind conversion of a nil prefix arg to numeric 1, Andreas Röhler, 2016/09/06
- RE: Rationale behind conversion of a nil prefix arg to numeric 1, Drew Adams, 2016/09/05
- Re: Rationale behind conversion of a nil prefix arg to numeric 1, Florian v. Savigny, 2016/09/05
- RE: Rationale behind conversion of a nil prefix arg to numeric 1, Drew Adams, 2016/09/05
- Re: Rationale behind conversion of a nil prefix arg to numeric 1, B.V. Raghav, 2016/09/05
Re: Rationale behind conversion of a nil prefix arg to numeric 1, Florian v. Savigny, 2016/09/04