Closed FrostyX closed 4 years ago
If this is the expected behavior, please just let me know how to browse a file without any specified line number.
Before this commit https://github.com/rmuslimov/browse-at-remote/commit/771a3079e27f397d2f5a9470b945980fa68ee048, I feel like it was working as you expected. However, my personal feeling that it should be better with explicit line number added. You can adjust defcustom as mentioned in my commit and get behaviour as you prefer. Thanks for pointing to this issue!
(setq browse-at-remote-add-line-number-if-no-region-selected nil)
Works like a charm. Thank you.
I believe there is a bug with appending line numbers even when we don't want them. Or maybe I have just different expectations, in that case, please just close the issue.
I would expect that if
M-x bar-browse
, no line number should be in the linkBoth 2 and 3 works as expected, but 1 not. Even though I have nothing selected, line number appears in the link.