A quick look at netrw.vba.gz (searching for "swf") suggests that this may be the problem:
fun! netrw#NetBrowseX(fname,remote) [snip] if a:remote == 1 set bh=delete bt=nofile noswf exe "norm! \<c-o>" redraw! endif " call Dret("NetBrowseX") endfun All the other matches for "swf" involve either :setlocal or :let &l: . I did not see anything suspicious with "cin". HTH --Benji Fisher On Tue, Aug 22, 2006 at 07:51:57PM -0700, Mark S. Williams wrote: > Chip, > > Thanks for your response. I downloaded v103f and tried it. It didn't > seem to help. After much experimenting I found that if I enabled > filetype indent in my .vimrc, the problem with cindent goes away, as > :verbose setl cindent? now reports last set by the Java indent file. I > don't understand why, but it works. > > But I still see an issue with the swapfile option being turned off by > netrw. To test, I unset my HOME environment variable to eliminate my > .vimrc and all my installed plugins. Then when I repeat the 2 scenarios > from my original post, noswapfile is set and :verbose setl swf? reports > noswapfile last set by netrw.vim. > > BTW, I'm running GVim on XP. > > -Mark > > > Charles E Campbell Jr wrote: > >Mark S. Williams wrote: > > > >>I think I've uncovered an odd bug involving Netrw and the cindent > >>local buffer option for Java files, where cindent is unset under > >>certain conditions. > > > >I'm afraid that I don't see this problem; I tried both your examples. > >Please try v103f from my website: > > > >http://mysite.verizon.net/astronaut/vim/index.html#VimFuncs , see > >"Network Oriented Reading, Writing, and Browsing". > > > >If this problem continues to occur, then its likely some setting or > >other plugin is interfering (the latter most likely via an autocmd). > > > >Regards, > >Chip Campbell > >