GNU bug report logs -
#4987
23.1; shell-command: optionally include working dir in prompt
Previous Next
Reported by: trentbuck <at> gmail.com
Date: Fri, 20 Nov 2009 13:05:05 UTC
Severity: wishlist
Tags: patch
Fixed in version 27.1
Done: Stefan Kangas <stefan <at> marxist.se>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> > At http://namazu.org/~tsuchiya/elisp/shell-command.el is an emacs
> > library that "enables tab-completion for `shell-command'".
> >
> > I noticed recently that Emacs does this internally now. Yay! But one
> > thing shell-command.el did that Emacs 23 doesn't appear to do, is to
> > include the working directory in the shell-command and
> > dired-do-shell-command prompts. It'd be neat if Emacs did that, too.
>
> shell-command.el relies on defadvices to implement this. I think a clean
> implementation should be designed to work more like minibuf-eldef.el.
On second thought, there is no need to over-complicate this feature.
So we could add a new defcustom to define the prompt format and to
use it in `read-shell-command' to modify the prompt.
--
Juri Linkov
http://www.jurta.org/emacs/
This bug report was last modified 5 years and 221 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.