emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* working with remember.mode and templates
@ 2007-01-17 12:12 Graham Smith
  2007-01-17 13:36 ` Giovanni Ridolfi
  0 siblings, 1 reply; 3+ messages in thread
From: Graham Smith @ 2007-01-17 12:12 UTC (permalink / raw)
  To: emacs-orgmode


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

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.

Obviously I have something set up wrongly - can anyone suggest what it might
be ?

Many thanks,

Graham

[-- Attachment #1.2: Type: text/html, Size: 795 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: working with remember.mode and templates
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Giovanni Ridolfi @ 2007-01-17 13:36 UTC (permalink / raw)
  To: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: working with remember.mode and templates
  2007-01-17 13:36 ` Giovanni Ridolfi
@ 2007-01-18 17:54   ` Graham Smith
  0 siblings, 0 replies; 3+ messages in thread
From: Graham Smith @ 2007-01-18 17:54 UTC (permalink / raw)
  To: emacs-orgmode


[-- 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2007-01-18 17:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

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