[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: *shell* TAB *Completions* fooled by $PWD/
From: |
Miles Bader |
Subject: |
Re: *shell* TAB *Completions* fooled by $PWD/ |
Date: |
18 Jul 2002 03:26:28 +0900 |
Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> > This is a hard problem to solve,
>
> Isn't it enough to just send the current contents of the line,
> followed by TAB, to the shell and to parse the output?
There are many annoying little wrinkles involved in doing this
correctly, so that it's definitely not a `just' thing.
Annoying little wrinkle (1): you don't actually know who's listening
when you send input to the subprocess -- it may be the shell you
started, it may be some process running under the shell...
[The recent conversation about python-mode is a somewhat different case,
because there you can make more assumptions about what the subprocess is
doing.]
-Miles
--
Saa, shall we dance? (from a dance-class advertisement)
- Re: *shell* TAB *Completions* fooled by $PWD/, (continued)
- Re: *shell* TAB *Completions* fooled by $PWD/, David Kastrup, 2002/07/10
- Re: *shell* TAB *Completions* fooled by $PWD/, Richard Stallman, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, Miles Bader, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, David Kastrup, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, Miles Bader, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, David Kastrup, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, Kevin Rodgers, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, David Kastrup, 2002/07/11
- Re: *shell* TAB *Completions* fooled by $PWD/, Andreas Schwab, 2002/07/12
- Re: *shell* TAB *Completions* fooled by $PWD/, Kai Großjohann, 2002/07/17
- Re: *shell* TAB *Completions* fooled by $PWD/,
Miles Bader <=
- Re: *shell* TAB *Completions* fooled by $PWD/, Kai Großjohann, 2002/07/18
- Re: *shell* TAB *Completions* fooled by $PWD/, Andreas Schwab, 2002/07/18