On Fri, 6 Nov 2009, Francesco Potortì wrote:
< >I personally find the way emacs automatically breaks lines in octave-
< >mode very annoying and I was looking for a way to disable it.
<
< Put this into your /.emacs file:
<
< (add-hook 'octave-mode-hook (lambda () (auto-fill-mode 0)))
The default column width in emacs in 70 characters including the
newline. This is usually pretty small. You can reset this by
C-u 200 C-xf
(C-u is control-u, etc.)
or by the elisp command
(set-fill-column 200)
Both enlarge the column width to 200.
auto-fill-mode is too useful in general to just turn-off, imo. So I
often reset the fill-column, input some lines I don't want broken, then
reset to the default.
Leo
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
_______________________________________________
Help-octave mailing list
Help-octave@...
https://www-old.cae.wisc.edu/mailman/listinfo/help-octave