Giacomo M <jackja...@gmail.com> wrote: > Actually it was just the space.... > sorry for the noise > > On Fri, Jun 29, 2012 at 4:23 PM, Giacomo M <jackja...@gmail.com> wrote: > > apparently these lines in my emacs init file were causing the export > error: > (add-hook 'org-mode-hook > (lambda () > (local-set-key "\C-c a" 'org-agenda) > )) > > but I'm not enough competent to say why. > > Il 27/06/2012 18.36, Giacomo M ha scritto: > > Dear all, > I'm getting the error in the subject when trying to export an .org > file, e.g. to HTML or > LATEX. > who would be so kind to explain me what's happening? > Thanks, > > Giacomo >
But in any case, don't you want a *global* binding, so that you can invoke the agenda from anywhere? With the above, you have to be in an org-mode buffer to do so. Nick