From: Andreas Politz <politza@fh-trier.de>
To: help-gnu-emacs@gnu.org
Subject: Re: org-mode turn on auto-fill?
Date: Sat, 24 Oct 2009 17:52:41 +0200 [thread overview]
Message-ID: <87aazgpz5i.fsf@fh-trier.de> (raw)
In-Reply-To: m2hbtpc7k2.fsf@gmail.com
Francis Moreau <francis.moro@gmail.com> writes:
> Andreas Politz <politza@fh-trier.de> writes:
>
>> Francis Moreau <francis.moro@gmail.com> writes:
>>
>>> On Oct 22, 3:46 pm, Andreas Politz <poli...@fh-trier.de> wrote:
>>>> Neal Becker <ndbeck...@gmail.com> writes:
>>>> > I want auto-fill turned on in org mode. For now I did:
>>>> > (add-hook 'text-mode-hook 'turn-on-auto-fill)
>>>>
>>>> > Is there a more direct setting for org mode?
>>>>
>>>> M-x load-library RET org RET
>>>> M-x apropos-variable RET org hook RET
>>>>
>>>
>>> Funny, it shows a couple of org hooks but not the interesting one :
>>> org-mode-hook
>>
>> Yes, org-mode does not defvar this hook, it just uses it. So my polite
>> RTFM did miss somehow.
>>
>
> It looks like it does:
>
> ,----
> | (defvar org-mode-hook nil
> | "Mode hook for Org-mode, run after the mode was turned on.")
> `----
Maybe it depends on the version. I know that some modes don't define
this hook, e.g. doc-view 22.2.
-ap
prev parent reply other threads:[~2009-10-24 15:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-22 13:19 org-mode turn on auto-fill? Neal Becker
2009-10-22 13:46 ` Andreas Politz
[not found] ` <mailman.9280.1256220359.2239.help-gnu-emacs@gnu.org>
2009-10-23 7:37 ` Francis Moreau
2009-10-24 11:24 ` Andreas Politz
[not found] ` <mailman.9395.1256383496.2239.help-gnu-emacs@gnu.org>
2009-10-24 12:14 ` Francis Moreau
2009-10-24 15:52 ` Andreas Politz [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.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=87aazgpz5i.fsf@fh-trier.de \
--to=politza@fh-trier.de \
--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).