diff options
author | Michael Stahl <mstahl@redhat.com> | 2016-10-26 22:13:33 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2016-10-26 22:16:08 +0200 |
commit | aa70294ffc0abbeeb30b4c4001e4db8b3539bf75 (patch) | |
tree | 225914ab32f8c72269b06b82de20cf7e959600e4 /pyuno/demo | |
parent | 22d0970e690d7a623619a84d5054b6f92b7acea4 (diff) |
normalize existing emacs/vim mode-lines in python files
Bunch of these were setting C++ or Make modes and icky tabs...
Also, reportedly Emacs can figure out to enable python-mode
automatically.
Change-Id: I50072488fb92cb4d27aa3f74f717a28ae3967543
Diffstat (limited to 'pyuno/demo')
-rw-r--r-- | pyuno/demo/biblioaccess.py | 4 | ||||
-rw-r--r-- | pyuno/demo/hello_world_comp.py | 4 | ||||
-rw-r--r-- | pyuno/demo/ooextract.py | 4 | ||||
-rw-r--r-- | pyuno/demo/swriter.py | 4 | ||||
-rw-r--r-- | pyuno/demo/swritercomp.py | 4 | ||||
-rw-r--r-- | pyuno/demo/swritercompclient.py | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/pyuno/demo/biblioaccess.py b/pyuno/demo/biblioaccess.py index bab6ce61116b..0e5d0b4c8071 100644 --- a/pyuno/demo/biblioaccess.py +++ b/pyuno/demo/biblioaccess.py @@ -1,4 +1,4 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -50,4 +50,4 @@ def main(): main() -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/pyuno/demo/hello_world_comp.py b/pyuno/demo/hello_world_comp.py index 73bdc1fc4257..646a124a47b8 100644 --- a/pyuno/demo/hello_world_comp.py +++ b/pyuno/demo/hello_world_comp.py @@ -1,4 +1,4 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -57,4 +57,4 @@ g_ImplementationHelper.addImplementation( \ ("com.sun.star.task.Job",),) # list of implemented services # (the only service) -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/pyuno/demo/ooextract.py b/pyuno/demo/ooextract.py index 477cc8910282..8a364cd4ed62 100644 --- a/pyuno/demo/ooextract.py +++ b/pyuno/demo/ooextract.py @@ -1,4 +1,4 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -126,4 +126,4 @@ def usage(): main() -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/pyuno/demo/swriter.py b/pyuno/demo/swriter.py index 865160a11851..4f3916136c30 100644 --- a/pyuno/demo/swriter.py +++ b/pyuno/demo/swriter.py @@ -1,4 +1,4 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -119,4 +119,4 @@ cursor.setPropertyValue( "CharShadowed", False ) text.insertString( cursor, " That's all for now!" , 0 ) -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/pyuno/demo/swritercomp.py b/pyuno/demo/swritercomp.py index bdebc9f3f94e..3bdd252e4e44 100644 --- a/pyuno/demo/swritercomp.py +++ b/pyuno/demo/swritercomp.py @@ -1,4 +1,4 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -125,4 +125,4 @@ g_ImplementationHelper = unohelper.ImplementationHelper() g_ImplementationHelper.addImplementation( \ SWriterComp,"org.openoffice.comp.pyuno.swriter",("org.openoffice.demo.SWriter",),) -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: diff --git a/pyuno/demo/swritercompclient.py b/pyuno/demo/swritercompclient.py index 4ac9d937db51..c4d6cdbf6a66 100644 --- a/pyuno/demo/swritercompclient.py +++ b/pyuno/demo/swritercompclient.py @@ -1,4 +1,4 @@ -# -*- tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- +# -*- tab-width: 4; indent-tabs-mode: nil; py-indent-offset: 4 -*- # # This file is part of the LibreOffice project. # @@ -29,4 +29,4 @@ pyComp = remoteSmgr.createInstanceWithContext( "org.openoffice.demo.SWriter" , r pyComp.run( (), ) -# vim:set shiftwidth=4 softtabstop=4 expandtab: +# vim: set shiftwidth=4 softtabstop=4 expandtab: |