zsh-users
 help / color / mirror / code / Atom feed
From: DervishD <raul@pleyades.net>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: Zsh Users <zsh-users@sunsite.dk>
Subject: Re: delete-word does not delete the entire word...
Date: Sun, 12 Oct 2003 10:57:32 +0200	[thread overview]
Message-ID: <20031012085732.GA22968@DervishD> (raw)
In-Reply-To: <1031011210014.ZM13588@candle.brasslantern.com>

    Hi Bart :)

 * Bart Schaefer <schaefer@brasslantern.com> 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/


  reply	other threads:[~2003-10-12  8:53 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-11 12:10 DervishD
2003-10-11 17:36 ` Bart Schaefer
2003-10-11 19:51   ` DervishD
2003-10-11 21:00     ` Bart Schaefer
2003-10-12  8:57       ` DervishD [this message]
2003-10-12 16:32         ` Bart Schaefer
2003-10-12 17:05           ` DervishD
2003-10-12 18:31             ` Peter Stephenson
2003-10-12 20:12               ` Bart Schaefer
2003-10-13 10:04                 ` Peter Stephenson
2003-10-13  9:09               ` DervishD

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20031012085732.GA22968@DervishD \
    --to=raul@pleyades.net \
    --cc=schaefer@brasslantern.com \
    --cc=zsh-users@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).