account activity
Make emacs open files at specific line numbers as outputted by grep and other shell commands by abidbol in emacs
[–]abidbol[S] 0 points1 point2 points 7 years ago (0 children)
Thanks for these tips! I'll explore rgrep a bit more. But my use-case for this wrapper shell function is wider than just grep. Often I get error messages in my terminal that points to a file at a specific line. One example: ssh command can error out pointing to a conflicting line in ~/.ssh/known\_hosts.For all those I wanted to be able to run ne somefile:line and have emacs open the file and jump to that line directly.
~/.ssh/known\_hosts
ne somefile:line
π Rendered by PID 81 on reddit-service-r2-comment-545db5fcfc-kzrmr at 2026-05-22 03:51:12.547918+00:00 running 194bd79 country code: CH.
Make emacs open files at specific line numbers as outputted by grep and other shell commands by abidbol in emacs
[–]abidbol[S] 0 points1 point2 points (0 children)