emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master f5ca518: ; xref-collect-matches: Add a TODO


From: Dmitry Gutov
Subject: [Emacs-diffs] master f5ca518: ; xref-collect-matches: Add a TODO
Date: Thu, 4 May 2017 11:27:26 -0400 (EDT)

branch: master
commit f5ca518b9274e4abaecd1398cce6a24b77139ae3
Author: Dmitry Gutov <address@hidden>
Commit: Dmitry Gutov <address@hidden>

    ; xref-collect-matches: Add a TODO
---
 lisp/progmodes/xref.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index a12fa14..9b6a560 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -920,6 +920,9 @@ IGNORES is a list of glob patterns."
   (let* ((grep-find-template (replace-regexp-in-string "<C>" "<C> -E"
                                                        grep-find-template t t))
          (grep-highlight-matches nil)
+         ;; TODO: Sanitize the regexp to remove Emacs-specific terms,
+         ;; so that Grep can search for the "relaxed" version.  Can we
+         ;; do that reliably enough, without creating false negatives?
          (command (xref--rgrep-command (xref--regexp-to-extended regexp)
                                        files
                                        (expand-file-name dir)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]