idris-hackers / idris-mode

Idris syntax highlighting, compiler-supported editing, interactive REPL and more things for Emacs.
GNU General Public License v3.0
267 stars 70 forks source link

WIP: Load idris file on idris-list-holes invocation #577

Closed keram closed 1 year ago

keram commented 1 year ago

Why: To reduce steps to show holes for current buffer. Currently when idris file buffer is open and user tries: M-x idris-list-holes he gets error: "Buffer *.idr has no process"

If there is a running idris process but other file was loaded, the result may be that holes for the previous buffer or message "No holes found!" is displayed.