the fact that the modelines search is for the pattern [ev][xi]: rather than for (ex|vi): aggravates the problem. peter