unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: 51652@debbugs.gnu.org
Subject: bug#51652: 29.0.50; [PATCH] Fix C-r inside xwidget isearch
Date: Sun, 07 Nov 2021 14:24:23 +0800	[thread overview]
Message-ID: <87lf20wkiw.fsf@yahoo.com> (raw)
In-Reply-To: 87lf20wkiw.fsf.ref@yahoo.com

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

I missed this as well.  Sorry about that.  I hope these tickets aren't
being too annoying, thanks.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Fix-C-r-inside-xwidget-isearch.patch --]
[-- Type: text/x-patch, Size: 821 bytes --]

From 58656bb269e58eaaf7b83863e6ed5e34f4285f40 Mon Sep 17 00:00:00 2001
From: Po Lu <luangruo@yahoo.com>
Date: Sun, 7 Nov 2021 14:22:52 +0800
Subject: [PATCH] Fix C-r inside xwidget isearch

* lisp/xwidget.el (xwidget-webkit-isearch-backward): Ask for previous
result.
---
 lisp/xwidget.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/xwidget.el b/lisp/xwidget.el
index 1e169d5650..74c236808a 100644
--- a/lisp/xwidget.el
+++ b/lisp/xwidget.el
@@ -886,7 +886,7 @@ xwidget-webkit-isearch-backward
       (xwidget-webkit-isearch--update)))
   (let ((i 0))
     (while (< i count)
-      (xwidget-webkit-next-result (xwidget-webkit-current-session))
+      (xwidget-webkit-previous-result (xwidget-webkit-current-session))
       (cl-incf i)))
   (xwidget-webkit-isearch--update t))
 
-- 
2.31.1


       reply	other threads:[~2021-11-07  6:24 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <87lf20wkiw.fsf.ref@yahoo.com>
2021-11-07  6:24 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
     [not found]   ` <handler.51652.B.163626627819267.ack@debbugs.gnu.org>
2021-11-07  6:30     ` bug#51652: Acknowledgement (29.0.50; [PATCH] Fix C-r inside xwidget isearch) Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-11-07 14:18   ` bug#51652: 29.0.50; [PATCH] Fix C-r inside xwidget 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=87lf20wkiw.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=51652@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).