unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* New function for gdb-ui.el?
@ 2005-10-23  9:14 Nick Roberts
  2005-10-23 11:56 ` Eli Zaretskii
  2005-10-23 21:26 ` Kim F. Storm
  0 siblings, 2 replies; 40+ messages in thread
From: Nick Roberts @ 2005-10-23  9:14 UTC (permalink / raw)



Is it a good idea to add the function below to gdb-ui.el now/ever?

Nick
  

(defun gdb-mouse-until (event)
  "Execute source lines by dragging the overlay arrow (fringe) with the mouse."
  (interactive "e")
  (let ((startpos (posn-point (event-start event)))
	(endline (line-number-at-pos (posn-point (event-end event)))))
    (if (equal startpos (marker-position gud-overlay-arrow-position))
	(gud-call
	 (concat "until " buffer-file-name ":" (number-to-string endline))))))

(define-key gud-minor-mode-map [left-fringe drag-mouse-1]
    'gdb-mouse-until)

^ permalink raw reply	[flat|nested] 40+ messages in thread

end of thread, other threads:[~2005-10-30 22:33 UTC | newest]

Thread overview: 40+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-23  9:14 New function for gdb-ui.el? Nick Roberts
2005-10-23 11:56 ` Eli Zaretskii
2005-10-23 20:25   ` Nick Roberts
2005-10-23 21:53     ` Kim F. Storm
2005-10-24  6:33       ` Nick Roberts
2005-10-24 11:46         ` Kim F. Storm
2005-10-24 22:07           ` Kim F. Storm
2005-10-24 22:29             ` Nick Roberts
2005-10-25  1:27             ` Nick Roberts
2005-10-25  9:12               ` Kim F. Storm
2005-10-23 20:43   ` Frank Schmitt
2005-10-24  6:57     ` Nick Roberts
2005-10-24  7:35       ` Frank Schmitt
2005-10-24 16:27         ` Richard M. Stallman
2005-10-24 20:26           ` Nick Roberts
2005-10-25 20:27             ` Richard M. Stallman
2005-10-25 23:00               ` Nick Roberts
2005-10-26  6:49                 ` Eli Zaretskii
2005-10-26  8:58                   ` Nick Roberts
2005-10-26 15:02                     ` gcc and inline [was: Re: New function for gdb-ui.el?] Tomas Zerolo
2005-10-26 19:32                       ` Eli Zaretskii
2005-10-26 20:20                         ` Andreas Schwab
2005-10-27  4:22                         ` Tomas Zerolo
2005-10-27  5:01                           ` Eli Zaretskii
2005-10-28  3:47                             ` Richard M. Stallman
2005-10-28  8:29                               ` Eli Zaretskii
2005-10-28  8:34                                 ` Tomas Zerolo
2005-10-28 11:19                                   ` Miles Bader
2005-10-26 19:31                     ` New function for gdb-ui.el? Eli Zaretskii
2005-10-27  1:30                     ` Richard M. Stallman
2005-10-28 10:54                     ` David Hansen
2005-10-28 12:22                       ` Miles Bader
2005-10-28 21:14                       ` Nick Roberts
2005-10-29 13:02                         ` David Hansen
2005-10-29 20:37                           ` Nick Roberts
2005-10-30  0:11                             ` Miles Bader
2005-10-30 22:33                               ` Nick Roberts
2005-10-26  6:43               ` Eli Zaretskii
2005-10-25  8:14           ` Eli Zaretskii
2005-10-23 21:26 ` Kim F. Storm

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).