Re: persistent undo stops working on sshfs if undodir is set

2010-10-21 Thread Mattias Fliesberg
Yeah, that works. Thanks! I actually thought of that but I don't know why I didn't test it further. That's obviously the real problem, I just happen to have the same uid on the boxes where it worked. Silly me... // Mattias * Christian Brabandt (cbli...@256bit.org) wrote: Hi Mattias! On Mi,

Re: persistent undo stops working on sshfs if undodir is set

2010-10-20 Thread Bram Moolenaar
Mattias Fliesberg wrote: Well, sshfs is a fuse based filesystem for ssh. I just mount a remote dir like this... $ sshfs hostname: directory I set undodir and friends like this. if exists(undofile) set undodir=/tmp set undofile set undolevels=1000

Re: persistent undo stops working on sshfs if undodir is set

2010-10-20 Thread Mattias Fliesberg
* Bram Moolenaar (b...@moolenaar.net) wrote: Mattias Fliesberg wrote: Well, sshfs is a fuse based filesystem for ssh. I just mount a remote dir like this... $ sshfs hostname: directory I set undodir and friends like this. if exists(undofile) set undodir=/tmp

Re: persistent undo stops working on sshfs if undodir is set

2010-10-20 Thread Bram Moolenaar
Mattias Fliesberg wrote: Well, sshfs is a fuse based filesystem for ssh. I just mount a remote dir like this... $ sshfs hostname: directory I set undodir and friends like this. if exists(undofile) set undodir=/tmp set undofile set

Re: persistent undo stops working on sshfs if undodir is set

2010-10-20 Thread Christian Brabandt
Hi Mattias! On Mi, 20 Okt 2010, Mattias Fliesberg wrote: I guess the problem is in the filesystem implementation. Perhaps Vim does some system calls that this filesystem isn't prepared for. Strace may help finding out what happens. I could reproduce it. The problem was, that no

Re: persistent undo stops working on sshfs if undodir is set

2010-10-19 Thread Mattias Fliesberg
Ok, so I did some more tests and this only seems to occur when I connect to a debian lenny with openssh 5.1p1-5 or etch with openssh 4.3p2-9etch3. Ubuntu hardy with openssh 4.7p1-8ubuntu1.2 doesn't seem to work either. Debian squeeze does seem to work though with openssh 5.5p1-5+b1 and Gentoo

Re: persistent undo stops working on sshfs if undodir is set

2010-10-19 Thread Mattias Fliesberg
Well, sshfs is a fuse based filesystem for ssh. I just mount a remote dir like this... $ sshfs hostname: directory I set undodir and friends like this. if exists(undofile) set undodir=/tmp set undofile set undolevels=1000 set undoreload=1 endif And if

Re: persistent undo stops working on sshfs if undodir is set

2010-10-18 Thread Christian Brabandt
Hi Mattias! On Mo, 18 Okt 2010, Mattias Fliesberg wrote: I noticed that persistent undo stopped working for files on a sshfs mounted filesystem when I set undodir. Is this a feature or a bug? I can't reproduce this. Mit freundlichen Grüßen Christian -- Man muß jedem Hindernis Geduld,

Re: persistent undo stops working on sshfs if undodir is set

2010-10-18 Thread Bram Moolenaar
Mattias Fliesberg wrote: I noticed that persistent undo stopped working for files on a sshfs mounted filesystem when I set undodir. Is this a feature or a bug? Relevant details are missing. Please explain more clearly. Such as, what is sshfs? How do you use it? What do you set 'undodir'

Re: persistent undo stops working on sshfs if undodir is set

2010-10-18 Thread Aaron Lewis
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/19/2010 04:04 AM, Bram Moolenaar wrote: Mattias Fliesberg wrote: I noticed that persistent undo stopped working for files on a sshfs mounted filesystem when I set undodir. Is this a feature or a bug? Relevant details are missing.