all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: Using pcomplete for read-shell-command
Date: Wed, 25 Nov 2009 12:52:37 -0500	[thread overview]
Message-ID: <jwvhbsicx6o.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <87aaya35et.fsf@mail.jurta.org> (Juri Linkov's message of "Wed, 25 Nov 2009 19:31:14 +0200")

> I tried, and it doesn't complete command names at the beginning of
> the command line.  For instance, without your patch `M-! ca TAB'
> displayed a list of command names.  But with your patch it displays
> a list of files in the current directory.

Good point.  Shouldn't be hard to fix.

> BTW, I now noticed that switch-to-completions is not bound to
> M-v/<prior> in minibuffer-local-shell-command-map.  Maybe
> minibuffer-local-shell-command-map should inherit from
> minibuffer-local-completion-map where M-v/<prior> are bound?

I'd say "yes" at first, but minibuffer-local-completion-map also binds
all kinds of other keys (such as ? or SPC) to commands which don't work
correctly in that minibuffer.  We probably want to make such commands
work there (or provide alternatives that do), but that's for later.


        Stefan




      reply	other threads:[~2009-11-25 17:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-24 21:10 Using pcomplete for read-shell-command Stefan Monnier
2009-11-25 17:31 ` Juri Linkov
2009-11-25 17:52   ` Stefan Monnier [this message]

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwvhbsicx6o.fsf-monnier+emacs@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --cc=emacs-devel@gnu.org \
    --cc=juri@jurta.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 external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.