Re: [O] Keybinding for org-footnote-action in mail-mode

2013-01-03 Thread Igor Sosa Mayor
Am Thu, Jan 03, 2013 at 02:48:16PM +0100, Bastien wrote: > 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. thanks fo

Re: [O] Keybinding for org-footnote-action in mail-mode

2013-01-03 Thread Bastien
Hi Igor, Igor Sosa Mayor 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

Re: [O] Keybinding for org-footnote-action in mail-mode

2013-01-03 Thread Igor Sosa Mayor
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 f

Re: [O] Keybinding for org-footnote-action in mail-mode

2013-01-03 Thread Bastien
Hi Igor, Igor Sosa Mayor 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++) HT

[O] Keybinding for org-footnote-action in mail-mode

2013-01-03 Thread Igor Sosa Mayor
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 befor