From: "roodwriter@core.com" <roodwriter@core.com>
Subject: Re: how to prevent 'line-wrap'?
Date: Fri, 23 Jul 2004 07:31:45 -0400 [thread overview]
Message-ID: <10g1tqke75i0262@corp.supernews.com> (raw)
In-Reply-To: 87d62n3w34.fsf@herrrossi.mmweg.rwth-aachen.de
Thorsten Bonow wrote:
>>>>>> "Chang" == Chang PilHun <cph@nhncorp.com> writes:
>
> Chang> in vim, I can do this ":set" nowrap.(and recover by ":set
> wrap") How Chang> can I do these actions in emacs?
>
> The function `auto-fill-mode' toggles "word-wrapping" in Emacs.
>
> To enable it for all text based modes, I have
>
> ;; ** auto-fill for all text modes
> (add-hook 'text-mode-hook 'auto-fill-mode 1)
>
> in my init file.
>
> Toto
>
> --
> Contact information and PGP key at
> http://www-users.rwth-aachen.de/thorsten.bonow
There's also refill-mode, which is auto-fill but works automatically
when editing in the middle of a line. It requires double-spacing
between paragraphs, though. Adjacent lines always get slurped up.
Like auto-fill, refill is a toggle. I bound both to function keys so I
can pop them on and off as I write, depending on which is most useful
at that point.
--Rod
______________________________
Author of "Linux for Non-Geeks--Clear-eyed Answers for Practical Consumers"
and "Boring Stories from Uncle Rod." Both are available at
http://rodwriterpublishing.com/index.html.
To reply by e-mail remove the extra "o". It's to foil spambots, of course.
next prev parent reply other threads:[~2004-07-23 11:31 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-07-23 8:45 how to prevent 'line-wrap'? Chang PilHun
2004-07-23 9:35 ` Thorsten Bonow
2004-07-23 11:31 ` roodwriter [this message]
2004-07-23 20:58 ` Walker Pendleton
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=10g1tqke75i0262@corp.supernews.com \
--to=roodwriter@core.com \
/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).