unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#5061: I have found the location of this bug...
@ 2009-11-27 17:51 Michael Welsh Duggan
       [not found] ` <jwvocmng407.fsf-monnier+emacsbugreports@gnu.org>
  0 siblings, 1 reply; 4+ messages in thread
From: Michael Welsh Duggan @ 2009-11-27 17:51 UTC (permalink / raw)
  To: 5061

This bug is due to the Stefan Monnier's commit on 2009-10-31.  In
particular, reverting the following diff solves this problem:

---------------------------- lisp/progmodes/gud.el ----------------------------
index 49637f9..e3413ab 100644
@@ -2828,14 +2828,13 @@ Obeying it means displaying in another window the specified file and line."
   "Invoke the debugger COMMAND displaying source in other window."
   (interactive)
   (gud-set-buffer)
   (let ((proc (get-buffer-process gud-comint-buffer)))
     (or proc (error "Current buffer has no process"))
     ;; Arrange for the current prompt to get deleted.
-    (save-excursion
-      (set-buffer gud-comint-buffer)
+    (with-current-buffer gud-comint-buffer
       (save-restriction
 	(widen)
 	(if (marker-position gud-delete-prompt-marker)
 	    ;; We get here when printing an expression.
 	    (goto-char gud-delete-prompt-marker)
 	  (goto-char (process-mark proc))

-- 
Michael Welsh Duggan
(md5i@md5i.com)





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

end of thread, other threads:[~2009-11-27 19:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-11-27 17:51 bug#5061: I have found the location of this bug Michael Welsh Duggan
     [not found] ` <jwvocmng407.fsf-monnier+emacsbugreports@gnu.org>
2009-11-27 17:39   ` bug#5061: 23.1.50; GUD gdb completion problem Michael Welsh Duggan
2009-11-27 19:40     ` bug#5061: marked as done (23.1.50; GUD gdb completion problem) Emacs bug Tracking System
2009-11-27 19:41   ` bug#5061: I have found the location of this bug Michael Welsh Duggan

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).