unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* 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

* bug#51647: 29.0.50; [PATCH] Fix backspace in xwidget-webkit-isearch
  2021-11-07  2:59 ` bug#51647: 29.0.50; [PATCH] Fix backspace in xwidget-webkit-isearch Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2021-11-07  3:32   ` Lars Ingebrigtsen
  0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2021-11-07  3:32 UTC (permalink / raw)
  To: Po Lu; +Cc: 51647

Po Lu <luangruo@yahoo.com> writes:

> Sorry for missing that earlier, before the improvements to xwidgets were
> installed.

Thanks; applied to Emacs 29.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





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

end of thread, other threads:[~2021-11-07  3:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87fss8y8l4.fsf.ref@yahoo.com>
2021-11-07  2:59 ` bug#51647: 29.0.50; [PATCH] Fix backspace in xwidget-webkit-isearch Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-07  3:32   ` Lars Ingebrigtsen

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).