On 26/giu/2013, at 18:21, Lawrence Velázquez <[email protected]> wrote:
> 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: >>> 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. That is correct. However, you just need to do a :e % to reread the file, no need to relaunch vim! Also, modeline is not automatically applied (vim won't convert tabs to spaces to adhere to the modeline by itself); you need to issue a :retab command. > > vq > _______________________________________________ > macports-dev mailing list > [email protected] > https://lists.macosforge.org/mailman/listinfo/macports-dev -- Aljaž Srebrnič a.k.a g5pw My public key: http://bit.ly/g5pw_pubkey _______________________________________________ macports-dev mailing list [email protected] https://lists.macosforge.org/mailman/listinfo/macports-dev
