Here's the email I sent on Oct 20 that bounced. 3rd try - let's see if it gets through this time.
In case some of you guys aren't aware of this, for vim users, you can set expandtab and then (in command mode) type: :retab to automatically convert all tabs into the correct number of spaces in the current file (according to the tabstop setting). Of course, if the formatting is already messed up (e.g., part of the file was written with ts=4 and part with ts=8), this won't fix it; but it will probably help in at least some cases. (See, for reference: http://vim.wikia.com/wiki/Converting_tabs_to_spaces .) Also, the '=' operator sometimes works well for auto-indenting sections or an entire file, if 'syntax' is on and is working correctly (See http://vim.wikia.com/wiki/Fix_indentation). This command: =% often works well for auto-indenting the current block (i.e., bracketed with {}s, ()s, []s ...). These are the settings I use for tabstop=4, auto indent and expanded tabs: set smarttab set sw=4 set ts=4 set autoindent set expandtab set smartindent (Apologies if this is old hat for everybody.) -- ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ Rosegarden-devel mailing list [email protected] - use the link below to unsubscribe https://lists.sourceforge.net/lists/listinfo/rosegarden-devel
