On Mon, Mar 02, 2020 at 12:14:47PM -0800, Kevin J. McCarthy wrote: > On Mon, Mar 02, 2020 at 10:44:02PM +0300, Consus wrote: > > On Mon, Mar 02, 2020 at 09:31:23AM -0800, Kevin J. McCarthy wrote: > > > I can easily add an expando for the total number of background > > > sessions: both still editing, and done editing but waiting to be > > > resumed. Would that be helpful? > > > > > > Separating out the running vs finished count is trickier due to > > > implementation issues (I currently only waitpid inside the > > > background menu). > > > > Probably, but I'm not entirely sure I get the difference between "done > > editing" and "finished". > > Ah sorry I'm not being careful enough with my word choices. Those mean the > same thing. There are two states in the background menu: 1) the launched > $editor is still in process, labeled "running" 2) the $editor has exited, > labeled "finished". > > I can easily give a status bar expando count of all the backgrounded > processes (both "running" and "finished"), but providing a count of only > "finished" or only "running" might be trickier and I'd need to think about > it. > > I hope I didn't make things even more confusing. :-)
Ah, I get it now. Yeah, the total number of all background sessions would be a great help.