On Thu, Jan 07, 2010 at 10:30:13AM +0800, Li, Yan wrote: > On Wed, Jan 06, 2010 at 08:27:14PM +0800, Dustin Kirkland wrote: > > On Wed, Jan 6, 2010 at 2:10 AM, Li, Yan I <[email protected]> wrote: > > > Great, I'm also following the style from other shell scripts in the > > > project (thought I still can't figure out how to tell Emacs to use TAB > > > for shell script indention :). > > > > Not my expertise, but I'm sure I can find someone who can tell us... > > Really? That would be very helpful. I have briefly checked emacs's > sh-script.el and I fear it doesn't support using TAB for > indentation. I hope I were wrong. Yeah, I knew I should also ask on > help-gnu-emacs list but not done yet.
Ha! I've made it, the mode line should be like this: # -*- sh-basic-offset: 8; sh-indentation: 8; tab-width: 8; indent-tabs-mode: t -*- or # -*- sh-basic-offset: 4; sh-indentation: 4; tab-width: 4; indent-tabs-mode: t -*- How about also adding a mode line for vi? So that contributors using different editors can share a same style. -- Best regards, Li, Yan Moblin Team, Opensource Technology Center, SSG, Intel Office tel.: +86-10-82171695 (inet: 8-758-1695) OpenPGP key: 5C6C31EF IRC: yanli on network irc.freenode.net _______________________________________________ Mailing list: https://launchpad.net/~ecryptfs-users Post to : [email protected] Unsubscribe : https://launchpad.net/~ecryptfs-users More help : https://help.launchpad.net/ListHelp

