Package: zsh
Version: 4.3.2-2

The Vi-like wordwise operations (mainly vi-backward-kill-word,
vi-backward-word and vi-forward-word) differ from the Vi behavior and the
stock undebianized zsh behavior.

With Vi and stock Zsh, "foo/bar" makes three words: "foo", "/" and "bar".
With Debianized zsh 4.3.2-2 (but not 4.3.1-1), it makes only one word.

The bug is in Src/Zle/zle_word.c: Debian patch changes from using iident to
Z_vident, which is defined as a macro as a top of the file. Obviously the
definition of that macro is wrong. It ends up using wcsiword, which in turn
uses $WORDCHARS, which is the behavior expected from the emacs-style
bindings, but not from the vi-style bindings.

Irrelevant stuff about my system, to make the bug report complete:

Packages zsh depends on:
ii  debconf                        1.4.71
ii  libc6                          2.3.6-3
ii  libncurses5                    5.5-1

Kernel:
Linux ssecem 2.6.14.1 #1 PREEMPT Wed Nov 9 20:27:50 CET 2005 i686 GNU/Linux

Attachment: signature.asc
Description: Digital signature

Reply via email to