Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: the function to show a digit argument while it is being typed
- X-seq: zsh-users 14552
- From: Greg Klanderman <gak@xxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: the function to show a digit argument while it is being typed
- Date: Wed, 11 Nov 2009 13:44:06 -0500
- In-reply-to: <091111094507.ZM30174@xxxxxxxxxxxxxxxxxxxxxx> (Bart Schaefer's message of "Wed, 11 Nov 2009 09:45:07 -0800")
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <10081257897632@xxxxxxxxxxxxxxxxxxx> <237967ef0911101822g5bfcf4fao25fc33ba0a2e8604@xxxxxxxxxxxxxx> <091110204748.ZM28704@xxxxxxxxxxxxxxxxxxxxxx> <237967ef0911102217m1325dc59y8d7388e9f6f21c7b@xxxxxxxxxxxxxx> <091111001419.ZM28852@xxxxxxxxxxxxxxxxxxxxxx> <m3eio56o4i.fsf@xxxxxxxxxxxxxx> <091111094507.ZM30174@xxxxxxxxxxxxxxxxxxxxxx>
- Reply-to: gak@xxxxxxxxxxxxxx
>>>>> On November 11, 2009 Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
> Here's a summarized version based on everything that's gone by so far.
That's not working right with negative arguments for me - an initial
neg-argument is ignored both in what is displayed, and in the effect
of the eventual argument.
Also, if you use neg-argument after using digit-argument, then the
display gets all screwed up because the prompt incorrectly moves up a
line.
> The "emulate" should take care of that -- things like shwordsplit also
> needed to be handled.
Of course that's a better fix.
> } Also would be nice if this worked with universal-argument.
> Hmm, that one is a lot trickier;
That's too bad, as it's what I usually use. Wonder how hard it'd be
to add this functionality directly to the C code implementing that..
> Things get even hairier when argument-base is thrown in.
Ha ha, I didn't even know about that!
Greg
Messages sorted by:
Reverse Date,
Date,
Thread,
Author