* gdb-mi command complete broken
@ 2011-07-04 6:14 Wang Diancheng
2011-07-04 17:51 ` Stefan Monnier
0 siblings, 1 reply; 2+ messages in thread
From: Wang Diancheng @ 2011-07-04 6:14 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1: Type: text/plain, Size: 60 bytes --]
Hi,
current gdb-mi command complete broken, this is patch:
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-diff, Size: 628 bytes --]
diff -c -L /usr/share/emacs/24.0.50/lisp/progmodes/gdb-mi.el.gz -L \#\<buffer\ gdb-mi.el.gz\> /tmp/jka-com28609cP /tmp/buffer-content-2860Xxb
--- /usr/share/emacs/24.0.50/lisp/progmodes/gdb-mi.el.gz
+++ #<buffer gdb-mi.el.gz>
@@ -786,7 +786,10 @@
(define-key gud-minor-mode-map [left-margin C-mouse-3]
'gdb-mouse-jump)
- (local-set-key "\C-i" 'gud-gdb-complete-command)
+ (add-hook 'completion-at-point-functions #'gud-gdb-completion-at-point
+ nil 'local)
+ (local-set-key "\C-i" 'completion-at-point)
+
(setq gdb-first-prompt t)
(setq gud-running nil)
Diff finished. Mon Jul 4 11:34:22 2011
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: gdb-mi command complete broken
2011-07-04 6:14 gdb-mi command complete broken Wang Diancheng
@ 2011-07-04 17:51 ` Stefan Monnier
0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2011-07-04 17:51 UTC (permalink / raw)
To: Wang Diancheng; +Cc: emacs-devel
> current gdb-mi command complete broken, this is patch:
Thank you, I installed your patch in the trunk.
Stefan
> diff -c -L /usr/share/emacs/24.0.50/lisp/progmodes/gdb-mi.el.gz -L \#\<buffer\ gdb-mi.el.gz\> /tmp/jka-com28609cP /tmp/buffer-content-2860Xxb
> --- /usr/share/emacs/24.0.50/lisp/progmodes/gdb-mi.el.gz
> +++ #<buffer gdb-mi.el.gz>
> @@ -786,7 +786,10 @@
> (define-key gud-minor-mode-map [left-margin C-mouse-3]
> 'gdb-mouse-jump)
> - (local-set-key "\C-i" 'gud-gdb-complete-command)
> + (add-hook 'completion-at-point-functions #'gud-gdb-completion-at-point
> + nil 'local)
> + (local-set-key "\C-i" 'completion-at-point)
> +
> (setq gdb-first-prompt t)
> (setq gud-running nil)
> Diff finished. Mon Jul 4 11:34:22 2011
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-04 17:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-04 6:14 gdb-mi command complete broken Wang Diancheng
2011-07-04 17:51 ` Stefan Monnier
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.