[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: {,shell-}{,backward-}kill-word same two key-bindings in bash man pag
From: |
Chet Ramey |
Subject: |
Re: {,shell-}{,backward-}kill-word same two key-bindings in bash man page |
Date: |
Tue, 11 Mar 2014 16:31:37 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 |
On 3/11/14 9:23 AM, Oliver Hartley wrote:
> Hi bug-bash,
>
> (Please CC me, I am not subscribed)
>
> In the man page for bash, there is the following section:
>
>> kill-word (M-d)
>> Kill from point to the end of the current word, or if
>> between words, to the end of the next word. Word boundaries
>> are the same as those used by forward-word.
>> backward-kill-word (M-Rubout)
>> Kill the word behind point. Word boundaries are the same
>> as those used by backward-word.
>> shell-kill-word (M-d)
>> Kill from point to the end of the current word, or if
>> between words, to the end of the next word. Word boundaries
>> are the same as those used by shell-forward-word.
>> shell-backward-kill-word (M-Rubout)
>> Kill the word behind point. Word boundaries are the same
>> as those used by shell-backward-word.
>
> As you can see kill-word and shell-kill-word are documented to have the
> same default binding, as do backward-kill-word and
> shell-backward-kill-word. But AFAIK, shell-{,back}kill-word aren't bound
> by default. Is this just a 'copy-paste' oversight or am I missing something?
Thanks for the report. It's just a copy-and-paste oversight.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU address@hidden http://cnswww.cns.cwru.edu/~chet/