emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [Orgmode] working with remember.mode and templates


From: Graham Smith
Subject: Re: [Orgmode] working with remember.mode and templates
Date: Thu, 18 Jan 2007 17:54:32 +0000

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 < address@hidden> 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
address@hidden
http://lists.gnu.org/mailman/listinfo/emacs-orgmode


reply via email to

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