emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Bernt Hansen <bernt@norang.ca>
To: Peter Westlake <peter.westlake@pobox.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Problem with keys not being mapped
Date: Wed, 14 Jan 2009 09:41:49 -0500	[thread overview]
Message-ID: <87ljtevtjm.fsf@gollum.intra.norang.ca> (raw)
In-Reply-To: <1231940786.27714.1294724509@webmail.messagingengine.com> (Peter Westlake's message of "Wed\, 14 Jan 2009 13\:46\:26 +0000")

"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

  reply	other threads:[~2009-01-14 14:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-14 13:46 Peter Westlake
2009-01-14 14:41 ` Bernt Hansen [this message]
2009-01-14 17:55   ` Peter Westlake
2009-01-14 14:48 ` R: " Giovanni Ridolfi
2009-01-14 17:46   ` Peter Westlake

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ljtevtjm.fsf@gollum.intra.norang.ca \
    --to=bernt@norang.ca \
    --cc=emacs-orgmode@gnu.org \
    --cc=peter.westlake@pobox.com \
    --subject='Re: Problem with keys not being mapped' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Code repositories for project(s) associated with this 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).