* local-set-key: Key sequence C-c SPC a starts with non-prefix key C-c SPC
@ 2012-06-27 16:36 Giacomo M
2012-06-29 15:23 ` Giacomo M
0 siblings, 1 reply; 6+ messages in thread
From: Giacomo M @ 2012-06-27 16:36 UTC (permalink / raw
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 176 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 203 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: local-set-key: Key sequence C-c SPC a starts with non-prefix key C-c SPC
2012-06-27 16:36 local-set-key: Key sequence C-c SPC a starts with non-prefix key C-c SPC Giacomo M
@ 2012-06-29 15:23 ` Giacomo M
2012-06-29 15:29 ` Giacomo M
0 siblings, 1 reply; 6+ messages in thread
From: Giacomo M @ 2012-06-29 15:23 UTC (permalink / raw
To: emacs-orgmode
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: local-set-key: Key sequence C-c SPC a starts with non-prefix key C-c SPC
2012-06-29 15:23 ` Giacomo M
@ 2012-06-29 15:29 ` Giacomo M
2012-06-29 16:04 ` Nick Dokos
2012-06-29 17:17 ` Jambunathan K
0 siblings, 2 replies; 6+ messages in thread
From: Giacomo M @ 2012-06-29 15:29 UTC (permalink / raw
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 611 bytes --]
Actually it was just the space....
sorry for the noise
On Fri, Jun 29, 2012 at 4:23 PM, Giacomo M <jackjackk@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
>>
>
>
>
[-- Attachment #2: Type: text/html, Size: 1101 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: local-set-key: Key sequence C-c SPC a starts with non-prefix key C-c SPC
2012-06-29 15:29 ` Giacomo M
@ 2012-06-29 16:04 ` Nick Dokos
2012-06-29 17:17 ` Jambunathan K
1 sibling, 0 replies; 6+ messages in thread
From: Nick Dokos @ 2012-06-29 16:04 UTC (permalink / raw
To: Giacomo M; +Cc: emacs-orgmode
Giacomo M <jackjackk@gmail.com> wrote:
> Actually it was just the space....
> sorry for the noise
>
> On Fri, Jun 29, 2012 at 4:23 PM, Giacomo M <jackjackk@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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: local-set-key: Key sequence C-c SPC a starts with non-prefix key C-c SPC
2012-06-29 15:29 ` Giacomo M
2012-06-29 16:04 ` Nick Dokos
@ 2012-06-29 17:17 ` Jambunathan K
2012-06-30 11:08 ` Giacomo M
1 sibling, 1 reply; 6+ messages in thread
From: Jambunathan K @ 2012-06-29 17:17 UTC (permalink / raw
To: Giacomo M; +Cc: emacs-orgmode
1. M-x local-set-key (or M-x global-set-key) (and follow the prompts).
2. Once done, do M-x list-command-history and you will see a lisp form
that you can insert in to your .emacs.
Giacomo M <jackjackk@gmail.com> writes:
> Actually it was just the space....
> sorry for the noise
>
> On Fri, Jun 29, 2012 at 4:23 PM, Giacomo M <jackjackk@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
>
>
>
>
>
>
>
--
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: local-set-key: Key sequence C-c SPC a starts with non-prefix key C-c SPC
2012-06-29 17:17 ` Jambunathan K
@ 2012-06-30 11:08 ` Giacomo M
0 siblings, 0 replies; 6+ messages in thread
From: Giacomo M @ 2012-06-30 11:08 UTC (permalink / raw
To: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 374 bytes --]
@Nick
thanks, that's a good question! I using orgmode started a short time ago
with the configuration lines I randomly found in the internet, and since
I'm also using smex <http://www.emacswiki.org/Smex>, I hadn't matured the
need for a quicker access to the agenda. but it definitely makes more sense
to make it global
@Jambunathan
thanks for the suggestion, very useful!
[-- Attachment #2: Type: text/html, Size: 441 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-06-30 11:09 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-27 16:36 local-set-key: Key sequence C-c SPC a starts with non-prefix key C-c SPC Giacomo M
2012-06-29 15:23 ` Giacomo M
2012-06-29 15:29 ` Giacomo M
2012-06-29 16:04 ` Nick Dokos
2012-06-29 17:17 ` Jambunathan K
2012-06-30 11:08 ` Giacomo M
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.