id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	branch_state	votes
4210	A new feature: periodic background command	psprint		"Hi,
I heavily use tags and often hit a need of regenerating them. So I thought about a feature:
- create a dialog where user can enter a command to run and also: a time in seconds or a number of events,
- then create an idle hook basing on the hook API in MC,
- so the hook will be invoked basically after each keypress from frontend_dlg_run() which invokes the idle_hooks,
- it then counts the event (+1) and checks whether interval passed or that enough keys have been pressed,
- if yes, it then runs the command via g_spawn_async fully in background, unnoticeably,
- after the run it then starts measuring time and events again.

What do you think? It's a special feature, I didn't see such one in any editor before, but since it is so gracefully integrated and small codebase, maybe it is worth adding?

[https://asciinema.org/a/Qwh17pQc0cOq1Ii8ALtoY3Pzl asciicast]
"	enhancement	closed	major		mcedit	master	wontfix	ctags,tags				no branch	
