emacs-devel
[Top][All Lists]
Advanced

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

Re: M-x gdb on a tty


From: Nick Roberts
Subject: Re: M-x gdb on a tty
Date: Sun, 16 Aug 2009 10:58:51 +1200

 > > AFAIK, I've only changed the background colour (font-lock-doc-face).
 > > Perhaps you can post a screenshot of what you see.
 > 
 > Attached below.

Yes, that's pretty much what I see except the colour is a bit different.
I can't remember if I deliberately used lower case.
 
 > >  > Also, it looks like the code which produces these menu items does not
 > >  > take the GUD arrow into consideration: switching to the source buffer
 > >  > where the arrow is displayed causes these menu items to move right by
 > >  > one character, exposing a letter ("C" in my case) beneath it.  This
 > >  > again looks like a bug, even if it's a feature.
 > > 
 > > The "C" is just the menu item for your C source file.  It should really
 > > come after the tool bar items so that they don't move right.
 > 
 > It comes before instead, see the snapshot.

It comes before for me too.  The tool bar like buttons are all
part of gud-minor-mode-map which comes after the major mode so I'm
not sure how to move it, or if it's worth doing.

 > >  > Finally, these menu items obscure the normal ones.
 > > 
 > > I don't see this.  Perhaps you could post another screenshot.
 > 
 > See the snapshot: all the menu items before "C" are gone.  I guess
 > "obscure" was not the right word, now that I understand they are
 > simply gone from the menu bar.

On a terminal there's not enough space for both and I considered that
the usual menu items weren't so important during a debug session.  This
is a similar arrangement to the GUD toolbar on a graphical display:
it overwrites the global toolbar during debug.

This 'feature' was part of Emacs 22 and I've had no feedback, either positive
or negative, so I don't feel that strongly about it.  If you wish, you're
welcome to remove it (lines 259:293 of gud.el 1.162.2.3 on EMACS_23_1_RC).
I'm still expecting that, at some point, another release will be made from
there.  It could also be removed from trunk.

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




reply via email to

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