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: Acknowledgement (29.0.50; [PATCH] Fix C-r inside xwidget isearch)
Date: Sun, 07 Nov 2021 14:30:33 +0800 [thread overview]
Message-ID: <87fss8wk8m.fsf@yahoo.com> (raw)
In-Reply-To: <handler.51652.B.163626627819267.ack@debbugs.gnu.org> (GNU bug Tracking System's message of "Sun, 07 Nov 2021 06:25:02 +0000")
[-- Attachment #1: Type: text/plain, Size: 705 bytes --]
help-debbugs@gnu.org (GNU bug Tracking System) writes:
> Thank you for filing a new bug report with debbugs.gnu.org.
>
> This is an automatically generated reply to let you know your message
> has been received.
>
> Your message is being forwarded to the package maintainers and other
> interested parties for their attention; they will reply in due course.
>
> Your message has been sent to the package maintainer(s):
> bug-gnu-emacs@gnu.org
>
> If you wish to submit further information on this problem, please
> send it to 51652@debbugs.gnu.org.
>
> Please do not send mail to help-debbugs@gnu.org unless you wish
> to report a problem with the Bug-tracking system.
Here's something else I caught:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Free-find-text-in-correct-procedure.patch --]
[-- Type: text/x-patch, Size: 1324 bytes --]
From 518f879a2ee2c0fb355187de7bdca0e67fe07aca Mon Sep 17 00:00:00 2001
From: Po Lu <luangruo@yahoo.com>
Date: Sun, 7 Nov 2021 14:28:37 +0800
Subject: [PATCH] Free find text in correct procedure
* src/xwidget.c (Fxwidget_webkit_previous_result): Don't free find
text.
(Fxwidget_webkit_finish_search): Free find text here instead.
---
src/xwidget.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/src/xwidget.c b/src/xwidget.c
index 7944ca5c4b..5384938461 100644
--- a/src/xwidget.c
+++ b/src/xwidget.c
@@ -2001,12 +2001,6 @@ DEFUN ("xwidget-webkit-previous-result", Fxwidget_webkit_previous_result,
webview = WEBKIT_WEB_VIEW (xw->widget_osr);
controller = webkit_web_view_get_find_controller (webview);
webkit_find_controller_search_previous (controller);
-
- if (xw->find_text)
- {
- xfree (xw->find_text);
- xw->find_text = NULL;
- }
unblock_input ();
#endif
@@ -2039,6 +2033,12 @@ DEFUN ("xwidget-webkit-finish-search", Fxwidget_webkit_finish_search,
webview = WEBKIT_WEB_VIEW (xw->widget_osr);
controller = webkit_web_view_get_find_controller (webview);
webkit_find_controller_search_finish (controller);
+
+ if (xw->find_text)
+ {
+ xfree (xw->find_text);
+ xw->find_text = NULL;
+ }
unblock_input ();
#endif
--
2.31.1
[-- Attachment #3: Type: text/plain, Size: 39 bytes --]
Thanks. And sorry for all the noise.
next prev parent reply other threads:[~2021-11-07 6:30 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 ` bug#51652: 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
[not found] ` <handler.51652.B.163626627819267.ack@debbugs.gnu.org>
2021-11-07 6:30 ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2021-11-07 14:18 ` 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fss8wk8m.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 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.