[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-readline] rluserman: difference between backward-kill-line and
From: |
Chet Ramey |
Subject: |
Re: [Bug-readline] rluserman: difference between backward-kill-line and |
Date: |
Tue, 15 Apr 2014 16:20:03 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.4.0 |
On 4/12/14, 3:34 PM, Дилян Палаузов wrote:
> Hello,
>
> readline-6.3/doc/rluserman.texi, Node Bindable Readline Commands > Killing
> and Yanking states:
>
> `backward-kill-line (C-x Rubout)'
> Kill backward to the beginning of the line.
>
> `unix-line-discard (C-u)'
> Kill backward from the cursor to the beginning of the current line.
>
> What is the difference between unix-line-discard and backward-kill-line ?
There's little practical difference. backward-kill-line understands
negative arguments, but both commands end up putting the same text into
the kill ring and leaving point at the same spot.
--
``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/