-
Notifications
You must be signed in to change notification settings - Fork 22
Open
Description
Ripgrep has changed the format of the urls and this breaks helm-rg.
It now includes hostname and user name
For example the query:
/usr/bin/rg --smart-case --color=ansi --colors=match:fg:red --colors=match:style:bold "empower your writing with emacs org-mode" ~/org
Old format:
�[0m�[35m/home/user/org/roam/20210812120549-literate_programming.org�[0m:** [[https://www.offerzen.com/blog/literate-programming-empower-your-writing-with-emacs-org-mode][Literate Programming: �[0m�[1m�[31mEmpower Your Writing with Emacs Org-Mode�[0m - OfferZen]]
New format:
�]8;;file://hostname/home/user/org/roam/20210812120549-literate_programming.org�\�[0m�[35m/home/user/org/roam/20210812120549-literate_programming.org�[0m�]8;;�\:** [[https://www.offerzen.com/blog/literate-programming-empower-your-writing-with-emacs-org-mode][Literate Programming: �[0m�[1m�[31mEmpower Your Writing with Emacs Org-Mode�[0m - OfferZen]]
This in turn breaks file paths, and helm-rg cannot jump to the right file. Instead it prompts the user to create some jumbled up directory:
home/user/org/�]8;;file://hostname/home/user/org/roam/20210812120549-literate_programming.org�\roam/
It seems the commit introducing the change is BurntSushi/ripgrep@1a50324
Currently this commit it is not part of a released ripgrep version, but some day it will be the current one.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels

