Emacs 29.0.60 running on Windows 10 with Msys2 and Git for Windows.
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. After starting emacs with emacs -q
, I first execute
(require 'package)
(setq package-enable-at-startup nil)
(add-to-list 'package-archives
'("melpa" . "https://melpa.org/packages/"))
(add-to-list 'package-archives
'("org" . "http://orgmode.org/elpa/"))
(package-initialize)
(when (not package-archive-contents)
(package-refresh-contents))
to tell emacs where to find packages. Then, in the scratch buffer, I execute
(require 'consult)
Now I do M-x consult-grep
and in the minibuffer I get
Grep (Project .emacs.d): #
Typing anything, including .*
, after #
and hitting return results in
Grep (Project .emacs.d): #.* [No match]
The grep
command emacs finds (if it's calling grep
at all) is the one from Git for Windows,
(executable-find "grep")
"c:/Users/rdprice/Apps/Git/usr/bin/grep.exe"
M-x grep
works just fine. Is there configuration that I'm missing, or does consult
have trouble on Windows, or what?