From: René <jlr_0@yahoo.com>
To: emacs-orgmode@gnu.org
Subject: Org minor mode in mail-mode
Date: Wed, 9 Mar 2011 13:56:00 +0000 (UTC) [thread overview]
Message-ID: <loom.20110309T143507-758@post.gmane.org> (raw)
Here is the the configuration I run
(defun turn-on-full-org-mailing ()
(turn-on-orgstruct++)
(turn-on-orgtbl)
(load "org-html-mail"))
(add-hook 'mail-mode-hook 'turn-on-full-org-mailing)
in order make use of Org minor mode (struct, tbl) within mail-mode.
Unfortunately with this, calling M-q (fill-paragraph) right after the
header separator ("--text follows this line--") leads to filling the
header along with the first paragraph of my mail.
It turns out that the org minor mode rebinds M-q to
`orgstruct-hijacker-command-22' :
,----
| M-q runs the command orgstruct-hijacker-command-22, which is an
| interactive Lisp function.
|
| It is bound to M-q.
|
| (orgstruct-hijacker-command-22 arg)
|
| In Structure, run `fill-paragraph'.
| Outside of structure, run the binding of `\361'.
`----
Any idea on how to make use of org minor mode in mail-mode and still
be able to fill-paragraph without impacting mail headers?
--
René
next reply other threads:[~2011-03-09 13:56 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-09 13:56 René [this message]
2011-03-20 13:53 ` Org minor mode in mail-mode Matt Lundin
2011-03-20 14:59 ` Nicolas
2011-05-02 13:33 ` Rene
2011-09-10 2:12 ` Rene
2011-09-10 5:03 ` Eric Abrahamsen
2011-09-14 11:07 ` Rene
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=loom.20110309T143507-758@post.gmane.org \
--to=jlr_0@yahoo.com \
--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).