all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Allan Gottlieb <gottlieb@nyu.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: How to set wrap line at window edge
Date: Mon, 07 Sep 2009 16:58:54 -0400	[thread overview]
Message-ID: <yu9y6oq8oa9.fsf@nyu.edu> (raw)
In-Reply-To: <fdcd75820909070905wd29905dya786c1536255cf54@mail.gmail.com> (bar tomas's message of "Mon, 07 Sep 2009 18:05:03 +0200")

At Mon, 07 Sep 2009 18:05:03 +0200 bar tomas <bartomas@gmail.com> wrote:

> Yes!  It does say 'Fill' on the mode line ('Org Fill' in fact because I'm
> working with the org mode).
> How do I correct this?

Here are three ways (with minor variations).

1.  Right click on the word fill and then uncheck the "auto fill"
    option (only affects this buffer).

2A. Type "M-x auto-fill-mode" (toggles auto-fill for this buffer)

2B. Type "C-u 0 M-x auto-fill-mode" (turns off, not toggle, auto
    fill for this buffer).

3A. Add this to .emacs (untested), repeating the last line
       for each major mode that should not be auto-filled
       (defun ken-no-auto-fill ()
         "Turn off auto filling"
         (auto-fill-mode 0))
       (add-hook 'foo-mode-hook 'ken-no-auto-fill)

3B. If you have only one major mode of interest, the following is shorter
       (add-hook 'foo-mode-hook (lambda () (auto-fill-mode 0)))

allan




  parent reply	other threads:[~2009-09-07 20:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-06 16:34 How to set wrap line at window edge bar tomas
2009-09-06 18:03 ` Suvayu Ali
2009-09-06 18:45   ` bar tomas
2009-09-06 19:24     ` Suvayu Ali
2009-09-07 10:28       ` bar tomas
2009-09-07 12:19       ` bar tomas
2009-09-07 13:12         ` Allan Gottlieb
2009-09-07 16:05           ` bar tomas
2009-09-07 16:22             ` ken
2009-09-07 16:49               ` bar tomas
2009-09-07 17:40                 ` Tyler Smith
2009-09-07 20:58             ` Allan Gottlieb [this message]
2009-09-08  8:30               ` bar tomas
2009-09-07 11:47   ` bar tomas

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=yu9y6oq8oa9.fsf@nyu.edu \
    --to=gottlieb@nyu.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.
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.