emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/urgrep c26ff9b22b 029/115: Add note about grep issues o


From: ELPA Syncer
Subject: [elpa] externals/urgrep c26ff9b22b 029/115: Add note about grep issues on MS Windows
Date: Wed, 10 May 2023 03:00:40 -0400 (EDT)

branch: externals/urgrep
commit c26ff9b22bd6f163a9246a04e794306828b8305d
Author: Jim Porter <jporterbugs@gmail.com>
Commit: Jim Porter <jporterbugs@gmail.com>

    Add note about grep issues on MS Windows
---
 urgrep.el | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/urgrep.el b/urgrep.el
index 4ca0b3b4b8..7bcc741d7e 100644
--- a/urgrep.el
+++ b/urgrep.el
@@ -156,6 +156,9 @@ If a cons, show CAR and CDR lines before and after, 
respectively."
      (executable-name "grep")
      (command-function ,#'urgrep--rgrep-command)
      (context-arguments ,urgrep--context-arguments)
+     ;; XXX: On MS Windows, -P and -F seem to cause issues due to the default
+     ;; locale. Setting LC_ALL=en_US.utf8 fixes this, but I'm not sure if this
+     ;; is the right thing to do in general...
      (regexp-arguments (('bre  '("-G"))
                         ('ere  '("-E"))
                         ('pcre '("-P"))



reply via email to

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