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: Mon, 17 Dec 2007 09:28:34 -0500 (EST)

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.

Mike



On Tue, 11 Dec 2007, David Kastrup wrote:

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

Hi All,

I am using AucTeX with XEmacs.  I would like to use the
format-paragraph and format-region options so that all of my lists,
paragraphs, etc have some sensible formatting.  I do not, however,
want the lines to be wrapped using auto-fill (indeed, I don't use
auto-fill at all).  Is there a variable I can set so that the lines
are not cut off.  One that comes to mind would be to enable autofill
but then set the max line length to infinity (or something of the
sort).

Any suggestions would be appreciated.

Use indent-region instead of format-region.



--
-----------------------------------------------------
Department of Ecology & Evolutionary Biology
569 Dabney Hall
University of Tennessee
Knoxville, TN 37996-1610

phone:(865) 974-6453
fax:  (865) 974-6042

web: http://eeb.bio.utk.edu/gilchrist.asp
-----------------------------------------------------





reply via email to

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