unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: "Gallagher, Kevin" <Kevin.Gallagher@boeing.com>
Cc: bug-gnu-emacs@gnu.org
Subject: Re: In "M-x gdb", filename completion with mouse erases the default gdb command
Date: Thu, 23 Aug 2007 17:45:04 +1200	[thread overview]
Message-ID: <18125.7904.892683.893949@kahikatea.snap.net.nz> (raw)
In-Reply-To: <514C12BFEBF8B54DBB0C0D080405069305C1B7BD@XCH-SE-2V2.se.nos.boeing.com>

 > 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	other threads:[~2007-08-23  5:45 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-22 17:08 In "M-x gdb", filename completion with mouse erases the default gdb command Gallagher, Kevin
2007-08-23  5:45 ` Nick Roberts [this message]
2007-08-24  9:05   ` Eli Zaretskii
2007-08-24 11:23     ` Nick Roberts
2007-08-24 12:32       ` Eli Zaretskii
2007-08-23 20:59 ` Richard Stallman
2007-08-23 21:35   ` Gallagher, Kevin

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=18125.7904.892683.893949@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=Kevin.Gallagher@boeing.com \
    --cc=bug-gnu-emacs@gnu.org \
    /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).