[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: |
Mon, 05 Sep 2016 15:22:04 +0000 |
Exactly.
Just treat the "p" (lowercase p) interactive form as the special case where
you only need to deal with numeric arguments and the default numeric
argument is 1.
If you need to deal with numeric, nil and other non-numeric arguments like
(4), (16), etc, use the "P" (uppercase p) interactive form. The "P"
interactive form passes the args to the function in their raw, untouched
form.
On Mon, Sep 5, 2016, 8:57 AM Eli Zaretskii <eliz@gnu.org> wrote:
>
> Commands that need to distinguish between those should not use "p".
>
--
Kaushal Modi
- Rationale behind conversion of a nil prefix arg to numeric 1, Florian v. Savigny, 2016/09/04
- Re: Rationale behind conversion of a nil prefix arg to numeric 1, Eli Zaretskii, 2016/09/04
- Re: Rationale behind conversion of a nil prefix arg to numeric 1, Andreas Röhler, 2016/09/04
- Re: Rationale behind conversion of a nil prefix arg to numeric 1, Eli Zaretskii, 2016/09/04
- 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,
Kaushal Modi <=
- 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, 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