From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: local-set-key: Key sequence C-c SPC a starts with non-prefix key C-c SPC Date: Fri, 29 Jun 2012 12:04:37 -0400 Message-ID: <9455.1340985877@alphaville> References: <4FEDC88E.9050806@gmail.com> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([208.118.235.92]:35789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkdgZ-0001IO-Ql for emacs-orgmode@gnu.org; Fri, 29 Jun 2012 12:04:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SkdgY-0007E0-1p for emacs-orgmode@gnu.org; Fri, 29 Jun 2012 12:04:43 -0400 Received: from g6t0185.atlanta.hp.com ([15.193.32.62]:17572) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SkdgX-0007Dc-Si for emacs-orgmode@gnu.org; Fri, 29 Jun 2012 12:04:41 -0400 In-Reply-To: Message from Giacomo M of "Fri\, 29 Jun 2012 16\:29\:56 BST." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Giacomo M Cc: emacs-orgmode@gnu.org Giacomo M wrote: > Actually it was just the space.... > sorry for the noise >=20 > On Fri, Jun 29, 2012 at 4:23 PM, Giacomo M wrote: >=20 > apparently these lines in my emacs init file were causing the export = error: > (add-hook 'org-mode-hook > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(lambda () > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 (local-set-key "\C-c a" 'or= g-agenda) > )) >=20=20=20=20 > but I'm not enough competent to say why. >=20=20=20=20 > Il 27/06/2012 18.36, Giacomo M ha scritto: >=20 > Dear all, > I'm getting the error in the subject when trying to export an .or= g file, e.g. to HTML or > LATEX. > who would be so kind to explain me what's happening? > Thanks, >=20=20=20=20=20=20=20=20 > Giacomo >=20 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