zsh-workers
 help / color / mirror / code / Atom feed
From: "Bart Schaefer" <schaefer@candle.brasslantern.com>
To: zsh-workers@sunsite.auc.dk (Zsh hackers list)
Subject: Re: backward-kill-word behavior
Date: Mon, 25 Jun 2001 15:43:01 -0700	[thread overview]
Message-ID: <010625154301.ZM24246@candle.brasslantern.com> (raw)
In-Reply-To: <20010625213638.AE56C14286@pwstephenson.fsnet.co.uk>

On Jun 25, 10:36pm, Peter Stephenson wrote:
> 
> We can supply functions that do this.  The deletion is a trivial one-line
> parameter substitution.  However, pushing the deleted part onto the kill
> ring appears to be rather harder.  You can manipulate point and mark, but
> that messes up the user's state.  Is it really impossible to do this as the
> internals do, or have I missed something?

Is there something wrong with:

    function bash-backward-kill-word {
	local WORDCHARS=''
	zle .backward-kill-word
    }


-- 
Bart Schaefer                                 Brass Lantern Enterprises
http://www.well.com/user/barts              http://www.brasslantern.com

Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net   


  reply	other threads:[~2001-06-25 22:44 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-06-25 19:10 Clint Adams
2001-06-25 21:36 ` Peter Stephenson
2001-06-25 22:43   ` Bart Schaefer [this message]
2001-06-25 23:56     ` Peter Stephenson
2001-06-26 10:20       ` Peter Stephenson
2001-06-26 13:24         ` Sven Wischnowsky
2001-06-26 14:00           ` Peter Stephenson
2001-06-26 14:01             ` Sven Wischnowsky
2001-06-26 14:19               ` Peter Stephenson
2001-06-27 13:41     ` Clint Adams
2001-06-27 14:01       ` Peter Stephenson

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=010625154301.ZM24246@candle.brasslantern.com \
    --to=schaefer@candle.brasslantern.com \
    --cc=zsh-workers@sunsite.auc.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).