unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: kgold@watson.ibm.com (kgold)
Subject: Re: tab / indent / spaces / modes
Date: 27 Jan 2004 14:07:42 GMT	[thread overview]
Message-ID: <bv5rbe$i16$1@news.btv.ibm.com> (raw)
In-Reply-To: bc9f1e6c.0401270354.5215e3f0@posting.google.com

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	other threads:[~2004-01-27 14:07 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-27 11:54 tab / indent / spaces / modes Richard Chamberlain
2004-01-27 14:07 ` kgold [this message]
2004-01-31  0:51   ` Emory Smith
     [not found]   ` <mailman.1647.1075510308.928.help-gnu-emacs@gnu.org>
2004-02-08 10:27     ` tab / indent / spaces / modes [PHP coding] Jari Aalto+mail.tpu
2004-01-27 20:31 ` tab / indent / spaces / modes Peter Lee
2004-01-28 11:24 ` Richard Chamberlain

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='bv5rbe$i16$1@news.btv.ibm.com' \
    --to=kgold@watson.ibm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).