emacs-pretest-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs 23.0.0.1 fails parsing gdb output


From: Nick Roberts
Subject: Re: Emacs 23.0.0.1 fails parsing gdb output
Date: Sat, 14 Jul 2007 12:30:43 +1200

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]