[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: *shell* TAB *Completions* fooled by $PWD/

From: Kevin Rodgers
Subject: Re: *shell* TAB *Completions* fooled by $PWD/
Date: Wed, 10 Jul 2002 12:21:18 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv: Gecko/20020406 Netscape6/6.2.2

Dan Jacobson wrote:

K> The shell.el directory tracking mechanism could be modified to update
K> the PWD environment variable as well as its internal variables.  But

actually you are going to go nuts tracking all those variables,
e.g. what if I do in a shell window,
$ cd
$ su bob
$ cd inside
etc. while you are tracking $PWD unless you somehow have a behind the
scenes connection to get the real scoop from /proc or bash itself...

What do you care?  You haven't exhibited any interest at all in implementation
issues since you started bombarding this group with feature requests.

Oh, and say bob's dir is mode 700
$ su -c 'echo are you still following me?; bash -i' jimmy
$ cd; echo i said su _-c_ to keep you off the trail, but then used bash -i

Anyway, it will never track perfectly.

The point is that however well it does track could be made available to
the user for completion via the PWD environment variable as well as the
default-directory Emacs variable.

Kevin Rodgers <address@hidden>

reply via email to

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