On Monday 31 October 2011 07:00:12, Jan Kratochvil wrote: > > > I think it should be add_prefix_cmd so that tab completion works. "mappings > > > / "all" should be commands, not parameters. "info proc" already has this bug. > > > > Yeah, `info proc' is buggy indeed. I'll see if I send a patch fixing it > > tomorrow. Thanks for the tip. > > Or it should be a single command using add_setshow_enum_cmd, not sure which > approach is better. Still I think the separate commands are better as they > can have each specific help text. I once wrote a patch for that. /me *looks for it* The reason I never pushed it is that "info proc" handles more than one keyword at the same time. E.g., "info proc cmdline cwd" displays both cmdline and cwd info simultaneously. That doesn't work if you have a command per keyword. -- Pedro Alves