From: Dmitry Gutov <dgutov@yandex.ru>
To: Juri Linkov <juri@linkov.net>
Cc: Lars Ingebrigtsen <larsi@gnus.org>,
u0138544 <rob.sargent@utah.edu>,
31578@debbugs.gnu.org
Subject: bug#31578: 24.3; vc-ignore-root-dir resets locate-dominating-stop-dir-regexp
Date: Mon, 15 Jul 2019 00:27:23 +0300 [thread overview]
Message-ID: <d5acacec-c407-494d-574b-89c1d9e0ccd0@yandex.ru> (raw)
In-Reply-To: <87v9w4qr0q.fsf@mail.linkov.net>
On 14.07.2019 23:51, Juri Linkov wrote:
> Then we could name a new command vc-dir-root
> (that will use vc-root-dir to visit root dir in vc-dir-mode).
OK, sure.
> BTW, I tried `M-x vc-dir-search' (not bound to any key)
> but it raises an error. Should I create a bug report?
Or go ahead and fix it, I guess.
This patch seems to do the trick:
diff --git a/lisp/vc/vc-dir.el b/lisp/vc/vc-dir.el
index 41b1087ee5..daa2865d88 100644
--- a/lisp/vc/vc-dir.el
+++ b/lisp/vc/vc-dir.el
@@ -805,8 +805,7 @@ vc-dir-search
To continue searching for next match, use command \\[tags-loop-continue]."
(interactive "sSearch marked files (regexp): ")
(tags-search regexp
- (lambda ()
- (mapcar #'car (vc-dir-marked-only-files-and-states)))))
+ (mapcar #'car (vc-dir-marked-only-files-and-states))))
(defun vc-dir-query-replace-regexp (from to &optional delimited)
"Do `query-replace-regexp' of FROM with TO, on all marked files.
next prev parent reply other threads:[~2019-07-14 21:27 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-23 22:03 bug#31578: 24.3; vc-ignore-root-dir resets locate-dominating-stop-dir-regexp u0138544
2019-07-13 14:27 ` Lars Ingebrigtsen
2019-07-13 16:31 ` Andy Moreton
2019-07-13 16:37 ` Lars Ingebrigtsen
2019-07-14 20:01 ` Juri Linkov
2019-07-14 20:14 ` Dmitry Gutov
2019-07-14 20:51 ` Juri Linkov
2019-07-14 21:27 ` Dmitry Gutov [this message]
2020-08-22 15:31 ` Lars Ingebrigtsen
2020-08-22 15:40 ` ROB SARGENT
2020-08-22 15:41 ` 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=d5acacec-c407-494d-574b-89c1d9e0ccd0@yandex.ru \
--to=dgutov@yandex.ru \
--cc=31578@debbugs.gnu.org \
--cc=juri@linkov.net \
--cc=larsi@gnus.org \
--cc=rob.sargent@utah.edu \
/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).