From: Juri Linkov <juri@linkov.net>
To: Jean Louis <bugs@gnu.support>
Cc: 37496@debbugs.gnu.org
Subject: bug#37496: 27.0.50; C-s failing to search
Date: Tue, 28 Jan 2020 02:12:27 +0200 [thread overview]
Message-ID: <87eevkfnh0.fsf@mail.linkov.net> (raw)
In-Reply-To: <87sgo46a4q.fsf@mail.linkov.net> (Juri Linkov's message of "Mon, 07 Oct 2019 21:17:41 +0300")
tags 37496 fixed
close 37496 27.0.60
thanks
>>From what I see wdired doesn't restore a previous value of isearch-filter-predicate.
> This is fine as long as there are no read-only properties kept in the
> Dired buffer, but it seems in your case read-only properties might be
> still present after finishing Wdired-mode. If you can reproduce the bug
> please also try the following patch that could fix it:
>
> diff --git a/lisp/wdired.el b/lisp/wdired.el
> index 44f083bb7f..35f1b5ebbd 100644
> --- a/lisp/wdired.el
> +++ b/lisp/wdired.el
> @@ -357,6 +357,8 @@ wdired-change-to-dired-mode
> (remove-text-properties
> (point-min) (point-max)
> '(front-sticky nil rear-nonsticky nil read-only nil keymap nil)))
> + (remove-function (local 'isearch-filter-predicate)
> + #'wdired-isearch-filter-read-only)
> (use-local-map dired-mode-map)
> (force-mode-line-update)
> (setq buffer-read-only t)
I'm pretty sure this patch fixes the bug, so I installed it to emacs-27
and closed. Please reopen if you encounter the same bug again.
prev parent reply other threads:[~2020-01-28 0:12 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-24 9:51 bug#37496: 27.0.50; C-s failing to search Jean Louis
2019-09-24 10:38 ` Eli Zaretskii
2019-09-24 11:32 ` Jean Louis
2019-09-25 20:45 ` Jean Louis
2019-09-26 7:02 ` Eli Zaretskii
2019-09-26 7:22 ` Jean Louis
2019-09-26 7:39 ` Eli Zaretskii
2019-09-26 7:50 ` Jean Louis
2019-09-26 8:06 ` Eli Zaretskii
2019-09-26 8:54 ` Jean Louis
2019-09-26 9:50 ` Eli Zaretskii
2019-09-28 11:06 ` Jean Louis
2019-09-28 12:13 ` Eli Zaretskii
2019-09-28 12:19 ` Jean Louis
2019-09-28 13:40 ` Eli Zaretskii
2019-09-28 15:08 ` Jean Louis
2019-10-03 18:32 ` Jean Louis
2019-10-03 18:56 ` Eli Zaretskii
2019-10-03 19:14 ` Jean Louis
2019-10-03 19:46 ` Eli Zaretskii
2019-10-03 19:51 ` Jean Louis
2019-10-04 7:17 ` Eli Zaretskii
2019-10-04 14:33 ` Jean Louis
2019-10-07 18:17 ` Juri Linkov
2019-10-08 12:16 ` Jean Louis
2020-01-28 0:12 ` Juri Linkov [this message]
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=87eevkfnh0.fsf@mail.linkov.net \
--to=juri@linkov.net \
--cc=37496@debbugs.gnu.org \
--cc=bugs@gnu.support \
/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.