emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Michaël Parienti" <michael@parienti.name>
To: emacs-orgmode@gnu.org
Subject: "Autoloading failed to define function org-agenda" after an update
Date: Mon, 4 Aug 2008 14:21:00 +0200	[thread overview]
Message-ID: <20080804142100.26e98fc6@magnolia> (raw)


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

             reply	other threads:[~2008-08-04 14:16 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-04 12:21 Michaël Parienti [this message]
2008-08-06  7:37 ` "Autoloading failed to define function org-agenda" after an update Paul R

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=20080804142100.26e98fc6@magnolia \
    --to=michael@parienti.name \
    --cc=emacs-orgmode@gnu.org \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).