help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tab / indent / spaces / modes


From: kgold
Subject: Re: tab / indent / spaces / modes
Date: 27 Jan 2004 14:07:42 GMT

richard@sunsetandlabrea.com (Richard Chamberlain) writes:
> 
> After getting a bit sick of my current editor I decided I should
> really learn emacs. I'm fairly ok with the basics of editing. However
> I'm totally lost when it comes to configuration.
> 
> I'm using php-mode and I want to be able to switch off the indentation
> mode, because what I want for formatting and what php-mode suggests is
> different.

This might not be the answer you want but ...

Rather than turn off indentation, why not just customize it to format
the way you like?  In emacs, nearly everything is customizable.

I use emacs for mostly C-like programming languages.  I've found that
the automatic indentation is a big time saver, both because it saves
typing and because it finds missing punctuation.

It's great when you cut and paste, and the pasted code is automaticly
reformatted.  Or you can select sections of code written by
someone else and reformat it.

Since you're new to emacs, I suggest you give it a chance before you
start turning pieces of it off.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]