emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* global keys not working on version 20130401
@ 2013-04-03  8:44 Chris Henderson
  2013-04-03 10:31 ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Henderson @ 2013-04-03  8:44 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1366 bytes --]

I have installed version 20130401 on emacs 24.3 on os x mountain lion via
M-x package list. But my global keys don't seem to be working. I get an
error:
Invalid function: org-no-popups. The only orgmode that seem to work for me
is version: 20121217.

My global keys are:

^c-c capture
^c-t todo
^c-^c - org-tag-list

Here's the snippet from .emacs

(add-to-list 'auto-mode-alist '("\\.org\\'" . org-mode))
     (add-hook 'org-mode-hook 'turn-on-font-lock) ; not needed when
global-font-lock-mode is on
     (global-set-key "\C-cl" 'org-store-link)
     (global-set-key "\C-ca" 'org-agenda)
     (global-set-key "\C-cb" 'org-iswitchb)
     (global-set-key "\C-cl" 'org-store-link)
     (global-set-key "\C-cc" 'org-capture)

(setq org-tag-alist '(("computer" . ?c) ("Errands" . ?e) ("work" . ?o)
("calls" . ?a)
("Internet" . ?i) ("waitingfor" . ?w)))

(setq org-agenda-files '("~/org"))

(setq org-capture-templates
       '(("t" "Tasks" entry (file+headline "~/org/gtd_home.org" "Tasks")
              "** %?\n  %i Added:%U")
         ("p" "Project" entry (file+headline "~/org/gtd_home.org"
"Projects")
              "** %?\n  %i Added:%U")))

(setq org-todo-keywords
            '((sequence "TODO(t)" "|" "DONE(d)")
              (sequence "|" "CANCELED(c)")))

(setq org-todo-keyword-faces
           '(("CANCELED" . (:foreground "blue" :weight bold))))

Thanks.

[-- Attachment #2: Type: text/html, Size: 2168 bytes --]

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

* Re: global keys not working on version 20130401
  2013-04-03  8:44 global keys not working on version 20130401 Chris Henderson
@ 2013-04-03 10:31 ` Bastien
  2013-04-04  8:38   ` Chris
  0 siblings, 1 reply; 4+ messages in thread
From: Bastien @ 2013-04-03 10:31 UTC (permalink / raw)
  To: Chris Henderson; +Cc: emacs-orgmode

Hi Chris,

Chris Henderson <henders254@gmail.com> writes:

> I have installed version 20130401 on emacs 24.3 on os x mountain lion
> via M-x package list. But my global keys don't seem to be working. I
> get an error:

See this excerpt from http://orgmode.org/elpa.html:

,----
| By default, Emacs loads packages after it loads your Emacs init file.
| 
| We recommend intializing packages as early as possible in your Emacs
| init file so that your Org configuration will be correctly handled:
| 
| ;; -*- emacs-lisp -*-
| (package-initialize)                ;; Initialize & Install Package
| ;; (setq org-...)                   ;; Your custom settings
| 
| The package initialization should happen before you require Org and
| set any Org options.
`----

You surely need to add (package-initialize) before Org options in your
.emacs.  Otherwise, Emacs will load the built-in Org and you will end
up with mixed autoloads.

HTH,

-- 
 Bastien

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

* Re: global keys not working on version 20130401
  2013-04-03 10:31 ` Bastien
@ 2013-04-04  8:38   ` Chris
  2013-04-04 10:14     ` Bastien
  0 siblings, 1 reply; 4+ messages in thread
From: Chris @ 2013-04-04  8:38 UTC (permalink / raw)
  To: emacs-orgmode

Bastien <bzg <at> altern.org> writes:

> 
> Hi Chris,
> 
> Chris Henderson <henders254 <at> gmail.com> writes:
> 
> > I have installed version 20130401 on emacs 24.3 on os x mountain lion
> > via M-x package list. But my global keys don't seem to be working. I
> > get an error:
> 
> See this excerpt from http://orgmode.org/elpa.html:
> 
> ,----
> | By default, Emacs loads packages after it loads your Emacs init file.
> | 
> | We recommend intializing packages as early as possible in your Emacs
> | init file so that your Org configuration will be correctly handled:
> | 
> | ;; -*- emacs-lisp -*-
> | (package-initialize)                ;; Initialize & Install Package
> | ;; (setq org-...)                   ;; Your custom settings
> | 
> | The package initialization should happen before you require Org and
> | set any Org options.
> `----
> 
> You surely need to add (package-initialize) before Org options in your
> .emacs.  Otherwise, Emacs will load the built-in Org and you will end
> up with mixed autoloads.

I have added (package-initialize) at the top of my .emacs.

Gone on to org with M-x org-version:
Org-mode version 7.9.2 (7.9.2-120-g20839c-elpa @
/Users/chris/.emacs.d/elpa/org-20121217/)
and everything was working fine.

M-x package-list and installed the latest version of org and it went back to
the previour issue reported.

M-x org-version was showing: 
Org-mode version 7.9.4 (7.9.4-elpa @ /Users/chris/.emacs.d/elpa/org-20130401/)

Not sure what I am doing wrong.

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

* Re: global keys not working on version 20130401
  2013-04-04  8:38   ` Chris
@ 2013-04-04 10:14     ` Bastien
  0 siblings, 0 replies; 4+ messages in thread
From: Bastien @ 2013-04-04 10:14 UTC (permalink / raw)
  To: Chris; +Cc: emacs-orgmode

Chris <henders254@gmail.com> writes:

> M-x package-list and installed the latest version of org and it went back to
> the previour issue reported.

If you are installing from ELPA, you need to install in a fresh Emacs
session where no Org function has been called yet.

HTH,

-- 
 Bastien

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

end of thread, other threads:[~2013-04-04 10:14 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-04-03  8:44 global keys not working on version 20130401 Chris Henderson
2013-04-03 10:31 ` Bastien
2013-04-04  8:38   ` Chris
2013-04-04 10:14     ` Bastien

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).