help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: indenting and wrapping


From: Jochen Küpper
Subject: Re: indenting and wrapping
Date: Fri, 05 Aug 2005 13:41:54 +0200

Jeff Hartnell <address@hidden> writes:

> Thanks very much for your email.

Please keep the discussion on the Emacs mailing list. And no need to
copy me.

> I tried putting the lines into a tex file and it works. :-) The
> problem is that I have a lot of tex files... what I would ideally
> like is a way to tell emacs to *always* wrap to 72 for tex files by
> default.

Use customize to put it into TeX-mode-hook.
,----[ C-h v TeX-mode-hook RET ]
| TeX-mode-hook's value is nil
| 
| A hook run in TeX mode buffers.
| 
| You can customize this variable.
| 
| Defined in `tex'.
| 
| [back]
`----
Maybe you also want text-mode-hook or similar?
,----[ C-h v text-mode-hook RET ]
| text-mode-hook's value is 
| (turn-on-auto-fill dirvars-hack-local-variables-before 
text-mode-hook-identify)
| 
| Hook run when entering Text mode.
| 
| You can customize this variable.
| 
| Defined in `textmodes/text-mode'.
| 
| [back]
`----

Greetings,
Jochen
-- 
Einigkeit und Recht und Freiheit                http://www.Jochen-Kuepper.de
    Liberté, Égalité, Fraternité                GnuPG key: CC1B0B4D
        (Part 3 you find in my messages before fall 2003.)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]