From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Graham Smith" Subject: Re: working with remember.mode and templates Date: Thu, 18 Jan 2007 17:54:32 +0000 Message-ID: <2c75873c0701180954k6999e714r4734f1ecb4003ba2@mail.gmail.com> References: <2c75873c0701170412s55371789l7af29070b330af5e@mail.gmail.com> <20070117133641.GA8891@isof-serv.isof.cnr.it> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1475376282==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1H7bTD-0003Sx-Qr for emacs-orgmode@gnu.org; Thu, 18 Jan 2007 12:54:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1H7bT8-0003Q5-LD for emacs-orgmode@gnu.org; Thu, 18 Jan 2007 12:54:39 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1H7bT8-0003Q1-G4 for emacs-orgmode@gnu.org; Thu, 18 Jan 2007 12:54:34 -0500 Received: from [64.233.162.228] (helo=nz-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1H7bT7-0004gK-Tj for emacs-orgmode@gnu.org; Thu, 18 Jan 2007 12:54:34 -0500 Received: by nz-out-0506.google.com with SMTP id s1so191740nze for ; Thu, 18 Jan 2007 09:54:33 -0800 (PST) In-Reply-To: <20070117133641.GA8891@isof-serv.isof.cnr.it> 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: emacs-orgmode@gnu.org --===============1475376282== Content-Type: multipart/alternative; boundary="----=_Part_115331_28589576.1169142872281" ------=_Part_115331_28589576.1169142872281 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Giovanni, I just realised I only replied to you personally, so here is the information posted to the list, as I still cannot get this to work. Windows XPpro SP2 Emacs 22.0.92. Org-mode 4.60 .emac org/remember set up ;;;;;;;;;Org setup;;;;;;;;;;;;;;;;;;;;;;;; (add-to-list 'load-path "C:\\Program Files\\EmacAddIns\\org-4.60") (require 'org) (add-to-list 'auto-mode-alist '("\\.org$" . org-mode)) (define-key global-map "\C-cl" 'org-store-link) (define-key global-map "\C-ca" 'org-agenda) (setq org-log-done t) (setq org-hide-leading-stars t);; hides leading stars in org mode ;;Diary integration (setq org-agenda-include-diary t) ;;Fast tag selection (setq org-tag-alist '(("@UNIVERSITY" . ?u)("@OFFICE" . ?o)("@HOME" . ?h)("@COMPUTER" . ?c)("@PHONE" . ?p)("@SHOPS" . ?s))) ;;;;;;;;;;Remember set up;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (add-to-list 'load-path "C:\\Program Files\\EmacAddIns\\remember") (require 'remember) ; (setq remember-handler-functions '(remember-planner-append)) ;(setq remember-annotation-functions planner-annotation-functions) ;;Remember integration with Org.mode;;;;;;; (setq org-directory "C:\\home\\org") (setq org-default-notes-file "C:\\home\\.notes") (setq remember-annotation-functions '(org-remember-annotation)) (setq remember-handler-functions '(org-remember-handler)) (add-hook 'remember-mode-hook 'org-remember-apply-template) ;;remember org templates (setq org-remember-templates '((?t "* TODO %?\n %i\n %a" "C:\\home\\org\\tasks.org")(?j "* %U %?\n\n %i\n %a" "C:\\home\\org\\journal.org"))) Graham On 17/01/07, Giovanni Ridolfi wrote: > > On Wed, Jan 17, 2007 at 12:12:35PM +0000, Graham Smith wrote: > > I heave set up remember to work with org as described in the manua > > > > M-x remember brings up a choice of t or j > > > > selecting j inserts a date into the buffer and I can append some text > BUT > > when I try to save the text (C-c C-c) > > > > I get the following in the mini-buffer > > > > File name [C:\home\org\journal.org]: c:/home/org > > > > I want to save into the journal.org file but I seem to be getting > prompted > > for a different file name. > > > > If I hit return I get a wrong type of argument error, if I add > > journal.orgto the end of the suggested path and hit return I get the > > same error. > > > Graham, > could you please specify: > 1. Operating System > 2. Version information of Emacs (C-h v emacs-version ) > 3. '' of Org-mode (C-h v org-version ) > 4. as well as the Org-mode/remember related setup in .emacs > > > I had a similar problem... that I solved commenting some > lines with old 'remeber' commands left when I installed > org-mode v. 4.36 :-/ > > Cheers, > > Giovanni > > > _______________________________________________ > Emacs-orgmode mailing list > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode > ------=_Part_115331_28589576.1169142872281 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Giovanni,

I just realised I only replied to you personally, so here is the information posted to the list, as I still cannot get this to work.

Windows XPpro SP2

Emacs 22.0.92.

Org-mode 4.60

.emac org/remember set up

;;;;;;;;;Org setup;;;;;;;;;;;;;;;;;;;;;;;;

(add-to-list 'load-path "C:\\Program Files\\EmacAddIns\\org-4.60")
 (require 'org)
 (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
 (define-key global-map "\C-cl" 'org-store-link)
 (define-key global-map "\C-ca" 'org-agenda)
 (setq org-log-done t)
  (setq org-hide-leading-stars t);; hides leading stars in org mode

;;Diary integration
(setq org-agenda-include-diary t)

;;Fast tag selection
(setq org-tag-alist '(("@UNIVERSITY" . ?u)("@OFFICE" . ?o)("@HOME" . ?h)("@COMPUTER" . ?c)("@PHONE" . ?p)("@SHOPS" . ?s)))


;;;;;;;;;;Remember set up;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;

 (add-to-list 'load-path "C:\\Program Files\\EmacAddIns\\remember")
 (require 'remember)
   ; (setq remember-handler-functions '(remember-planner-append))
    ;(setq remember-annotation-functions planner-annotation-functions)

;;Remember integration with Org.mode;;;;;;;
(setq org-directory "C:\\home\\org")
(setq org-default-notes-file "C:\\home\\.notes")
(setq remember-annotation-functions '(org-remember-annotation))
(setq remember-handler-functions '(org-remember-handler))
(add-hook 'remember-mode-hook 'org-remember-apply-template)

;;remember org templates
(setq org-remember-templates '((?t  "* TODO %?\n %i\n %a" "C:\\home\\org\\tasks.org")(?j "* %U %?\n\n %i\n %a" "C:\\home\\org\\journal.org")))


Graham


On 17/01/07, Giovanni Ridolfi < gio.rido@tiscali.it> wrote:
On Wed, Jan 17, 2007 at 12:12:35PM +0000, Graham Smith wrote:
> I heave set up remember to work with org as described in the manua
>
> M-x remember brings up a choice of t or j
>
> selecting j inserts a date into the buffer and I can append some text BUT
> when I try to save the text (C-c C-c)
>
> I get the following in the mini-buffer
>
> File name [C:\home\org\journal.org]: c:/home/org
>
> I want to save into the journal.org file but I seem to be getting prompted
> for a different file name.
>
> If I hit return I get a wrong type of argument error, if I add
> journal.orgto the end of the suggested path and hit return I get the
> same error.
>
Graham,
       could you please specify:
1. Operating System
2. Version information of Emacs (C-h v emacs-version <RET>)
3.      ''             of Org-mode (C-h v org-version <RET>)
4. as well as the Org-mode/remember related setup in .emacs


I had a similar problem... that I solved commenting some
lines with old 'remeber' commands left when I installed
org-mode v. 4.36 :-/

Cheers,

Giovanni


_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

------=_Part_115331_28589576.1169142872281-- --===============1475376282== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1475376282==--