I need help with creating a tool. So I have some lines selected by a region, that I need to feed line by line to a shell/python script. The output of shell/python script will be of the form:
0xabcd is in func1 (/path/to/file/a.c:233)
I want to show these lines in a swiper like buffer in this format:
func2(233) /path/to/file/a.c
func1(567) /path/to/another/file/b.c
so that I can use down and up arrows to visit these files. eg. using an up arrow will show file /path/to/file/a.c
at line number 233 and
using a down arrow will show file f.c
at line 567 etc.
something like this but with my own entries:
imgur.com/gallery/uYtuOyg
What is an efficient way I go about doing this in elisp ?