* bug#51647: 29.0.50; [PATCH] Fix backspace in xwidget-webkit-isearch
[not found] <87fss8y8l4.fsf.ref@yahoo.com>
@ 2021-11-07 2:59 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-07 3:32 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2021-11-07 2:59 UTC (permalink / raw)
To: 51647
[-- Attachment #1: Type: text/plain, Size: 85 bytes --]
Sorry for missing that earlier, before the improvements to xwidgets were
installed.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-backspace-in-xwidget-webkit-isearch.patch --]
[-- Type: text/x-patch, Size: 952 bytes --]
From ead58ebae213b42eab12e66ecca83ae79db3a7cf Mon Sep 17 00:00:00 2001
From: Po Lu <luangruo@yahoo.com>
Date: Sun, 7 Nov 2021 10:57:45 +0800
Subject: [PATCH] Fix backspace in xwidget webkit isearch
* lisp/xwidget.el: Set backspace to
xwidget-webkit-isearch-erasing-char
---
lisp/xwidget.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/xwidget.el b/lisp/xwidget.el
index 4046140895..1e169d5650 100644
--- a/lisp/xwidget.el
+++ b/lisp/xwidget.el
@@ -909,6 +909,7 @@ 'self-insert-command
(define-key xwidget-webkit-isearch-mode-map (kbd "DEL")
'xwidget-webkit-isearch-erasing-char)
+(define-key xwidget-webkit-isearch-mode-map [backspace] 'xwidget-webkit-isearch-erasing-char)
(define-key xwidget-webkit-isearch-mode-map [return] 'xwidget-webkit-isearch-exit)
(define-key xwidget-webkit-isearch-mode-map "\r" 'xwidget-webkit-isearch-exit)
(define-key xwidget-webkit-isearch-mode-map "\C-g" 'xwidget-webkit-isearch-exit)
--
2.31.1
[-- Attachment #3: Type: text/plain, Size: 9 bytes --]
Thanks.
^ permalink raw reply related [flat|nested] 2+ messages in thread