summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatoru Takabayashi <satorux@chromium.org>2010-09-09 13:24:42 +0900
committerSatoru Takabayashi <satorux@chromium.org>2010-09-09 13:24:42 +0900
commit37ed695bfcaa764c6fd80d4f3d29f3df9032f83f (patch)
tree30affd60cdd52822f51adb2d78047be5b80b6802
parenta751fd3ee3d0273a70d09a616d62b1dbbf3e4cbb (diff)
downloadibus-37ed695bfcaa764c6fd80d4f3d29f3df9032f83f.tar.gz
Add Emacs modeline for .c and .h files.
/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */ TEST=confirmed that the modelines for vim and emacs both worked. BUG=none Review URL: http://codereview.appspot.com/2168042
-rw-r--r--bus/connection.c1
-rw-r--r--bus/connection.h1
-rw-r--r--bus/dbusimpl.c1
-rw-r--r--bus/dbusimpl.h1
-rw-r--r--bus/engineproxy.c1
-rw-r--r--bus/engineproxy.h1
-rw-r--r--bus/factoryproxy.c1
-rw-r--r--bus/factoryproxy.h1
-rw-r--r--bus/ibusimpl.c1
-rw-r--r--bus/ibusimpl.h1
-rw-r--r--bus/inputcontext.c1
-rw-r--r--bus/inputcontext.h1
-rw-r--r--bus/main.c1
-rw-r--r--bus/matchrule.c1
-rw-r--r--bus/matchrule.h1
-rw-r--r--bus/option.h1
-rw-r--r--bus/panelproxy.c1
-rw-r--r--bus/panelproxy.h1
-rw-r--r--bus/registry.c1
-rw-r--r--bus/registry.h1
-rw-r--r--bus/server.c1
-rw-r--r--bus/server.h1
-rw-r--r--bus/test-matchrule.c1
-rw-r--r--bus/test-registry.c1
-rw-r--r--client/gtk2/ibusim.c1
-rw-r--r--client/gtk2/ibusimcontext.c1
-rw-r--r--client/gtk2/ibusimcontext.h1
-rw-r--r--client/x11/gdk-private.c1
-rw-r--r--client/x11/gdk-private.h1
-rw-r--r--client/x11/locales.h1
-rw-r--r--client/x11/main.c1
-rw-r--r--gconf/config.c1
-rw-r--r--gconf/config.h1
-rw-r--r--gconf/main.c1
-rw-r--r--memconf/config.h1
-rw-r--r--src/ibus.h1
-rw-r--r--src/ibusattribute.c1
-rw-r--r--src/ibusattribute.h1
-rw-r--r--src/ibusattrlist.c1
-rw-r--r--src/ibusattrlist.h1
-rw-r--r--src/ibusbus.c1
-rw-r--r--src/ibusbus.h1
-rw-r--r--src/ibuscomponent.c1
-rw-r--r--src/ibuscomponent.h1
-rw-r--r--src/ibusconfig.c1
-rw-r--r--src/ibusconfig.h1
-rw-r--r--src/ibusconfigprivate.h1
-rw-r--r--src/ibusconfigservice.c1
-rw-r--r--src/ibusconfigservice.h1
-rw-r--r--src/ibusconnection.c1
-rw-r--r--src/ibusconnection.h1
-rw-r--r--src/ibusdbus.h1
-rw-r--r--src/ibusdebug.h1
-rw-r--r--src/ibusengine.c1
-rw-r--r--src/ibusengine.h1
-rw-r--r--src/ibusenginedesc.c1
-rw-r--r--src/ibusenginedesc.h1
-rw-r--r--src/ibuserror.c1
-rw-r--r--src/ibuserror.h1
-rw-r--r--src/ibusfactory.c1
-rw-r--r--src/ibusfactory.h1
-rw-r--r--src/ibushotkey.c1
-rw-r--r--src/ibushotkey.h1
-rw-r--r--src/ibusinputcontext.c1
-rw-r--r--src/ibusinputcontext.h1
-rw-r--r--src/ibusinternal.c1
-rw-r--r--src/ibusinternal.h1
-rw-r--r--src/ibuskeymap.c1
-rw-r--r--src/ibuskeymap.h1
-rw-r--r--src/ibuskeynames.c1
-rw-r--r--src/ibuskeysyms.h1
-rw-r--r--src/ibuslookuptable.c1
-rw-r--r--src/ibuslookuptable.h1
-rw-r--r--src/ibusmainloop.c1
-rw-r--r--src/ibusmainloop.h1
-rw-r--r--src/ibusmessage.c1
-rw-r--r--src/ibusmessage.h1
-rw-r--r--src/ibusobject.c1
-rw-r--r--src/ibusobject.h1
-rw-r--r--src/ibusobservedpath.c1
-rw-r--r--src/ibusobservedpath.h1
-rw-r--r--src/ibuspanelservice.c7
-rw-r--r--src/ibuspanelservice.h7
-rw-r--r--src/ibuspendingcall.c1
-rw-r--r--src/ibuspendingcall.h1
-rw-r--r--src/ibusproperty.c1
-rw-r--r--src/ibusproperty.h1
-rw-r--r--src/ibusproplist.c1
-rw-r--r--src/ibusproplist.h1
-rw-r--r--src/ibusproxy.c1
-rw-r--r--src/ibusproxy.h1
-rw-r--r--src/ibusserializable.c1
-rw-r--r--src/ibusserializable.h1
-rw-r--r--src/ibusserver.c1
-rw-r--r--src/ibusserver.h1
-rw-r--r--src/ibusservice.c1
-rw-r--r--src/ibusservice.h1
-rw-r--r--src/ibusshare.c1
-rw-r--r--src/ibusshare.h1
-rw-r--r--src/ibustext.c1
-rw-r--r--src/ibustext.h1
-rw-r--r--src/ibustypes.h1
-rw-r--r--src/ibusxml.c1
-rw-r--r--src/ibusxml.h1
-rw-r--r--src/test-attribute.c1
-rw-r--r--src/test-bus.c1
-rw-r--r--src/test-engine.c1
-rw-r--r--src/test-global-engine.c1
-rw-r--r--src/test-keymap.c1
-rw-r--r--src/test-keynames.c1
-rw-r--r--src/test-lookuptable.c1
-rw-r--r--src/test-proxy.c1
-rw-r--r--src/test-server.c1
-rw-r--r--src/test-text.c1
114 files changed, 114 insertions, 12 deletions
diff --git a/bus/connection.c b/bus/connection.c
index c1f6fcd9..5a84c2ec 100644
--- a/bus/connection.c
+++ b/bus/connection.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* bus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/connection.h b/bus/connection.h
index 0e027ed6..b755045c 100644
--- a/bus/connection.h
+++ b/bus/connection.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* bus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/dbusimpl.c b/bus/dbusimpl.c
index 68e74231..f4a758df 100644
--- a/bus/dbusimpl.c
+++ b/bus/dbusimpl.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/dbusimpl.h b/bus/dbusimpl.h
index 34ce6bb4..d3409faf 100644
--- a/bus/dbusimpl.h
+++ b/bus/dbusimpl.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* bus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/engineproxy.c b/bus/engineproxy.c
index 64dda4fc..e48920e9 100644
--- a/bus/engineproxy.c
+++ b/bus/engineproxy.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/engineproxy.h b/bus/engineproxy.h
index 7c2626f0..254b00c4 100644
--- a/bus/engineproxy.h
+++ b/bus/engineproxy.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/factoryproxy.c b/bus/factoryproxy.c
index 0b6434ea..1f413bf3 100644
--- a/bus/factoryproxy.c
+++ b/bus/factoryproxy.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/factoryproxy.h b/bus/factoryproxy.h
index 07718ab3..44074598 100644
--- a/bus/factoryproxy.h
+++ b/bus/factoryproxy.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/ibusimpl.c b/bus/ibusimpl.c
index e3d7e399..962ed13c 100644
--- a/bus/ibusimpl.c
+++ b/bus/ibusimpl.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/ibusimpl.h b/bus/ibusimpl.h
index 860f695d..086626a6 100644
--- a/bus/ibusimpl.h
+++ b/bus/ibusimpl.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* bus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/inputcontext.c b/bus/inputcontext.c
index d6105151..b5ab201a 100644
--- a/bus/inputcontext.c
+++ b/bus/inputcontext.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/inputcontext.h b/bus/inputcontext.h
index ebbe4ba8..576672f3 100644
--- a/bus/inputcontext.h
+++ b/bus/inputcontext.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* bus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/main.c b/bus/main.c
index 3aeffe84..852f6aa2 100644
--- a/bus/main.c
+++ b/bus/main.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/matchrule.c b/bus/matchrule.c
index b40efce1..1c0205d1 100644
--- a/bus/matchrule.c
+++ b/bus/matchrule.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* IBus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/matchrule.h b/bus/matchrule.h
index 3d73f0ea..ddaa7ded 100644
--- a/bus/matchrule.h
+++ b/bus/matchrule.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* IBus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/option.h b/bus/option.h
index 28e775a1..25153ed3 100644
--- a/bus/option.h
+++ b/bus/option.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* bus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/panelproxy.c b/bus/panelproxy.c
index ac48691a..c8013ab9 100644
--- a/bus/panelproxy.c
+++ b/bus/panelproxy.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/panelproxy.h b/bus/panelproxy.h
index 9c2c85d2..648b9952 100644
--- a/bus/panelproxy.h
+++ b/bus/panelproxy.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/registry.c b/bus/registry.c
index c5479cac..dd16b88d 100644
--- a/bus/registry.c
+++ b/bus/registry.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* bus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/registry.h b/bus/registry.h
index 0bd564a5..7691429c 100644
--- a/bus/registry.h
+++ b/bus/registry.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* bus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/server.c b/bus/server.c
index 6c147809..b6117389 100644
--- a/bus/server.c
+++ b/bus/server.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* bus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/server.h b/bus/server.h
index ee056d08..fcd8a18d 100644
--- a/bus/server.h
+++ b/bus/server.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* bus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/bus/test-matchrule.c b/bus/test-matchrule.c
index 07cbf1c6..c3dc233a 100644
--- a/bus/test-matchrule.c
+++ b/bus/test-matchrule.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
#include <dbus/dbus.h>
#include "matchrule.h"
diff --git a/bus/test-registry.c b/bus/test-registry.c
index fdcbba87..97f05790 100644
--- a/bus/test-registry.c
+++ b/bus/test-registry.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
#include "registry.h"
int main()
diff --git a/client/gtk2/ibusim.c b/client/gtk2/ibusim.c
index f50f2894..3a3510d7 100644
--- a/client/gtk2/ibusim.c
+++ b/client/gtk2/ibusim.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et ts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/client/gtk2/ibusimcontext.c b/client/gtk2/ibusimcontext.c
index 2ddae8c2..c104f38a 100644
--- a/client/gtk2/ibusimcontext.c
+++ b/client/gtk2/ibusimcontext.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/client/gtk2/ibusimcontext.h b/client/gtk2/ibusimcontext.h
index b92c0990..56cece40 100644
--- a/client/gtk2/ibusimcontext.h
+++ b/client/gtk2/ibusimcontext.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et ts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/client/x11/gdk-private.c b/client/x11/gdk-private.c
index 30d45ade..8c1b26ef 100644
--- a/client/x11/gdk-private.c
+++ b/client/x11/gdk-private.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* ibus
* Copyright (C) 2008 Peng Huang <shawn.p.huang@gmail.com>
* Copyright (C) 2008 Red Hat, Inc.
diff --git a/client/x11/gdk-private.h b/client/x11/gdk-private.h
index 92ee8fab..e79e45c5 100644
--- a/client/x11/gdk-private.h
+++ b/client/x11/gdk-private.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* ibus
* Copyright (C) 2008 Peng Huang <shawn.p.huang@gmail.com>
* Copyright (C) 2008 Red Hat, Inc.
diff --git a/client/x11/locales.h b/client/x11/locales.h
index 8c752239..0155e22a 100644
--- a/client/x11/locales.h
+++ b/client/x11/locales.h
@@ -1 +1,2 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
#define LOCALES_STRING "aa,af,am,an,ar,as,ast,az,be,ber,bg,bn,bo,br,bs,byn,C,ca,crh,cs,csb,cy,da,de,dz,el,en,es,et,eu,fa,fi,fil,fo,fr,fur,fy,ga,gd,gez,gl,gu,gv,ha,he,hi,hne,hr,hsb,ht,hu,hy,id,ig,ik,is,it,iu,iw,ja,ka,kk,kl,km,kn,ko,ks,ku,kw,ky,lg,li,lo,lt,lv,mai,mg,mi,mk,ml,mn,mr,ms,mt,nan,nb,nds,ne,nl,nn,no,nr,nso,oc,om,or,pa,pa,pap,pl,pt,ro,ru,rw,sa,sc,sd,se,shs,si,sid,sk,sl,so,sq,sr,ss,st,sv,ta,te,tg,th,ti,tig,tk,tl,tn,tr,ts,tt,ug,uk,ur,uz,ve,vi,wa,wo,xh,yi,yo,zh,zu"
diff --git a/client/x11/main.c b/client/x11/main.c
index 3d93c2ad..c91a6d79 100644
--- a/client/x11/main.c
+++ b/client/x11/main.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus
* Copyright (C) 2007-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/gconf/config.c b/gconf/config.c
index 6ee039b5..474e1112 100644
--- a/gconf/config.c
+++ b/gconf/config.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
#include <string.h>
diff --git a/gconf/config.h b/gconf/config.h
index e2b5356c..d3700dc4 100644
--- a/gconf/config.h
+++ b/gconf/config.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
#ifndef __CONFIG_GCONF_H__
#define __CONFIG_GCONF_H__
diff --git a/gconf/main.c b/gconf/main.c
index b2c6c837..16610132 100644
--- a/gconf/main.c
+++ b/gconf/main.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
#include <ibus.h>
diff --git a/memconf/config.h b/memconf/config.h
index f4253f16..dd6ff09a 100644
--- a/memconf/config.h
+++ b/memconf/config.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* ibus - The Input Bus
* Copyright (c) 2010, Google Inc. All rights reserved.
*
diff --git a/src/ibus.h b/src/ibus.h
index d724b6a7..8b011234 100644
--- a/src/ibus.h
+++ b/src/ibus.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusattribute.c b/src/ibusattribute.c
index 3a7c7a37..85ada310 100644
--- a/src/ibusattribute.c
+++ b/src/ibusattribute.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* IBus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusattribute.h b/src/ibusattribute.h
index 74f2b06d..51848ff1 100644
--- a/src/ibusattribute.h
+++ b/src/ibusattribute.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* IBus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusattrlist.c b/src/ibusattrlist.c
index 00238828..b96a995d 100644
--- a/src/ibusattrlist.c
+++ b/src/ibusattrlist.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* IBus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusattrlist.h b/src/ibusattrlist.h
index 69f68fc5..4180242d 100644
--- a/src/ibusattrlist.h
+++ b/src/ibusattrlist.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* IBus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusbus.c b/src/ibusbus.c
index 40d45667..60a4a37a 100644
--- a/src/ibusbus.c
+++ b/src/ibusbus.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusbus.h b/src/ibusbus.h
index c57774ab..1d09c304 100644
--- a/src/ibusbus.h
+++ b/src/ibusbus.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibuscomponent.c b/src/ibuscomponent.c
index 0c552686..f09d2d90 100644
--- a/src/ibuscomponent.c
+++ b/src/ibuscomponent.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* bus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibuscomponent.h b/src/ibuscomponent.h
index 249c8cf1..fb5f0ce3 100644
--- a/src/ibuscomponent.h
+++ b/src/ibuscomponent.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* bus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusconfig.c b/src/ibusconfig.c
index 2400d9e7..6278d850 100644
--- a/src/ibusconfig.c
+++ b/src/ibusconfig.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusconfig.h b/src/ibusconfig.h
index fd256c10..b137cdbb 100644
--- a/src/ibusconfig.h
+++ b/src/ibusconfig.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusconfigprivate.h b/src/ibusconfigprivate.h
index 7e7316d4..478f4abc 100644
--- a/src/ibusconfigprivate.h
+++ b/src/ibusconfigprivate.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusconfigservice.c b/src/ibusconfigservice.c
index 4a271190..b0658a9e 100644
--- a/src/ibusconfigservice.c
+++ b/src/ibusconfigservice.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusconfigservice.h b/src/ibusconfigservice.h
index cc446ecf..5c4ccaab 100644
--- a/src/ibusconfigservice.h
+++ b/src/ibusconfigservice.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusconnection.c b/src/ibusconnection.c
index 94a25ea4..842f2bc3 100644
--- a/src/ibusconnection.c
+++ b/src/ibusconnection.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusconnection.h b/src/ibusconnection.h
index eb1d5aed..7e40d6f4 100644
--- a/src/ibusconnection.h
+++ b/src/ibusconnection.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusdbus.h b/src/ibusdbus.h
index 75e7e7ab..3cf99a24 100644
--- a/src/ibusdbus.h
+++ b/src/ibusdbus.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusdebug.h b/src/ibusdebug.h
index 2751e6e8..4e33a960 100644
--- a/src/ibusdebug.h
+++ b/src/ibusdebug.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusengine.c b/src/ibusengine.c
index 899d7c88..b5f53d46 100644
--- a/src/ibusengine.c
+++ b/src/ibusengine.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusengine.h b/src/ibusengine.h
index 80e87c76..95be408e 100644
--- a/src/ibusengine.h
+++ b/src/ibusengine.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusenginedesc.c b/src/ibusenginedesc.c
index e9a62484..aadf6a62 100644
--- a/src/ibusenginedesc.c
+++ b/src/ibusenginedesc.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* bus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusenginedesc.h b/src/ibusenginedesc.h
index 59d7edfb..8f4869c8 100644
--- a/src/ibusenginedesc.h
+++ b/src/ibusenginedesc.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* bus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibuserror.c b/src/ibuserror.c
index 1d46493f..a721a47c 100644
--- a/src/ibuserror.c
+++ b/src/ibuserror.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibuserror.h b/src/ibuserror.h
index e35b4b41..a3f75f20 100644
--- a/src/ibuserror.h
+++ b/src/ibuserror.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusfactory.c b/src/ibusfactory.c
index e0ec2a5e..0a951086 100644
--- a/src/ibusfactory.c
+++ b/src/ibusfactory.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusfactory.h b/src/ibusfactory.h
index e92c810e..515083d1 100644
--- a/src/ibusfactory.h
+++ b/src/ibusfactory.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibushotkey.c b/src/ibushotkey.c
index a91013ee..15ca79c7 100644
--- a/src/ibushotkey.c
+++ b/src/ibushotkey.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* IBus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibushotkey.h b/src/ibushotkey.h
index 4014d467..018fa2dd 100644
--- a/src/ibushotkey.h
+++ b/src/ibushotkey.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* IBus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusinputcontext.c b/src/ibusinputcontext.c
index 7359de0a..b00ad3b1 100644
--- a/src/ibusinputcontext.c
+++ b/src/ibusinputcontext.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusinputcontext.h b/src/ibusinputcontext.h
index 026460ba..0d508a1a 100644
--- a/src/ibusinputcontext.h
+++ b/src/ibusinputcontext.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusinternal.c b/src/ibusinternal.c
index 4a03a5a1..c0026c5d 100644
--- a/src/ibusinternal.c
+++ b/src/ibusinternal.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusinternal.h b/src/ibusinternal.h
index 28d67333..413070c3 100644
--- a/src/ibusinternal.h
+++ b/src/ibusinternal.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibuskeymap.c b/src/ibuskeymap.c
index 19b1c39c..26f7dbcc 100644
--- a/src/ibuskeymap.c
+++ b/src/ibuskeymap.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* IBus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibuskeymap.h b/src/ibuskeymap.h
index 0d0d9698..131760b2 100644
--- a/src/ibuskeymap.h
+++ b/src/ibuskeymap.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* IBus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibuskeynames.c b/src/ibuskeynames.c
index 6c5d7fc0..dd48b937 100644
--- a/src/ibuskeynames.c
+++ b/src/ibuskeynames.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* GDK - The GIMP Drawing Kit
* Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
*
diff --git a/src/ibuskeysyms.h b/src/ibuskeysyms.h
index 51d31512..7438a67b 100644
--- a/src/ibuskeysyms.h
+++ b/src/ibuskeysyms.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
* Copyright (C) 2008-2010 Red Hat, Inc.
diff --git a/src/ibuslookuptable.c b/src/ibuslookuptable.c
index 504c233e..0d8144f7 100644
--- a/src/ibuslookuptable.c
+++ b/src/ibuslookuptable.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* IBus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibuslookuptable.h b/src/ibuslookuptable.h
index 1e566445..dfa91516 100644
--- a/src/ibuslookuptable.h
+++ b/src/ibuslookuptable.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* IBus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusmainloop.c b/src/ibusmainloop.c
index 35e3b7d7..968876b1 100644
--- a/src/ibusmainloop.c
+++ b/src/ibusmainloop.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusmainloop.h b/src/ibusmainloop.h
index 0c68d1f5..71118a75 100644
--- a/src/ibusmainloop.h
+++ b/src/ibusmainloop.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusmessage.c b/src/ibusmessage.c
index 80a2a754..ee2b427c 100644
--- a/src/ibusmessage.c
+++ b/src/ibusmessage.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusmessage.h b/src/ibusmessage.h
index fba2673d..584d4979 100644
--- a/src/ibusmessage.h
+++ b/src/ibusmessage.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusobject.c b/src/ibusobject.c
index f6723ae6..515dec08 100644
--- a/src/ibusobject.c
+++ b/src/ibusobject.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusobject.h b/src/ibusobject.h
index f7aa26af..cc6cce45 100644
--- a/src/ibusobject.h
+++ b/src/ibusobject.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusobservedpath.c b/src/ibusobservedpath.c
index a71b48b2..7086a816 100644
--- a/src/ibusobservedpath.c
+++ b/src/ibusobservedpath.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input IBus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusobservedpath.h b/src/ibusobservedpath.h
index 66791a2f..783999b7 100644
--- a/src/ibusobservedpath.h
+++ b/src/ibusobservedpath.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input IBus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibuspanelservice.c b/src/ibuspanelservice.c
index 681dc17b..7afb0a5b 100644
--- a/src/ibuspanelservice.c
+++ b/src/ibuspanelservice.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (c) 2009, Google Inc. All rights reserved.
@@ -644,9 +645,3 @@ ibus_panel_service_property_hide (IBusPanelService *panel,
G_TYPE_STRING, &prop_name,
G_TYPE_INVALID);
}
-/* For Emacs:
- * Local Variables:
- * c-file-style: "gnu"
- * c-basic-offset: 4
- * End:
- */
diff --git a/src/ibuspanelservice.h b/src/ibuspanelservice.h
index 5c05bac7..7554a289 100644
--- a/src/ibuspanelservice.h
+++ b/src/ibuspanelservice.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (c) 2009, Google Inc. All rights reserved.
@@ -238,9 +239,3 @@ void ibus_panel_service_property_hide (IBusPanelService *panel,
G_END_DECLS
#endif
-/* For Emacs:
- * Local Variables:
- * c-file-style: "gnu"
- * c-basic-offset: 4
- * End:
- */
diff --git a/src/ibuspendingcall.c b/src/ibuspendingcall.c
index 33b803c0..b6f0759d 100644
--- a/src/ibuspendingcall.c
+++ b/src/ibuspendingcall.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibuspendingcall.h b/src/ibuspendingcall.h
index afcc35a9..d74c921b 100644
--- a/src/ibuspendingcall.h
+++ b/src/ibuspendingcall.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusproperty.c b/src/ibusproperty.c
index c0e44304..07f4f838 100644
--- a/src/ibusproperty.c
+++ b/src/ibusproperty.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* IBus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusproperty.h b/src/ibusproperty.h
index 71d883d9..ca8485bc 100644
--- a/src/ibusproperty.h
+++ b/src/ibusproperty.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* IBus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusproplist.c b/src/ibusproplist.c
index 1e960f7e..abb23217 100644
--- a/src/ibusproplist.c
+++ b/src/ibusproplist.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* IBus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusproplist.h b/src/ibusproplist.h
index 18052971..3940215e 100644
--- a/src/ibusproplist.h
+++ b/src/ibusproplist.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* IBus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusproxy.c b/src/ibusproxy.c
index a92a6af0..16ac7e69 100644
--- a/src/ibusproxy.c
+++ b/src/ibusproxy.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusproxy.h b/src/ibusproxy.h
index cf1aea24..b7d8f79b 100644
--- a/src/ibusproxy.h
+++ b/src/ibusproxy.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusserializable.c b/src/ibusserializable.c
index 71741814..e4a02bcf 100644
--- a/src/ibusserializable.c
+++ b/src/ibusserializable.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusserializable.h b/src/ibusserializable.h
index 2e051f31..ea6bf006 100644
--- a/src/ibusserializable.h
+++ b/src/ibusserializable.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusserver.c b/src/ibusserver.c
index c2764571..60b250c0 100644
--- a/src/ibusserver.c
+++ b/src/ibusserver.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusserver.h b/src/ibusserver.h
index 08d21d0e..2daad10e 100644
--- a/src/ibusserver.h
+++ b/src/ibusserver.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusservice.c b/src/ibusservice.c
index 431b965f..2d044d04 100644
--- a/src/ibusservice.c
+++ b/src/ibusservice.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusservice.h b/src/ibusservice.h
index d0ef8680..6e1b8703 100644
--- a/src/ibusservice.h
+++ b/src/ibusservice.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusshare.c b/src/ibusshare.c
index 9cc58f34..b9420099 100644
--- a/src/ibusshare.c
+++ b/src/ibusshare.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusshare.h b/src/ibusshare.h
index 1febe80f..ed6a4afe 100644
--- a/src/ibusshare.h
+++ b/src/ibusshare.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibustext.c b/src/ibustext.c
index 78d5d054..96985b6d 100644
--- a/src/ibustext.c
+++ b/src/ibustext.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* IBus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibustext.h b/src/ibustext.h
index 476e9575..c3406811 100644
--- a/src/ibustext.h
+++ b/src/ibustext.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* IBus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibustypes.h b/src/ibustypes.h
index 583b5344..23ae0de2 100644
--- a/src/ibustypes.h
+++ b/src/ibustypes.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* ibus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusxml.c b/src/ibusxml.c
index 8baea446..13d0d347 100644
--- a/src/ibusxml.c
+++ b/src/ibusxml.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* bus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/ibusxml.h b/src/ibusxml.h
index ec0b2266..2e975def 100644
--- a/src/ibusxml.h
+++ b/src/ibusxml.h
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
/* vim:set et sts=4: */
/* bus - The Input Bus
* Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com>
diff --git a/src/test-attribute.c b/src/test-attribute.c
index b2ab4e5f..7fe16fb0 100644
--- a/src/test-attribute.c
+++ b/src/test-attribute.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
#include "ibus.h"
#include "stdio.h"
diff --git a/src/test-bus.c b/src/test-bus.c
index b5f4a6b2..3cb3937d 100644
--- a/src/test-bus.c
+++ b/src/test-bus.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
#include <string.h>
#include "ibus.h"
diff --git a/src/test-engine.c b/src/test-engine.c
index bea99cf8..75bdb1f4 100644
--- a/src/test-engine.c
+++ b/src/test-engine.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
#include "ibus.h"
int main()
diff --git a/src/test-global-engine.c b/src/test-global-engine.c
index 45e5e63f..cf526e68 100644
--- a/src/test-global-engine.c
+++ b/src/test-global-engine.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
#include <string.h>
#include "ibus.h"
diff --git a/src/test-keymap.c b/src/test-keymap.c
index 63b21473..c3b0b8a4 100644
--- a/src/test-keymap.c
+++ b/src/test-keymap.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
diff --git a/src/test-keynames.c b/src/test-keynames.c
index 629f4d32..5176acf3 100644
--- a/src/test-keynames.c
+++ b/src/test-keynames.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
#include "ibus.h"
int main()
diff --git a/src/test-lookuptable.c b/src/test-lookuptable.c
index 521d0cc9..e094a2d9 100644
--- a/src/test-lookuptable.c
+++ b/src/test-lookuptable.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
#include <dbus/dbus.h>
#include "ibus.h"
diff --git a/src/test-proxy.c b/src/test-proxy.c
index aedd7325..911579b5 100644
--- a/src/test-proxy.c
+++ b/src/test-proxy.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
#include "ibus.h"
static
diff --git a/src/test-server.c b/src/test-server.c
index 4e370859..cbf0dc85 100644
--- a/src/test-server.c
+++ b/src/test-server.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
#include "ibus.h"
diff --git a/src/test-text.c b/src/test-text.c
index 37bc3a62..f8a8ea11 100644
--- a/src/test-text.c
+++ b/src/test-text.c
@@ -1,3 +1,4 @@
+/* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */
#include "ibus.h"
int main()