unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Charles Sebold <csebold@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Re: setting up org-remember in carbon emacs (GUI)
Date: Tue, 30 Dec 2008 15:02:46 -0600	[thread overview]
Message-ID: <uabads7ex.fsf@gmail.com> (raw)
In-Reply-To: 395af845-40e1-43b6-b2d4-6a6186800017@v39g2000pro.googlegroups.com

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	other threads:[~2008-12-30 21:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-30 20:10 setting up org-remember in carbon emacs (GUI) Henri Fischer
2008-12-30 21:02 ` Charles Sebold [this message]
2008-12-30 22:58   ` Henri Fischer

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.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=uabads7ex.fsf@gmail.com \
    --to=csebold@gmail.com \
    --cc=help-gnu-emacs@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.
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).