emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Graham Smith" <myotisone@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: working with remember.mode and templates
Date: Thu, 18 Jan 2007 17:54:32 +0000	[thread overview]
Message-ID: <2c75873c0701180954k6999e714r4734f1ecb4003ba2@mail.gmail.com> (raw)
In-Reply-To: <20070117133641.GA8891@isof-serv.isof.cnr.it>


[-- Attachment #1.1: Type: text/plain, Size: 2917 bytes --]

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
>

[-- Attachment #1.2: Type: text/html, Size: 4076 bytes --]

[-- Attachment #2: Type: text/plain, Size: 149 bytes --]

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

      reply	other threads:[~2007-01-18 17:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-17 12:12 working with remember.mode and templates Graham Smith
2007-01-17 13:36 ` Giovanni Ridolfi
2007-01-18 17:54   ` Graham Smith [this message]

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.orgmode.org/

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

  git send-email \
    --in-reply-to=2c75873c0701180954k6999e714r4734f1ecb4003ba2@mail.gmail.com \
    --to=myotisone@gmail.com \
    --cc=emacs-orgmode@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).