[29930] trunk/base
source_changes at macosforge.org
source_changes at macosforge.org
Mon Oct 15 08:48:31 PDT 2007
Revision: 29930
http://trac.macosforge.org/projects/macports/changeset/29930
Author: jmpp at macports.org
Date: 2007-10-15 08:48:30 -0700 (Mon, 15 Oct 2007)
Log Message:
-----------
Unify modeline in all source files that have been whitespace-cleaned per last agreed on standard.
Modified Paths:
--------------
trunk/base/HACKING
trunk/base/portmgr/PortIndex2MySQL.tcl
trunk/base/src/macports1.0/macports.tcl
trunk/base/src/port/port.tcl
trunk/base/src/port/portindex.tcl
trunk/base/src/port/portmirror.tcl
trunk/base/src/port1.0/portlivecheck.tcl
trunk/base/src/port1.0/resources/group/perl5-1.0.tcl
Modified: trunk/base/HACKING
===================================================================
--- trunk/base/HACKING 2007-10-15 12:49:22 UTC (rev 29929)
+++ trunk/base/HACKING 2007-10-15 15:48:30 UTC (rev 29930)
@@ -2,12 +2,12 @@
* All source code files MUST use soft tabs at a tabstop of 4. No hard tabs are allowed.
* All source code files SHOULD have the following as the first line of the file:
- # -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4
- This is a modeline that works for both emacs and vim.
+ # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
+ This is a modeline that works for both emacs and vim.
* Portfiles SHOULD use soft tabs at a tabstop of 4, but implementation of this is left up to the discretion of the maintainer.
* Portfiles SHOULD use the given modeline
* Makefiles MUST use tabs as it is required by the syntax. Makefiles SHOULD use a tab stop of 8.
* Makefiles MAY use a modeline. The following works for emacs and vim:
- # -*- Mode: Makefile; tab-width: 8; indent-tabs-mode: t -*- vim:noet:sw=8:ts=8
+ # -*- coding: utf-8; mode: Makefile; tab-width: 8; indent-tabs-mode: t -*- vim:fenc=utf-8:filetype=Makefile:noet:sw=8:ts=8
* All other files (documentation, etc) SHOULD use soft tabs at a tabstop of 4 if the document format allows.
* All other files (documentation, etc) SHOULD NOT use a modeline as it is probably meant for human consumption.
Modified: trunk/base/portmgr/PortIndex2MySQL.tcl
===================================================================
--- trunk/base/portmgr/PortIndex2MySQL.tcl 2007-10-15 12:49:22 UTC (rev 29929)
+++ trunk/base/portmgr/PortIndex2MySQL.tcl 2007-10-15 15:48:30 UTC (rev 29930)
@@ -1,5 +1,5 @@
#!/usr/bin/env tclsh
-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
#
# PortIndex2MySQL.tcl
# Kevin Van Vechten | kevin at opendarwin.org
Modified: trunk/base/src/macports1.0/macports.tcl
===================================================================
--- trunk/base/src/macports1.0/macports.tcl 2007-10-15 12:49:22 UTC (rev 29929)
+++ trunk/base/src/macports1.0/macports.tcl 2007-10-15 15:48:30 UTC (rev 29930)
@@ -1,4 +1,4 @@
-# -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# macports.tcl
# $Id$
#
Modified: trunk/base/src/port/port.tcl
===================================================================
--- trunk/base/src/port/port.tcl 2007-10-15 12:49:22 UTC (rev 29929)
+++ trunk/base/src/port/port.tcl 2007-10-15 15:48:30 UTC (rev 29930)
@@ -1,10 +1,10 @@
#!/bin/sh
-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 \
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 \
exec @TCLSH@ "$0" "$@"
# port.tcl
# $Id$
#
-# Copyright (c) 2002-2006 MacPorts organization
+# Copyright (c) 2002-2007 MacPorts organization
# Copyright (c) 2004 Robert Shaw <rshaw at opendarwin.org>
# Copyright (c) 2002 Apple Computer, Inc.
# All rights reserved.
Modified: trunk/base/src/port/portindex.tcl
===================================================================
--- trunk/base/src/port/portindex.tcl 2007-10-15 12:49:22 UTC (rev 29929)
+++ trunk/base/src/port/portindex.tcl 2007-10-15 15:48:30 UTC (rev 29930)
@@ -1,5 +1,5 @@
#!/bin/sh
-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4 \
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 \
exec @TCLSH@ "$0" "$@"
# Traverse through all ports, creating an index and archiving port directories
Modified: trunk/base/src/port/portmirror.tcl
===================================================================
--- trunk/base/src/port/portmirror.tcl 2007-10-15 12:49:22 UTC (rev 29929)
+++ trunk/base/src/port/portmirror.tcl 2007-10-15 15:48:30 UTC (rev 29930)
@@ -1,5 +1,5 @@
#!/bin/sh
-# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 \
exec @TCLSH@ "$0" "$@"
# Updates the distfiles to current distfiles by deleting old stuff.
Modified: trunk/base/src/port1.0/portlivecheck.tcl
===================================================================
--- trunk/base/src/port1.0/portlivecheck.tcl 2007-10-15 12:49:22 UTC (rev 29929)
+++ trunk/base/src/port1.0/portlivecheck.tcl 2007-10-15 15:48:30 UTC (rev 29930)
@@ -1,4 +1,4 @@
-# et:ts=4
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# portlivecheck.tcl
#
# $Id$
Modified: trunk/base/src/port1.0/resources/group/perl5-1.0.tcl
===================================================================
--- trunk/base/src/port1.0/resources/group/perl5-1.0.tcl 2007-10-15 12:49:22 UTC (rev 29929)
+++ trunk/base/src/port1.0/resources/group/perl5-1.0.tcl 2007-10-15 15:48:30 UTC (rev 29930)
@@ -1,4 +1,4 @@
-# et:ts=4
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
# perl5-1.0.tcl
#
# $Id$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20071015/36001529/attachment.html
More information about the macports-changes
mailing list