Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: universal argument regression
- X-seq: zsh-workers 21982
- From: Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: universal argument regression
- Date: Wed, 02 Nov 2005 22:24:08 -0500
- Cc: zsh-workers@xxxxxxxxxx
- In-reply-to: <20051102100838.547902bf.pws@xxxxxxx> (Peter Stephenson's message of "Wed, 2 Nov 2005 10:08:38 +0000")
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Organization: EtherSoft, Inc
- References: <m33bmf3d76.fsf@xxxxxxxxxxxx> <20051102100838.547902bf.pws@xxxxxxx>
Peter Stephenson <pws@xxxxxxx> writes:
> Vin Shelton <acs@xxxxxxxxxxxxxxxxxxxx> wrote:
>> It looks like the universal prefix argument is
>> ignored in the latest CVS sources.
>
> This wasn't hard to spot when I started looking...
>
> Index: Src/Zle/zle_misc.c
> ===================================================================
> RCS file: /cvsroot/zsh/zsh/Src/Zle/zle_misc.c,v
> retrieving revision 1.31
> diff -u -r1.31 zle_misc.c
> --- Src/Zle/zle_misc.c 1 Nov 2005 03:26:52 -0000 1.31
> +++ Src/Zle/zle_misc.c 2 Nov 2005 10:07:07 -0000
> @@ -532,11 +532,11 @@
> * of digits. We are assuming ASCII is a subset of the multibyte
> * encoding.
> */
> - if (idigit(lastchar))
> + if (!idigit(lastchar))
> return 1;
> #else
> /* allow metafied as well as ordinary digits */
> - if (idigit(lastchar & 0x7f))
> + if (!idigit(lastchar & 0x7f))
> return 1;
> #endif
>
Yup, that fixed it.
Thank you, Peter.
- vin
Messages sorted by:
Reverse Date,
Date,
Thread,
Author