>>>>> "Nick" == Nick Roberts <[EMAIL PROTECTED]> writes:
    Nick> 
    >> BTW there must be a new problem with the newest CVS version. A call like:
    >> M-x gdb -> gdb --annotate=3 umc.vx
    >> gives me the following error (taken from *Messages*):
    Nick> 
    Nick> Is it a new problem? i.e. did it work previously?

Yes and yes

    >> I could trace this down to the following lines in my .emacs file:
    >> (eval-after-load "gdb-ui"
    >> '(progn
    >> (message "Configuring gdb-ui")
    >> ;(setq gdb-show-main t)
    >> ;(setq gdb-many-windows t)
    >> ;(setq gdb-use-separate-io-buffer t)
    >> ))
    Nick> 
    Nick> I think you should do:
    Nick> 
    Nick> (add-hook 'gdb-mode-hook 
    Nick>           '(lambda ()
    Nick>            (message "Configuring gdb-ui")
    Nick>            (setq gdb-show-main t)
    Nick>            (setq gdb-many-windows t)
    Nick>            (setq gdb-use-separate-io-buffer t)))

Yes I know that there are different ways to configure the variables for
gdb-ui. But I believe that this simple eval-after-load (especially with all
settings commented out) shouldn't break gdb. Besides why should I do it in a
hook that is run every time I call gdb, when configuring it once should be
enough.

Klaus


-- 
 ------------------------------------------
|  Klaus Zeitler      Lucent Technologies  |
|  Email:             [EMAIL PROTECTED]  |
 ------------------------------------------
---
I never learned anything while I was talking. - Anonymous


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to