Changeset 29930 for trunk/base


Ignore:
Timestamp:
Oct 15, 2007, 3:48:30 PM (12 years ago)
Author:
jmpp@…
Message:

Unify modeline in all source files that have been whitespace-cleaned per last agreed on standard.

Location:
trunk/base
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/base/HACKING

    r28702 r29930  
    33* All source code files MUST use soft tabs at a tabstop of 4. No hard tabs are allowed.
    44* All source code files SHOULD have the following as the first line of the file:
    5        # -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4
    6    This is a modeline that works for both emacs and vim.
     5    # -*- 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
     6  This is a modeline that works for both emacs and vim.
    77* Portfiles SHOULD use soft tabs at a tabstop of 4, but implementation of this is left up to the discretion of the maintainer.
    88* Portfiles SHOULD use the given modeline
    99* Makefiles MUST use tabs as it is required by the syntax. Makefiles SHOULD use a tab stop of 8.
    1010* Makefiles MAY use a modeline. The following works for emacs and vim:
    11        # -*- Mode: Makefile; tab-width: 8; indent-tabs-mode: t -*- vim:noet:sw=8:ts=8
     11    # -*- coding: utf-8; mode: Makefile; tab-width: 8; indent-tabs-mode: t -*- vim:fenc=utf-8:filetype=Makefile:noet:sw=8:ts=8
    1212* All other files (documentation, etc) SHOULD use soft tabs at a tabstop of 4 if the document format allows.
    1313* All other files (documentation, etc) SHOULD NOT use a modeline as it is probably meant for human consumption.
  • trunk/base/portmgr/PortIndex2MySQL.tcl

    r29693 r29930  
    11#!/usr/bin/env tclsh
    2 # -*- 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
     2# -*- 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
    33#
    44# PortIndex2MySQL.tcl
  • trunk/base/src/macports1.0/macports.tcl

    r29692 r29930  
    1 # -*- Mode: Tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:et:sw=4:ts=4:sts=4
     1# -*- 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
    22# macports.tcl
    33# $Id$
  • trunk/base/src/port/port.tcl

    r29506 r29930  
    11#!/bin/sh
    2 # -*- 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 \
     2# -*- 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 \
    33exec @TCLSH@ "$0" "$@"
    44# port.tcl
    55# $Id$
    66#
    7 # Copyright (c) 2002-2006 MacPorts organization
     7# Copyright (c) 2002-2007 MacPorts organization
    88# Copyright (c) 2004 Robert Shaw <rshaw@opendarwin.org>
    99# Copyright (c) 2002 Apple Computer, Inc.
  • trunk/base/src/port/portindex.tcl

    r29506 r29930  
    11#!/bin/sh
    2 # -*- 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 \
     2# -*- 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 \
    33exec @TCLSH@ "$0" "$@"
    44
  • trunk/base/src/port/portmirror.tcl

    r29506 r29930  
    11#!/bin/sh
    2 # -*- 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
     2# -*- 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 \
    33exec @TCLSH@ "$0" "$@"
    44
  • trunk/base/src/port1.0/portlivecheck.tcl

    r29872 r29930  
    1 # et:ts=4
     1# -*- 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
    22# portlivecheck.tcl
    33#
  • trunk/base/src/port1.0/resources/group/perl5-1.0.tcl

    r29831 r29930  
    1 # et:ts=4
     1# -*- 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
    22# perl5-1.0.tcl
    33#
Note: See TracChangeset for help on using the changeset viewer.