From: "B. T. Raven" <nihil@nihilo.net>
To: help-gnu-emacs@gnu.org
Subject: Re: Don't break words at end of line in text mode
Date: Tue, 08 May 2007 21:29:53 -0500 [thread overview]
Message-ID: <Kr-dnSipBbPfr9zbnZ2dnUVZ_tzinZ2d@sysmatrix.net> (raw)
In-Reply-To: <mailman.415.1178675114.32220.help-gnu-emacs@gnu.org>
Amy Templeton wrote:
> Matthew Flaschen (matthew.flaschen@gatech.edu) wrote:
>> I'm trying to figure out how to stop emacs from displaying
>> end-of-line words broken between lines; I'd like the last word to
>> move to the next line. I thought text mode might do this, but
>> apparently not. Is there an option for this?
>
> Try turning on auto-fill-mode (M-x auto-fill-mode), if it's not
> already on. If it doesn't automagically wrap your lines where you'd
> like them wrapped, hit C-u (column number you'd like 'em wrapped
> at) C-x f, which will set the fill-column to the desired number. If
> you customize the variable fill-column, I think it will set it for
> all buffers you can open now and in the future.
>
> If the above is the desired behavior, try adding this to your
> .emacs file:
>
> (add-hook 'text-mode-hook 'turn-on-auto-fill)
>
> and then evaluate it by placing the cursor at the end of the line
> and hitting C-e to load it for this session (I'm sorry if you
> already know this, but I figure it's better to be thorough the
> first time around just in case). Next time you start emacs, it'll
> be automatically evaluated; its effect is to turn on auto-fill-mode
> whenever you enter text mode.
>
> I hope that's helpful!
>
> Amy
>
>
C-e (Ende) goes to end of line and C-a (Anfang) to the beginning, no?
You meant C-x C-e
next prev parent reply other threads:[~2007-05-09 2:29 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-09 1:02 Don't break words at end of line in text mode Matthew Flaschen
2007-05-09 1:43 ` Amy Templeton
2007-05-09 7:21 ` Matthew Flaschen
2007-05-09 7:29 ` Daniel Rubin
2007-05-09 7:33 ` Matthew Flaschen
[not found] ` <mailman.415.1178675114.32220.help-gnu-emacs@gnu.org>
2007-05-09 2:29 ` B. T. Raven [this message]
2007-05-09 18:03 ` Amy Templeton
2007-05-09 18:09 ` David Hansen
2007-05-09 18:49 ` Amy Templeton
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Kr-dnSipBbPfr9zbnZ2dnUVZ_tzinZ2d@sysmatrix.net \
--to=nihil@nihilo.net \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).