![]() Unfortunately, however, MinGW does not provide man, find, or locate those executables exist only in MSYS2. Unfortunately, some packages exist only as MSYS2 apps, because no one ported them to MinGW.) (Note that the MSYS2 project distributes both MSYS2 ports and MinGW64 ports, so you need to be aware of what you install. If you need some Unix application to be callable from Emacs, always try to find a native Windows port of it do NOT be tempted to install an MSYS2 port. Don't add the MSYS2 bin directory to your system-wide Path, and have Path only reference directories with native Windows and MinGW executables. An except from the post:Ĭompletely segregate MSYS2 from the native Windows applications. I followed this advice from help-gnu-emacs to remove all MSYS2 executables from PATH and exec-path. ![]() The problem seems to lie in competing executables in Git for Windows, MSYS2, and MinGW. Note: the search is performed on the directory (and sub-directories) where the buffer from where you launch the command is located. (setq auto-package-update-hide-results t) ![]() (setq auto-package-update-delete-old-versions t) Keep packages called by use-package automatically updated.Auto install all packages called by use-package.Package config tool ( use-package) Package installation Package Management Emacs Package Repositories (require 'package) It should work on Windows if grep or ripgrep are installed properly (I remember it working on my Windows 10). use-package is installed by default on Emacs 29 (below 29 you have to install use-package manually). Here is my config which works well on my system (GNU Linux Arch, Emacs 28.2). Is there configuration that I'm missing, or does consult have trouble on Windows, or what? "c:/Users/rdprice/Apps/Git/usr/bin/grep.exe" The grep command emacs finds (if it's calling grep at all) is the one from Git for Windows, (executable-find "grep") *, after # and hitting return results in Grep (Project. Now I do M-x consult-grep and in the minibuffer I get Grep (Project. Then, in the scratch buffer, I execute (require 'consult) ![]() After starting emacs with emacs -q, I first execute (require 'package) I'm trying out the consult package, particularly functions such as consult-grep and consult-man, and I'm finding that I apparently don't know how to use them. Emacs 29.0.60 running on Windows 10 with Msys2 and Git for Windows. ![]()
0 Comments
Leave a Reply. |