[gnu.emacs] emacs inti file

connelly@Neon.Stanford.EDU (Jay H Connelly) (10/09/89)

Can anyone tell me how to use the .emacs file ?  I tried putting the
line : <esc> x auto-fill-mode
in the file but to no avail - I got an error in the init file.

any suggestions ?

jay
 

bob@MorningStar.Com (Bob Sutterfield) (10/09/89)

In article <12286@polya.Stanford.EDU> connelly@Neon.Stanford.EDU (Jay H Connelly) writes:
   Can anyone tell me how to use the .emacs file ?  I tried putting
   the line : <esc> x auto-fill-mode in the file but to no avail - I
   got an error in the init file.

You've got to write Lisp, not the stuff you type in the minibuffer.
Mine contains things like

	(put 'eval-expression 'disabled nil)
	(display-time)
	(setq inhibit-startup-message t)
	(setq dired-listing-switches "-Failg")
	(setq text-mode-hook 'turn-on-auto-fill)
	(global-set-key "\C-\\" 'call-last-kbd-macro)
	(global-set-key "\C-[/" 'yow)

... and so on.