[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/ivy-hydra 64d18d1 002/395: counsel.el (counsel-ag): Res
From: |
Basil L. Contovounesios |
Subject: |
[elpa] externals/ivy-hydra 64d18d1 002/395: counsel.el (counsel-ag): Respect case sensitivity settings |
Date: |
Thu, 25 Feb 2021 08:31:18 -0500 (EST) |
branch: externals/ivy-hydra
commit 64d18d1f9e7bd4c7b734057c9868347d1965036e
Author: Hong Xu <hong@topbug.net>
Commit: Oleh Krehel <ohwoeowho@gmail.com>
counsel.el (counsel-ag): Respect case sensitivity settings
Similar to counsel, ag defaults to smart case. Need to pass "-s" to
enforce case-sensitive search.
Fixes #2282
---
counsel.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/counsel.el b/counsel.el
index 5192200..c6c7480 100644
--- a/counsel.el
+++ b/counsel.el
@@ -2801,7 +2801,9 @@ NEEDLE is the search string."
(regex (counsel--grep-regex search-term))
(switches (concat (car command-args)
(counsel--ag-extra-switches regex)
- (and (ivy--case-fold-p string) " -i "))))
+ (if (ivy--case-fold-p string)
+ " -i "
+ " -s "))))
(counsel--async-command (counsel--format-ag-command
switches
(shell-quote-argument regex)))
- [elpa] externals/ivy-hydra d4e17ee 009/395: Also remember search history when using swiper-isearch, (continued)
- [elpa] externals/ivy-hydra d4e17ee 009/395: Also remember search history when using swiper-isearch, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra c5e162a 013/395: swiper.el (swiper-thing-at-point): Use regexp-quote, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra be231a5 001/395: counsel.el (counsel-kmacro): Add, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 1ad457d 007/395: ivy.el (ivy-read-action-function): Fix type, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra f6b3b29 011/395: counsel.el (counsel-compile-forget-command): Add, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 7b1af79 012/395: counsel.el (counsel--projectile-root): Add, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 32c097a 004/395: counsel.el (counsel-search): Rename from counsel-google and add DDG, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 884dd9e 025/395: counsel.el (counsel--git-grep-occur-cmd): Handle case folding, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 9666820 037/395: swiper.el (swiper--add-overlays): Don't miss highlights when at eol, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra ad00c47 039/395: swiper.el (swiper--re-builder): Treat "\n" in input as a newline, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 64d18d1 002/395: counsel.el (counsel-ag): Respect case sensitivity settings,
Basil L. Contovounesios <=
- [elpa] externals/ivy-hydra b0029ca 010/395: Make casefold settings for counsel-git-grep work., Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra a2a3263 014/395: ivy.el (ivy-initial-inputs-alist): Add default behavior, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 2fe64cd 036/395: swiper.el (swiper--isearch-highlight): Don't hang on empty match data, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra f50104c 021/395: ivy.el (ivy--cd-maybe): Exit with 'no-update-history, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 3b35b45 015/395: counsel.el (counsel-ack): Fix, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 47e5046 027/395: swiper.el (swiper--isearch-function-1): Don't skip match at eobp, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 43daeb1 029/395: counsel.el (counsel-git-grep): Set :require-match to t in `ivy-read', Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra d28cd03 048/395: ivy.el (file-local-name): Define unless already defined, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra e1cfd32 052/395: ivy.el (ivy-use-group-face-if-no-groups): New defcustom, Basil L. Contovounesios, 2021/02/25
- [elpa] externals/ivy-hydra 4f81b22 006/395: counsel.el (counsel-search-engines-alist): Fix, Basil L. Contovounesios, 2021/02/25