On Jun 26, 2013, at 3:14 AM, Ryan Schmidt <[email protected]> wrote:

> On Jun 26, 2013, at 01:42, [email protected] wrote:
> 
>> On Jun 26, 2013, at 5:53 AM, Ryan Schmidt wrote:
>>>> +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; 
>>>> c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
>>> The whitespace of this port does not conform to this modeline.
>> That is strange, since I was using vi to edit this port file.
>> Any idea what I could to force vi to conform to these settings when saving 
>> the file?
> 
> I am not sure! I don't know how vi handles modelines or whitespace. I just 
> noticed that the formatting of the commit email was strange, and when I 
> opened the Portfile in my editor, I saw the mix of tabs and spaces.

I think modelines are only checked when you open a file. The easiest thing to 
do when creating a new port is probably to save it with just the modeline and 
then reopen it.

vq
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to