From: ngse@yahoo.com (S. Eng)
Subject: Re: line wrap problem
Date: 19 Mar 2003 14:49:00 -0800 [thread overview]
Message-ID: <fb376a9e.0303191449.7f25c825@posting.google.com> (raw)
In-Reply-To: 227a55e9.0303191011.35f66887@posting.google.com
Thank you all. It works now.
ngse
pemente@northpark.edu (Eric Pement) wrote in message news:<227a55e9.0303191011.35f66887@posting.google.com>...
> ngse@yahoo.com (S. Eng) wrote in message news:<fb376a9e.0303180909.12d4daf7@posting.google.com>...
> > Hi
> >
> > I want to line wrap at column 72.
> > I have the following lines in my .emacs
> >
> > (setq default-major-mode 'text-mode)
> > (setq text-mode-hook 'turn-on-auto-fill)
> > (setq current-fill-column 72)
> >
> > It does not work on NTEmacs 21.1.1 running under Win2K
>
> I'm using GNU Emacs 21.2.1 running under Win2K, same as you.
> Here's what I have in my .emacs init file:
>
> (setq default-major-mode 'text-mode)
> (add-hook 'text-mode-hook 'turn-on-auto-fill)
> (setq fill-column 71)
>
> It works for me. Note especially that I use "fill-column" instead
> of "current-fill-column" and also the "add-hook" command. Also,
> note that when you first run Emacs, you are automatically in the
> *Scratch* buffer, which is not a text-mode buffer. To run in text
> mode, open or create a new file and you should see the string
> "(Text Fill)--L1----ALL----" in the gray status bar.
>
> If you can see that, then you should be able to type new content,
> and see the line wrap automatically after it reaches 75 characters
> or so. If you add new content to existing paragraphs, Emacs will
> push the new content to the right, but will not automatically
> "reflow" or reformat the paragraph.
>
> To reformat an edited paragraph to your preset margins, you must
> type ESC-q (2 successive keystrokes) or ALT-Q (simultaneously) to
> reformat the paragraph. Hope this helps.
next prev parent reply other threads:[~2003-03-19 22:49 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-03-18 17:09 line wrap problem S. Eng
2003-03-18 17:22 ` Pierre Albarede
2003-03-18 23:14 ` S. Eng
2003-03-19 0:53 ` Unknown
2003-03-19 9:06 ` Erik Simon
2003-03-19 8:55 ` Pierre Albarede
2003-03-19 16:19 ` Colin Marquardt
2003-03-19 23:19 ` Piet van Oostrum
2003-03-20 0:34 ` Unknown
2003-03-19 2:25 ` Edward Dodge
2003-03-19 18:11 ` Eric Pement
2003-03-19 22:49 ` S. Eng [this message]
2003-03-20 0:42 ` Unknown
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=fb376a9e.0303191449.7f25c825@posting.google.com \
--to=ngse@yahoo.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.
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.