Closed zonotope closed 6 years ago
@dajva I'm not sure what to make of the CI failure. It looks like the style linter doesn't load the definitions of any of the functions referenced in the rg-define-search
macro. I can't tell what the problem could be from looking through style-check.el
, all the tests pass, and I can successfully load rg.el
, define a custom search in an emacs instance, and the functions work as I expect. Do you know what the problem could be?
Regarding the CI failure I think you need to wrap the defuns used from the macro in eval-when-compile
to make those available during compilation (which is what happens in the style-check). At least that works locally for me.
Thanks a lot for your effort on this. Very nice implementation and well structured code. This will greatly improve the usability of this package.
thank you for writing this package in the first place! i'm glad i could help.
Add a new function,
rg-dwim-regexp
to search for a user provided pattern using the default type alias.rg-dwim-regexp
is like a cross betweenrg-project
andrg-dwim
in that it skips the files confirmation but still lets you enter your own pattern.