On Tue, Jul 01, 2003 at 06:01:05PM +0100, David Cantrell wrote: > On Tuesday, July 1, 2003 9:03 -0400 Joel Gwynn <[EMAIL PROTECTED]> > wrote: > >From: David Cantrell [mailto:[EMAIL PROTECTED] > >>It's a question of what you're used to, I guess. IMO emacs's > >>indentation blows syphilitic goats :-) > >What exactly is wrong with emacs's auto-indent? > > It does what - IMO - is the wrong thing. I want a consistent amount of > indentation from one level of nesting to the next. Every emacs > installation I've tried to use, including "fresh out of the box" ones, > didn't do that. Instead, it imposes what seem to me to be arbitrary > amounts of extraneous whitespace. 20 characters here, 40 there, and so on. > Maybe someone swapped it for a python editor without telling me ;-)
I'm not sure what you mean by "arbitrary amounts of extraneous whitespace". emacs indents lines intelligently, based on the surrounding code (e.g. being inside a block => further indented). All of this is configurable, if that's your cup of tea. > The way I want to edit - and the way emacs doesn't want to let me edit - is > for the editor to not impose any indentation at all. Rather, it should let > me indent and then should automatically indent following lines by the same > amount until I tell it to do otherwise. Oh, well if that what you want for "auto-indenting", then I think you would be especially happy with BBEdit (if you're on a Mac), because that's what it does. When you press Enter, the new line is automatically indented to the same level as the preceeding line. > > Are you talking about > >perl-mode or cperl-mode, or both? > > I neither know nor care. With a decent editing environment I shouldn't > have to care. Of course, if people want to make their emacs sing and dance > for them that's fine. But the minute that a default install of emacs > imposes their singing and dancing on me, it is broken. > > It would be better for emacs to do no auto-indentation by default at all, > instead of the silliness that it tries to do. I completely disagree, but happily, many other editor choices are available to you. :) Ronald _______________________________________________ Boston-pm mailing list [EMAIL PROTECTED] http://mail.pm.org/mailman/listinfo/boston-pm

