From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29347 invoked from network); 12 Oct 2003 08:53:37 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 12 Oct 2003 08:53:37 -0000 Received: (qmail 28512 invoked by alias); 12 Oct 2003 08:53:21 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 6691 Received: (qmail 28461 invoked from network); 12 Oct 2003 08:53:20 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 12 Oct 2003 08:53:20 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [62.193.203.32] by sunsite.dk (MessageWall 1.0.8) with SMTP; 12 Oct 2003 8:53:19 -0000 Received: from DervishD.pleyades.net (212.Red-80-35-44.pooles.rima-tde.net [80.35.44.212]) by madrid10.amenworld.com (8.10.2/8.10.2) with ESMTP id h9C8rES10889; Sun, 12 Oct 2003 10:53:14 +0200 Received: from raul@pleyades.net by DervishD.pleyades.net with local (Exim MTA 2.05) id <1A8c2e-0005yZ-00>; Sun, 12 Oct 2003 10:57:32 +0200 Date: Sun, 12 Oct 2003 10:57:32 +0200 From: DervishD To: Bart Schaefer Cc: Zsh Users Subject: Re: delete-word does not delete the entire word... Message-ID: <20031012085732.GA22968@DervishD> Mail-Followup-To: Bart Schaefer , Zsh Users References: <20031011121052.GA5092@DervishD> <1031011173654.ZM13301@candle.brasslantern.com> <20031011195149.GA22610@DervishD> <1031011210014.ZM13588@candle.brasslantern.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1031011210014.ZM13588@candle.brasslantern.com> User-Agent: Mutt/1.4i Organization: Pleyades User-Agent: Mutt/1.4i Hi Bart :) * Bart Schaefer dixit: > } Maybe, I don't really know. I don't feel like telling what I > } think about vi or emacs, but when documentation say 'word' I assume > } 'entire word', not 'from cursor position to...' ;)) > What you're missing is that the documentation nearly always is expressed > in terms of character positions, not semantic buffer contents. That's the problem, maybe: I haven't understood that from the documentation. I mean, the docs talks about LBUFFER, RBUFFER, cursor positions, etc... when talking about zle widgets, for example, but doesn't say explicitly (I think, I haven't read the entire documentation) that a word is not a semantic entity but just the buffer contents from the cursor position to the next word boundary. That's why I asked. I must confess that before asking I did a search on the mailing list archives, and didn't found anyone asking anything similar. That should be a clue for me that the problem was entirely mine. Maybe if I had used more word-commands in my favourite editor or in my ocassional uses of vi, I would have been less surprised with the way of working of zle. Better luck next time :) Thanks for your help. Raúl Núñez de Arenas Coronado -- Linux Registered User 88736 http://www.pleyades.net & http://raul.pleyades.net/