auctex
[Top][All Lists]
Advanced

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

Re: [AUCTeX] format region without auto-fill


From: Michael A. Gilchrist
Subject: Re: [AUCTeX] format region without auto-fill
Date: Wed, 19 Dec 2007 11:37:54 -0500 (EST)

Hi David,

My understanding is that for auto-format to work you need auto-fill to work. I will admit, however, that my understanding of lisp and programming for xemacs is quite limited.

Mike


On Mon, 17 Dec 2007, David Kastrup wrote:

"Michael A. Gilchrist" <address@hidden> writes:

Hi David,

Thanks.  I was unaware of that command and it is good to know about.
I think that using this and adding:

(add-hook 'LaTeX-mode-hook
          '(lambda() ;; lambda seems to be a dummy variable.  not sure
             (auto-fill-mode 1) ;; turn on auto-fill
             (setq fill-column 1000) ;; set length of column used by auto fill
             )
)

to my init.el file seems to do the trick.

Why do you turn on auto-fill if you don't want it?

--
David Kastrup, Kriemhildstr. 15, 44793 Bochum





reply via email to

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