From: Carsten Dominik <dominik@science.uva.nl>
To: Maxim Loginov <zeliboba@mail.ru>
Cc: emacs-orgmode@gnu.org
Subject: Re: fill in *Org Note* buffer
Date: Mon, 2 Jul 2007 07:33:37 +0200 [thread overview]
Message-ID: <e32addd76573cb95fd5e6a76d35c3208@science.uva.nl> (raw)
In-Reply-To: <87y7i1sx9s.fsf@mail.ru>
On Jun 30, 2007, at 9:43, Maxim Loginov wrote:
> hi again :-)
>
> how to set auto-fill-mode with fill-column or fill-paragraph-function
> locally for the *Org Note* buffer in a proper way? this buffer appears
> when the state for a task is changed (let's say TODO-DONE) and allow
> to make notes (really useful!). this note can be quite long and it
> will look better on the page if the text is filled with 45 column. so
> how to do it automatically or with M-q (fill-paragraph)?
The Note buffer is in org-mode, it therefore runs org-mode-hook,
outline-mode-hook, and text-mode-hook. You can do the following
in any of the three hooks:
(add-hook 'org-mode-hook
(lambda ()
(when (equal (buffer-name) "*Org Note*")
(turn-on-auto-fill)
(setq fill-column 45))))
- Carsten
prev parent reply other threads:[~2007-07-02 5:33 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-30 7:43 fill in *Org Note* buffer Maxim Loginov
2007-07-02 5:33 ` Carsten Dominik [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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=e32addd76573cb95fd5e6a76d35c3208@science.uva.nl \
--to=dominik@science.uva.nl \
--cc=emacs-orgmode@gnu.org \
--cc=zeliboba@mail.ru \
/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.