all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* automatically add newlines
@ 2003-12-06 18:14 colin smith
  2003-12-06 19:07 ` Pascal Bourguignon
  0 siblings, 1 reply; 2+ messages in thread
From: colin smith @ 2003-12-06 18:14 UTC (permalink / raw)



Hi Everyone,

     Thanks for your help with the capitalization question I posted
previously.
     This question pertains to adding newlines.

     I am using a frame configuration of :

    (setq initial-frame-alist
        '((width . 123) (height . 43)
         (cursor-type . bar)
         (cursor-color . "black")))

    For the present project I am working on I need to keep all lines to a
fixed length of 75 columns.
    Is there a way to enable emacs to automatically add newlines when I type
out of   the 75 column bound.
   I need a way to do this without changing my frame configuration. The
reason for this is that with this configuration(and font size I am using),
the emacs
frame occupies the whole of my computer screen, which is what somebody would
usually want.


Thanks in advance,
Colin.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: automatically add newlines
  2003-12-06 18:14 automatically add newlines colin smith
@ 2003-12-06 19:07 ` Pascal Bourguignon
  0 siblings, 0 replies; 2+ messages in thread
From: Pascal Bourguignon @ 2003-12-06 19:07 UTC (permalink / raw)


"colin smith" <zxcv4856@hotmail.com> writes:

> Hi Everyone,
> 
>      Thanks for your help with the capitalization question I posted
> previously.
>      This question pertains to adding newlines.
> 
>      I am using a frame configuration of :
> 
>     (setq initial-frame-alist
>         '((width . 123) (height . 43)
>          (cursor-type . bar)
>          (cursor-color . "black")))
> 
>     For the present project I am working on I need to keep all lines to a
> fixed length of 75 columns.
>     Is there a way to enable emacs to automatically add newlines when I type
> out of   the 75 column bound.
>    I need a way to do this without changing my frame configuration. The
> reason for this is that with this configuration(and font size I am using),
> the emacs
> frame occupies the whole of my computer screen, which is what somebody would
> usually want.

Use the minor mode: auto-fill-mode
and set the right margin or the fill-column.


-- 
__Pascal_Bourguignon__                              .  *   * . * .* .
http://www.informatimago.com/                        .   *   .   .*
                                                    * .  . /\  ()  . *
Living free in Alaska or in Siberia, a               . .  / .\   . * .
grizzli's life expectancy is 35 years,              .*.  / *  \  . .
but no more than 8 years in captivity.                . /*   o \     .
http://www.theadvocates.org/                        *   '''||'''   .
SCO Spam-magnet: postmaster@sco.com                 ******************

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-12-06 19:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-06 18:14 automatically add newlines colin smith
2003-12-06 19:07 ` Pascal Bourguignon

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.