unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: robert.thorpe@antenova.com
Subject: Re: modes not doing much
Date: 12 Aug 2006 07:56:26 -0700	[thread overview]
Message-ID: <1155394585.932047.158200@i3g2000cwc.googlegroups.com> (raw)
In-Reply-To: <ebk1q1$i9k$1@wildfire.prairienet.org>

YAD wrote:
> So far I've used Ruby mode and HTML mode.
> No colors, no auto-indent on <rtrn>.
>
> So what are the modes doing?  Vim and even the
> Firefox source viewer have syntax-based colors.
> Isn't Emacs supposed to do that too?
>
> Also, Lisp .cl files and Python .py files are coming up in
> Fundamental mode, while OCaml .ml files come up in Lisp mode.
> What the heck is going on? :(

In addition to what others have said :

* Common Lisp files normally end in .lsp or .lisp this is what Emacs
expects

* You're probably using an old Emacs with no Python support.  This will
be fixed in the v22.  Until then you can install python mode from the
python distribution.

* Indentation in Emacs is via tab, hit tab and it will auto indent the
current like to whatever the mode considers the right indentation.  You
can get the same behaviour by ending lines with M-j.  It doesn't do it
automatically so the user has the choice to ignore what the mode thinks
is right easily.

  parent reply	other threads:[~2006-08-12 14:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-12  8:09 modes not doing much YAD
2006-08-12 11:05 ` Colin S. Miller
2006-08-12 11:23   ` Colin S. Miller
2006-08-12 13:27   ` Hadron Quark
2006-08-12 15:00   ` YAD
2006-08-12 16:37     ` Drew Adams
2006-08-12 14:56 ` robert.thorpe [this message]
2006-08-12 16:26   ` YAD
2006-08-12 21:23 ` dsjoblom
2006-08-12 22:17   ` Giorgos Keramidas

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=1155394585.932047.158200@i3g2000cwc.googlegroups.com \
    --to=robert.thorpe@antenova.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).