Re: [34061] trunk/dports/tex/bibutils/Portfile
On Feb 11, 2008, at 12:53, jochen@macports.org wrote:
Revision: 34061 http://trac.macosforge.org/projects/macports/changeset/34061 Author: jochen@macports.org Date: 2008-02-11 10:53:36 -0800 (Mon, 11 Feb 2008)
Log Message: ----------- lint port, move Emacs' Local Variables to end of file
It would be better to leave the modeline at the top of the file like it was. "lint" in 1.6.0 is complaining about this, but this complaint has already been removed from MacPorts trunk.
Modified Paths: -------------- trunk/dports/tex/bibutils/Portfile
Modified: trunk/dports/tex/bibutils/Portfile =================================================================== --- trunk/dports/tex/bibutils/Portfile 2008-02-11 18:43:48 UTC (rev 34060) +++ trunk/dports/tex/bibutils/Portfile 2008-02-11 18:53:36 UTC (rev 34061) @@ -1,7 +1,7 @@ -# -*- coding: utf-8; mode: tcl; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: nil -*- vim:et:sw=4:ts=4:sts=4 # $Id$
PortSystem 1.0 + name bibutils version 3.40 categories tex @@ -25,3 +25,13 @@ rmd160 6d6666119669a400716c99ee7c46922de4f54954
configure.pre_args --install-dir ${destroot}${prefix}/bin + + +# Local Variables: +# coding: utf-8 +# mode: tcl +# c-basic-offset: 4 +# indent-tabs-mode: nil +# tab-width: 4 +# truncate-lines: t +# End:
On 11.02.2008, at 20:25, Ryan Schmidt wrote:
On Feb 11, 2008, at 12:53, jochen@macports.org wrote:
Revision: 34061 http://trac.macosforge.org/projects/macports/changeset/34061 Author: jochen@macports.org Date: 2008-02-11 10:53:36 -0800 (Mon, 11 Feb 2008)
Log Message: ----------- lint port, move Emacs' Local Variables to end of file
It would be better to leave the modeline at the top of the file like it was.
Why? Okay, the vim tuff might need to go back there, but generally an Emacs Local Variables section at the end of the file is way easier to read and understand than collapsing everything into the first line...
"lint" in 1.6.0 is complaining about this, but this complaint has already been removed from MacPorts trunk.
Okay, thanks for the info.
On Feb 11, 2008, at 13:47, Jochen Küpper wrote:
On 11.02.2008, at 20:25, Ryan Schmidt wrote:
On Feb 11, 2008, at 12:53, jochen@macports.org wrote:
Revision: 34061 http://trac.macosforge.org/projects/macports/changeset/ 34061 Author: jochen@macports.org Date: 2008-02-11 10:53:36 -0800 (Mon, 11 Feb 2008)
Log Message: ----------- lint port, move Emacs' Local Variables to end of file
It would be better to leave the modeline at the top of the file like it was.
Why? Okay, the vim tuff might need to go back there, but generally an Emacs Local Variables section at the end of the file is way easier to read and understand than collapsing everything into the first line...
Because that's what was decided on some time ago and that's what it says in the Guide: http://guide.macports.org/#development.practices.portstyle If you want to change that guideline, go ahead and bring it up for discussion.
"lint" in 1.6.0 is complaining about this, but this complaint has already been removed from MacPorts trunk.
Okay, thanks for the info.
Hi Ryan,
Because that's what was decided on some time ago and that's what it says in the Guide:
okay, good enough;) However, I hope it is okay to change the modeline to # -*- coding: utf-8; mode: tcl; tab-width: 4; truncate-lines: t; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4 The truncate-lines makes sure long lines -- i.e. this modeline -- don't look too bad... Schöne Grüße, Jochen -- Einigkeit und Recht und Freiheit http://www.Jochen-Kuepper.de Liberté, Égalité, Fraternité GnuPG key: CC1B0B4D Sex, drugs and rock-n-roll
participants (2)
-
Jochen Küpper
-
Ryan Schmidt