From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Deleting a word using keybinding Date: Thu, 15 Oct 2020 12:26:59 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32767"; mail-complaints-to="usenet@ciao.gmane.io" To: Help Gnu Emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Oct 15 12:28:50 2020 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 1kT0V8-0008QW-6J for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 15 Oct 2020 12:28:50 +0200 Original-Received: from localhost ([::1]:51616 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kT0V7-0006MO-0C for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 15 Oct 2020 06:28:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60336) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kT0TP-0006LL-Qa for help-gnu-emacs@gnu.org; Thu, 15 Oct 2020 06:27:04 -0400 Original-Received: from mout.gmx.net ([212.227.15.19]:54707) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kT0TN-00009n-Jr for help-gnu-emacs@gnu.org; Thu, 15 Oct 2020 06:27:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1602757619; bh=a/sPUrq3GcXlpn7I1gWRFMjiM+IeJqVpPfyackaNIJ4=; h=X-UI-Sender-Class:From:To:Subject:Date; b=F053+gWv8cvBaRopHvF63pH86y644qNtbYL5RaZ5y0SSp44gZCT2vi3GRKxDN47z+ gUT0gqMPNvB8bW3Mxa6YmbHr7WKMSgu166xp8hVLuYaFsArHT4Zhiw1YPaU4q9jzwV Y8QhUngvKDUC1KuzPCDGsECIuS/JnhTU1hhZNTPA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs02.server.lan [172.19.170.129]) (via HTTP); Thu, 15 Oct 2020 12:26:59 +0200 Importance: normal Sensitivity: Normal X-Priority: 3 X-Provags-ID: V03:K1:bTyIRSNqxy4dhEBLBbB+Vff+hnPh1omXyU65hVEoqUYNging2YiOC8NrC8ewdYmm5oKky qrstHaW8g9uE2ygIzYZOsHF51hNUr81xD2O4HG4vduxphud+5Txz+uImZDPd8ce03vVyt9Tq1+wi /GiUG4187v3q8G1Llp2uKub3rjcnyMtWDGb+ETlUf8edE81lPWqBhnUfZ4PEUuwKaMvDbc0DT2YV PAkwnSZwbJxJZVZU348fWgn2oUKevsTJg1rWozfZsiYjLkJqPVvW7pjr6zp/gSFWqnFk3jb+mBtQ oQ= X-UI-Out-Filterresults: notjunk:1;V03:K0:ITqIYBNFcBY=:H25n1YeoObZpc9wIX0aM1t aWQvj5oFrRo67vUOovTWtnpCMdIF+eVu/4ZaGbbL1xqLu7b5zFUC9CA3ngyj6hrrIm+RCDXLv +CBRjGdxYUKTS2Vb8Ei/S1Rv+FRoSy1Rp2OJL/nNkaNDhlMoNPUdthUUqQ7+wH+YGf16XAx7I tOrLsnNKiFSytstpWkTVx7LT5UTJ1zYedpjLY8i8uPUMOLcH6ZxljEBRpPUQ9UmumrS7rE/IP 9W0ccVdcwcb1b6yoEdFc/3SZF0RysG0XwlLEO6Mze+CyKWa64z1ZxJqopbTpxo2GuH1HC0JDc HgQExBgd3vEv6CO9dIXSyMINnoeImTIBluhhUrwc5VUtJ8zMZo3Qa+q+fjKKq6LCE50iBF8g0 vH+ABrAkv/i0ZJy1fBN2KarK2kDd+Fz6whp+UdcMgCR9iOcU9/DyJlMbuUpyxDYwAUQqYX9hY ZRrz1VXpfVrOI2N3bC6nPfoIp+L3fc2y6nR5qOjhx8EVpIAFAK8IDWJYAmLLp+1lShYP1kj6z fBuLpkOU0gVuIVN+qKOw/M2WXHJG1ZA3ooCczlXbRMEdeNuErbcZ0vQ9zYhT5XkFcXXAS3jvH SxRdAWA1S5j+8= Received-SPF: pass client-ip=212.227.15.19; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/10/15 06:27:00 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -24 X-Spam_score: -2.5 X-Spam_bar: -- X-Spam_report: (-2.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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" Xref: news.gmane.io gmane.emacs.help:124463 Archived-At: I am trying to delete a word using keybinding string "C-" but the Chord is still showing as undefined. I would like to delete a word even if I happen to be in the middle of it., so I move backward. Here is the function ( global-set-key (kbd "C-" ) ( lambda () (interactive) ( (backward-word) (kill-word 1) ) ) )