From 81c691d15afc0ccffd3da3a480478f0a66bb60f4 Mon Sep 17 00:00:00 2001 From: Cesare Tirabassi Date: Tue, 28 Jul 2009 23:44:22 +0200 Subject: [PATCH] add emacs indentation variables to source files in line with current vim settings --- Makefile.am | 2 ++ configure.ac.in | 2 ++ data/Makefile.am | 2 ++ doc/Makefile.am | 2 ++ lua/Makefile.am | 2 ++ src/Makefile.am | 2 ++ src/algebra.c | 4 +++- src/algebra.h | 4 +++- src/apcupsd.c | 4 +++- src/apcupsd.h | 4 +++- src/audacious.c | 4 +++- src/audacious.h | 4 +++- src/bmpx.c | 4 +++- src/bmpx.h | 4 +++- src/ccurl_thread.c | 3 ++- src/ccurl_thread.h | 3 ++- src/colours.c | 4 +++- src/colours.h | 4 +++- src/common.c | 4 +++- src/common.h | 2 ++ src/conf_cookie.c | 4 +++- src/conf_cookie.h | 2 ++ src/conky.c | 4 +++- src/conky.h | 4 +++- src/diskio.c | 3 ++- src/diskio.h | 3 ++- src/eve.c | 4 +++- src/eve.h | 4 +++- src/fonts.c | 4 +++- src/fonts.h | 4 +++- src/freebsd.c | 4 +++- src/freebsd.h | 2 ++ src/fs.c | 4 +++- src/fs.h | 2 ++ src/hddtemp.c | 4 +++- src/hddtemp.h | 2 ++ src/ibm.c | 4 +++- src/ibm.h | 2 ++ src/imlib2.c | 4 +++- src/imlib2.h | 4 +++- src/libmpdclient.c | 4 +++- src/libmpdclient.h | 4 +++- src/libtcp-portmon.c | 4 +++- src/libtcp-portmon.h | 4 +++- src/linux.c | 4 +++- src/linux.h | 2 ++ src/llua.c | 4 +++- src/llua.h | 4 +++- src/logging.h | 4 +++- src/mail.c | 4 +++- src/mail.h | 2 ++ src/mboxscan.c | 4 +++- src/mboxscan.h | 4 +++- src/mixer.c | 4 +++- src/mixer.h | 2 ++ src/moc.c | 4 +++- src/moc.h | 4 +++- src/mpd.c | 4 +++- src/mpd.h | 2 ++ src/netbsd.c | 4 +++- src/netbsd.h | 2 ++ src/nvidia.c | 4 +++- src/nvidia.h | 4 +++- src/openbsd.c | 4 +++- src/openbsd.h | 2 ++ src/prss.c | 2 +- src/prss.h | 2 +- src/rss.c | 4 +++- src/rss.h | 2 ++ src/smapi.c | 4 +++- src/smapi.h | 4 +++- src/solaris.c | 4 +++- src/sony.c | 4 +++- src/sony.h | 4 +++- src/specials.c | 4 +++- src/specials.h | 4 +++- src/tailhead.c | 4 +++- src/tailhead.h | 4 +++- src/tcp-portmon.c | 4 +++- src/tcp-portmon.h | 4 +++- src/temphelper.c | 4 +++- src/temphelper.h | 4 +++- src/text_object.c | 4 +++- src/text_object.h | 4 +++- src/timed_thread.c | 4 +++- src/timed_thread.h | 4 +++- src/top.c | 4 +++- src/top.h | 4 +++- src/users.c | 6 ++++-- src/weather.c | 3 ++- src/weather.h | 4 +++- src/x11.c | 4 +++- src/x11.h | 2 ++ src/xmms2.c | 4 +++- src/xmms2.h | 4 +++- 95 files changed, 257 insertions(+), 76 deletions(-) diff --git a/Makefile.am b/Makefile.am index 7f68321c..30f9bb62 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,3 +1,5 @@ +# -*- mode: Makefile; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- +# # Conky, a system monitor, based on torsmo # # Any original torsmo code is licensed under the BSD license diff --git a/configure.ac.in b/configure.ac.in index 9217508c..f0a7f2ba 100644 --- a/configure.ac.in +++ b/configure.ac.in @@ -1,3 +1,5 @@ +# -*- mode: Makefile; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- +# dnl major, minor and micro version macros. m4_define([conky_version_major], [1]) m4_define([conky_version_minor], [7]) diff --git a/data/Makefile.am b/data/Makefile.am index 2c910a50..46e6ea5b 100644 --- a/data/Makefile.am +++ b/data/Makefile.am @@ -1,3 +1,5 @@ +# -*- mode: Makefile; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- +# # Conky, a system monitor, based on torsmo # # Any original torsmo code is licensed under the BSD license diff --git a/doc/Makefile.am b/doc/Makefile.am index 42462471..b2d25b35 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,3 +1,5 @@ +# -*- mode: Makefile; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- +# if HAVE_DOCSTUFF DOCS = conky.1 docs.html variables.html config_settings.html lua.html diff --git a/lua/Makefile.am b/lua/Makefile.am index dbf9ae31..5da8e6de 100644 --- a/lua/Makefile.am +++ b/lua/Makefile.am @@ -1,3 +1,5 @@ +# -*- mode: Makefile; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- +# # Conky, a system monitor, based on torsmo # # Please see COPYING for details diff --git a/src/Makefile.am b/src/Makefile.am index 9111c707..cdd7e546 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1,3 +1,5 @@ +# -*- mode: Makefile; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- +# # Conky, a system monitor, based on torsmo # # Any original torsmo code is licensed under the BSD license diff --git a/src/algebra.c b/src/algebra.c index d72bcf0d..bc0f1fd9 100644 --- a/src/algebra.c +++ b/src/algebra.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/algebra.h b/src/algebra.h index f464eac3..e501a1cb 100644 --- a/src/algebra.h +++ b/src/algebra.h @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/apcupsd.c b/src/apcupsd.c index cca6891c..baf5f733 100644 --- a/src/apcupsd.c +++ b/src/apcupsd.c @@ -1,4 +1,6 @@ -/* apcupsd.c: conky module for APC UPS daemon monitoring +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * apcupsd.c: conky module for APC UPS daemon monitoring * * Copyright (C) 2009 Jaromir Smrcek * diff --git a/src/apcupsd.h b/src/apcupsd.h index 2dfa02ad..efbfdf5e 100644 --- a/src/apcupsd.h +++ b/src/apcupsd.h @@ -1,4 +1,6 @@ -/* apcupsd.h: conky module for APC UPS daemon monitoring +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * apcupsd.h: conky module for APC UPS daemon monitoring * * Copyright (C) 2009 Jaromir Smrcek * diff --git a/src/audacious.c b/src/audacious.c index fbaf8fc5..5ee9c109 100644 --- a/src/audacious.c +++ b/src/audacious.c @@ -1,4 +1,6 @@ -/* audacious.c: conky support for audacious music player +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * audacious.c: conky support for audacious music player * * Copyright (C) 2005-2007 Philip Kovacs pkovacs@users.sourceforge.net * diff --git a/src/audacious.h b/src/audacious.h index 79eddc56..2b6c90ab 100644 --- a/src/audacious.h +++ b/src/audacious.h @@ -1,4 +1,6 @@ -/* audacious.h: conky support for audacious music player +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * audacious.h: conky support for audacious music player * * Copyright (C) 2005-2007 Philip Kovacs pkovacs@users.sourceforge.net * diff --git a/src/bmpx.c b/src/bmpx.c index 7be4544b..3ca9cf21 100644 --- a/src/bmpx.c +++ b/src/bmpx.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/bmpx.h b/src/bmpx.h index a036d271..7636cdb6 100644 --- a/src/bmpx.h +++ b/src/bmpx.h @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Please see COPYING for details * diff --git a/src/ccurl_thread.c b/src/ccurl_thread.c index 11d12df6..31a3d787 100644 --- a/src/ccurl_thread.c +++ b/src/ccurl_thread.c @@ -1,4 +1,5 @@ -/* +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * * Conky, a system monitor, based on torsmo * * Please see COPYING for details diff --git a/src/ccurl_thread.h b/src/ccurl_thread.h index 0d0cbf06..eb48d325 100644 --- a/src/ccurl_thread.h +++ b/src/ccurl_thread.h @@ -1,4 +1,5 @@ -/* +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * * Conky, a system monitor, based on torsmo * * Please see COPYING for details diff --git a/src/colours.c b/src/colours.c index 0ea1e8a9..3b899f85 100644 --- a/src/colours.c +++ b/src/colours.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/colours.h b/src/colours.h index 053aad88..f73e17d7 100644 --- a/src/colours.h +++ b/src/colours.h @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/common.c b/src/common.c index 11eaa390..1948e540 100644 --- a/src/common.c +++ b/src/common.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/common.h b/src/common.h index d191406c..fa9211ff 100644 --- a/src/common.h +++ b/src/common.h @@ -1,3 +1,5 @@ +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */ + #ifndef _COMMON_H #define _COMMON_H diff --git a/src/conf_cookie.c b/src/conf_cookie.c index cc7a4b61..7d96a471 100644 --- a/src/conf_cookie.c +++ b/src/conf_cookie.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Please see COPYING for details * diff --git a/src/conf_cookie.h b/src/conf_cookie.h index 4ffada0a..5458b465 100644 --- a/src/conf_cookie.h +++ b/src/conf_cookie.h @@ -1,3 +1,5 @@ +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */ + #ifndef _CONF_COOKIE_H #define _CONF_COOKIE_H diff --git a/src/conky.c b/src/conky.c index 2e74b080..cd29ba75 100644 --- a/src/conky.c +++ b/src/conky.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/conky.h b/src/conky.h index 0f7bbcc8..5b715262 100644 --- a/src/conky.h +++ b/src/conky.h @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/diskio.c b/src/diskio.c index 3596ee61..b6c4c201 100644 --- a/src/diskio.c +++ b/src/diskio.c @@ -1,4 +1,5 @@ -/* +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license diff --git a/src/diskio.h b/src/diskio.h index 373f5d5a..064b31b4 100644 --- a/src/diskio.h +++ b/src/diskio.h @@ -1,4 +1,5 @@ -/* +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license diff --git a/src/eve.c b/src/eve.c index 6d05c58d..209ac7f5 100644 --- a/src/eve.c +++ b/src/eve.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Copyright (c) 2008 Asbjørn Zweidorff Kjær * Copyright (c) 2005-2009 Brenden Matthews, Philip Kovacs, et. al. diff --git a/src/eve.h b/src/eve.h index b4cb1315..a124efab 100644 --- a/src/eve.h +++ b/src/eve.h @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Copyright (c) 2008 Asbjørn Zweidorff Kjær * Copyright (c) 2005-2009 Brenden Matthews, Philip Kovacs, et. al. diff --git a/src/fonts.c b/src/fonts.c index 388921d6..4c08c65d 100644 --- a/src/fonts.c +++ b/src/fonts.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/fonts.h b/src/fonts.h index 48530479..22d92787 100644 --- a/src/fonts.h +++ b/src/fonts.h @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/freebsd.c b/src/freebsd.c index 00399ed3..01b40a16 100644 --- a/src/freebsd.c +++ b/src/freebsd.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/freebsd.h b/src/freebsd.h index 3a3d1376..54a981b2 100644 --- a/src/freebsd.h +++ b/src/freebsd.h @@ -1,3 +1,5 @@ +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */ + #ifndef FREEBSD_H_ #define FREEBSD_H_ diff --git a/src/fs.c b/src/fs.c index 6fbaa170..28f6a682 100644 --- a/src/fs.c +++ b/src/fs.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/fs.h b/src/fs.h index f1690ab4..26bf38ba 100644 --- a/src/fs.h +++ b/src/fs.h @@ -1,3 +1,5 @@ +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */ + #ifndef _FS_H #define _FS_H diff --git a/src/hddtemp.c b/src/hddtemp.c index 7f18e3e3..b90fba43 100644 --- a/src/hddtemp.c +++ b/src/hddtemp.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/hddtemp.h b/src/hddtemp.h index a19f074a..bfc897cf 100644 --- a/src/hddtemp.h +++ b/src/hddtemp.h @@ -1,3 +1,5 @@ +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */ + #ifndef HDDTEMP_H_ #define HDDTEMP_H_ diff --git a/src/ibm.c b/src/ibm.c index 9af81df1..193a5d7d 100644 --- a/src/ibm.c +++ b/src/ibm.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/ibm.h b/src/ibm.h index 58cf63d4..f232acdb 100644 --- a/src/ibm.h +++ b/src/ibm.h @@ -1,3 +1,5 @@ +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */ + #ifndef _IBM_H #define _IBM_H diff --git a/src/imlib2.c b/src/imlib2.c index 282b2975..a9f73914 100644 --- a/src/imlib2.c +++ b/src/imlib2.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Please see COPYING for details * diff --git a/src/imlib2.h b/src/imlib2.h index 9a6e1f8f..f36aac87 100644 --- a/src/imlib2.h +++ b/src/imlib2.h @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Please see COPYING for details * diff --git a/src/libmpdclient.c b/src/libmpdclient.c index b9af206f..791ad895 100644 --- a/src/libmpdclient.c +++ b/src/libmpdclient.c @@ -1,4 +1,6 @@ -/* libmpdclient +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * libmpdclient * (c)2003-2006 by Warren Dukes (warren.dukes@gmail.com) * This project's homepage is: http://www.musicpd.org * diff --git a/src/libmpdclient.h b/src/libmpdclient.h index 9ae72d2b..eef40cda 100644 --- a/src/libmpdclient.h +++ b/src/libmpdclient.h @@ -1,4 +1,6 @@ -/* libmpdclient +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * libmpdclient * (c)2003-2006 by Warren Dukes (warren.dukes@gmail.com) * This project's homepage is: http://www.musicpd.org * diff --git a/src/libtcp-portmon.c b/src/libtcp-portmon.c index 41b6b2db..7d4a8d45 100644 --- a/src/libtcp-portmon.c +++ b/src/libtcp-portmon.c @@ -1,4 +1,6 @@ -/* libtcp-portmon.c: tcp port monitoring library. +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * libtcp-portmon.c: tcp port monitoring library. * * Copyright (C) 2005-2007 Philip Kovacs pkovacs@users.sourceforge.net * diff --git a/src/libtcp-portmon.h b/src/libtcp-portmon.h index 0dd99cfd..0ff93010 100644 --- a/src/libtcp-portmon.h +++ b/src/libtcp-portmon.h @@ -1,4 +1,6 @@ -/* libtcp-portmon.h: tcp port monitoring library. +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * libtcp-portmon.h: tcp port monitoring library. * * Copyright (C) 2005-2007 Philip Kovacs pkovacs@users.sourceforge.net * diff --git a/src/linux.c b/src/linux.c index da2da5a0..e253885b 100644 --- a/src/linux.c +++ b/src/linux.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/linux.h b/src/linux.h index 1ebe911b..8b6bea8a 100644 --- a/src/linux.h +++ b/src/linux.h @@ -1,3 +1,5 @@ +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */ + #ifndef _LINUX_H #define _LINUX_H diff --git a/src/llua.c b/src/llua.c index 5c1468f7..5113d3d6 100644 --- a/src/llua.c +++ b/src/llua.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Copyright (c) 2009 Toni Spets * Copyright (c) 2005-2009 Brenden Matthews, Philip Kovacs, et. al. diff --git a/src/llua.h b/src/llua.h index 5d5123d5..2cc2b1c4 100644 --- a/src/llua.h +++ b/src/llua.h @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Copyright (c) 2009 Toni Spets * Copyright (c) 2005-2009 Brenden Matthews, Philip Kovacs, et. al. diff --git a/src/logging.h b/src/logging.h index ba70f233..ec849d63 100644 --- a/src/logging.h +++ b/src/logging.h @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/mail.c b/src/mail.c index 078b308f..7a068a30 100644 --- a/src/mail.c +++ b/src/mail.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/mail.h b/src/mail.h index 1ce99b7f..a807b39c 100644 --- a/src/mail.h +++ b/src/mail.h @@ -1,3 +1,5 @@ +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */ + #ifndef _MAIL_H #define _MAIL_H diff --git a/src/mboxscan.c b/src/mboxscan.c index 59d4ab0b..c911b4f9 100644 --- a/src/mboxscan.c +++ b/src/mboxscan.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/mboxscan.h b/src/mboxscan.h index a25eeb24..cd0b690c 100644 --- a/src/mboxscan.h +++ b/src/mboxscan.h @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/mixer.c b/src/mixer.c index b7245e58..7c381aad 100644 --- a/src/mixer.c +++ b/src/mixer.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/mixer.h b/src/mixer.h index 568f9119..47114412 100644 --- a/src/mixer.h +++ b/src/mixer.h @@ -1,3 +1,5 @@ +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */ + #ifndef MIXER_H_ #define MIXER_H_ diff --git a/src/moc.c b/src/moc.c index e55b3bb0..98a4dc36 100644 --- a/src/moc.c +++ b/src/moc.c @@ -1,4 +1,6 @@ -/* MOC Conky integration +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * MOC Conky integration * * Please see COPYING for details * diff --git a/src/moc.h b/src/moc.h index c69c7012..7b1f78ef 100644 --- a/src/moc.h +++ b/src/moc.h @@ -1,4 +1,6 @@ -/* MOC Conky integration +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * MOC Conky integration * * Please see COPYING for details * diff --git a/src/mpd.c b/src/mpd.c index 27b138ad..44d0abe4 100644 --- a/src/mpd.c +++ b/src/mpd.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/mpd.h b/src/mpd.h index 6505b46d..da6a13c6 100644 --- a/src/mpd.h +++ b/src/mpd.h @@ -1,3 +1,5 @@ +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */ + #ifndef MPD_H_ #define MPD_H_ diff --git a/src/netbsd.c b/src/netbsd.c index 558230ee..7b785b4a 100644 --- a/src/netbsd.c +++ b/src/netbsd.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/netbsd.h b/src/netbsd.h index 2cc632bf..65f303c8 100644 --- a/src/netbsd.h +++ b/src/netbsd.h @@ -1,3 +1,5 @@ +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */ + #ifndef NETBSD_H_ #define NETBSD_H_ diff --git a/src/nvidia.c b/src/nvidia.c index 92373c0c..7b49fe27 100644 --- a/src/nvidia.c +++ b/src/nvidia.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/nvidia.h b/src/nvidia.h index 6787f171..92b979c4 100644 --- a/src/nvidia.h +++ b/src/nvidia.h @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/openbsd.c b/src/openbsd.c index 27334f62..ff67066f 100644 --- a/src/openbsd.c +++ b/src/openbsd.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/openbsd.h b/src/openbsd.h index 32aa8f4e..2ee32cb6 100644 --- a/src/openbsd.h +++ b/src/openbsd.h @@ -1,3 +1,5 @@ +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */ + #ifndef OPENBSD_H_ #define OPENBSD_H_ diff --git a/src/prss.c b/src/prss.c index 84cc8037..2e1853af 100644 --- a/src/prss.c +++ b/src/prss.c @@ -1,4 +1,4 @@ -/* +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- * * Copyright (c) 2007 Mikko Sysikaski * Toni Spets diff --git a/src/prss.h b/src/prss.h index 12843b0f..53b8b4b6 100644 --- a/src/prss.h +++ b/src/prss.h @@ -1,4 +1,4 @@ -/* +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- * * Copyright (c) 2007 Mikko Sysikaski * Toni Spets diff --git a/src/rss.c b/src/rss.c index 54ee550c..1832f5b1 100644 --- a/src/rss.c +++ b/src/rss.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Please see COPYING for details * diff --git a/src/rss.h b/src/rss.h index 16fd9ac3..3e10d810 100644 --- a/src/rss.h +++ b/src/rss.h @@ -1,3 +1,5 @@ +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */ + #ifndef RSS_H_ #define RSS_H_ diff --git a/src/smapi.c b/src/smapi.c index 5ff8dd05..cb6758fb 100644 --- a/src/smapi.c +++ b/src/smapi.c @@ -1,4 +1,6 @@ -/* smapi.c: conky support for IBM Thinkpad smapi +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * smapi.c: conky support for IBM Thinkpad smapi * * Copyright (C) 2007 Phil Sutter * diff --git a/src/smapi.h b/src/smapi.h index eebe9df9..6b1986c3 100644 --- a/src/smapi.h +++ b/src/smapi.h @@ -1,4 +1,6 @@ -/* smapi.h: conky support for IBM Thinkpad smapi +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * smapi.h: conky support for IBM Thinkpad smapi * * Copyright (C) 2007 Phil Sutter * diff --git a/src/solaris.c b/src/solaris.c index 6bd63db3..b68a10fb 100644 --- a/src/solaris.c +++ b/src/solaris.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/sony.c b/src/sony.c index f29dee52..0ec824d3 100644 --- a/src/sony.c +++ b/src/sony.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Please see COPYING for details * diff --git a/src/sony.h b/src/sony.h index 571e8855..b86287ec 100644 --- a/src/sony.h +++ b/src/sony.h @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Please see COPYING for details * diff --git a/src/specials.c b/src/specials.c index fd2128b1..a76cd417 100644 --- a/src/specials.c +++ b/src/specials.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/specials.h b/src/specials.h index a3b1683d..d506306f 100644 --- a/src/specials.h +++ b/src/specials.h @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/tailhead.c b/src/tailhead.c index 953a3db1..f4e012c0 100644 --- a/src/tailhead.c +++ b/src/tailhead.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/tailhead.h b/src/tailhead.h index 0df64c3c..d3ef45f8 100644 --- a/src/tailhead.h +++ b/src/tailhead.h @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/tcp-portmon.c b/src/tcp-portmon.c index 2b263262..64434657 100644 --- a/src/tcp-portmon.c +++ b/src/tcp-portmon.c @@ -1,4 +1,6 @@ -/* tcp-portmon.c - libtcp-portmon hooks +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * tcp-portmon.c - libtcp-portmon hooks * * Copyright (C) 2008 Phil Sutter * diff --git a/src/tcp-portmon.h b/src/tcp-portmon.h index d4d0034f..8ef40a91 100644 --- a/src/tcp-portmon.h +++ b/src/tcp-portmon.h @@ -1,4 +1,6 @@ -/* tcp-portmon.h - libtcp-portmon hooks protoypes +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * tcp-portmon.h - libtcp-portmon hooks protoypes * * Copyright (C) 2008 Phil Sutter * diff --git a/src/temphelper.c b/src/temphelper.c index 751f035d..b08b8fe7 100644 --- a/src/temphelper.c +++ b/src/temphelper.c @@ -1,4 +1,6 @@ -/* temphelper.c: aid in converting temperature units +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * temphelper.c: aid in converting temperature units * * Copyright (C) 2008 Phil Sutter * diff --git a/src/temphelper.h b/src/temphelper.h index c647f0d0..19f97af7 100644 --- a/src/temphelper.h +++ b/src/temphelper.h @@ -1,4 +1,6 @@ -/* temphelper.h: aid in converting temperature units +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * temphelper.h: aid in converting temperature units * * Copyright (C) 2008 Phil Sutter * diff --git a/src/text_object.c b/src/text_object.c index 6e6311ed..17777bc9 100644 --- a/src/text_object.c +++ b/src/text_object.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/text_object.h b/src/text_object.h index cf50a355..4efff85f 100644 --- a/src/text_object.h +++ b/src/text_object.h @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/timed_thread.c b/src/timed_thread.c index 798fbfc1..4aee7a38 100644 --- a/src/timed_thread.c +++ b/src/timed_thread.c @@ -1,4 +1,6 @@ -/* timed_thread.c: Abstraction layer for timed threads +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * timed_thread.c: Abstraction layer for timed threads * * Copyright (C) 2006-2007 Philip Kovacs pkovacs@users.sourceforge.net * diff --git a/src/timed_thread.h b/src/timed_thread.h index 38732c2e..cc4adcd2 100644 --- a/src/timed_thread.h +++ b/src/timed_thread.h @@ -1,4 +1,6 @@ -/* timed_thread.h: Abstraction layer for timed threads +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * timed_thread.h: Abstraction layer for timed threads * * Copyright (C) 2006-2007 Philip Kovacs pkovacs@users.sourceforge.net * diff --git a/src/top.c b/src/top.c index e9bc680d..d095b39c 100644 --- a/src/top.c +++ b/src/top.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/top.h b/src/top.h index c17faaab..887d8268 100644 --- a/src/top.h +++ b/src/top.h @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/users.c b/src/users.c index 0f2ffcde..b97c49c7 100644 --- a/src/users.c +++ b/src/users.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * @@ -24,7 +26,7 @@ * along with this program. If not, see . * * vim: ts=4 sw=4 noet ai cindent syntax=c - * -*- c-basic-offset: 4; tab-width: 4 -*- + * */ #include "conky.h" diff --git a/src/weather.c b/src/weather.c index 1cb0456a..432e4b87 100644 --- a/src/weather.c +++ b/src/weather.c @@ -1,4 +1,5 @@ -/* +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * * Conky, a system monitor, based on torsmo * * Please see COPYING for details diff --git a/src/weather.h b/src/weather.h index f0097cb3..c8aceaba 100644 --- a/src/weather.h +++ b/src/weather.h @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/x11.c b/src/x11.c index 29d7a1c4..286e0707 100644 --- a/src/x11.c +++ b/src/x11.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/x11.h b/src/x11.h index 9644f0f1..738fcb39 100644 --- a/src/x11.h +++ b/src/x11.h @@ -1,3 +1,5 @@ +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- */ + #ifdef X11 #ifndef X11_H_ #define X11_H_ diff --git a/src/xmms2.c b/src/xmms2.c index 57b951df..c06e7c78 100644 --- a/src/xmms2.c +++ b/src/xmms2.c @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license * diff --git a/src/xmms2.h b/src/xmms2.h index 1f8045d2..9ad62628 100644 --- a/src/xmms2.h +++ b/src/xmms2.h @@ -1,4 +1,6 @@ -/* Conky, a system monitor, based on torsmo +/* -*- mode: c; c-basic-offset: 4; tab-width: 4; indent-tabs-mode: t -*- + * + * Conky, a system monitor, based on torsmo * * Any original torsmo code is licensed under the BSD license *