GNU bug report logs -
#5061
23.1.50; GUD gdb completion problem
Previous Next
Reported by: Michael Welsh Duggan <md5i <at> md5i.com>
Date: Fri, 27 Nov 2009 17:45:04 UTC
Severity: normal
Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
Bug is archived. No further changes may be made.
Full log
Message #15 received at 5061-done <at> emacsbugs.donarmstrong.com (full text, mbox):
> This bug is due to the Stefan Monnier's commit on 2009-10-31. In
> particular, reverting the following diff solves this problem:
Great, I've installed the fix below which should do it right.
Stefan
--- lisp/progmodes/gud.el 11 Nov 2009 05:49:14 -0000 1.174
+++ lisp/progmodes/gud.el 27 Nov 2009 19:29:54 -0000
@@ -2832,6 +2832,7 @@
(or proc (error "Current buffer has no process"))
;; Arrange for the current prompt to get deleted.
(with-current-buffer gud-comint-buffer
+ (save-excursion
(save-restriction
(widen)
(if (marker-position gud-delete-prompt-marker)
@@ -2843,7 +2844,7 @@
(set-marker gud-delete-prompt-marker (point)))
(if (eq gud-minor-mode 'gdbmi)
(apply comint-input-sender (list proc command))
- (process-send-string proc (concat command "\n")))))))
+ (process-send-string proc (concat command "\n"))))))))
(defun gud-refresh (&optional arg)
"Fix up a possibly garbled display, and redraw the arrow."
This bug report was last modified 15 years and 183 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.