Hello,

I've recently started using the version of org from the git repository, and
I somehow have broken the remember-mode integration with org.  I was
previously using 5.22a, with linux, emacs 22, and remember 1.9.

When I type 'Ctrl-C r', which used to bring up the remember template, I now
get:

run-hook-with-args-until-success: Autoloading failed to define function
org-remember-annotation

Any ideas what I've done to break the integration?  Any help will be
appreciated.

Thanks,
Jerry

Here are the pertinent lines in my .emacs:

;;(add-to-list 'load-path "~/emacs/lisp/org-5.22a")
(add-to-list 'load-path "~/emacs/org-mode/org-mode.git/lisp")
(add-to-list 'load-path "~/emacs/lisp/remember-1.9")

;; (require 'remember)  ;; This didn't work see error
(require 'remember-autoloads)  ;; This doesn't work either - see error
;; (org-remember-insinuate) ;; This didn't load
(setq org-directory "~/org-gtd/")
(setq org-default-notes-file (concat org-directory "org-gtd.org"))
;;(global-set-key (kbd "C-c r") 'remember)

(setq org-remember-templates
   '(("Tasks" ?t "* TODO %?\n  %i\n  %a" "~/org-gtd/org-gtd01.org" "Tasks")
     ("Home" ?h "* TODO %?\n  %i\n  %a" "~/org-gtd/home_gtd1.org" "Tasks")
;;     ("WCC" ?w "* TODO %?\n  %i\n  %a" "~/org-gtd/wcc_gtd01.org" "Tasks")
     ("Appointments" ?a "* Appointment: %?\n%^T\n%i\n  %a" "~/org-gtd/
org-gtd01.org" "Appointments")))
(setq remember-annotation-functions '(org-remember-annotation))
(setq remember-handler-functions '(org-remember-handler))
(eval-after-load 'remember  '(add-hook 'remember-mode-hook
'org-remember-apply-template))
;; (add-hook 'remember-mode-hook 'org-remember-apply-template)  ;; Same
error with this uncommented
(global-set-key (kbd "C-c r") 'remember)

(require 'org)
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(global-set-key (kbd "C-c a") 'org-agenda)
(setq org-todo-keywords '("TODO" "STARTED" "WAITING" "DONE"))
(setq org-agenda-include-diary t)
(setq org-agenda-include-all-todo t)
_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to