[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] problem with orgstruct mode in message composition
From: |
Eric S Fraga |
Subject: |
[O] problem with orgstruct mode in message composition |
Date: |
Thu, 22 Sep 2011 13:00:04 +0100 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (gnu/linux) |
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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [O] problem with orgstruct mode in message composition,
Eric S Fraga <=