* Keybinding for org-footnote-action in mail-mode
@ 2013-01-03 12:07 Igor Sosa Mayor
2013-01-03 12:36 ` Bastien
0 siblings, 1 reply; 5+ messages in thread
From: Igor Sosa Mayor @ 2013-01-03 12:07 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 565 bytes --]
Hi,
i'm trying to use org-footnote-action in mail-mode for writing
footnotes. I would like to bind it to C-c C-x f.
If I put this in .emacs
(eval-after-load 'mail '(define-key mail-mode-map [C-c C-x f] 'org-footnote-action))
I get the message: "C-c C-x f is undefined". This line appears before
any other mail-mode configuration.
Any ideas?
thx in advance!
Igor
--
:: Igor Sosa Mayor :: joseleopoldo1792@gmail.com ::
:: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ ::
:: jabberid: rogorido :: ::
[-- Attachment #2: Type: application/pgp-signature, Size: 230 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Keybinding for org-footnote-action in mail-mode
2013-01-03 12:07 Keybinding for org-footnote-action in mail-mode Igor Sosa Mayor
@ 2013-01-03 12:36 ` Bastien
2013-01-03 13:40 ` Igor Sosa Mayor
0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2013-01-03 12:36 UTC (permalink / raw)
To: emacs-orgmode
Hi Igor,
Igor Sosa Mayor <joseleopoldo1792@gmail.com> writes:
> (eval-after-load 'mail '(define-key mail-mode-map [C-c C-x f] 'org-footnote-action))
(define-key mail-mode-map "\C-c\C-xf" 'org-footnote-action)
You might also want to turn on orgstruct++-mode like this:
(add-hook 'mail-mode-hook 'turn-on-orgstruct++)
HTH,
--
Bastien
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Keybinding for org-footnote-action in mail-mode
2013-01-03 12:36 ` Bastien
@ 2013-01-03 13:40 ` Igor Sosa Mayor
2013-01-03 13:48 ` Bastien
0 siblings, 1 reply; 5+ messages in thread
From: Igor Sosa Mayor @ 2013-01-03 13:40 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 602 bytes --]
Am Thu, Jan 03, 2013 at 01:36:53PM +0100, Bastien wrote:
> (define-key mail-mode-map "\C-c\C-xf" 'org-footnote-action)
thanks, Bastien, it works perfectly.
> You might also want to turn on orgstruct++-mode like this:
orgstruct++-mode wsa already on. It is supposed to activate also the
footnote functionality. At least C-c C-x f is not activated...
thanks again for your answer and above all for your work!
--
:: Igor Sosa Mayor :: joseleopoldo1792@gmail.com ::
:: GnuPG: 0x1C1E2890 :: http://www.gnupg.org/ ::
:: jabberid: rogorido :: ::
[-- Attachment #2: Type: application/pgp-signature, Size: 230 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Keybinding for org-footnote-action in mail-mode
2013-01-03 13:40 ` Igor Sosa Mayor
@ 2013-01-03 13:48 ` Bastien
2013-01-03 14:17 ` Igor Sosa Mayor
0 siblings, 1 reply; 5+ messages in thread
From: Bastien @ 2013-01-03 13:48 UTC (permalink / raw)
To: emacs-orgmode
Hi Igor,
Igor Sosa Mayor <joseleopoldo1792@gmail.com> writes:
> orgstruct++-mode wsa already on. It is supposed to activate also the
> footnote functionality. At least C-c C-x f is not activated...
Not, it `C-c C-x f' is not activated by orgstruct++-mode -- I don't
think it should, as orgstruct++-mode keybindings are only active in
Org's structures, and `org-footnote-action' should be available in
paragraphs as well.
Best,
--
Bastien
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-01-03 14:17 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-03 12:07 Keybinding for org-footnote-action in mail-mode Igor Sosa Mayor
2013-01-03 12:36 ` Bastien
2013-01-03 13:40 ` Igor Sosa Mayor
2013-01-03 13:48 ` Bastien
2013-01-03 14:17 ` Igor Sosa Mayor
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).