Article View: gnu.emacs.bug
Article #87983Re: completing program name in M-x gdb puts spurious messages in minibuffer
From: Simon Marshall
Date: Fri, 19 Aug 1994 09:02
Date: Fri, 19 Aug 1994 09:02
28 lines
2252 bytes
2252 bytes
JIK> When you run M-x gdb and try to complete the program name, it puts JIK> "Completed" and "Partially completed" messages in the minibuffer for JIK> a few seconds every time you hit tab. JIK> These messages should go away. Completing in the minibuffer should JIK> not cause other messages in the minibuffer. JIK> It appears that these messages are caused by the fact that M-x gdb JIK> was converted to use comint, and the comint file-completion function JIK> is being used to do the completion on the program name; JIK> unfortunately, it isn't smart enough to realize that it's completing JIK> a file name in the minibuffer and therefore shouldn't display JIK> messages in the minibuffer. JIK> I came up with a fix that appears to work, but I'm not convinced it's JIK> the correct one. If it is, take it and run with it :-). Here's a JIK> ChangeLog entry and a patch: There are a lot of changes here. I would like to be sure that gud.el really needs to use `comint-dynamic-complete-filename' in the first place. Is there any other mechanism that would do as well, such as interactive "f"? Simon. _______________________________________________________________________________ Simon Marshall, ESRIN (ESA), Via Galileo Galilei, Frascati 00044 (Roma), Italia "Diego Maradona---a flawed genius whose genius has become flawed." Bob Wilson. Email: Simon.Marshall@mail.esrin.esa.it Voice: +39 6 941 80 707 Fax: 80 361
Technical Details
Message-ID:
<9408190903.AA17651@plod.esrin.esa.it>Path:
arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!panix!MathWorks.Com!yeshua.marcam.com!usc!math.ohio-state.edu!cis.ohio-state.edu!mail.ESrin.ESa.IT!Simon.MarshallReferences:
<199408171536.LAA15501@gza-client1.aktis.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,3ffd6e2dcd3e4916 X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1994-08-19 03:48:04 PST Path: arc1-ca.pugleaf.net!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!panix!MathWorks.Com!yeshua.marcam.com!usc!math.ohio-state.edu!cis.ohio-state.edu!mail.ESrin.ESa.IT!Simon.Marshall From: Simon.Marshall@mail.ESrin.ESa.IT (Simon Marshall) Newsgroups: gnu.emacs.bug Subject: Re: completing program name in M-x gdb puts spurious messages in minibuffer Date: 19 Aug 1994 05:02:47 -0400 Organization: GNUs Not Usenet Lines: 28 Sender: daemon@cis.ohio-state.edu Approved: bug-gnu-emacs@prep.ai.mit.edu Distribution: gnu Message-ID: <9408190903.AA17651@plod.esrin.esa.it> References: <199408171536.LAA15501@gza-client1.aktis.com>