emacs-windows中使用denote-backlinks的配置
denote
在Windows上直接使用会发现backlinks功能报错。根据官方手册的说法:
Please ensure that you have both xargs and either grep or ripgrep available within your PATH environment variable.
我们需要确保电脑上安装了 xargs
和 grep
/ ripgrep
。
虽然作者说:
If you have git on Windows installed, then you may use the following code (adjust the git’s installation path if necessary):
但是根据我的测试, scoop
安装的 git
、 gow
的 xargs.exe
都无法正常生效,需要安装 busybox
后才会让backlinks正常。