On Thursday 08 March 2007 13:59, Jonas B. Nielsen wrote: > I will look into converting all tabs to spaces, it is simply in the > fingers and I find it hard to not use tab, perhaps I should just map the > key to something else - actually I do not get all the fuss about > tabs, but I will clean it up. > > > (vim's :retab command is likely to be useful in fixing up this one) > > I am using Komodo for this kind of work.
Most real editors will bind the Tab key to an indent-line command, instead of actually inserting a literal tab (or a fixed number of spaces). Emacs does this by default, and I couldn't live without it. (And actaully, it even works for python and Haskell, where whitespace is sensitive. It's quite fun to see it in action, but I digress...) However, you will want to set intent-tabs-mode to nil in your .emacs file to avoid 8 spaces being auto-replaced with a tab. -- package JAPH;use Catalyst qw/-Debug/;($;=JAPH)->config(name => do { $,.=reverse qw[Jonathan tsu rehton lre rekca Rockway][$_].[split //, ";$;"]->[$_].q; ;for 1..4;$,=~s;^.;;;$,});$;->setup;
pgpJK1HcTYtFI.pgp
Description: PGP signature