emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* "Autoloading failed to define function org-agenda" after an update
@ 2008-08-04 12:21 Michaël Parienti
  2008-08-06  7:37 ` Paul R
  0 siblings, 1 reply; 2+ messages in thread
From: Michaël Parienti @ 2008-08-04 12:21 UTC (permalink / raw)
  To: emacs-orgmode


Hi,

After upgrading to orgmode version 6.05 (with an aptitude
dist-upgrade under a debian sid system), and changing my
configuration file to resolve the problem described here:
http://www.mail-archive.com/emacs-orgmode@gnu.org/msg07167.html,
I still have a problem when I type C-ca. I get the following
error message:

"Autoloading failed to define function org-agenda"

When I type a second time C-ca, every thing works fine.

Here is my configuration lines concerning org-mode:

----------
;;
;; Org-mode
;; 
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))

(define-key global-map "\C-ca" 'org-agenda)

(setq org-agenda-files (append
                              (file-expand-wildcards
"~/text/gtd/*.org") (file-expand-wildcards
"~/text/gtd/res-proj/*.org") ) ) 

(setq org-log-done t); affiche l'heure d'un passage en DONE

(setq org-blank-before-new-entry
       '((heading . t) (plain-list-item . nil))); an empty line
before each newly inserted ; headline, but not before each newly
inserted ; plain-list item.

(setq org-todo-keywords
      '((sequence "TODO(t)" "NEXT_ACTION(n)" "WAITING(w)" "|"
"DONE(d)" "CANCELED(c)") (sequence "PROJECT(p)"
"SOMEDAY_MAYBE(m)" "SCHEDULED(s)" "STAND_BY(b)" "|" "FINISH(f)"
"ABANDONED(a)")) )

(eval-after-load "org"
  '(progn
     (define-key org-mode-map (quote [S-iso-lefttab]) (quote
dabbrev-expand)) )
  )

(eval-after-load "org-agenda"
  '(progn
     (define-key org-agenda-mode-map (quote [S-iso-lefttab])
(quote dabbrev-expand)) ; (define-key org-agenda-keymap (quote
[S-iso-lefttab]) (quote dabbrev-expand))   ; )
)

(custom-set-variables
 '(org-agenda-show-all-dates t)
 '(org-agenda-skip-deadline-if-done t)
 '(org-agenda-skip-scheduled-if-done t)
 '(org-deadline-warning-days 0))
(custom-set-faces
  ;; custom-set-faces was added by Custom.
  ;; If you edit it by hand, you could mess it up, so be careful.
  ;; Your init file should contain only one such instance.
  ;; If there is more than one, they won't work right.
 )
----------

Thanks in advance for you help

-- 
Michaël Parienti

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

* Re: "Autoloading failed to define function org-agenda" after an update
  2008-08-04 12:21 "Autoloading failed to define function org-agenda" after an update Michaël Parienti
@ 2008-08-06  7:37 ` Paul R
  0 siblings, 0 replies; 2+ messages in thread
From: Paul R @ 2008-08-06  7:37 UTC (permalink / raw)
  To: Michaël Parienti; +Cc: emacs-orgmode

Hi Michaël,

On Mon, 4 Aug 2008 14:21:00 +0200, Michaël Parienti <michael@parienti.name> said:

Michaël> Hi,

Michaël> After upgrading to orgmode version 6.05 (with an aptitude
Michaël> dist-upgrade under a debian sid system), and changing my
Michaël> configuration file to resolve the problem described here:
Michaël> http://www.mail-archive.com/emacs-orgmode@gnu.org/msg07167.html,
Michaël> I still have a problem when I type C-ca. I get the following
Michaël> error message:

Michaël> "Autoloading failed to define function org-agenda"

Sounds like your autoload file is out of date. Check variable
load-path to ensure latest org mode is the only candidate when
doing a (require 'org-install).

-- 
  Paul

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

end of thread, other threads:[~2008-08-06  7:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-08-04 12:21 "Autoloading failed to define function org-agenda" after an update Michaël Parienti
2008-08-06  7:37 ` Paul R

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