[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Orgmode] "Autoloading failed to define function org-agenda" after an up
From: |
Michaël Parienti |
Subject: |
[Orgmode] "Autoloading failed to define function org-agenda" after an update |
Date: |
Mon, 4 Aug 2008 14:21:00 +0200 |
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/address@hidden/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
- [Orgmode] "Autoloading failed to define function org-agenda" after an update,
Michaël Parienti <=