emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 0fb52dc: ; Add a FIXME about handing a missing find


From: Dmitry Gutov
Subject: [Emacs-diffs] master 0fb52dc: ; Add a FIXME about handing a missing find or grep program
Date: Sun, 9 Apr 2017 23:23:08 -0400 (EDT)

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

    ; Add a FIXME about handing a missing find or grep program
---
 lisp/progmodes/xref.el | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lisp/progmodes/xref.el b/lisp/progmodes/xref.el
index a8933b0..e9c42a1 100644
--- a/lisp/progmodes/xref.el
+++ b/lisp/progmodes/xref.el
@@ -931,6 +931,10 @@ IGNORES is a list of glob patterns."
     (with-current-buffer buf
       (erase-buffer)
       (call-process-shell-command command nil t)
+      ;; FIXME: What to do when the call fails?
+      ;; "find: ‘zzgrep’: No such file or directory\n"
+      ;; The problem is, find-grep can exit with a nonzero code even
+      ;; when there are some matches in the output.
       (goto-char (point-min))
       (while (re-search-forward grep-re nil t)
         (push (list (string-to-number (match-string 2))



reply via email to

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