Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID
	autolearn=ham autolearn_force=no version=3.4.0
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=brasslantern-com.20150623.gappssmtp.com; s=20150623;
        h=from:message-id:date:in-reply-to:comments:references:to:subject
         :mime-version:content-type;
        bh=L/MkC7nX5fwHS3fA3MBRC7dO5odJTGVlCHU6DArcAaI=;
        b=T79CI1zX67TzIqdmDv+WAm6/e+OTihiFefeq3xNWLjypLHTnmuEimY7lwpOvcyYSMZ
         71sxHEudD7TtB31HdNkymEZxJXFmE8Ol4CrP959cZDAoSvEifDLmTpYA7m7o0C20N8rs
         J9qEv/fwF9M8PsrtxunoZ/c+YgI1z1173Txe1TNIVeqbTdEuRa7lb5yjC4Abl57HiqIf
         tzxPoo4zrzcq6B0VcHRjhtRlDdRiKFTG8Wl1VUOZnsjlxEfTp/Dkf9YWus+VFz1xjhbi
         jEOAXf/dJoTEy5+fCtWKQHJfmLHCsmCZMwW79/mF0Y0F1NDyLA1q3yCAAqtffmSpq//d
         OzUA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20130820;
        h=x-gm-message-state:from:message-id:date:in-reply-to:comments
         :references:to:subject:mime-version:content-type;
        bh=L/MkC7nX5fwHS3fA3MBRC7dO5odJTGVlCHU6DArcAaI=;
        b=SwAKA6LTblxissRtm8plovXbSA4zSGZcTOiKslyY4QF2S4iisqhSsZPSx9fUKSkvTR
         JCHtycCj8UdshrxKdpoIHKC/Al1aD0w3/zTg+0siszl8sqKTg+u85rEPnJ53QkaiVIkH
         0v3qYxPotDmg1oG/o+KDFCu5OWN89Gl4MJx1XHTYxCDnF4C3UtRSJcA+d1m8pQBpVr4I
         jQArMKtI7+dp7fxSqvY6khqLSG21MdigvO4KDs1ny8d/PLHYSJq4BQVLQt/3TljP6g0a
         vwI3Py6nBHjtb7gisdqQDcrD6CDpoL1TjppBjMyDKuhvUT5dA7wOodf29/JlIpIZO/HY
         5ODg==
X-Gm-Message-State: ALoCoQltlrsRRnYiZI588O41fYPh7Ro0UDqRl5CbXve8Hz5wWzJKgKdslRFWFBd6sxTOEi1Obxp/SUjn5GmuA5SfSrvtg9gZ6w==
X-Received: by 10.66.237.35 with SMTP id uz3mr175681261pac.96.1452459996665;
        Sun, 10 Jan 2016 13:06:36 -0800 (PST)
From: Bart Schaefer <schaefer@brasslantern.com>
Message-Id: <160110130648.ZM1330@torch.brasslantern.com>
Date: Sun, 10 Jan 2016 13:06:48 -0800
In-Reply-To: <20160110195943.GB11464@tarsus.local2>
Comments: In reply to Daniel Shahaf <d.s@daniel.shahaf.name>
        "Re: backward-kill-shell-word widget" (Jan 10,  7:59pm)
References: <20160110003758.GA28696@tarsus.local2> 
	<CAKc7PVBuSXQfu=cJZekc-nr-tFtk2dd1tzKL3x8GD0APKoNQQg@mail.gmail.com> 
	<20160110195943.GB11464@tarsus.local2>
X-Mailer: OpenZMail Classic (0.9.2 24April2005)
To: Zsh hackers list <zsh-workers@zsh.org>
Subject: Re: backward-kill-shell-word widget
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Seq: zsh-workers 37556

On Jan 10,  7:59pm, Daniel Shahaf wrote:
}
} How does emacs handle this issue?  Does emacs have different chords for
} different kinds of "delete a word backwards"?

I've never seen "chords" used that way before.

Anyway, yes.

Where possible to distinguish backspace from ctl-h (in which case ctl-h
is a prefix character invoking help),

shift makes no difference
backspace is delete backward character
ctl-backspace is kill backward word
alt-backspace is kill backward word
alt-ctl-backspace is kill line

This of course may vary by emacs version/variant.  Exactly what happens
when ctl-h and backspace are the same, also varies.

