bug-gnu-emacs
[Top][All Lists]
Advanced

[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

address@hidden (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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]