bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: In "M-x gdb", filename completion with mouse erases the default gdb


From: Nick Roberts
Subject: Re: In "M-x gdb", filename completion with mouse erases the default gdb command
Date: Thu, 23 Aug 2007 17:45:04 +1200

 > After entering "M-x gdb", the input line in the minibuffer is seeded
 > with
 > the default gdb command followd by the previously debugged executable.
 > I erased the previous filename and then added a partial filename,
 > pressed
 > TAB, and the possible completions were displayed, as expected.  After
 > selecting a filename with the mouse, the default gdb command was
 > entirely erased, leaving only the selected filename at the prompt in the
 > minibuffer. 

It's small comfort but I think completion has always worked this way in the
minibuffer.  M-! (shell-command) is similar but here TAB has no special binding
in the minibuffer.  However, I think it's worth keeping the binding for gdb
because it works if there is just one possible completion and provides a
listing when there is more than one.

Having said all that, I see no reason why it shouldn't be possible to make it
work but I don't know how.  If someone can provide a patch I'll be happy to
apply it.

-- 
Nick                                           http://www.inet.net.nz/~nickrob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]