emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: Problem with keys not being mapped


From: Bernt Hansen
Subject: [Orgmode] Re: Problem with keys not being mapped
Date: Wed, 14 Jan 2009 09:41:49 -0500
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

"Peter Westlake" <address@hidden> 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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]