Subject: Re: backward-kill-shell-word widget
From: Bart Schaefer <[email-masked]>
To: Zsh hackers list <[email-masked]>
Date: Sun, 10 Jan 2016 13:06:48 -0800
List-Id: Zsh Workers List <zsh-workers.zsh.org>

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.