all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#58986: [PATCH] Bind "DEL" in dictionary-mode
@ 2022-11-03 14:31 Davide Masserut via Bug reports for GNU Emacs, the Swiss army knife of text editors
  2022-11-06  8:14 ` Eli Zaretskii
  0 siblings, 1 reply; 2+ messages in thread
From: Davide Masserut via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2022-11-03 14:31 UTC (permalink / raw)
  To: 58986

[-- Attachment #1: Type: text/plain, Size: 762 bytes --]

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'

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Bind-DEL-in-dictionary-mode.patch --]
[-- Type: text/patch, Size: 800 bytes --]

From c14a5e295d72d7a88d0454d17a6c96a6738b680e Mon Sep 17 00:00:00 2001
From: Davide Masserut <dm@mssdvd.com>
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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#58986: [PATCH] Bind "DEL" in dictionary-mode
  2022-11-03 14:31 bug#58986: [PATCH] Bind "DEL" in dictionary-mode Davide Masserut via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2022-11-06  8:14 ` Eli Zaretskii
  0 siblings, 0 replies; 2+ messages in thread
From: Eli Zaretskii @ 2022-11-06  8:14 UTC (permalink / raw)
  To: Davide Masserut; +Cc: 58986-done

> 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" <bug-gnu-emacs@gnu.org>
> 
> Tags: patch
> 
> This patch binds "DEL" to scroll-down-command in dictionary-mode

Thanks, installed.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-11-06  8:14 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-03 14:31 bug#58986: [PATCH] Bind "DEL" in dictionary-mode Davide Masserut via Bug reports for GNU Emacs, the Swiss army knife of text editors
2022-11-06  8:14 ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.