🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.bug
Article #892

gdb-refresh

#892
From: Eirik Fuller
Date: Sat, 02 Jan 1993 23:01
22 lines
1371 bytes
I seem to recall that some time ago I made a suggestion for gdb mode,
and the response was something like "that sounds like a good idea, but
we don't have time for it now; resubmit it later".

Well, now it's later.  :-)

My suggestion concerns the binding of C-l in gdb mode.  It seems that
whoever devised this binding was unaware of the full behavior of the
global binding of C-l; for a user who finds the global binding of C-l
(recenter) far more useful for scrolling (as in M-0 C-l) than for
refresh, the gdb mode binding of C-l is extremely annoying.  Here's a
replacement which does the same thing as the present gdb mode C-l
binding in the absence of a prefix arg, and is more nearly consistent
with the global binding of C-l.  I would not object to improvements in
the doc string.


(defun gdb-recenter (arg)
  "Recenter, and redisplay the frame"
  (interactive "P")
  (gdb-display-frame)
  (recenter arg))
Technical Details
Message-ID: <199301030901.AA01162@EARACHE.TC.CORNELL.EDU>
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!elf.tn.cornell.edu!eirik

Show Full Headers
Complete Article Headers
Newsgroups: gnu.emacs.bug
Path: arc1-ca.pugleaf.net!sparky!uunet!spool.mu.edu!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!elf.tn.cornell.edu!eirik
From: eirik@elf.tn.cornell.edu (Eirik Fuller)
Subject: gdb-refresh
Message-ID: <199301030901.AA01162@EARACHE.TC.CORNELL.EDU>
Sender: gnulists@ai.mit.edu
Organization: GNUs Not Usenet
Distribution: gnu
Date: Sat, 2 Jan 1993 23:01:53 GMT
Approved: bug-gnu-emacs@prep.ai.mit.edu
Lines: 23