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: Francesco Potortì
Subject: Re: [OT?] disabling automatic line-break in emacs octave-mode
Date: Fri, 06 Nov 2009 13:36:35 +0100

>< (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.

I have this:

(global-set-key "\C-ca" 'auto-fill-mode)

I use it routinely to set and reset auto-fill-mode by hitting C-c a.

-- 
Francesco Potortì (ricercatore)        Voice: +39 050 315 3058 (op.2111)
ISTI - Area della ricerca CNR          Fax:   +39 050 315 2040
via G. Moruzzi 1, I-56124 Pisa         Email: address@hidden
(entrance 20, 1st floor, room C71)     Web:   http://fly.isti.cnr.it/


reply via email to

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