help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting up org-remember in carbon emacs (GUI)


From: Charles Sebold
Subject: Re: setting up org-remember in carbon emacs (GUI)
Date: Tue, 30 Dec 2008 15:02:46 -0600
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.3 (windows-nt)

On 30 Dec 2008, Henri Fischer wrote:

> (custom-set-variables
> '(longlines-wrap-follows-window-size t)
> '(x-bitmap-file-path (quote ("System/Library/Frameworks/
> JavaVM.framework/Versions/1.5.0/Home/bin/")))
> ;; Start org-remember
> '(add-to-list 'load-path ("/Applications/Emacs.app/Contents/Resources/
> lisp/remember/"))

Your problem starts here; the code you had to add should have come after
all the (custom-set-variables) stuff.  Maybe something like this:

(custom-set-variables
 '(longlines-wrap-follows-window-size t)
 '(x-bitmap-file-path (quote 
("System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home/bin/"))))

;; Start org-remember
(add-to-list 'load-path 
"/Applications/Emacs.app/Contents/Resources/lisp/remember/")
(require 'remember)
(setq remember-annotation-functions '(org-remember-annotation))
(setq remember-handler-functions '(org-remember-handler))
(add-hook 'remember-mode-hook 'org-remember-apply-template)
(setq org-directory "~/Desktop/")
(setq org-default-notes-file (concat org-directory "/notes.org"))
(define-key global-map "\C-cr" 'org-remember)
;; End org-remember

I would add that you may want to have these things be someplace other
than inside the Emacs.app folder; perhaps a ~/emacs folder or something
like that would be appropriate.  Then it won't run the risk of being
replaced or deleted if you upgrade Emacs.

I would therefore change the first line to something like

(add-to-list 'load-path "~/emacs")

And put your remember*.el files into a folder there called "emacs".
-- 
Charles Sebold                                    30th of December, 2008
GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) | Gnus v5.11 | org-mode 6.16trans
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]