On Monday 29 December 2008 04:40:11, Joel Brobecker wrote: > > maint set internal-error quit [on|off|auto] > > maint set internal-error corefile [on|off|auto] > > Using "on|off|auto" allows us to re-use the tri-state boolean set/show > commands, but I do find the "auto" value to be confusing. How about > using "on|off|ask" instead? I agree that it is confusing. It seemed at since the variable was already auto_boolean, it was already established that "auto" could mean "ask" in some contexts. "set breakpoint pending" command is using "auto" in a similar way, though, surprisingly, there aren't that many setshow_auto_boolean commands; and we don't need to make the same mistake here. I looked around for other three-state commands, and didn't find reusable patterns, which made me drop the idea of generalizing this, but there's a chance I didn't look right. I think the best is to make this an enum command with the three options ask|on|off, or perhaps better yet, ask|yes|no, as attached? -- Pedro Alves