From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thibaut Verron Newsgroups: gmane.emacs.help Subject: Re: Make save the deleted text into the killing ring Date: Thu, 15 Dec 2022 11:18:42 +0100 Message-ID: <08d59878-ad1c-00fe-387b-f91022b1137b@gmail.com> References: <835yedmbwi.fsf@gnu.org> <83mt7pkpgv.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16591"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 To: Eli Zaretskii , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Dec 15 11:19:29 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1p5lKr-0004Bj-5e for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 15 Dec 2022 11:19:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5lKG-0000Ed-Ay; Thu, 15 Dec 2022 05:18:52 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5lKE-0000EN-1x for help-gnu-emacs@gnu.org; Thu, 15 Dec 2022 05:18:50 -0500 Original-Received: from mail-ej1-x629.google.com ([2a00:1450:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p5lKC-0002RR-Dm; Thu, 15 Dec 2022 05:18:49 -0500 Original-Received: by mail-ej1-x629.google.com with SMTP id t17so51154035eju.1; Thu, 15 Dec 2022 02:18:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=Gpbx4otffZYhGbWfo1PQB22+Pn/lSJc6OjkrAKp6Uc0=; b=qGXnfVxkyaDVyH4zNnDN9shgFkHu9dQ+tUlWZO4YfkxnrreZYhHi0uabJv6sp7N6Ib khk5uUm8FYvUxeTQuquomwimtxl8PvUEGyw3873qYDZYkgk0cdOUY/l/jmyUgUSlJMAt ZF1sfApkL3EP4yzg7l29L45mc1ESV1YtBdzSTJRtF3Y/IfAXEq1/qFgb+eeAf24yueri YWevSwVmELUZFoxQvPQwDGzxRB9xN8AhEM52qTR52eXFDwWCXgxlocu+lZw7o/vDgrmw 61j9rTD0bizI7KyquHUznHLh4yZL7ZirVoulD6pNgPB+XjPJGNS7r2wB6UxPtBNsESLA clrg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=Gpbx4otffZYhGbWfo1PQB22+Pn/lSJc6OjkrAKp6Uc0=; b=FVz04oGL1jP4W/h2PtjFl0b7ewU+4owLXrBQqkshWmRvdomWE1rUG0yGOHMcx2ksWG datzU39NIuRwZpWP4ItNwcozdL9fs5Ep8KvR9WYPvbO8cRQ3Tqjchq+gcD0pulcx89/W JB1KD2rYUmYSQR1E7IXeVjfIIiqH7UcNkJisoitwxu3uuJ6jAlA1ne0xO3JKgaH2KKlE PlZxE7yU0tgH6rvhSkYmDrZ8NN9Np95qj7GyaFBnNVu2UKf9WdY+IPidyHUNs0uD8XD6 uoc+CmvNh9Q45d5LVC674TuhyTrov7Yuas/1R8nuh4Z54XxvIMDKoFrFKJz1meSSI4N+ dy1w== X-Gm-Message-State: ANoB5pkEjxcp8vpEOsx7Ur6Y3O3cho15Nvq6wj2reOAmmXf7pUhdg3Pg JNRNyFZnN1JPW0zyg9wEGFFLLEwwpMQ= X-Google-Smtp-Source: AA0mqf6oFN6Z5cp+BFxB/+gzFncmQEGEAVofLb+99AEqG1i/kssLa2m3u3vrswzCmwljax+f2Ua5Kw== X-Received: by 2002:a17:906:d90:b0:7c0:bbab:22ea with SMTP id m16-20020a1709060d9000b007c0bbab22eamr29160701eji.46.1671099524938; Thu, 15 Dec 2022 02:18:44 -0800 (PST) Original-Received: from ?IPV6:2001:628:2010:4094:7de5:a3fd:e8b1:659? ([2001:628:2010:4094:7de5:a3fd:e8b1:659]) by smtp.gmail.com with ESMTPSA id v17-20020a170906293100b007c0cd272a06sm6921177ejd.225.2022.12.15.02.18.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 15 Dec 2022 02:18:43 -0800 (PST) Content-Language: en-US In-Reply-To: <83mt7pkpgv.fsf@gnu.org> Received-SPF: pass client-ip=2a00:1450:4864:20::629; envelope-from=thibaut.verron@gmail.com; helo=mail-ej1-x629.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:141750 Archived-At: On 15/12/2022 10:04, Eli Zaretskii wrote: >> Date: Thu, 15 Dec 2022 09:31:43 +0100 >> From: aitor >> >>> 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 . > Then press "C-u " 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 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.