Stefan Monnier writes:
 > > How about if we modify "M-x gdb" to invoke gdb-ui if a certain option
 > > is set?  Whether this option should be on or off by default, is
 > > another matter, but at least users will be able to control what UI
 > > they get by flipping a single option.
 > 
 > Yes, I suggest the following:
 > 
 > - introduce a new custom var with three values (one for --fullname, one for
 >   --annotate=3 and one for auto-detect, this last one being the default).
 > - get rid of the `gdba' name.
 > - improve `gdb's autodetection by checking the command provided for
 >   "--fullname" or "--annotate=3" (this may fail if the command just runs
 >   a script, so we still need the current autodetection).
 > - change default gud-gdb-command-name depending on gud-gdb-annotations.

This seems to be the classic Emacs approach of an option for everything.
Sometimes I prefer that someone who has a deeper understanding to make clear
choices for me.  In the case of "M-x gdb" I'm striving towards having just one
mode.  AFAICS the old mode still remains because the new one doesn't do
everything that the old one does.  However, that doesn't mean that we should
encourage or legitimise use of the old one.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


_______________________________________________
emacs-pretest-bug mailing list
emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to