|
From: | Thibaut Verron |
Subject: | Re: Make <delete> save the deleted text into the killing ring |
Date: | Thu, 15 Dec 2022 11:18:42 +0100 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
On 15/12/2022 10:04, Eli Zaretskii wrote:
Date: Thu, 15 Dec 2022 09:31:43 +0100 From: aitor <aitors2005@gmail.com>Any reason why you think you need that? Doing so will fill the kill-ring with meaningless single-character entries. You have 'undo', which can undelete the deleted text, so why do you want to put every single character you delete in the kill-ring?I usually select portions of text using shift+arrow keys, and then delete them by pressing <delete>.Then press "C-u <delete>" instead. That will allow you to control when the deleted text goes to the kill-ring and when not. Doing that by default makes little sense, because <delete> is also used to delete single characters or very short stretches of text.
One could also have a delete function which saves to the kill ring only when the region is active. This should keep most short deletions out.
[Prev in Thread] | Current Thread | [Next in Thread] |