[107347] trunk/dports/finance

Lawrence Velázquez larryv at macports.org
Wed Jun 26 09:21:13 PDT 2013


On Jun 26, 2013, at 3:14 AM, Ryan Schmidt <ryandesign at macports.org> wrote:

> On Jun 26, 2013, at 01:42, MK-MacPorts at techno.ms 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


More information about the macports-dev mailing list