reddit / emacs

procress: A simple emacs package to indicate progress of a process in the modeline (for example AUCTeX processes)

haji-ali · 2022-07-15 21:04
haji-ali · 2022-07-15 21:06
This is my first public package. Any comments on the package, documentation or my lisp-fu are welcome.
agumonkey · 2022-07-15 21:45
Didn't try it yet, but by the gif only it seems cute and super useful from ergonomics perspective. Similar to python rich lib (with its cli progress bars)
TheFrenchPoulp · 2022-07-15 21:55
Thanks, I've had something like that in my todo for a while now. I'll dig in the code see how it works and whether I can easily use it for my long tasks Does it support determined progresses or is it made for indetermined only?
TheFrenchPoulp · 2022-07-15 22:29
Quick scan over the syntax I noticed that you could replace a few `if`s with `when`s And a small typo line 28
[deleted] · 2022-07-15 22:29
[deleted]
haji-ali · 2022-07-15 22:34
At the moment undetermined progress is what's supported out-of-the-box. Determined progress can be supported easily enough if [svg-lib](https://github.com/rougier/svg-lib) is used to create the progress bar.
haji-ali · 2022-07-15 22:41
Thanks! Corrected those.