help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Number of characters per line


From: Joakim Hove
Subject: Re: Number of characters per line
Date: Tue, 02 Sep 2003 09:33:45 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.2 (gnu/linux)

Chemtux <Chemtux@(*)nedlinux.nl> writes:


> Could someone tell me how to set the maximum number of characters per line
> to 70 for C++ mode.

Well,

to set the maximum number of characters per line with auto-fill-mode
is:
    C-u nn C-x f

were "nn" is the number of characters, i.e. 70 in your case. But
observe that:

 1. This requires auto-fill-mode to be on (a minor mode toggled on/off
    with M-x auto-fill-mode)

 2. auto-fill-mode is a mode intended for *text*, I *think* it will
    only be a nuisance in a programming mode like C++.


HTH - Joakim

-- 
  /--------------------------------------------------------------------\
 / Joakim Hove  / address@hidden  /  (55 5) 84076       |                 \
 | Unifob AS, Avdeling for Beregningsvitenskap (BCCS) | Stabburveien 18 |
 | CMU                                                | 5231 Paradis    |
 \ Thormøhlensgt.55, 5020 Bergen.                     | 55 91 28 18     /
  \--------------------------------------------------------------------/


reply via email to

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