Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Problem with motion commands defined using match-word-by-style used with vi-delete
- X-seq: zsh-workers 22430
 
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxx (Zsh hackers list)
 
- Subject: Re: Problem with motion commands defined using match-word-by-style used with vi-delete
 
- Date: Tue, 25 Apr 2006 07:28:47 -0700
 
- In-reply-to: <EXCHANGE03SAQV6uPDV0000a9b6@xxxxxxxxxxxxxxxxxx>
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
 
- References: <060423085310.ZM31491@xxxxxxxxxxxxxxxxxxxxxx>	<200604232308.k3NN8Wtj004945@xxxxxxxxxxxxxxxxx>	<dbfc82860604241239q34ee602an680fd20611d52018@xxxxxxxxxxxxxx>	<060424200611.ZM996@xxxxxxxxxxxxxxxxxxxxxx>	<EXCHANGE03SAQV6uPDV0000a9b6@xxxxxxxxxxxxxxxxxx>
 
On Apr 25, 10:58am, Peter Stephenson wrote:
} Subject: Re: Problem with motion commands defined using match-word-by-styl
}
} Bart Schaefer wrote:
} > Incidentally I just noticed that within a widget called by using
} > execute-named-command, the value of $KEYS is carriage return.  I'm not
} > sure what I expected it to be, but that wasn't it.
} 
} I suppose the right answer is the \M-x sequence, or whatever called
} execute-named-command, followed by the command name, followed by a
} newline?
I suppose, but that seems excessive.
} Here's a patch that allows you to request that zle sets the widget in
} the way that it does at the top level.  It's actually done by storing
} the global Thingy in the variable bindk, so it's not quite that simple
So ... shouldn't getvirange() do this part too?  What harm could it be?
} +    bindk = t;
}      ret = execzlefunc(t, args);
} +    bindk = savbindk;
Messages sorted by:
Reverse Date,
Date,
Thread,
Author