From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10303 invoked from network); 9 Nov 2007 15:57:13 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 9 Nov 2007 15:57:13 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 94472 invoked from network); 9 Nov 2007 15:57:07 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 9 Nov 2007 15:57:07 -0000 Received: (qmail 8363 invoked by alias); 9 Nov 2007 15:57:04 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24077 Received: (qmail 8347 invoked from network); 9 Nov 2007 15:57:04 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 9 Nov 2007 15:57:04 -0000 Received: (qmail 94157 invoked from network); 9 Nov 2007 15:57:04 -0000 Received: from nz-out-0506.google.com (64.233.162.235) by a.mx.sunsite.dk with SMTP; 9 Nov 2007 15:56:58 -0000 Received: by nz-out-0506.google.com with SMTP id r28so499861nza for ; Fri, 09 Nov 2007 07:56:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=jJoast8/Xfo0/yj1NwFcfv9xKMN7jqq6LN4KxreyPq8=; b=P4XqqWf4gbhnItoJTqhejllx9CZFYcd0/CoZOGVkGHHrULtuUmk8irBhjg6rbtaH1dbruUd4gr/5CQK2fQq71RHWhLo1AiKl0eGxr58IYVBBSd2yZMKpsyBSdgkldx+ngpG5xWL796PUzTCYFN5sjXba6kQnnt08YaXcYuWn2dU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=A5f6dXA4l5fgkm39tQVXmKWOI9dVq2nMezB157ZtUxkE981UrLnAv5jcMpEuX+uZZjLX6jy29KuOfUMAVFPHx60X6ziHX1WmiRMdjA+ZacFa+3VxbysfcQ3EKWEHI2GaKbKT4DaPdvsJf5+4kLkLHHZceRC7C5LueqBJmNtDavs= Received: by 10.142.115.10 with SMTP id n10mr537787wfc.1194623816389; Fri, 09 Nov 2007 07:56:56 -0800 (PST) Received: by 10.142.86.21 with HTTP; Fri, 9 Nov 2007 07:56:56 -0800 (PST) Message-ID: <237967ef0711090756l453c1e07l620faf91e143dac6@mail.gmail.com> Date: Fri, 9 Nov 2007 16:56:56 +0100 From: "Mikael Magnusson" To: zsh-workers Subject: some more problems with delete-whole-word-match, no patch MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline 1) if you have two or more spaces between two words and position the cursor between them, invoking the widget will insert an extra space. 2) if you position the cursor at the end of the word, the widget leaves the last character of the word intact, if there is a trailing space (as there usually is if the word isn't the last word on the command line). Putting in a [[ $pos1 = $pos2 ]] && return seems to fix the first problem but I figured the problems are probably related somehow, and I'm not sure why the second occurs. -- Mikael Magnusson