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

Re: Emacs & word wrap; X-server



Oleg Goldshmidt <oleg> writes:

> (add-hook 'LaTeX-mode-hook 
> 	  #'(lambda () (progn
> 			 (set-fill-column frame-width)
> 			 (LaTeX-fill-buffer))))

Oops, should have been

(add-hook 'LaTeX-mode-hook 
	  #'(lambda () (progn
			 (set-fill-column (- (frame-width) 1))
			 (LaTeX-fill-buffer 1))))

I have no time to research it further now, let me know if you really
need more help. Again, the above works for me in XEmacs with AUCTeX.

BTW, I do think it is on-topic, although there are comp.emacs and
comp.emacs.xemacs.

-- 
Oleg Goldshmidt          goldshmt@netvision.net.il   
BLOOMBERG L.P. (BFM)     oleg@bfr.co.il