unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Subprocess TAB completion in standard shell (comint) mode ... any chance?
@ 2014-01-29 18:48 Robert Lerche (rlerche)
  2014-01-30  0:36 ` Stefan Monnier
  0 siblings, 1 reply; 2+ messages in thread
From: Robert Lerche (rlerche) @ 2014-01-29 18:48 UTC (permalink / raw)
  To: emacs-devel@gnu.org

Emacs shell mode is where I spend much of my time; for ordinary tasks, to capture problem logs, and to demonstrate system administration.

Many subprocess commands these days have useful TAB completion (e.g., PostgreSQL psql, or the Python interpreter).  Alas, shell mode (that is, comint) disables this mechanism for subcommands.

A search leads to this discussion from 2011 (specific to Python, but touching on the broader issue): http://lists.gnu.org/archive/html/emacs-devel/2011-09/msg00612.html

Has any thought been given to providing a means for shell mode to pass input with TAB appropriately and capture the subcommand's response?  It would be very helpful.

Thanks.




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

* Re: Subprocess TAB completion in standard shell (comint) mode ... any chance?
  2014-01-29 18:48 Subprocess TAB completion in standard shell (comint) mode ... any chance? Robert Lerche (rlerche)
@ 2014-01-30  0:36 ` Stefan Monnier
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Monnier @ 2014-01-30  0:36 UTC (permalink / raw)
  To: Robert Lerche (rlerche); +Cc: emacs-devel@gnu.org

> Has any thought been given to providing a means for shell mode to pass input
> with TAB appropriately and capture the subcommand's response?  It would be
> very helpful.

Yes, it would be very helpful, but IIUC it requires more than thought:
it requires someone to try and code it up, see how it works (or fails
to), etc...


        Stefan



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

end of thread, other threads:[~2014-01-30  0:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-01-29 18:48 Subprocess TAB completion in standard shell (comint) mode ... any chance? Robert Lerche (rlerche)
2014-01-30  0:36 ` Stefan Monnier

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).