Location list entries for unsaved buffer open a new buffer

2023-10-21 Thread Lifepillar
I have a function that pipes a buffer into an external program, then parses its output in a callback and adds the parsed results to a location list. Simplified code for the callback: def Callback(channel: job, msg: string, winid: number, efm: string, cwd: string) silent execute "lcd" cw

Re: Location list entries for unsaved buffer open a new buffer

2023-10-21 Thread Yegappan Lakshmanan
Hi, On Sat, Oct 21, 2023 at 7:09 AM Lifepillar wrote: > I have a function that pipes a buffer into an external program, then > parses its output in a callback and adds the parsed results to > a location list. Simplified code for the callback: > > def Callback(channel: job, msg: string, winid

Re: Location list entries for unsaved buffer open a new buffer

2023-10-21 Thread Lifepillar
On 2023-10-21, Yegappan Lakshmanan wrote: > On Sat, Oct 21, 2023 at 7:09 AM Lifepillar wrote: >> How do I generate location list entries that refer to the proper unsaved >> buffer? >> >> > There is a item in the todo list for more than 20 years now for this: > > - Add %b to 'errorformat': buff

Re: Location list entries for unsaved buffer open a new buffer

2023-10-24 Thread Yegappan Lakshmanan
On Sat, Oct 21, 2023 at 10:08 AM Lifepillar wrote: > On 2023-10-21, Yegappan Lakshmanan wrote: > > On Sat, Oct 21, 2023 at 7:09 AM Lifepillar > wrote: > >> How do I generate location list entries that refer to the proper unsaved > >> buffer? > >> > >> > > There is a item in the todo list for m