Re: Current buffer name after :python os.chdir()

2006-11-07 Thread Xavier de Gaye
--- Bram Moolenaar <[EMAIL PROTECTED]> wrote: > > Xavier de Gaye wrote: > > > Assuming the current buffer is the file 'foobar' in the current > > directory. After running the following Vim commands: > > > > :python import os > > :python os.chdir("subdir") > > > > the current buffer name is

Re: Current buffer name after :python os.chdir()

2006-11-07 Thread Bram Moolenaar
Xavier de Gaye wrote: > Assuming the current buffer is the file 'foobar' in the current > directory. After running the following Vim commands: > > :python import os > :python os.chdir("subdir") > > the current buffer name is not changed as it is when you run > the Vim command ':cd subdi

Current buffer name after :python os.chdir()

2006-11-07 Thread Xavier de Gaye
Assuming the current buffer is the file 'foobar' in the current directory. After running the following Vim commands: :python import os :python os.chdir("subdir") the current buffer name is not changed as it is when you run the Vim command ':cd subdir' (but the output of ':pwd' is Ok), an