unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Matthew Flaschen <matthew.flaschen@gatech.edu>
To: emacs <help-gnu-emacs@gnu.org>
Subject: Re: Don't break words at end of line in text mode
Date: Wed, 09 May 2007 03:21:04 -0400	[thread overview]
Message-ID: <46417660.800@gatech.edu> (raw)
In-Reply-To: <87hcqmixg7.fsf@gmail.com>

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 the above is the desired behavior, try adding this to your
> .emacs file:
>
> (add-hook 'text-mode-hook 'turn-on-auto-fill)
>
Thank you very much.  That mode will be useful when I'm writing plain
text documents in emacs.

> I hope that's helpful!

It is. :) It's about time I figure out how emacs handles filling.  One
more thing.  When I open a document that isn't filled, I'd like it to be
filled automatically, but only for display (not changing the actual
file).  fill-region works, but it modifies the file.

Matt Flaschen

  reply	other threads:[~2007-05-09  7:21 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 [this message]
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
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=46417660.800@gatech.edu \
    --to=matthew.flaschen@gatech.edu \
    --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).