ソースを参照

Remove Emacs and vim modelines

These just clutter the code base, as adding modelines for each possible
editor out there does not scale, and they are currently not exhaustive
anyway.
Guillem Jover 13 年 前
コミット
36a15fee66
共有46 個のファイルを変更した5 個の追加60 個の削除を含む
  1. 0 2
      Makecheck.am
  2. 0 2
      dpkg-deb/info.c
  3. 0 3
      dpkg-deb/main.c
  4. 0 3
      dselect/baselist.cc
  5. 1 1
      dselect/bindings.h
  6. 1 1
      dselect/dselect-curses.h
  7. 1 1
      dselect/dselect.h
  8. 1 1
      dselect/method.h
  9. 0 1
      dselect/methods/Debian/Dselect/Ftp.pm
  10. 0 1
      dselect/methods/ftp/install
  11. 0 1
      dselect/methods/ftp/setup
  12. 0 1
      dselect/methods/ftp/update
  13. 0 2
      dselect/methods/multicd/install
  14. 0 2
      dselect/methods/multicd/setup
  15. 0 3
      dselect/pkglist.cc
  16. 1 1
      dselect/pkglist.h
  17. 0 1
      scripts/Dpkg/Exit.pm
  18. 0 1
      scripts/Dpkg/Source/Functions.pm
  19. 0 1
      scripts/Dpkg/Source/Package.pm
  20. 0 1
      scripts/Dpkg/Source/Package/V1.pm
  21. 0 1
      scripts/Dpkg/Source/Package/V2.pm
  22. 0 1
      scripts/Dpkg/Source/Package/V3/custom.pm
  23. 0 1
      scripts/Dpkg/Source/Package/V3/native.pm
  24. 0 1
      scripts/Dpkg/Source/Package/V3/quilt.pm
  25. 0 1
      scripts/Dpkg/Source/Patch.pm
  26. 0 1
      scripts/Dpkg/Source/Quilt.pm
  27. 0 1
      scripts/dpkg-source.pl
  28. 0 1
      scripts/t/000_pod.t
  29. 0 1
      scripts/t/100_Dpkg_Version.t
  30. 0 1
      scripts/t/150_Dpkg_Package.t
  31. 0 1
      scripts/t/190_Dpkg_Shlibs_Cppfilt.t
  32. 0 1
      scripts/t/200_Dpkg_Shlibs.t
  33. 0 1
      scripts/t/300_Dpkg_BuildOptions.t
  34. 0 1
      scripts/t/400_Dpkg_Deps.t
  35. 0 1
      scripts/t/500_Dpkg_Path.t
  36. 0 1
      scripts/t/600_Dpkg_Changelog.t
  37. 0 1
      scripts/t/600_Dpkg_Changelog_Ubuntu.t
  38. 0 1
      scripts/t/700_Dpkg_Control.t
  39. 0 1
      scripts/t/750_Dpkg_Substvars.t
  40. 0 1
      scripts/t/800_Dpkg_IPC.t
  41. 0 1
      scripts/t/850_Dpkg_Compression.t
  42. 0 1
      scripts/t/910_merge_changelogs.t
  43. 0 3
      src/archives.c
  44. 0 3
      src/filesdb.c
  45. 0 1
      src/t/100_dpkg_divert.t
  46. 0 1
      utils/t/100_update_alternatives.t

+ 0 - 2
Makecheck.am

@@ -1,5 +1,3 @@
-# vim:set syn=automake:
-
 # Variables to be defined:
 #
 #  TEST_VERBOSE - set to 0 or 1 to control test suite verbosity

+ 0 - 2
dpkg-deb/info.c

@@ -335,5 +335,3 @@ do_contents(const char *const *argv)
 
   return 0;
 }
-/* vi: sw=2
- */

+ 0 - 3
dpkg-deb/main.c

@@ -273,6 +273,3 @@ int main(int argc, const char *const *argv) {
 
   return ret;
 }
-
-/* vi: sw=2
- */

+ 0 - 3
dselect/baselist.cc

@@ -368,6 +368,3 @@ void baselist::wordwrapinfo(int offset, const char *m) {
 }
 
 baselist::~baselist() { }
-
-/* vi: sw=2 ts=8
- */

+ 1 - 1
dselect/bindings.h

@@ -1,4 +1,4 @@
-/* -*- c++ -*-
+/*
  * dselect - Debian package maintenance user interface
  * bindings.h - keybindings class header file
  *

+ 1 - 1
dselect/dselect-curses.h

@@ -1,4 +1,4 @@
-/* -*- c++ -*-
+/*
  * dselect - Debian package maintenance user interface
  * dselect-curses.h - curses header wrapper
  *

+ 1 - 1
dselect/dselect.h

@@ -1,4 +1,4 @@
-/* -*- c++ -*-
+/*
  * dselect - Debian package maintenance user interface
  * dselect.h - external definitions for this program
  *

+ 1 - 1
dselect/method.h

@@ -1,4 +1,4 @@
-/* -*- c++ -*-
+/*
  * dselect - Debian package maintenance user interface
  * method.h - access method handling declarations
  *

+ 0 - 1
dselect/methods/Debian/Dselect/Ftp.pm

@@ -1,4 +1,3 @@
-# -*-perl-*-
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # the Free Software Foundation; version 2 of the License.

+ 0 - 1
dselect/methods/ftp/install

@@ -1,5 +1,4 @@
 #!/usr/bin/perl
-# -*-perl-*-
 #
 # Copyright © 1996 Andy Guy <awpguy@acs.ucalgary.ca>
 # Copyright © 1998 Martin Schulze <joey@infodrom.north.de>

+ 0 - 1
dselect/methods/ftp/setup

@@ -1,5 +1,4 @@
 #!/usr/bin/perl
-# -*-perl-*-
 #
 # Copyright © 1996 Andy Guy <awpguy@acs.ucalgary.ca>
 # Copyright © 1998 Martin Schulze <joey@infodrom.north.de>

+ 0 - 1
dselect/methods/ftp/update

@@ -1,5 +1,4 @@
 #!/usr/bin/perl
-# -*-perl-*-
 #
 # Copyright © 1996 Andy Guy <awpguy@acs.ucalgary.ca>
 # Copyright © 1998 Martin Schulze <joey@infodrom.north.de>

+ 0 - 2
dselect/methods/multicd/install

@@ -305,5 +305,3 @@ echo -n 'Installation OK.  Hit RETURN.  '
 read response
 
 xit=0
-
-# vim:ts=4:sw=4:aw:ai:

+ 0 - 2
dselect/methods/multicd/setup

@@ -681,5 +681,3 @@ outputparam p_multi_contentsfile "$multi_contentsfile"
 mv shvar.$option.new shvar.$option
 
 xit=0
-
-# vim:ts=4:sw=4:aw:ai:

+ 0 - 3
dselect/pkglist.cc

@@ -620,6 +620,3 @@ pkginfo **packagelist::display() {
     return 0;
   }
 }
-
-/* vi: sw=2 ts=8
- */

+ 1 - 1
dselect/pkglist.h

@@ -1,4 +1,4 @@
-/* -*- c++ -*-
+/*
  * dselect - Debian package maintenance user interface
  * pkglist.h - external definitions for package list handling
  *

+ 0 - 1
scripts/Dpkg/Exit.pm

@@ -30,5 +30,4 @@ $SIG{'INT'} = \&exit_handler;
 $SIG{'HUP'} = \&exit_handler;
 $SIG{'QUIT'} = \&exit_handler;
 
-# vim: set et sw=4 ts=8
 1;

+ 0 - 1
scripts/Dpkg/Source/Functions.pm

@@ -117,5 +117,4 @@ sub is_binary($) {
     return $result;
 }
 
-# vim: set et sw=4 ts=8
 1;

+ 0 - 1
scripts/Dpkg/Source/Package.pm

@@ -571,5 +571,4 @@ Raphaël Hertzog, E<lt>hertzog@debian.orgE<gt>
 
 =cut
 
-# vim: set et sw=4 ts=8
 1;

+ 0 - 1
scripts/Dpkg/Source/Package/V1.pm

@@ -391,5 +391,4 @@ sub do_build {
     }
 }
 
-# vim: set et sw=4 ts=8
 1;

+ 0 - 1
scripts/Dpkg/Source/Package/V2.pm

@@ -732,5 +732,4 @@ sub get_seen_binaries {
     return sort keys %{$self->{'seen_binaries'}};
 }
 
-# vim:et:sw=4:ts=8
 1;

+ 0 - 1
scripts/Dpkg/Source/Package/V3/custom.pm

@@ -58,5 +58,4 @@ sub do_build {
     }
 }
 
-# vim:et:sw=4:ts=8
 1;

+ 0 - 1
scripts/Dpkg/Source/Package/V3/native.pm

@@ -104,5 +104,4 @@ sub do_build {
     $self->add_file($tarname);
 }
 
-# vim: set et sw=4 ts=8
 1;

+ 0 - 1
scripts/Dpkg/Source/Package/V3/quilt.pm

@@ -280,5 +280,4 @@ sub register_patch {
     return $patch;
 }
 
-# vim:et:sw=4:ts=8
 1;

+ 0 - 1
scripts/Dpkg/Source/Patch.pm

@@ -613,4 +613,3 @@ sub get_type {
 }
 
 1;
-# vim: set et sw=4 ts=8

+ 0 - 1
scripts/Dpkg/Source/Quilt.pm

@@ -304,5 +304,4 @@ sub restore_quilt_backup_files {
     }, $patch_dir);
 }
 
-# vim:et:sw=4:ts=8
 1;

+ 0 - 1
scripts/dpkg-source.pl

@@ -1,5 +1,4 @@
 #! /usr/bin/perl
-# vim: set et sw=4 ts=8
 #
 # dpkg-source
 #

+ 0 - 1
scripts/t/000_pod.t

@@ -1,4 +1,3 @@
-# -*- mode: cperl;-*-
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 0 - 1
scripts/t/100_Dpkg_Version.t

@@ -1,4 +1,3 @@
-# -*- mode: cperl;-*-
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 0 - 1
scripts/t/150_Dpkg_Package.t

@@ -1,4 +1,3 @@
-# -*- mode: cperl;-*-
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 0 - 1
scripts/t/190_Dpkg_Shlibs_Cppfilt.t

@@ -1,4 +1,3 @@
-# -*- mode: cperl;-*-
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 0 - 1
scripts/t/200_Dpkg_Shlibs.t

@@ -1,4 +1,3 @@
-# -*- mode: cperl;-*-
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 0 - 1
scripts/t/300_Dpkg_BuildOptions.t

@@ -1,4 +1,3 @@
-# -*- mode: cperl;-*-
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 0 - 1
scripts/t/400_Dpkg_Deps.t

@@ -1,4 +1,3 @@
-# -*- mode: cperl;-*-
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 0 - 1
scripts/t/500_Dpkg_Path.t

@@ -1,4 +1,3 @@
-# -*- mode: cperl;-*-
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 0 - 1
scripts/t/600_Dpkg_Changelog.t

@@ -1,4 +1,3 @@
-# -*- perl -*-
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 0 - 1
scripts/t/600_Dpkg_Changelog_Ubuntu.t

@@ -1,4 +1,3 @@
-# -*- perl -*-
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 0 - 1
scripts/t/700_Dpkg_Control.t

@@ -1,4 +1,3 @@
-# -*- mode: cperl;-*-
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 0 - 1
scripts/t/750_Dpkg_Substvars.t

@@ -1,4 +1,3 @@
-# -*- mode: cperl;-*-
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 0 - 1
scripts/t/800_Dpkg_IPC.t

@@ -1,4 +1,3 @@
-# -*- mode: cperl -*-
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 0 - 1
scripts/t/850_Dpkg_Compression.t

@@ -1,4 +1,3 @@
-# -*- mode: cperl -*-
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 0 - 1
scripts/t/910_merge_changelogs.t

@@ -1,4 +1,3 @@
-# -*- mode: cperl;-*-
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 0 - 3
src/archives.c

@@ -1750,6 +1750,3 @@ struct fileinlist *newconff_append(struct fileinlist ***newconffileslastp_io,
   *newconffileslastp_io= &newconff->next;
   return newconff;
 }
-
-/* vi: ts=8 sw=2
- */

+ 0 - 3
src/filesdb.c

@@ -660,6 +660,3 @@ struct filenamenode *findnamenode(const char *name, enum fnnflags flags) {
 
   return newnode;
 }
-
-/* vi: ts=8 sw=2
- */

+ 0 - 1
src/t/100_dpkg_divert.t

@@ -1,4 +1,3 @@
-# -*- mode: cperl;-*-
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by

+ 0 - 1
utils/t/100_update_alternatives.t

@@ -1,4 +1,3 @@
-# -*- mode: cperl;-*-
 #
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by