[35103] trunk/base/HACKING

raimue at macports.org raimue at macports.org
Mon Mar 17 07:33:02 PDT 2008


Revision: 35103
          http://trac.macosforge.org/projects/macports/changeset/35103
Author:   raimue at macports.org
Date:     2008-03-17 07:33:01 -0700 (Mon, 17 Mar 2008)

Log Message:
-----------
HACKING:
* Replace 'filetype' by shorter 'ft' in vim modeline
* Remove trailing whitespace

Modified Paths:
--------------
    trunk/base/HACKING

Modified: trunk/base/HACKING
===================================================================
--- trunk/base/HACKING	2008-03-17 14:20:59 UTC (rev 35102)
+++ trunk/base/HACKING	2008-03-17 14:33:01 UTC (rev 35103)
@@ -48,11 +48,11 @@
 
  *  All source code files SHOULD have the following as the first line of
     the file:
-        
-        # -*- 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
-        
+
+        # -*- 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
+
     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.
 
@@ -62,9 +62,9 @@
     SHOULD use a tab stop of 8.
 
  *  Makefiles MAY use a modeline. The following works for emacs and vim:
- 
-        # -*- coding: utf-8; mode: Makefile; tab-width: 8; indent-tabs-mode: t -*- vim:fenc=utf-8:filetype=Makefile:noet:sw=8:ts=8
 
+        # -*- coding: utf-8; mode: Makefile; tab-width: 8; indent-tabs-mode: t -*- vim:fenc=utf-8:ft=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.
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080317/5bb85272/attachment.html


More information about the macports-changes mailing list