help-octave
[Top][All Lists]
Advanced

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

Re: [OT?] disabling automatic line-break in emacs octave-mode


From: Leo Butler
Subject: Re: [OT?] disabling automatic line-break in emacs octave-mode
Date: Fri, 6 Nov 2009 11:13:25 +0000 (GMT)
User-agent: Alpine 1.10 (LRH 962 2008-03-14)


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.



reply via email to

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