Closed bangedorrunt closed 7 years ago
Does ag/rg work from other folders? In GUI Emacs (and in the dashboard), the starting directory is your $HOME
. Running ag/rg there means searching the entire tree down from $HOME
, which may be causing them to crash.
When you start from terminal, it uses the folder that you ran emacs -nw
from, which is likely much smaller than $HOME
Try changing into another directory, like a project, e.g. M-x cd RET ~/.emacs.d
, then search again.
@hlissner, I still got the same problem in GUI Emacs, even when I change dir with M-x cd
.
Does it has anything todo with https://github.com/abo-abo/swiper/issues/844 (path issue)?
It does sound like a path issue, but I don't think it's directly related to the linked issue. Could you run DEBUG=1 make doctor
and include the output?
I will do it when I got my mac back. Will report to u asap
Here is the output
❯ DEBUG=1 make doctor
DOOM Doctor
Running Emacs v25.2.1, commit 895d59f9b43f0ef9f529daeeef9feb279cfbf9cc
Compiled with:
JPEG RSVG IMAGEMAGICK NOTIFY ACL GNUTLS LIBXML2 ZLIB
TOOLKIT_SCROLL_BARS NS MODULES
uname -a:
Darwin babygau.local 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15
17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64
Attempt to load DOOM: success! Loaded v2.0.5
Revision 895d59f9b43f0ef9f529daeeef9feb279cfbf9cc
----
test-emacs
test-windows
test-fonts
Found font Operator Mono
Found font material-design-icons.ttf
Found font weathericons.ttf
Found font octicons.ttf
Found font fontawesome.ttf
Found font file-icons.ttf
Found font all-the-icons.ttf
test-gnutls
test-tls
Verified elpa.gnu.org
Verified melpa.org
Rejected https://self-signed.badssl.com (a good thing!)
(error "Certificate validation failed self-signed.badssl.com,
verification code 142")
Rejected https://wrong.host.badssl.com/ (a good thing!)
(error "The x509 certificate does not match
\"wrong.host.badssl.com\"")
test-tar
====
Have some debug information:
+ enabled modules:
+evil +jump +snippets
+file-templates +hydra +spellcheck
+syntax-checker +version-control +workspaces
+eval +company +ivy
+doom +doom-dashboard +doom-modeline
+doom-quit +hl-todo +nav-flash
+evil-goggles +dired +electric-indent
+eshell +gist +impatient-mode
+macos +neotree +prodigy
+rotate-text +term +upload
+emacs-lisp +javascript +markdown
+sh +typescript +web
+org +org-babel +org-capture
+org-export +org-notebook +org-present
+babygau
+ enabled packages:
ace-link-20170904.340 ace-window-20170801.1334
all-the-icons-20170817.642 async-20170823.2116
auto-compile-20170817.1437 auto-yasnippet-20160925.225
avy-20170819.1039 centered-window-mode-20170528.25
coffee-mode-20170324.240 command-log-mode-20160412.2147
company-20170828.414 company-dict-20160528.53
company-quickhelp-20170429.1052 company-shell-20170517.2241
company-statistics-20170210.1133 company-tern-20161004.1147
company-web-20160502.658 counsel-20170906.1103
counsel-css-20170305.1247 counsel-projectile-20170906.349
dired-k-20170313.803 doom-themes-20170912.726
dumb-jump-20170910.1353 editorconfig-20170910.1926
eldoc-eval-20150512.506 emmet-mode-20161113.2158
evil-20170904.1346 evil-anzu-20170123.2318
evil-args-20140329.1429 evil-commentary-20170413.751
evil-easymotion-20170110.2004 evil-embrace-20160519.1129
evil-escape-20170115.1343 evil-exchange-20170510.1959
evil-goggles-20170917.815 evil-indent-plus-20151109.1106
evil-matchit-20170727.1741 evil-mc-20170716.1806
evil-multiedit-20170623.1135 evil-numbers-20140606.551
evil-snipe-20170903.603 evil-surround-20170910.1952
evil-textobj-anyblock-20170905.1207 evil-vimish-fold-20161103.333
evil-visualstar-20160222.1648 exec-path-from-shell-20170508.4
expand-region-20170514.1309 f-20170404.1039
flycheck-20170907.1504 flycheck-cask-20160928.226
flycheck-pos-tip-20170504.1504 flyspell-correct-20170213.700
flyspell-correct-ivy-20161031.1134 fringe-helper-20140620.1409
gist-20170604.1834 git-gutter-fringe-20170112.2133
git-link-20170603.1026 git-timemachine-20170325.220
gitconfig-mode-20170627.854 gitignore-mode-20160319.302
gxref-20170411.1053 haml-mode-20170624.2148
help-fns+-20170223.733 highlight-indentation-20170502.43
highlight-numbers-20170905.342 highlight-quoted-20140916.1122
hl-todo-20170621.1257 htmlize-20161211.1019
hydra-20170903.218 imenu-anywhere-20170805.1155
imenu-list-20170728.632 impatient-mode-20170505.1921
ivy-20170906.855 ivy-hydra-20170703.2350
js2-mode-20170815.1415 js2-refactor-20170703.314
less-css-mode-20160930.2153 macrostep-20161120.1306
magit-20170908.1344 markdown-mode-20170830.2131
markdown-toc-20170711.1249 multi-term-20160619.233
nav-flash-20140508.1341 neotree-20170522.758
nlinum-1.7 nlinum-hl-20170613.1748
nlinum-relative-20160526.8 nodejs-repl-20170722.443
ob-go-20170731.1057 ob-mongo-20170720.1219
ob-redis-20160411.2013 ob-restclient-20160323.2305
ob-rust-20150612.2223 ob-sql-mode-20170213.1056
ob-translate-20170720.1219 org-bullets-20170211.810
org-plus-contrib-20170911.654 org-tree-slide-20160513.2325
osx-clipboard-20141012.17 overseer-20170207.2241
ox-pandoc-20170829.1658 ox-reveal-20161027.226
pcre2el-20161120.1303 persp-mode-20170908.648
prodigy-20170816.1114 projectile-20170827.2053
pug-mode-20170127.1949 quickrun-20170222.1715
rainbow-delimiters-20160430.2358 rainbow-mode-0.13
rjsx-mode-20170808.634 rotate-text-20111204.1239
s-20170906.1304 sass-mode-20161006.2326
shackle-20170213.1534 shrink-path-20170812.1947
skewer-mode-20170730.1241 slime-20170828.451
smart-forward-20140430.13 smartparens-20170723.1205
smex-20151212.1409 solaire-mode-20170823.422
ssh-deploy-20170907.305 stripe-buffer-20141208.708
stylus-mode-20150313.812 sublimity-20170821.127
swiper-20170817.1000 tern-20161222.850
tide-20170831.2047 toc-org-20170518.451
typescript-mode-20170831.619 undo-tree-20170706.246
vi-tilde-fringe-20141027.1942 visual-fill-column-20170502.1300
web-beautify-20161115.1447 web-mode-20170906.214
wgrep-20141016.1656 which-key-20170817.1107
xref-js2-20170530.126 yasnippet-20170828.1908
+ byte-compiled files:
n/a
+ exec-path:
/usr/local/bin/
/usr/bin/
/bin/
/usr/sbin/
/sbin/
/Users/babygau/.nvm/versions/node/v8.4.0/bin/
/Users/babygau/bin/
/usr/local/Cellar/emacs-plus/25.2_2/libexec/emacs/25.2/x86_64-apple-darwin16.7.0/
+ PATH:
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
/Users/babygau/.nvm/versions/node/v8.4.0/bin
/Users/babygau/bin
Everything seems fine, happy Emacs’ing!
I figured it out. If I open file which is not a git project, the prob occurred, otherwise, it works!
Hi @hlissner,
I got the following prob when searching with
ag/ripgrep
If I launch
emacs
from terminal,ag/ripgrep
search works properly.Is it just me or a bug?