[comp.emacs] simple question

sho@pur-phy (Sho Kuwamoto) (04/23/89)

I have a simple question.  I want to have GNU emacs set the tab width
to 4 every time it goes into text mode.  I've tried to put the
following into my .emacs file:

(setq text-mode-hook '(set-variable 'tab-width 4))

Which it promptly barfs on.  I've also tried other combination of quotes,
sticking in a lambda function, etc. with no success.

I don't know lisp, though I'd like to learn, and have little knowledge
of the innards of emacs.  Please send responses by mail, since this
is probably too simple to be of interest to most readers.  While I'm 
here, how would I get it to do this and also set auto-fill to true at
the same time?  Thanks.

-Sho

pedz@pedz.austin.ibm.com (Perry Smith) (04/26/89)

Ues:
  (setq text-mode-hook '(lambda () (setq tab-width 4)))

pedz

kma@remus.rutgers.edu (Kenneth Ma) (02/06/91)

When responding to a mail or a news article, how can I quote the
orginal passage with > in emacs. I heard of some gparent command  but it 
won't work on the emacs I use (or I don't know how to use it).
The emacs that I use is GNU Emacs 18.51.55. Please E-mail to me
directly. Thanx!

km

kma@remus.rutgers.edu