Mark Elston <address@hidden> wrote:
Nick,
It helps with the first problem, the autoload problem. I didn't see
this in the manual anywhere.
It's mentioned in the Installation section (sec. 1.2).
However, while it brings up a *Remember* window it doesn't populate
it with any of the templates I have set up (basically I copied what was
in the texinfo doc). And when I write something in it and hit
C-cC-c I get an error:
Debugger entered--Lisp error: (error "The mark is not set now, so
there is no region")
call-interactively(comment-region)
This is not what I expected from the docs.
You probably want to set debug-on-error to t and try it again. You should
get a backtrace that will tell more of the story.
However, you might want to give the following a try: it's a
stripped-down version of my org initialization. Can you try it after
changing the paths?
-------------------------------------------------------------------------------------
;; change the path appropriately.
(add-to-list 'load-path (expand-file-name "~/src/emacs/org/git/org-mode/lisp"))
(require 'org-install)
;;; org mode
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
(define-key global-map "\C-cl" 'org-store-link)
(define-key mode-specific-map [?a] 'org-agenda)
;;; remember
;; change the path appropriately
(add-to-list 'load-path "/usr/local/share/emacs/site-lisp/remember")
(require 'remember)
(add-hook 'remember-mode-hook 'org-remember-apply-template)
(setq org-remember-templates
'(("Todo" ?t "* TODO %?\n %i\n %a" "~/org/TODO.org" "Tasks")
("Journal" ?j "* %U %?\n\n %i\n %a" "~/org/JOURNAL.org")
("Idea" ?i "* %^{Title}\n %i\n %a" "~/org/JOURNAL.org" "New Ideas")))
-------------------------------------------------------------------------------------