unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Michael Welsh Duggan <md5i@md5i.com>
To: Stefan Monnier <monnier@IRO.UMontreal.CA>
Cc: 5061@emacsbugs.donarmstrong.com
Subject: bug#5061: I have found the location of this bug...
Date: Fri, 27 Nov 2009 14:41:24 -0500	[thread overview]
Message-ID: <871vjjn4bf.fsf@maru.md5i.com> (raw)
In-Reply-To: <jwvocmng407.fsf-monnier+emacsbugreports@gnu.org> (Stefan Monnier's message of "Fri, 27 Nov 2009 14:33:06 -0500")

Stefan Monnier <monnier@IRO.UMontreal.CA> writes:

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

This does indeed solve the problem.

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

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





      parent reply	other threads:[~2009-11-27 19:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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   ` Michael Welsh Duggan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871vjjn4bf.fsf@maru.md5i.com \
    --to=md5i@md5i.com \
    --cc=5061@emacsbugs.donarmstrong.com \
    --cc=monnier@IRO.UMontreal.CA \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).