Subject: bug#58986: closed (Re: bug#58986: [PATCH] Bind "DEL" in dictionary-mode)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 06 Nov 2022 08:16:02 +0000

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 [email-masked].

-- 
58986: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=58986
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#58986: [PATCH] Bind "DEL" in dictionary-mode
From: Eli Zaretskii <[email-masked]>
To: Davide Masserut <[email-masked]>
Cc: [email-masked]
Date: Sun, 06 Nov 2022 10:14:35 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

> 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" <[email-masked]>
> 
> Tags: patch
> 
> This patch binds "DEL" to scroll-down-command in dictionary-mode

Thanks, installed.

Subject: [PATCH] Bind "DEL" in dictionary-mode
From: Davide Masserut <[email-masked]>
To: [email-masked]
Date: Thu, 03 Nov 2022 15:31:38 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

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'
>From c14a5e295d72d7a88d0454d17a6c96a6738b680e Mon Sep 17 00:00:00 2001
From: Davide Masserut <[email-masked]>
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