From unknown Tue Jun 24 05:09:05 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#5061: 23.1.50; GUD gdb completion problem Reply-To: Michael Welsh Duggan , 5061@debbugs.gnu.org Resent-From: Michael Welsh Duggan Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 27 Nov 2009 17:45:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: report 5061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.125934357514433 (code B ref -1); Fri, 27 Nov 2009 17:45:04 +0000 Received: (at submit) by emacsbugs.donarmstrong.com; 27 Nov 2009 17:39:35 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.0 required=4.0 tests=AWL,FOURLA,MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nARHdXYo014430 for ; Fri, 27 Nov 2009 09:39:34 -0800 Received: from mail.gnu.org ([199.232.76.166]:48589 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NE4n6-00019k-QN for emacs-pretest-bug@gnu.org; Fri, 27 Nov 2009 12:39:32 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NE4n3-0000pN-Pr for emacs-pretest-bug@gnu.org; Fri, 27 Nov 2009 12:39:32 -0500 Received: from md5i.com ([75.151.244.229]:50097 helo=maru.md5i.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NE4n3-0000pA-D2 for emacs-pretest-bug@gnu.org; Fri, 27 Nov 2009 12:39:29 -0500 Received: from md5i by maru.md5i.com with local (Exim 4.69) (envelope-from ) id 1NE4n1-0003J6-9F for emacs-pretest-bug@gnu.org; Fri, 27 Nov 2009 12:39:27 -0500 From: Michael Welsh Duggan To: emacs-pretest-bug@gnu.org Date: Fri, 27 Nov 2009 12:39:27 -0500 Message-ID: <87k4xbn9yo.fsf@maru.md5i.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': Run gdb on a program. Attempt completion while setting a breakpoint on a function. Example: before hitting TAB: (gdb) b main_wit after hitting TAB: (gdb) h_guileb main_wit In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.18.3) of 2009-11-27 on maru Windowing system distributor `The X.Org Foundation', version 11.0.10605000 configured using `configure '--without-toolkit-scroll-bars'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-topic-mode: t gnus-undo-mode: t display-time-mode: t diff-auto-refine-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t Recent input: C-x 4 C-g C-g b SPC m a i n _ w i t d d c o m i n t SPC r e p l l a t e d ) d d d d d d d d d d d c c d d d d c d c c d c c c c C-x o C-n C-n C-n C-n C-n C-f C-f M-x f i n d - f u n C-g C-g C-x o C-n C-n C-x o C-n C-n C-n C-n C-a C-f C-f M-x f i n d - f u n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-M-x C-x o C-_ C-e C-_ C-_ M-x d e b u g - o n g u d - g d b - c o m d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d c c c d d d d d d d c d c d c d c c c c C-x b * C-g C-g M-x r e p o r t - e m Recent messages: Entering debugger... Continuing. Partially completed Entering debugger... Continuing. Entering debugger... Continuing. Entering debugger... Continuing. Making completion list... Don't touch it! It's the History Eraser Button, you fool! [2 times] Load-path shadows: /usr/local/share/emacs/site-lisp/lilypond-words hides /usr/share/emacs/site-lisp/lilypond-words /usr/local/share/emacs/site-lisp/lilypond-indent hides /usr/share/emacs/site-lisp/lilypond-indent /usr/local/share/emacs/site-lisp/lilypond-mode hides /usr/share/emacs/site-lisp/lilypond-mode /home/md5i/src/elisp/psvn hides /usr/share/emacs/site-lisp/psvn /usr/local/share/emacs/site-lisp/lilypond-song hides /usr/share/emacs/site-lisp/lilypond-song /usr/local/share/emacs/site-lisp/lilypond-what-beat hides /usr/share/emacs/site-lisp/lilypond-what-beat /usr/local/share/emacs/site-lisp/lilypond-font-lock hides /usr/share/emacs/site-lisp/lilypond-font-lock /usr/local/share/emacs/site-lisp/lilypond-init hides /usr/share/emacs/site-lisp/lilypond-init Features: (shadow jka-compr find-func etags dabbrev debug emacsbug vc-git cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs gdb-mi bindat json gud mule-util bbdb-hooks vc-dispatcher vc-svn gnus-cite ansi-color gnus-async gnus-bcklg parse-time sort byte-opt bytecomp byte-compile gnus-ml disp-table gnus-topic nnfolder utf-7 utf7 rfc2104 nnimap nndraft nnmh bbdb-gnus bbdb-snarf mail-extr bbdb-com nnml gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view smime dig gnus-cache edmacro kmacro gnus-demon nntp nnir gnus-sum gnus-group gnus-undo nnmail mail-source nnoo gnus-start gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems server uptimes pp uniquify descr-text help-mode view tramp-imap epa epg epg-config imap-hash imap assoc tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp auth-source format-spec tramp-compat trampver time rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util sgml-mode psvn log-edit pcvs-util add-log diff-mode easy-mmode inf-caml camldebug thingatpt derived shell caml-types caml-emacs caml-font caml advice help-fns advice-preload compile imenu message sendmail ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils generic-x debian-el debian-el-loaddefs dired-x dired-aux dired bbdb-autoloads bbdb timezone ange-ftp regexp-opt comint ring cl cl-19 tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) -- Michael Welsh Duggan (md5i@md5i.com) From unknown Tue Jun 24 05:09:05 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#5061: I have found the location of this bug... Reply-To: Michael Welsh Duggan , 5061@debbugs.gnu.org Resent-From: Michael Welsh Duggan Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 27 Nov 2009 18:00:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 5061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 5061-submit@emacsbugs.donarmstrong.com id=B5061.125934432615547 (code B ref 5061); Fri, 27 Nov 2009 18:00:04 +0000 Received: (at 5061) by emacsbugs.donarmstrong.com; 27 Nov 2009 17:52:06 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=1.0 required=4.0 tests=AWL autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from maru.md5i.com (md5i.com [75.151.244.229]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nARHq5HV015540 for <5061@emacsbugs.donarmstrong.com>; Fri, 27 Nov 2009 09:52:06 -0800 Received: from md5i by maru.md5i.com with local (Exim 4.69) (envelope-from ) id 1NE4z9-0003XL-1a for 5061@emacsbugs.donarmstrong.com; Fri, 27 Nov 2009 12:51:59 -0500 From: Michael Welsh Duggan To: 5061@debbugs.gnu.org Date: Fri, 27 Nov 2009 12:51:58 -0500 Message-ID: <87fx7zn9dt.fsf@maru.md5i.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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) From unknown Tue Jun 24 05:09:05 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: Michael Welsh Duggan Subject: bug#5061 closed by Stefan Monnier (Re: bug#5061: I have found the location of this bug...) Message-ID: References: <87k4xbn9yo.fsf@maru.md5i.com> X-Emacs-PR-Message: they-closed 5061 X-Emacs-PR-Package: emacs Reply-To: 5061@debbugs.gnu.org Date: Fri, 27 Nov 2009 19:40:07 +0000 Content-Type: multipart/mixed; boundary="----------=_1259350807-25027-1" This is a multi-part message in MIME format... ------------=_1259350807-25027-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #5061: 23.1.50; GUD gdb completion problem It has been closed by Stefan Monnier . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Stefan Monnier by replying to this email. --=20 5061: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D5061 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1259350807-25027-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 5061-done) by emacsbugs.donarmstrong.com; 27 Nov 2009 19:33:10 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-3.9 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from pruche.dit.umontreal.ca (pruche.dit.umontreal.ca [132.204.246.22]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nARJX7pW024613 for <5061-done@emacsbugs.donarmstrong.com>; Fri, 27 Nov 2009 11:33:09 -0800 Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id nARJX64I002435; Fri, 27 Nov 2009 14:33:06 -0500 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 863CD3A1BA; Fri, 27 Nov 2009 14:33:06 -0500 (EST) From: Stefan Monnier To: Michael Welsh Duggan Subject: Re: bug#5061: I have found the location of this bug... Message-ID: References: <87fx7zn9dt.fsf@maru.md5i.com> Date: Fri, 27 Nov 2009 14:33:06 -0500 In-Reply-To: <87fx7zn9dt.fsf@maru.md5i.com> (Michael Welsh Duggan's message of "Fri, 27 Nov 2009 12:51:58 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV3416=0 > 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." ------------=_1259350807-25027-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 27 Nov 2009 17:39:35 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: * X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=2.0 required=4.0 tests=AWL,FOURLA,MURPHY_DRUGS_REL8 autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nARHdXYo014430 for ; Fri, 27 Nov 2009 09:39:34 -0800 Received: from mail.gnu.org ([199.232.76.166]:48589 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1NE4n6-00019k-QN for emacs-pretest-bug@gnu.org; Fri, 27 Nov 2009 12:39:32 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1NE4n3-0000pN-Pr for emacs-pretest-bug@gnu.org; Fri, 27 Nov 2009 12:39:32 -0500 Received: from md5i.com ([75.151.244.229]:50097 helo=maru.md5i.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NE4n3-0000pA-D2 for emacs-pretest-bug@gnu.org; Fri, 27 Nov 2009 12:39:29 -0500 Received: from md5i by maru.md5i.com with local (Exim 4.69) (envelope-from ) id 1NE4n1-0003J6-9F for emacs-pretest-bug@gnu.org; Fri, 27 Nov 2009 12:39:27 -0500 From: Michael Welsh Duggan To: emacs-pretest-bug@gnu.org Subject: 23.1.50; GUD gdb completion problem Date: Fri, 27 Nov 2009 12:39:27 -0500 Message-ID: <87k4xbn9yo.fsf@maru.md5i.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Please describe exactly what actions triggered the bug and the precise symptoms of the bug. If you can, give a recipe starting from `emacs -Q': Run gdb on a program. Attempt completion while setting a breakpoint on a function. Example: before hitting TAB: (gdb) b main_wit after hitting TAB: (gdb) h_guileb main_wit In GNU Emacs 23.1.50.1 (i686-pc-linux-gnu, GTK+ Version 2.18.3) of 2009-11-27 on maru Windowing system distributor `The X.Org Foundation', version 11.0.10605000 configured using `configure '--without-toolkit-scroll-bars'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.utf8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Group Minor modes in effect: gnus-topic-mode: t gnus-undo-mode: t display-time-mode: t diff-auto-refine-mode: t shell-dirtrack-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t Recent input: C-x 4 C-g C-g b SPC m a i n _ w i t d d c o m i n t SPC r e p l l a t e d ) d d d d d d d d d d d c c d d d d c d c c d c c c c C-x o C-n C-n C-n C-n C-n C-f C-f M-x f i n d - f u n C-g C-g C-x o C-n C-n C-x o C-n C-n C-n C-n C-a C-f C-f M-x f i n d - f u n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-n C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-M-x C-x o C-_ C-e C-_ C-_ M-x d e b u g - o n g u d - g d b - c o m d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d d c c c d d d d d d d c d c d c d c c c c C-x b * C-g C-g M-x r e p o r t - e m Recent messages: Entering debugger... Continuing. Partially completed Entering debugger... Continuing. Entering debugger... Continuing. Entering debugger... Continuing. Making completion list... Don't touch it! It's the History Eraser Button, you fool! [2 times] Load-path shadows: /usr/local/share/emacs/site-lisp/lilypond-words hides /usr/share/emacs/site-lisp/lilypond-words /usr/local/share/emacs/site-lisp/lilypond-indent hides /usr/share/emacs/site-lisp/lilypond-indent /usr/local/share/emacs/site-lisp/lilypond-mode hides /usr/share/emacs/site-lisp/lilypond-mode /home/md5i/src/elisp/psvn hides /usr/share/emacs/site-lisp/psvn /usr/local/share/emacs/site-lisp/lilypond-song hides /usr/share/emacs/site-lisp/lilypond-song /usr/local/share/emacs/site-lisp/lilypond-what-beat hides /usr/share/emacs/site-lisp/lilypond-what-beat /usr/local/share/emacs/site-lisp/lilypond-font-lock hides /usr/share/emacs/site-lisp/lilypond-font-lock /usr/local/share/emacs/site-lisp/lilypond-init hides /usr/share/emacs/site-lisp/lilypond-init Features: (shadow jka-compr find-func etags dabbrev debug emacsbug vc-git cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs gdb-mi bindat json gud mule-util bbdb-hooks vc-dispatcher vc-svn gnus-cite ansi-color gnus-async gnus-bcklg parse-time sort byte-opt bytecomp byte-compile gnus-ml disp-table gnus-topic nnfolder utf-7 utf7 rfc2104 nnimap nndraft nnmh bbdb-gnus bbdb-snarf mail-extr bbdb-com nnml gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view smime dig gnus-cache edmacro kmacro gnus-demon nntp nnir gnus-sum gnus-group gnus-undo nnmail mail-source nnoo gnus-start gnus-spec gnus-int gnus-range gnus-win gnus gnus-ems server uptimes pp uniquify descr-text help-mode view tramp-imap epa epg epg-config imap-hash imap assoc tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp auth-source format-spec tramp-compat trampver time rng-loc rng-uri rng-parse rng-match rng-dt rng-util rng-pttrn nxml-parse nxml-ns nxml-enc xmltok nxml-util sgml-mode psvn log-edit pcvs-util add-log diff-mode easy-mmode inf-caml camldebug thingatpt derived shell caml-types caml-emacs caml-font caml advice help-fns advice-preload compile imenu message sendmail ecomplete rfc822 mml easymenu mml-sec password-cache mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader gnus-util netrc time-date mm-util mail-prsvr gmm-utils wid-edit mailheader canlock sha1 hex-util hashcash mail-utils generic-x debian-el debian-el-loaddefs dired-x dired-aux dired bbdb-autoloads bbdb timezone ange-ftp regexp-opt comint ring cl cl-19 tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces cus-face text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) -- Michael Welsh Duggan (md5i@md5i.com) ------------=_1259350807-25027-1-- From unknown Tue Jun 24 05:09:05 2025 X-Loop: owner@emacsbugs.donarmstrong.com Subject: bug#5061: I have found the location of this bug... Reply-To: Michael Welsh Duggan , 5061@debbugs.gnu.org Resent-From: Michael Welsh Duggan Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 27 Nov 2009 19:50:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-Emacs-PR-Message: followup 5061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by 5061-submit@emacsbugs.donarmstrong.com id=B5061.125935089725340 (code B ref 5061); Fri, 27 Nov 2009 19:50:03 +0000 Received: (at 5061) by emacsbugs.donarmstrong.com; 27 Nov 2009 19:41:37 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.8 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 Received: from maru.md5i.com (md5i.com [75.151.244.229]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nARJfZ8V025332 for <5061@emacsbugs.donarmstrong.com>; Fri, 27 Nov 2009 11:41:36 -0800 Received: from md5i by maru.md5i.com with local (Exim 4.69) (envelope-from ) id 1NE6h2-0005Q2-Uu; Fri, 27 Nov 2009 14:41:24 -0500 From: Michael Welsh Duggan To: Stefan Monnier Cc: 5061@debbugs.gnu.org References: <87fx7zn9dt.fsf@maru.md5i.com> Date: Fri, 27 Nov 2009 14:41:24 -0500 In-Reply-To: (Stefan Monnier's message of "Fri, 27 Nov 2009 14:33:06 -0500") Message-ID: <871vjjn4bf.fsf@maru.md5i.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Stefan Monnier 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)