emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Richard Lawrence <richard.lawrence@berkeley.edu>
To: emacs-orgmode@gnu.org
Subject: Re: trunc fill modes?
Date: Fri, 28 Feb 2014 09:06:58 -0800	[thread overview]
Message-ID: <878usv2mkt.fsf@berkeley.edu> (raw)
In-Reply-To: 530FDB48.8040403@pfdstudio.com

Peter Davis <pfd@pfdstudio.com> writes:

> On my MacBook Pro at work, running Aquamacs 3.0a, in Org mode the mode
> line shows
>
> ... Fill

I think you want auto-fill-mode.  See: 
https://www.gnu.org/software/emacs/manual/html_node/emacs/Auto-Fill.html

Auto-fill-mode is an Emacs minor mode.  You can make sure it's turned on
in Org (which is a major mode) by adding it to Org's mode hook:

(add-hook 'org-mode-hook                   ; add a function to the Org mode hook...
          (lambda () (auto-fill-mode 1)))  ; that ensures auto-fill-mode is on

Put that somewhere in your ~/.emacs, restart Emacs (to reload your
~/.emacs), and you should see "Fill" in the mode line when you're in Org
mode.

You can do the same for other modes by swapping out the "org-mode-hook"
symbol for the appropriate hook variable for another mode (usually
called MODE-NAME-hook).

Best,
Richard


(If possible, please encrypt your reply to me using my PGP key:
Key ID: CF6FA646
Fingerprint: 9969 43E1 CF6F A646.
See http://www.ocf.berkeley.edu/~rwl/encryption.html for more information.)

      reply	other threads:[~2014-02-28 17:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-28  0:41 trunc fill modes? Peter Davis
2014-02-28 17:06 ` Richard Lawrence [this message]

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.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878usv2mkt.fsf@berkeley.edu \
    --to=richard.lawrence@berkeley.edu \
    --cc=emacs-orgmode@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).