From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: John Haman Newsgroups: gmane.emacs.help Subject: Re: Make save the deleted text into the killing ring Date: Wed, 14 Dec 2022 14:52:13 -0500 Message-ID: <87k02tix02.fsf@johnhaman.org> References: <87sfhhswwb.fsf@dataswamp.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10581"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Dec 14 20:53:06 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 1p5XoN-0002RT-4N for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 14 Dec 2022 20:53:05 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p5Xnj-0004wq-1R; Wed, 14 Dec 2022 14:52:23 -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 1p5Xnh-0004wb-3O for help-gnu-emacs@gnu.org; Wed, 14 Dec 2022 14:52:21 -0500 Original-Received: from wout2-smtp.messagingengine.com ([64.147.123.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p5Xnf-0004cb-8C for help-gnu-emacs@gnu.org; Wed, 14 Dec 2022 14:52:20 -0500 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 0938832007F1 for ; Wed, 14 Dec 2022 14:52:14 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Wed, 14 Dec 2022 14:52:15 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=johnhaman.org; h=cc:content-type:date:date:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:sender:subject :subject:to:to; s=fm1; t=1671047534; x=1671133934; bh=XuVvfYGGSH UjQl+4H1y8nTJLj2J/7M3RnW33Hd9993Y=; b=vyjsP3RjV14jmv2Bosbaoc5UC7 XLiH2udoivUgYG7XF0eWDPKqWzftHWAZjsnidtMHLk9uXX46mOEl9A0awBc6X0Ty ZO0U99IAShFw+udD7aL72f/fIUO9hGmUIDyHcm7UVYQHvatZN8VbwfsKbZCs8hea 9xiGdB00d5PCPDaTr7qSMaoJTDLjx0SVmSjR81CLohDjHV4B5XzcANzV3tM3MIVB SHDLbGsA1gsXC6aG0U7y/DzZlsiTYXQO/tpNXRCufTh/jjnaEGnyz0ctxnjFIpQ3 owWQAGo2Lm9PAgH4UFd6Stqj1t3FRijjiquSQkzJRki+8fiogDGrdGR7ig5A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:date:feedback-id :feedback-id:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:sender:subject:subject:to:to :x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1671047534; x=1671133934; bh=XuVvfYGGSHUjQl+4H1y8nTJLj2J/ 7M3RnW33Hd9993Y=; b=arvlp31zlrlGyl1hJn30Yyy1VVYQAnrr88yzTnc8uFiL wMkrOP/aTcVxKxJN13yNm920uhgfdV8jqnv12SOCuSvzTj60jfWBdIxY/0HWlB3j gwaFeYXtiLa373uQxZbUPgdtPWokJNxQwXWRjYuS/zzVHSbp7MJrvLHKV9PKpIAx HSgPAaTRqCaFDAHtmSbGHgpB+Yg12h1MJmKvTA61J7759Fn/f+6Wsrrb0hcm3+7t LJHtc/vtARjnr7RHygi/EQbuirCQ6bn/J9C+SNv8OdZ3Co800T7eLZsexlePBgJ/ C4NtwtSfWSC500K4tUk4ZGeSLW/EwCQQcVJkwGVIdg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrfeefgddufeduucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufhffjgfkfgggtgesthdtre dttdertdenucfhrhhomheplfhohhhnucfjrghmrghnuceomhgrihhlsehjohhhnhhhrghm rghnrdhorhhgqeenucggtffrrghtthgvrhhnpeettddufeevveevgfeigffhkeeuieegvd ehteevvddvfeffjedvfeefkeduveehheenucevlhhushhtvghrufhiiigvpedtnecurfgr rhgrmhepmhgrihhlfhhrohhmpehmrghilhesjhhohhhnhhgrmhgrnhdrohhrgh X-ME-Proxy: Feedback-ID: idfe144c2:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA for ; Wed, 14 Dec 2022 14:52:14 -0500 (EST) In-Reply-To: <87sfhhswwb.fsf@dataswamp.org> (Emanuel Berg's message of "Wed, 14 Dec 2022 18:44:20 +0100") Received-SPF: pass client-ip=64.147.123.25; envelope-from=mail@johnhaman.org; helo=wout2-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_PASS=-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:141736 Archived-At: The function `delete-forward-char' takes an optional argument, killflag. Maybe OP could use something like ```emacs-lisp (define-key global-map (kbd "") #'(lambda () (interactive) (delete-forward-char 1 t))) ``` -- Dr. John Haman Maryland, USA