From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13261 invoked from network); 14 Dec 2003 08:05:36 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 14 Dec 2003 08:05:36 -0000 Received: (qmail 28507 invoked by alias); 14 Dec 2003 08:05:23 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6887 Received: (qmail 28465 invoked from network); 14 Dec 2003 08:05:23 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 14 Dec 2003 08:05:23 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [130.238.4.143] by sunsite.dk (MessageWall 1.0.8) with SMTP; 14 Dec 2003 8:5:22 -0000 Received: by elanus.its.uu.se (Postfix, from userid 204) id 6F81C48F8; Sun, 14 Dec 2003 09:05:13 +0100 (NFT) Received: from elanus.its.uu.se(127.0.0.1) by elanus.its.uu.se via virus-scan id s20641; Sun, 14 Dec 03 09:04:25 +0100 Received: from localhost (NL04-165-13.STUDENT.UU.SE [10.11.165.13]) by elanus.its.uu.se (Postfix) with ESMTP id 4AB5F4870 for ; Sun, 14 Dec 2003 09:04:23 +0100 (NFT) Received: from jesper by localhost with local (Exim 4.24) id 1AVRDo-0002V8-Ca for zsh-users@sunsite.dk; Sun, 14 Dec 2003 09:03:24 +0100 Date: Sun, 14 Dec 2003 09:03:24 +0100 From: Jesper Holmberg To: Zsh-users List Subject: Re: kill-word removes whole line Message-ID: <20031214080323.GX18859@strindberg.dsv.su.se> Mail-Followup-To: Zsh-users List References: <20031213154017.GQ18859@strindberg.dsv.su.se> <1031213183659.ZM5140@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1031213183659.ZM5140@candle.brasslantern.com> User-Agent: Mutt/1.5.4i * On Sat Dec 13, Bart Schaefer wrote: > On Dec 13, 4:40pm, Jesper Holmberg wrote: > } > } autoload -U select-word-style > } select-word-style bash > } > } foo * bar bar bar > } > } and press alt-d, all three "bar" are removed from the command-line. > > The first thing I'd suspect is that you have a zstyle that is using a > more specific context than the ":zle:*" one set by select-word-style. > What do you find if you give the command > > zstyle -L I've done some more experimenting and reading, and now I think I understand what to look for in the zstyle listing. However, as you can see from my previous post, I have no more specific zstyle set for the :zle: commands. In fact, this really looks like a bug to me, since all other word commands like: forward-word-match, backward-word-match backward-kill-word-match transpose-words-match, capitalize-word-match up-case-word-match, down-case-word-match work as expected. For now, I have turned the lines autoload -U select-word-style select-word-style bash off, and use the old bash-backward-kill-word and bash-backward-word until this has been resolved. Jesper