El sáb, 17-01-2009 a las 02:08 +0200, Ville Skyttä escribió: > On Saturday 17 January 2009, Santiago M. Mola wrote: > > revno: 1249 > > committer: Ville Skyttä <[email protected]> > > branch nick: current > > timestamp: Wed 2009-01-14 22:17:14 +0200 > > message: > > Add/compact *Emacs, vi and friends indentation etc settings. > > > > +# -*- mode: shell-script; sh-basic-offset: 8; indent-tabs-mode: t -*- > > +# ex: ts=8 sw=8 et filetype=sh > > > > 4 spaces for each tab seems more extended in bash scripts than 8 spaces > > Not at all to me (assuming I understood correctly what you meant by > extended). > Having the default indent step equal to 4 spaces (or half a tab) and > replacing all occurrences of 8 consecutive spaces with a tab is very common > though, perhaps you meant that? > > Defining tab width (which is not the same thing as indent step) as something > else than 8 causes very different results in editors/viewers that support the > definition and ones that don't; I don't think that's a good idea. Tab == 8 > spaces is a pretty much ubiquitous default everywhere.
The thing is that tabstop=8 makes tabs appear like 8 characters long, overriding my default of 4. I find this quite inconvenient so I wonder if there's a betteter settings set. Anyway, thanks for adding modeline. Despite this problem, I think it's nice. Regards, -- Santiago Moisés Mola Jabber: [email protected] | GPG: AAD203B5
signature.asc
Description: Esta parte del mensaje está firmada digitalmente
_______________________________________________ Bash-completion-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/bash-completion-devel
