emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Problem with keys not being mapped
@ 2009-01-14 13:46 Peter Westlake
  2009-01-14 14:41 ` Bernt Hansen
  2009-01-14 14:48 ` R: " Giovanni Ridolfi
  0 siblings, 2 replies; 5+ messages in thread
From: Peter Westlake @ 2009-01-14 13:46 UTC (permalink / raw)
  To: emacs-orgmode

Hello,

I have just installed emacs-snapshot and the git version of org-mode on
a new Debian machine (running Lenny), and a lot of C-c <letter> bindings
are missing. For example, C-c a should be org-agenda, but is unbound.

C-h m shows the right bindings.

Here's .emacs:

  (add-to-list 'load-path "/usr/local/share/emacs/site-lisp")
  (add-to-list 'load-path "~/src/org-mode/contrib/lisp")

  (custom-set-variables
   ...etc...

There is a file in org-agenda-files. 

Here's what happens on startup, from *Messages*:

  ("emacs")
  Loading 00debian-vars...done
  Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
  Skipping dictionaries-common setup for emacs-snapshot
  Loading /etc/emacs/site-start.d/50dictionaries-common.el
  (source)...done
  Loading /etc/emacs/site-start.d/50org-mode.el (source)...done
  For information about GNU Emacs and the GNU system, type C-h C-a.
  OVERVIEW
  org-agenda is on <menu-bar> <Org> <Agenda Command...>

It doesn't mention /usr/local/share at all. Is that another bug, or the
cause of this one?

Peter.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with keys not being mapped
  2009-01-14 13:46 Problem with keys not being mapped Peter Westlake
@ 2009-01-14 14:41 ` Bernt Hansen
  2009-01-14 17:55   ` Peter Westlake
  2009-01-14 14:48 ` R: " Giovanni Ridolfi
  1 sibling, 1 reply; 5+ messages in thread
From: Bernt Hansen @ 2009-01-14 14:41 UTC (permalink / raw)
  To: Peter Westlake; +Cc: emacs-orgmode

"Peter Westlake" <peter.westlake@pobox.com> writes:

> I have just installed emacs-snapshot and the git version of org-mode on
> a new Debian machine (running Lenny), and a lot of C-c <letter> bindings
> are missing. For example, C-c a should be org-agenda, but is unbound.
>
> C-h m shows the right bindings.
>
> Here's .emacs:
>
>   (add-to-list 'load-path "/usr/local/share/emacs/site-lisp")
>   (add-to-list 'load-path "~/src/org-mode/contrib/lisp")
>
>   (custom-set-variables
>    ...etc...
>
> There is a file in org-agenda-files. 
>
> Here's what happens on startup, from *Messages*:
>
>   ("emacs")
>   Loading 00debian-vars...done
>   Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
>   Skipping dictionaries-common setup for emacs-snapshot
>   Loading /etc/emacs/site-start.d/50dictionaries-common.el
>   (source)...done
>   Loading /etc/emacs/site-start.d/50org-mode.el (source)...done
>   For information about GNU Emacs and the GNU system, type C-h C-a.
>   OVERVIEW
>   org-agenda is on <menu-bar> <Org> <Agenda Command...>
>
> It doesn't mention /usr/local/share at all. Is that another bug, or the
> cause of this one?

Hi Peter,

I add the org-mode git sources and load them at the top of my .emacs
with

,----
| (add-to-list 'load-path (expand-file-name "~/git/org-mode/lisp"))
| (add-to-list 'auto-mode-alist '("\\.\\(org\\|org_archive\\|txt\\)$" . org-mode))
| (require 'org-install)
`----

I have the following keybindings defined in my .emacs since I want C-c a
and C-c l to work everywhere.  I use the agenda so much I've rebound it
to F12 for convenience.

,----
| (define-key global-map "\C-cl" 'org-store-link)
| (define-key global-map "\C-ca" 'org-agenda)
| 
| (global-set-key (kbd "<f12>") 'org-agenda)
`----

I'm using GNU Emacs 22.2.1 on lenny and org-mode from git.

-Bernt

^ permalink raw reply	[flat|nested] 5+ messages in thread

* R: Problem with keys not being mapped
  2009-01-14 13:46 Problem with keys not being mapped Peter Westlake
  2009-01-14 14:41 ` Bernt Hansen
@ 2009-01-14 14:48 ` Giovanni Ridolfi
  2009-01-14 17:46   ` Peter Westlake
  1 sibling, 1 reply; 5+ messages in thread
From: Giovanni Ridolfi @ 2009-01-14 14:48 UTC (permalink / raw)
  To: emacs-orgmode, Peter Westlake

--- Mer 14/1/09, Peter Westlake <peter.westlake@pobox.com> ha scritto:

> I have just installed emacs-snapshot and the git version of
> org-mode on
> a new Debian machine (running Lenny), and a lot of C-c
> <letter> bindings
> are missing. For example, C-c a should be org-agenda, but
> is unbound.
> 
> C-h m shows the right bindings.
> 
> Here's .emacs:
> 
>   (add-to-list 'load-path
> "/usr/local/share/emacs/site-lisp")
>   (add-to-list 'load-path
> "~/src/org-mode/contrib/lisp")
> 

.... did you *activate* Org-Mode ?

It is descibed in the Manual: 1.3 Activation
see:
http://orgmode.org/manual/index.html#Activation

e.g. : 
;; The following lines are always needed.  Choose your own keys.
     (add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
     (global-set-key "\C-cl" 'org-store-link)
     (global-set-key "\C-ca" 'org-agenda)
     (global-set-key "\C-cb" 'org-iswitchb)

cheers

Giovanni




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: R: Problem with keys not being mapped
  2009-01-14 14:48 ` R: " Giovanni Ridolfi
@ 2009-01-14 17:46   ` Peter Westlake
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Westlake @ 2009-01-14 17:46 UTC (permalink / raw)
  To: giovanni.ridolfi, emacs-orgmode

On Wed, 14 Jan 2009 14:48:02 +0000 (GMT), "Giovanni Ridolfi"
<giovanni.ridolfi@yahoo.it> said:
> --- Mer 14/1/09, Peter Westlake <peter.westlake@pobox.com> ha scritto:
>
> > I have just installed emacs-snapshot and the git version of org-mode
> > on a new Debian machine (running Lenny), and a lot of C-c <letter>
> > bindings are missing. For example, C-c a should be org-agenda, but
> > is unbound.

> .... did you *activate* Org-Mode ?
>
> It is descibed in the Manual: 1.3 Activation see:
> http://orgmode.org/manual/index.html#Activation

No, that was the problem! I read the Makefile and the Installation page,
but forgot about Activation.

May I suggest mentioning it at the bottom of 
<http://orgmode.org/manual/Installation.html>?

Thanks!

Peter.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Problem with keys not being mapped
  2009-01-14 14:41 ` Bernt Hansen
@ 2009-01-14 17:55   ` Peter Westlake
  0 siblings, 0 replies; 5+ messages in thread
From: Peter Westlake @ 2009-01-14 17:55 UTC (permalink / raw)
  To: Bernt Hansen; +Cc: emacs-orgmode

On Wed, 14 Jan 2009 09:41:49 -0500, "Bernt Hansen" <bernt@norang.ca>
said:

> Hi Peter,
> 
> I add the org-mode git sources and load them at the top of my .emacs
...
> I have the following keybindings defined in my .emacs since I want C-c a
> and C-c l to work everywhere.  I use the agenda so much I've rebound it
> to F12 for convenience.

Thanks, Bernt! It's all working nicely now.

Regards,

Peter.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-01-14 17:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-01-14 13:46 Problem with keys not being mapped Peter Westlake
2009-01-14 14:41 ` Bernt Hansen
2009-01-14 17:55   ` Peter Westlake
2009-01-14 14:48 ` R: " Giovanni Ridolfi
2009-01-14 17:46   ` Peter Westlake

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).