← Back to team overview

ecryptfs-devel team mailing list archive

Re: [Ecryptfs-users] Writing a script for encrypting an user's home

 

On Thu, 2010-01-07 at 11:07 +0800, Li, Yan wrote:
> 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 <yan.i.li@xxxxxxxxx> 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.

Sure, I'll get around to that ;-)  We need a bit more formal coding
style.  Tyler and I have discussed that in the past...

:-Dustin

Attachment: signature.asc
Description: This is a digitally signed message part


References