On 4/25/07, Bob Hiestand <[EMAIL PROTECTED]> wrote:
On 4/25/07, Nikolai Weibull <[EMAIL PROTECTED]> wrote:
> > Not at all.  This patch merely exposes some information about the
> > current cd/lcd functionality.  It does not provide new directory
> > changing stack capability.
>
> You misunderstand.  Isn't the functionality requested in "your" todo
> entry just a subset of the one above?  I mean, can't the functionality
> that your todo entry adds be made available with the addition of a
> directory stack?

No, I understand your question, but I don't see any relationship, at
all, between the two items.  Adding current directory stacks has
nothing to do with allowing introspection of the state of a window
variable.  The two changes are completely orthogonal.

OK, I guess then I don't understand your todo entry and Yakov's need for it.

The todo entry is

  There is no way to change directory and go back without changing the local
  and/or global directory.  Add a way to find out if the current window uses
  a local directory.  Add cdcmd() that returns ":cd" or ":lcd"?

I guess I'm just confused about how the first two sentences relate.
Ah, the first sentence is simply a statement that really has very
little to do with the actual todo entry.

I figured that the todo was about having a way of changing directories
and being able to go back.

Either way, wouldn't it be more useful to alter getcwd() to take an
optional argument stating whether we want the local or global cwd?

 nikolai

Reply via email to