From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel Goldin" Subject: Re: Re: can't get org-mode/remember integration working right Date: Sat, 12 Apr 2008 00:59:47 -0700 Message-ID: References: <874pa86neo.fsf@gollum.intra.norang.ca> <20080412134639.670976c3@localhost> <8AD1B10D-D711-4C1A-BEAA-16A953B8B11B@science.uva.nl> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1896510427==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JkaeV-0000Az-AW for emacs-orgmode@gnu.org; Sat, 12 Apr 2008 03:59:59 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JkaeQ-00004y-SQ for emacs-orgmode@gnu.org; Sat, 12 Apr 2008 03:59:58 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JkaeQ-0008WO-Hn for emacs-orgmode@gnu.org; Sat, 12 Apr 2008 03:59:54 -0400 Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JkaeP-00082s-SV for emacs-orgmode@gnu.org; Sat, 12 Apr 2008 03:59:54 -0400 Received: from wf-out-1314.google.com ([209.85.200.175]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JkaeO-0005jh-NC for emacs-orgmode@gnu.org; Sat, 12 Apr 2008 03:59:53 -0400 Received: by wf-out-1314.google.com with SMTP id 29so824260wff.24 for ; Sat, 12 Apr 2008 00:59:48 -0700 (PDT) In-Reply-To: <8AD1B10D-D711-4C1A-BEAA-16A953B8B11B@science.uva.nl> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: emacs-orgmode@gnu.org, Shelagh Manton --===============1896510427== Content-Type: multipart/alternative; boundary="----=_Part_2101_10582108.1207987187592" ------=_Part_2101_10582108.1207987187592 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline These are all the configs I have for org and remember. Your help is greatly appreciated. d. (require 'org) (require 'remember) (setq org-directory "~/orgfiles/") (setq org-default-notes-file "~/.notes") (setq org-return-follows-link t) (setq org-agenda-ndays 31) (setq org-agenda-show-all-dates t) (setq org-reverse-note-order t) (setq org-fontify-done-headline t) (setq org-log-done t) (setq org-deadline-warning-days 14) (setq org-agenda-skip-deadline-if-done t) (setq org-agenda-skip-scheduled-if-done t) (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-remember-store-without-prompt t) (setq org-remember-templates '(("Todo" ?t "* TODO %?\n %i\n %a" "~/orgfiles/NotesTodo.org" "Tasks") ("Journal" ?j "* %U %?\n\n %i\n %a" "~/orgfiles/NotesJournal.org") ("Idea" ?i "* %^{Title}\n %i\n %a" "~/orgfiles/NotesIdeas.org" "New Ideas"))) (setq org-agenda-files (list "~/orgfiles/gtd.org" "~/orgfiles/work.org" "~/orgfiles/general.org" "~/orgfiles/main.org" "~/orgfiles/bhs.org" "~/orgfiles/career.org" "~/orgfiles/personal.org" "~/orgfiles/AddictionPaper.org" "~/orgfiles/PsychCareer.org" "~/orgfiles/WritingCareer.org" "~/orgfiles/WritingIdeas.org" "~/orgfiles/repeat.org" "~/orgfiles/PsychIdeas.org" )) (require 'org-annotate-file) ;; ;; To change the location of the annotation file: ;; (setq org-annotate-file-storage-file "~/annotated.org") (setq org-annotate-file-add-search t) (setq org-todo-keywords '("TODO" "NEXT" "WAITING" "DONE")) On Fri, Apr 11, 2008 at 9:55 PM, Carsten Dominik wrote: > > On Apr 12, 2008, at 6:44 AM, Daniel Goldin wrote: > > I'm afraid so. I have the following in my defaul init file. > > (setq org-remember-templates > '(("Todo" ?t "* TODO %?\n %i\n %a" "~/orgfiles/NotesTodo.org" > "Tasks") > ("Journal" ?j "* %U %?\n\n %i\n %a" > "~/orgfiles/NotesJournal.org") > ("Idea" ?i "* %^{Title}\n %i\n %a" "~/orgfiles/NotesIdeas.org" > "New Ideas"))) > > d. > > > Which means that you have not listed your complete setup in your first > mail. > > Can you please make a minimal case, with minimal but complete setup? > Because I tried and could not reproduce your problem. > > - Carsten > > > > On Fri, Apr 11, 2008 at 8:46 PM, Shelagh Manton > wrote: > > > On Fri, 11 Apr 2008 15:59:22 -0700 > > "Daniel Goldin" wrote: > > > > > Yes, I've tried org-remember: same results. > > > > > > d. > > > > I wonder if you have templates set up? > > > > Something like the following? > > > > (setq org-remember-templates > > '((?t "** TODO %?\n %u" "~/.org/planner.org" "Tasks") > > (?j "* %u %?" "~/.org/notes.org" "Notes") > > (?f "** TODO %?\n %u" "~/.org/planner.org" "Financial") > > (?c "** TODO %?\n %u" "~/.org/planner.org" "Computer") > > (?h "** TODO %?\n %u" "~/.org/planner.org" "Household") > > (?b "** TODO %?\n %u" "~/.org/planner.org" "Bowen") > > (?o "*** TODO %?\n %u" "~/.org/planner.org" "Job"))) > > > > Shelagh > > > > > > On Fri, Apr 11, 2008 at 3:23 PM, Bernt Hansen wrote: > > > > > > > "Daniel Goldin" writes: > > > > > > > > > I'm running org 5.23a, on emacs 22.0.90.1 -- Ubuntu 7.04 > > > > > > > > > > Here is the relevant code I use to enable org/remember > > > > > integration. > > > > > > > > > > (setq org-directory "~/orgfiles/") > > > > > > > > > > (setq org-default-notes-file "~/.notes") > > > > > (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-remember-store-without-prompt t) > > > > > > > > > > When I run M-x remember, I get an org buffer that looks right and > > > > > lets me add notes. But when I run c-c C-c, I get a prompt asking > > > > > me where to save file, instead of just going > > > > > > > > > > to me org-default file. If I put into the prompt "~/notes," the > > > > > file saves but when I run remember again, the same prompt comes > > > > > up in the mini-buffer asking where I want to save the file, and > > > > > If plug in "/notes," I > > > > > > > > > > I am forced to overwright what I previously saved in that file. > > > > > > > > > > Any help gratefully appreciated. > > > > > > > > Try M-x org-remember instead of M-x remember > > > > > > > > -Bernt > > > > > > > > > > > > > > > > _______________________________________________ > > > > 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 > > > > > > > > > > > > > > > > > > > -- > > > > ---------------------------------------------------------------- > > Jabber: shelagh.manton@gmail.com > > ---------------------------------------------------------------- > > > > > > > > _______________________________________________ > > 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 > > > > > > -- > Daniel Goldin > 626-795-9526 _______________________________________________ > 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 > > > -- Daniel Goldin 626-795-9526 ------=_Part_2101_10582108.1207987187592 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline These are all the configs I have for org and remember. Your help is greatly appreciated.

d.

(require 'org)
(require 'remember)

(setq org-directory "~/orgfiles/")
(setq org-default-notes-file "~/.notes")
(setq org-return-follows-link t)
(setq org-agenda-ndays 31)
(setq org-agenda-show-all-dates t)
(setq org-reverse-note-order t)
(setq org-fontify-done-headline t)
(setq org-log-done t)
(setq org-deadline-warning-days 14)
(setq org-agenda-skip-deadline-if-done t)
(setq org-agenda-skip-scheduled-if-done t)

(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-remember-store-without-prompt t)

(setq org-remember-templates
      '(("Todo" ?t "* TODO %?\n  %i\n  %a" "~/orgfiles/NotesTodo.org" "Tasks")
        ("Journal" ?j "* %U %?\n\n  %i\n  %a" "~/orgfiles/NotesJournal.org")
        ("Idea" ?i "* %^{Title}\n  %i\n  %a" "~/orgfiles/NotesIdeas.org" "New Ideas")))

(setq org-agenda-files
      (list "~/orgfiles/gtd.org"
        "~/orgfiles/work.org"
        "~/orgfiles/general.org"
        "~/orgfiles/main.org"
        "~/orgfiles/bhs.org"
        "~/orgfiles/career.org"
        "~/orgfiles/personal.org"
        "~/orgfiles/AddictionPaper.org"
        "~/orgfiles/PsychCareer.org"
        "~/orgfiles/WritingCareer.org"
        "~/orgfiles/WritingIdeas.org"
        "~/orgfiles/repeat.org"
        "~/orgfiles/PsychIdeas.org"
))

(require 'org-annotate-file)
;;
;; To change the location of the annotation file:
;;
(setq org-annotate-file-storage-file "~/annotated.org")

(setq org-annotate-file-add-search t)

(setq org-todo-keywords '("TODO" "NEXT" "WAITING" "DONE"))


On Fri, Apr 11, 2008 at 9:55 PM, Carsten Dominik <dominik@science.uva.nl> wrote:

On Apr 12, 2008, at 6:44 AM, Daniel Goldin wrote:
I'm afraid so. I have the following in my defaul init file.

(setq org-remember-templates
      '(("Todo" ?t "* TODO %?\n  %i\n  %a" "~/orgfiles/NotesTodo.org" "Tasks")
        ("Journal" ?j "* %U %?\n\n  %i\n  %a" "~/orgfiles/NotesJournal.org")
        ("Idea" ?i "* %^{Title}\n  %i\n  %a" "~/orgfiles/NotesIdeas.org" "New Ideas")))

d.

Which means that you have not listed your complete setup in your first mail.

Can you please make a minimal case, with minimal but complete setup?
Because I tried and could not reproduce your problem.

- Carsten



On Fri, Apr 11, 2008 at 8:46 PM, Shelagh Manton <shelagh.manton@gmail.com> wrote:
On Fri, 11 Apr 2008 15:59:22 -0700
"Daniel Goldin" <danielgoldin@gmail.com> wrote:

> Yes, I've tried org-remember: same results.
>
> d.

I wonder if you have templates set up?

Something like the following?

(setq org-remember-templates
          '((?t "** TODO %?\n  %u" "~/.org/planner.org" "Tasks")
            (?j "* %u %?" "~/.org/notes.org" "Notes")
            (?f "** TODO %?\n %u" "~/.org/planner.org" "Financial")
            (?c "** TODO %?\n %u" "~/.org/planner.org" "Computer")
            (?h "** TODO %?\n %u" "~/.org/planner.org" "Household")
            (?b "** TODO %?\n %u" "~/.org/planner.org" "Bowen")
            (?o "*** TODO %?\n %u" "~/.org/planner.org" "Job")))

Shelagh
>
> On Fri, Apr 11, 2008 at 3:23 PM, Bernt Hansen <bernt@norang.ca> wrote:
>
> > "Daniel Goldin" <danielgoldin@gmail.com> writes:
> >
> > > I'm running org 5.23a, on emacs 22.0.90.1 -- Ubuntu 7.04
> > >
> > > Here is the relevant code I use to enable org/remember
> > > integration.
> > >
> > > (setq org-directory "~/orgfiles/")
> > >
> > > (setq org-default-notes-file "~/.notes")
> > > (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-remember-store-without-prompt t)
> > >
> > > When I run M-x remember, I get an org buffer that looks right and
> > > lets me add notes.  But when I run c-c C-c, I get a prompt asking
> > > me where to save file, instead of just going
> > >
> > > to me org-default file. If I put into the prompt "~/notes," the
> > > file saves but when I run remember again, the same prompt comes
> > > up in the mini-buffer asking where I want to save the file, and
> > > If plug in "/notes," I
> > >
> > > I am forced to overwright what I previously saved in that file.
> > >
> > > Any help gratefully appreciated.
> >
> > Try M-x org-remember instead of M-x remember
> >
> > -Bernt
> >
> >
> >
> > _______________________________________________
> > 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
> >
>
>
>


--

----------------------------------------------------------------
Jabber: shelagh.manton@gmail.com
----------------------------------------------------------------



_______________________________________________
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



--
Daniel Goldin
626-795-9526 _______________________________________________

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




--
Daniel Goldin
626-795-9526 ------=_Part_2101_10582108.1207987187592-- --===============1896510427== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1896510427==--