unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs newbie - Syntax Highlighting and Indentation
@ 2003-11-14 15:52 David Rasmussen
  2003-11-14 17:13 ` Uwe Siart
                   ` (7 more replies)
  0 siblings, 8 replies; 21+ messages in thread
From: David Rasmussen @ 2003-11-14 15:52 UTC (permalink / raw)


I've installed the Windows version of Emacs 21.3.1.
I have read some tutorials, but I have two questions (for now):

1) How do I enable syntax highlighting by default, for any type of file 
/ extension / mode that supports it? I have enabled it in the Options 
menu, and saved my options. But isn't there a non-menu-way of doing 
this, so I can get to learn and understand how to configure emacs myself?

2) When I edit a java file, the Java major mode i automatically loaded. 
But when I press TAB at the beginning of a new line, i get an 
indentation of 4 spaces. How do I alter this to 2 spaces instead? Or any 
other number of spaces? What if I want to get a tab character instead of 
spaces, when indenting (I really don't, but I would like to know)?

TIA!

/David

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2003-11-17 13:39 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-11-14 15:52 Emacs newbie - Syntax Highlighting and Indentation David Rasmussen
2003-11-14 17:13 ` Uwe Siart
2003-11-14 17:48 ` Jiri Pejchal
2003-11-14 18:08 ` Michael M Mason
2003-11-14 18:20 ` Artur Hefczyc
2003-11-15 14:18   ` David Rasmussen
2003-11-15 15:08     ` Artur Hefczyc
     [not found] ` <david.rasmussen@gmx.net>
2003-11-14 19:07   ` Peter S Galbraith
2003-11-15  1:11   ` Peter S Galbraith
2003-11-14 22:13 ` David Rasmussen
2003-11-14 22:22   ` Jody M. Klymak
2003-11-15  9:47   ` Artur Hefczyc
2003-11-17 13:39   ` Kevin Dziulko
     [not found] ` <mailman.86.1068840578.399.help-gnu-emacs@gnu.org>
2003-11-14 21:33   ` Bruce Ingalls
2003-11-14 22:01     ` Stefan Monnier
2003-11-14 23:15   ` David Rasmussen
     [not found]     ` <mailman.117.1068862385.399.help-gnu-emacs@gnu.org>
2003-11-15 11:06       ` David Rasmussen
2003-11-15 12:43         ` Bruce Ingalls
2003-11-15 12:47           ` David Rasmussen
2003-11-15 15:09 ` David Rasmussen
2003-11-15 16:50   ` Artur Hefczyc

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).