Re: [O] Can not get keybinding to work in org-agenda-mode

2012-11-05 Thread Marcel van der Boom
On ma 05-nov-2012 13:43 "Sebastien Vauban" wrote: >> I don't get any errors, other than 'C-c m is undefined' >> >> What am I missing here? I experimented a bit and (define-key org-agenda-mode-map "\C-cm" 'm/ms-org-agenda) also seems to work. I don't understand what the difference is, if a

Re: [O] Can not get keybinding to work in org-agenda-mode

2012-11-05 Thread Sebastien Vauban
Hi Marcel, Marcel van der Boom wrote: > I use org-mime to mail subtrees from org-mode and have bound this to > 'C-c m' > I would like to be able to do the same thing from my agenda views, but > somehow I can't get the keybinding to work. > > This is what I have: > > (defun m/ms-org-agenda () > (

[O] Can not get keybinding to work in org-agenda-mode

2012-11-05 Thread Marcel van der Boom
Hi, I use org-mime to mail subtrees from org-mode and have bound this to 'C-c m' I would like to be able to do the same thing from my agenda views, but somehow I can't get the keybinding to work. This is what I have: (defun m/ms-org-agenda () (interactive) (org-agenda-goto) (org-mime-subtr