From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Henri Fischer Newsgroups: gmane.emacs.help Subject: Re: setting up org-remember in carbon emacs (GUI) Date: Tue, 30 Dec 2008 14:58:43 -0800 (PST) Organization: http://groups.google.com Message-ID: <65f19f61-69ef-4173-b081-663903e2ea27@c36g2000prc.googlegroups.com> References: <395af845-40e1-43b6-b2d4-6a6186800017@v39g2000pro.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1230683319 14052 80.91.229.12 (31 Dec 2008 00:28:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 31 Dec 2008 00:28:39 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 31 01:29:47 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LHoy2-0007lR-M3 for geh-help-gnu-emacs@m.gmane.org; Wed, 31 Dec 2008 01:29:46 +0100 Original-Received: from localhost ([127.0.0.1]:45194 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LHowp-0000qp-0R for geh-help-gnu-emacs@m.gmane.org; Tue, 30 Dec 2008 19:28:31 -0500 Original-Path: news.stanford.edu!newsfeed.stanford.edu!postnews.google.com!c36g2000prc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 51 Original-NNTP-Posting-Host: 83.119.131.144 Original-X-Trace: posting.google.com 1230677923 27020 127.0.0.1 (30 Dec 2008 22:58:43 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Tue, 30 Dec 2008 22:58:43 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: c36g2000prc.googlegroups.com; posting-host=83.119.131.144; posting-account=X7JwogoAAACP8PFLkqCKx34awu1aNwR6 User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.0.5) Gecko/2008120121 Firefox/3.0.5,gzip(gfe),gzip(gfe) Original-Xref: news.stanford.edu gnu.emacs.help:165653 X-Mailman-Approved-At: Tue, 30 Dec 2008 19:26:54 -0500 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:60987 Archived-At: On Dec 30, 10:02=A0pm, Charles Sebold wrote: > 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. =A0Maybe something like this: > > (custom-set-variables > =A0'(longlines-wrap-follows-window-size t) > =A0'(x-bitmap-file-path (quote ("System/Library/Frameworks/JavaVM.framewo= rk/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. =A0Then 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 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A030th of December, 2008 > GNU Emacs 22.3.1 (i386-mingw-nt5.1.2600) | Gnus v5.11 | org-mode 6.16tran= s Thanks for the help Charles. I followed your advise and can now get into remember by using C-cr. Henri