From unknown Sun Aug 17 01:50:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#58986: [PATCH] Bind "DEL" in dictionary-mode Resent-From: Davide Masserut Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 03 Nov 2022 14:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 58986 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch To: 58986@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.166748596430998 (code B ref -1); Thu, 03 Nov 2022 14:33:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Nov 2022 14:32:44 +0000 Received: from localhost ([127.0.0.1]:49868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqbGu-00083u-18 for submit@debbugs.gnu.org; Thu, 03 Nov 2022 10:32:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:50666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqbGq-00083l-Q8 for submit@debbugs.gnu.org; Thu, 03 Nov 2022 10:32:42 -0400 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 1oqbGq-00073y-KU for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 10:32:40 -0400 Received: from out0.migadu.com ([2001:41d0:2:267::]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqbGn-00019p-Gd for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 10:32:40 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mssdvd.com; s=key1; t=1667485952; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=POITZFevVAfwSpPHvo71WcejeROpPbn7ZSmtmh7Atlw=; b=X+H214deppihu1piK2PAS2Vy5BZV3Tvao8UOCS9wD8rEGRweu9eKj85t7jY8ZRndVHAX35 6DdVhhzv37Mdy2S07iElw/C8RfL0xEAwNxBF4CGDazFGgPCOVTWkBkXOPBzJpPNkkXdt+q WXuh55rYWSQkWK4QXBoYC1upBX4h2R5WpbZOAPbNYgepu4Lso9X6gOdUHyFPchGukQdAxL kL+e/Z2KoTurxxc+OWDHfLtR1HHdKuE1tCbL5TwkNrxCHfOvN7odXG2FLyCel9LuCJmoI5 Y7o3FOi9BQJvckDMbE5iEzCUHm7XKylL0LyIEFGpuLunzET/qzYS3PW8axoP3Q== From: Davide Masserut Date: Thu, 03 Nov 2022 15:31:38 +0100 Message-ID: <87wn8cjeh0.fsf@mssdvd.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:2:267::; envelope-from=dm@mssdvd.com; helo=out0.migadu.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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain; format=flowed Tags: patch This patch binds "DEL" to scroll-down-command in dictionary-mode In GNU Emacs 29.0.50 (build 6, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) of 2022-11-02 built on T480s Repository revision: 62d40f27b2467a5eeaefec37fea305bda54f6524 Repository branch: master System Description: Arch Linux Configured using: 'configure --sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib --localstatedir=/var --with-pgtk --with-native-compilation 'CFLAGS=-march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/home/davide/src/emacs-mssdvd-git/src=/usr/src/debug' LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Bind-DEL-in-dictionary-mode.patch >From c14a5e295d72d7a88d0454d17a6c96a6738b680e Mon Sep 17 00:00:00 2001 From: Davide Masserut Date: Thu, 3 Nov 2022 15:16:21 +0100 Subject: [PATCH] Bind "DEL" in dictionary-mode * lisp/net/dictionary.el (dictionary-mode-map): Bind it to scroll-down-command. --- lisp/net/dictionary.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/net/dictionary.el b/lisp/net/dictionary.el index b8f5018005..572eecab5a 100644 --- a/lisp/net/dictionary.el +++ b/lisp/net/dictionary.el @@ -341,7 +341,8 @@ dictionary-mode-map "p" #'backward-button "SPC" #'scroll-up-command "S-SPC" #'scroll-down-command - "M-SPC" #'scroll-down-command) + "M-SPC" #'scroll-down-command + "DEL" #'scroll-down-command) (defvar dictionary-connection nil -- 2.38.1 --=-=-=-- From unknown Sun Aug 17 01:50:27 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Davide Masserut Subject: bug#58986: closed (Re: bug#58986: [PATCH] Bind "DEL" in dictionary-mode) Message-ID: References: <83y1so1ous.fsf@gnu.org> <87wn8cjeh0.fsf@mssdvd.com> X-Gnu-PR-Message: they-closed 58986 X-Gnu-PR-Package: emacs X-Gnu-PR-Keywords: patch Reply-To: 58986@debbugs.gnu.org Date: Sun, 06 Nov 2022 08:16:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1667722562-8420-1" This is a multi-part message in MIME format... ------------=_1667722562-8420-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #58986: [PATCH] Bind "DEL" in dictionary-mode which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 58986@debbugs.gnu.org. --=20 58986: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D58986 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1667722562-8420-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 58986-done) by debbugs.gnu.org; 6 Nov 2022 08:15:05 +0000 Received: from localhost ([127.0.0.1]:58613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1orao4-0002AY-W4 for submit@debbugs.gnu.org; Sun, 06 Nov 2022 03:15:05 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40472) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oranz-00029f-M8 for 58986-done@debbugs.gnu.org; Sun, 06 Nov 2022 03:15:03 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oranu-0005so-6B; Sun, 06 Nov 2022 03:14:54 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=jLc3G1HLBc5IamIxACUex7faPeGpS/doiyV0MqJr5Dw=; b=MQATVd+4EdaT eOKgKtXEnmL+QfAio/Rye89+egIaDz1jDi2HdCJasqMF6d/WgsIvfSP/CxVbpfDWdOS21+8CCG4Wa sciI5mGm5h+LvtzArpebPYLAzMcX+JcbKve5hu8uH1Udqhyadd0grSw0bJvmOcWYjXaI9ZjjEIZnh eQ0zfBALX4Qa+dl1Hpdm1rNFJALJL1qKzeSjvMRLGX9Zd7fR5mkaYy6/tdXamYwpFT8A+wXxW0oAH jaf23pzElWElP1Kdp+DfEqea5cgBCfx76QulMaST9pFa+cpTzqo/gxqeV1JPPXf5BwCKAEW6UlQlG WoPeV7XZ+jCUKRGoSLZ+ZQ==; Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1orant-0001uj-Lt; Sun, 06 Nov 2022 03:14:54 -0500 Date: Sun, 06 Nov 2022 10:14:35 +0200 Message-Id: <83y1so1ous.fsf@gnu.org> From: Eli Zaretskii To: Davide Masserut In-Reply-To: <87wn8cjeh0.fsf@mssdvd.com> (bug-gnu-emacs@gnu.org) Subject: Re: bug#58986: [PATCH] Bind "DEL" in dictionary-mode References: <87wn8cjeh0.fsf@mssdvd.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 58986-done Cc: 58986-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Thu, 03 Nov 2022 15:31:38 +0100 > From: Davide Masserut via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > Tags: patch > > This patch binds "DEL" to scroll-down-command in dictionary-mode Thanks, installed. ------------=_1667722562-8420-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 3 Nov 2022 14:32:44 +0000 Received: from localhost ([127.0.0.1]:49868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqbGu-00083u-18 for submit@debbugs.gnu.org; Thu, 03 Nov 2022 10:32:44 -0400 Received: from lists.gnu.org ([209.51.188.17]:50666) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oqbGq-00083l-Q8 for submit@debbugs.gnu.org; Thu, 03 Nov 2022 10:32:42 -0400 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 1oqbGq-00073y-KU for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 10:32:40 -0400 Received: from out0.migadu.com ([2001:41d0:2:267::]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oqbGn-00019p-Gd for bug-gnu-emacs@gnu.org; Thu, 03 Nov 2022 10:32:40 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mssdvd.com; s=key1; t=1667485952; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=POITZFevVAfwSpPHvo71WcejeROpPbn7ZSmtmh7Atlw=; b=X+H214deppihu1piK2PAS2Vy5BZV3Tvao8UOCS9wD8rEGRweu9eKj85t7jY8ZRndVHAX35 6DdVhhzv37Mdy2S07iElw/C8RfL0xEAwNxBF4CGDazFGgPCOVTWkBkXOPBzJpPNkkXdt+q WXuh55rYWSQkWK4QXBoYC1upBX4h2R5WpbZOAPbNYgepu4Lso9X6gOdUHyFPchGukQdAxL kL+e/Z2KoTurxxc+OWDHfLtR1HHdKuE1tCbL5TwkNrxCHfOvN7odXG2FLyCel9LuCJmoI5 Y7o3FOi9BQJvckDMbE5iEzCUHm7XKylL0LyIEFGpuLunzET/qzYS3PW8axoP3Q== From: Davide Masserut To: bug-gnu-emacs@gnu.org Subject: [PATCH] Bind "DEL" in dictionary-mode Date: Thu, 03 Nov 2022 15:31:38 +0100 Message-ID: <87wn8cjeh0.fsf@mssdvd.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:2:267::; envelope-from=dm@mssdvd.com; helo=out0.migadu.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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain; format=flowed Tags: patch This patch binds "DEL" to scroll-down-command in dictionary-mode In GNU Emacs 29.0.50 (build 6, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo version 1.17.6) of 2022-11-02 built on T480s Repository revision: 62d40f27b2467a5eeaefec37fea305bda54f6524 Repository branch: master System Description: Arch Linux Configured using: 'configure --sysconfdir=/etc --prefix=/usr --libexecdir=/usr/lib --localstatedir=/var --with-pgtk --with-native-compilation 'CFLAGS=-march=native -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/home/davide/src/emacs-mssdvd-git/src=/usr/src/debug' LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now' --=-=-= Content-Type: text/patch Content-Disposition: attachment; filename=0001-Bind-DEL-in-dictionary-mode.patch >From c14a5e295d72d7a88d0454d17a6c96a6738b680e Mon Sep 17 00:00:00 2001 From: Davide Masserut Date: Thu, 3 Nov 2022 15:16:21 +0100 Subject: [PATCH] Bind "DEL" in dictionary-mode * lisp/net/dictionary.el (dictionary-mode-map): Bind it to scroll-down-command. --- lisp/net/dictionary.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/net/dictionary.el b/lisp/net/dictionary.el index b8f5018005..572eecab5a 100644 --- a/lisp/net/dictionary.el +++ b/lisp/net/dictionary.el @@ -341,7 +341,8 @@ dictionary-mode-map "p" #'backward-button "SPC" #'scroll-up-command "S-SPC" #'scroll-down-command - "M-SPC" #'scroll-down-command) + "M-SPC" #'scroll-down-command + "DEL" #'scroll-down-command) (defvar dictionary-connection nil -- 2.38.1 --=-=-=-- ------------=_1667722562-8420-1--