all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* How to get pathname completion when doing 'M-!'
@ 2009-01-20  7:49 Francis Moreau
  2009-01-20  8:54 ` Thierry Volpiatto
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Francis Moreau @ 2009-01-20  7:49 UTC (permalink / raw)
  To: help-gnu-emacs

Hello,

I would find usefull to have pathname completion (as in a shell) in
the mini buffer when running the 'shell-command' command (M-!).

Is it possible ?

Thanks
-- 
Francis


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to get pathname completion when doing 'M-!'
  2009-01-20  7:49 How to get pathname completion when doing 'M-!' Francis Moreau
@ 2009-01-20  8:54 ` Thierry Volpiatto
       [not found] ` <mailman.5326.1232442073.26697.help-gnu-emacs@gnu.org>
  2009-01-21 21:34 ` Kevin Ryde
  2 siblings, 0 replies; 4+ messages in thread
From: Thierry Volpiatto @ 2009-01-20  8:54 UTC (permalink / raw)
  To: help-gnu-emacs

Francis Moreau <francis.moro@gmail.com> writes:

> Hello,
>
> I would find usefull to have pathname completion (as in a shell) in
> the mini buffer when running the 'shell-command' command (M-!).
>
> Is it possible ?
>
> Thanks
Look at:

http://www.emacswiki.org/emacs/ExecuteExternalCommand

You will find shell-command.el

-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France





^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to get pathname completion when doing 'M-!'
       [not found] ` <mailman.5326.1232442073.26697.help-gnu-emacs@gnu.org>
@ 2009-01-20 20:00   ` Francis Moreau
  0 siblings, 0 replies; 4+ messages in thread
From: Francis Moreau @ 2009-01-20 20:00 UTC (permalink / raw)
  To: help-gnu-emacs

Thierry Volpiatto <thierry.volpiatto@gmail.com> writes:

> Look at:
>
> http://www.emacswiki.org/emacs/ExecuteExternalCommand
>
> You will find shell-command.el

That's exactly what I was looking for !

Thanks.
-- 
Francis


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: How to get pathname completion when doing 'M-!'
  2009-01-20  7:49 How to get pathname completion when doing 'M-!' Francis Moreau
  2009-01-20  8:54 ` Thierry Volpiatto
       [not found] ` <mailman.5326.1232442073.26697.help-gnu-emacs@gnu.org>
@ 2009-01-21 21:34 ` Kevin Ryde
  2 siblings, 0 replies; 4+ messages in thread
From: Kevin Ryde @ 2009-01-21 21:34 UTC (permalink / raw)
  To: help-gnu-emacs

Francis Moreau <francis.moro@gmail.com> writes:
>
> I would find usefull to have pathname completion (as in a shell) in
> the mini buffer when running the 'shell-command' command (M-!).

For a long time I've pressed comint into service for Tab,

  (autoload 'comint-dynamic-complete-filename "comint" nil t)
  (define-key minibuffer-local-map "\t" 'comint-dynamic-complete-filename)

`completing-read' has its own tab binding, so this doesn't interfere
with that, you just get filenames completed in M-x compile and stuff
like that.

The autoload can be annoying on first use when its "loading" message
hides the minibuffer for a second.  There must be an easy way to
suppress that, but I never bothered finding it.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-01-21 21:34 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-20  7:49 How to get pathname completion when doing 'M-!' Francis Moreau
2009-01-20  8:54 ` Thierry Volpiatto
     [not found] ` <mailman.5326.1232442073.26697.help-gnu-emacs@gnu.org>
2009-01-20 20:00   ` Francis Moreau
2009-01-21 21:34 ` Kevin Ryde

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.