From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 51647@debbugs.gnu.org
Subject: bug#51647: 29.0.50; [PATCH] Fix backspace in xwidget-webkit-isearch
Date: Sun, 07 Nov 2021 10:59:19 +0800 [thread overview]
Message-ID: <87fss8y8l4.fsf@yahoo.com> (raw)
In-Reply-To: 87fss8y8l4.fsf.ref@yahoo.com
[-- 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.
next parent reply other threads:[~2021-11-07 2:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[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 [this message]
2021-11-07 3:32 ` bug#51647: 29.0.50; [PATCH] Fix backspace in xwidget-webkit-isearch Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fss8y8l4.fsf@yahoo.com \
--to=bug-gnu-emacs@gnu.org \
--cc=51647@debbugs.gnu.org \
--cc=luangruo@yahoo.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).