unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: YAD <goofball@vapornet.com>
Subject: Re: modes not doing much
Date: Sat, 12 Aug 2006 10:00:49 -0500	[thread overview]
Message-ID: <ebkpt1$q2e$1@wildfire.prairienet.org> (raw)
In-Reply-To: <44ddb5f9$0$15781$14726298@news.sunsite.dk>

Colin S. Miller wrote:

> M-x font-lock-mode
> for colouring

Thanks.

 > to make this permanent, place this in your .emacs file
 > (add-hook 'html-mode-hook '(lambda ()
 >                                  (turn-on-font-lock))

Hadron Quark wrote:
 > I have
 > (global-font-lock-mode 1)
 > in my .emacs.

I found that too:
http://lug.umbc.edu/tutorials/adv-emacs.html
 > Add  (global-font-lock-mode 1 t)
 > to  ~/.emacs  to always use font-lock mode
___

Colin S. Miller wrote:

 > I have auto-indent enabled for C,
 > but I can't see where it is switched on.

Does it have to be switched on? If a mode does neither
coloring nor indentation, then what does it do?

> Python should be bound by default - what does
> C-h v auto-mode-alist RET
> report?

 > Looking a bit closer at my auto-mode-alist shows
 > it contains, amongs other entries,
 > ("\\.py$" . python-mode)
 > ("\\.ml[iylp]?$" . caml-mode)
 > ("\\.ml\\'" . lisp-mode)

I don't have python-mode or caml-mode, but I'm using GNU.
Video games and the "Emacs Psychiatrist", but RMS/GNU couldn't fit
in important language editing modes, or make sure the modes work.

lisp-mode colors are working now that I moved my .cl file to .l
No indentation anywhere though.

Thanks for the help.

-- 
Yet another Dan

  parent reply	other threads:[~2006-08-12 15:00 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 [this message]
2006-08-12 16:37     ` Drew Adams
2006-08-12 14:56 ` robert.thorpe
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='ebkpt1$q2e$1@wildfire.prairienet.org' \
    --to=goofball@vapornet.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).