[plug] text editor

Craig Ringer craig at postnewspapers.com.au
Wed May 22 15:38:02 WST 2002


> Seriously, gvim does this. If you have gvim open, and somebody else has
> edited the file, it pops up a dialog saying "file has changed; ok/load new
> version". It will not, however, merge your changes with the version it
> loads; it's strictly one or the other.

Interestingly, it watches for updates of metadata like permissions, too 
- not just data. I discover this frequently when I !chmod u+x 
myscript.py from gvim... Anybody know how to disable this behavior so it 
only looks at file _contents_ changes?


> I'm not sure if vim (non graphical) does (or can be made to do) the same,
> but it doesn't appear to by default.
It does. You do need to be using vim not some other vi (I know that for 
debian to get a half decent vi you have to update-alternatives --config 
vi otherwise it uses some dark-ages beast like nvi instead of vim when 
you type "vi").

Speaking of Debian, can anybody give me any pointers on rebuilding only 
the arch-specific parts of XFree86, pref with optimization for my system 
(at least not i386!)? I've tried to apt-get -b source but it wants to 
build _everything_ eg 3dfx card drv with GLIDE. Any way of saying, for 
example "server and libs build only, don't bother with any drivers 
except VESA and nv" ?

-- 
Craig Ringer
GPG Key Fingerprint: AF1C ABFE 7E64 E9C8 FC27  C16E D3CE CDC0 0E93 380D
	-- if it ain't broke, add features 'till it is.




More information about the plug mailing list