From: Eric S Fraga <e.fraga@ucl.ac.uk>
To: emacs-orgmode@gnu.org
Subject: problem with orgstruct mode in message composition
Date: Thu, 22 Sep 2011 13:00:04 +0100 [thread overview]
Message-ID: <87fwjovlbv.fsf@ucl.ac.uk> (raw)
Hello,
I am having a very specific problem with orgstruct mode (well,
orgstruct++ to be precise) when writing emails.
I have recently moved to using /evil/ for all my text writing in
Emacs. This is a vi emulator, a very good one that is currently under
intense development. I know this may sound blasphemous but I *much*
prefer vi's modal approach than emacs's modeless operation, partly
because of RSI problems and the need to avoid key chording. But emacs
is what I live in...
Be that as it may, evil works very well generally with org.
However, in =Message= buffers, I cannot now access the usual binding for
fill-paragraph, M-q. I get the following error message:
: orgstruct-error: This key has no function outside structure elements
when in a simple paragraph (not a list item or table). Evil itself has
no problems with me invoking M-q in any other buffer so I think it is
somehow an interaction between evil and orgstruct++. Even if I try
M-: (set-local-key "\M-q" 'fill-paragraph) RET
while in a message buffer, I get the same error!
M-x fill-paragraph RET
works, however, so it's not a problem with fill-paragraph itself. In
fact, the bindings in org.el for orgstruct mode indicate that M-q should
invoke this function... in going through the code, I cannot see
why the error is happening.
Can anybody advise on how to figure out what is going on?
Apologies for the long email.
Thanks,
eric
--
: Eric S Fraga (GnuPG: 0xC89193D8FFFCF67D) in Emacs 24.0.50.1
: using Org-mode version 7.7 (release_7.7.315.g20e6)
reply other threads:[~2011-09-22 12:00 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=87fwjovlbv.fsf@ucl.ac.uk \
--to=e.fraga@ucl.ac.uk \
--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).