From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#5061: marked as done (23.1.50; GUD gdb completion problem) Date: Fri, 27 Nov 2009 19:40:06 +0000 Message-ID: References: <87k4xbn9yo.fsf@maru.md5i.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1259350806-25027-0" X-Trace: ger.gmane.org 1259351347 2231 80.91.229.12 (27 Nov 2009 19:49:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 27 Nov 2009 19:49:07 +0000 (UTC) To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Nov 27 20:49:00 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NE6oJ-0003C9-Ml for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Nov 2009 20:48:56 +0100 Original-Received: from localhost ([127.0.0.1]:47521 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NE6oJ-0007iF-D7 for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Nov 2009 14:48:55 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NE6mx-0006O1-IC for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2009 14:47:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NE6ms-0006Ij-Nq for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2009 14:47:30 -0500 Original-Received: from [199.232.76.173] (port=60398 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NE6ms-0006IQ-D4 for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2009 14:47:26 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38843) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NE6mr-0008Uq-O3 for bug-gnu-emacs@gnu.org; Fri, 27 Nov 2009 14:47:26 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nARJlMc6025743; Fri, 27 Nov 2009 11:47:23 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nARJe6gD025064; Fri, 27 Nov 2009 11:40:06 -0800 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 5061 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32992 Archived-At: This is a multi-part message in MIME format... ------------=_1259350806-25027-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Fri, 27 Nov 2009 14:33:06 -0500 with message-id and subject line Re: bug#5061: I have found the location of this bug... has caused the Emacs bug report #5061, regarding 23.1.50; GUD gdb completion problem to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 5061: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D5061 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1259350806-25027-0 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) ------------=_1259350806-25027-0 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." ------------=_1259350806-25027-0--