emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* remember
@ 2007-08-31 10:20 Cezar
  2007-08-31 10:57 ` remember Tassilo Horn
  0 siblings, 1 reply; 10+ messages in thread
From: Cezar @ 2007-08-31 10:20 UTC (permalink / raw)
  To: emacs-orgmode



Hello,

  I want to start using remember to record todos like this wonderfull 
paper shows:

  http://johnwiegley.com/org.mode.day.planner.html

  My problem is that is also inserts some comments. The recorded entry 
looks like this:

** Fri Aug 31 13:19:12 2007 (## `C-u C-c C-c' to file directly, 
`C-c C-c' to file interac)

## `C-u C-c C-c' to file directly, `C-c C-c' to file interactively.
## Target file "~/Organiser/Notes.org", headline "Tasks"
## To switch templates, use `M-x org-remember'.

* TODO test
  [2007-08-31 Fri]

  Also I would like to know how to link from files/mails (I am using
Gnus).

Thanks,
Cezar

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

* Re: remember
  2007-08-31 10:20 remember Cezar
@ 2007-08-31 10:57 ` Tassilo Horn
  2007-09-01  7:35   ` remember Cezar
  0 siblings, 1 reply; 10+ messages in thread
From: Tassilo Horn @ 2007-08-31 10:57 UTC (permalink / raw)
  To: emacs-orgmode

Cezar <cezar@mixandgo.ro> writes:

Hi Cezar,

>   I want to start using remember to record todos like this wonderfull 
> paper shows:
>
>   http://johnwiegley.com/org.mode.day.planner.html

Wise decision.

>   My problem is that is also inserts some comments. The recorded entry
> looks like this:
>
> ** Fri Aug 31 13:19:12 2007 (## `C-u C-c C-c' to file directly, 
> `C-c C-c' to file interac)
>
> ## `C-u C-c C-c' to file directly, `C-c C-c' to file interactively.
> ## Target file "~/Organiser/Notes.org", headline "Tasks"
> ## To switch templates, use `M-x org-remember'.
>
> * TODO test
>   [2007-08-31 Fri]

That comment will be removed when you file it with C-c C-c.

>   Also I would like to know how to link from files/mails (I am using
> Gnus).

,----[ C-h k C-c o l ]
| C-c o l runs the command org-store-link
|   which is an interactive compiled Lisp function in `org.el'.
| It is bound to C-c o l.
| (org-store-link ARG)
| 
| Store an org-link to the current location.
| This link can later be inserted into an org-buffer with
| C-c C-l.
| For some link types, a prefix arg is interpreted:
| For links to usenet articles, arg negates `org-usenet-links-prefer-google'.
| For file links, arg negates `org-context-in-file-links'.
`----

As you can see, I bound that function to `C-c o l' because I use `C-c o'
as prefix key for org-mode related things.  Such a binding can be
created with

    (global-set-key (kbd "C-c o l") 'org-store-link)

in your ~/.emacs.

Bye,
Tassilo
-- 
* delYsid has mortgage, opportunity and penis in his score file.
<delYsid> thats pretty effective against spam
<Luke> aren't you worried about missing opportunities to mortgage
       your penis?

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

* Re: remember
  2007-08-31 10:57 ` remember Tassilo Horn
@ 2007-09-01  7:35   ` Cezar
  2007-09-01 13:46     ` remember Tassilo Horn
  0 siblings, 1 reply; 10+ messages in thread
From: Cezar @ 2007-09-01  7:35 UTC (permalink / raw)
  To: emacs-orgmode


The comment is not removed in the file, I gave you an example of
what the file looks like after the C-c C-c

Tassilo Horn <tassilo@member.fsf.org> writes:

> Cezar <cezar@mixandgo.ro> writes:
>
> Hi Cezar, 
>
>>   I want to start using remember to record todos like this wonderfull 
>> paper shows:
>>
>>   http://johnwiegley.com/org.mode.day.planner.html
>
> Wise decision.
>
>>   My problem is that is also inserts some comments. The recorded entry
>> looks like this:
>>
>> ** Fri Aug 31 13:19:12 2007 (## `C-u C-c C-c' to file directly, 
>> `C-c C-c' to file interac)
>>
>> ## `C-u C-c C-c' to file directly, `C-c C-c' to file interactively.
>> ## Target file "~/Organiser/Notes.org", headline "Tasks"
>> ## To switch templates, use `M-x org-remember'.
>>
>> * TODO test
>>   [2007-08-31 Fri]
>
> That comment will be removed when you file it with C-c C-c.
>
>>   Also I would like to know how to link from files/mails (I am using
>> Gnus).
>
> ,----[ C-h k C-c o l ]
> | C-c o l runs the command org-store-link
> |   which is an interactive compiled Lisp function in `org.el'.
> | It is bound to C-c o l.
> | (org-store-link ARG)
> | 
> | Store an org-link to the current location.
> | This link can later be inserted into an org-buffer with
> | C-c C-l.
> | For some link types, a prefix arg is interpreted:
> | For links to usenet articles, arg negates `org-usenet-links-prefer-google'.
> | For file links, arg negates `org-context-in-file-links'.
> `----
>
> As you can see, I bound that function to `C-c o l' because I use `C-c o'
> as prefix key for org-mode related things.  Such a binding can be
> created with
>
>     (global-set-key (kbd "C-c o l") 'org-store-link)
>
> in your ~/.emacs.
>
> Bye,
> Tassilo
> -- 
> * delYsid has mortgage, opportunity and penis in his score file.
> <delYsid> thats pretty effective against spam
> <Luke> aren't you worried about missing opportunities to mortgage
>        your penis?

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

* Re: remember
  2007-09-01  7:35   ` remember Cezar
@ 2007-09-01 13:46     ` Tassilo Horn
  2007-09-01 16:57       ` remember Cezar
  0 siblings, 1 reply; 10+ messages in thread
From: Tassilo Horn @ 2007-09-01 13:46 UTC (permalink / raw)
  To: emacs-orgmode

Cezar <cezar@mixandgo.ro> writes:

Hi Cezar,

> The comment is not removed in the file, I gave you an example of what
> the file looks like after the C-c C-c

Oh, that's wrong.  How did you set it up (post the relevant lines here)
and what version of org and remember are you using?

Bye,
Tassilo
-- 
If programmers deserve to  be rewarded for creating innovative programs,
by the same  token they deserve to be punished if  they restrict the use
of these programs. (Richard M. Stallman)

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

* Re: remember
  2007-09-01 13:46     ` remember Tassilo Horn
@ 2007-09-01 16:57       ` Cezar
  2007-09-02  7:30         ` remember Carsten Dominik
  0 siblings, 1 reply; 10+ messages in thread
From: Cezar @ 2007-09-01 16:57 UTC (permalink / raw)
  To: emacs-orgmode

Tassilo Horn <tassilo@member.fsf.org> writes:

> Cezar <cezar@mixandgo.ro> writes:
>
> Hi Cezar,
>
>> The comment is not removed in the file, I gave you an example of what
>> the file looks like after the C-c C-c
>
> Oh, that's wrong.  How did you set it up (post the relevant lines here)
> and what version of org and remember are you using?
>
> Bye,
> Tassilo
> -- 
> If programmers deserve to  be rewarded for creating innovative programs,
> by the same  token they deserve to be punished if  they restrict the use
> of these programs. (Richard M. Stallman)

org-mode version is 5.07a

remember version 1.8

;; Remember
(require 'remember)
(add-hook 'remember-mode-hook 'org-remember-apply-template)
(setq remember-data-file "~/Organiser/Notes.org")
(setq org-remember-templates
   (quote ((116 "* TODO %?\n  %u" "~/Organiser/Notes.org" "Tasks")
	   (110 "* %u %?" "~/Organiser/Notes.org" "Notes"))))

Regards,
Cezar

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

* Re: Re: remember
  2007-09-01 16:57       ` remember Cezar
@ 2007-09-02  7:30         ` Carsten Dominik
  2007-09-02  8:07           ` remember Cezar
  0 siblings, 1 reply; 10+ messages in thread
From: Carsten Dominik @ 2007-09-02  7:30 UTC (permalink / raw)
  To: Cezar; +Cc: emacs-orgmode

I cannot reproduce this bug, seems we need more detailed information
- so far you have only been sending scetchy stuff, Cezar.

We might need:

- full org-mode setup
- any other related setup
- from where do you call remember?  Link construction
   is dependent on the current file.

This bug is new, so something must be special in your setup.

- Carsten


On Sep 1, 2007, at 18:57, Cezar wrote:

> Tassilo Horn <tassilo@member.fsf.org> writes:
>
>> Cezar <cezar@mixandgo.ro> writes:
>>
>> Hi Cezar,
>>
>>> The comment is not removed in the file, I gave you an example of what
>>> the file looks like after the C-c C-c
>>
>> Oh, that's wrong.  How did you set it up (post the relevant lines 
>> here)
>> and what version of org and remember are you using?
>>
>> Bye,
>> Tassilo
>> -- 
>> If programmers deserve to  be rewarded for creating innovative 
>> programs,
>> by the same  token they deserve to be punished if  they restrict the 
>> use
>> of these programs. (Richard M. Stallman)
>
> org-mode version is 5.07a
>
> remember version 1.8
>
> ;; Remember
> (require 'remember)
> (add-hook 'remember-mode-hook 'org-remember-apply-template)
> (setq remember-data-file "~/Organiser/Notes.org")
> (setq org-remember-templates
>    (quote ((116 "* TODO %?\n  %u" "~/Organiser/Notes.org" "Tasks")
> 	   (110 "* %u %?" "~/Organiser/Notes.org" "Notes"))))
>
> Regards,
> Cezar
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Emacs-orgmode@gnu.org
> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>
>

--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477

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

* Re: remember
  2007-09-02  7:30         ` remember Carsten Dominik
@ 2007-09-02  8:07           ` Cezar
  2007-09-02 11:59             ` remember Tassilo Horn
  0 siblings, 1 reply; 10+ messages in thread
From: Cezar @ 2007-09-02  8:07 UTC (permalink / raw)
  To: emacs-orgmode

Carsten Dominik <dominik@science.uva.nl> writes:

> I cannot reproduce this bug, seems we need more detailed information
> - so far you have only been sending scetchy stuff, Cezar.
>
> We might need:
>
> - full org-mode setup
> - any other related setup
> - from where do you call remember?  Link construction
>   is dependent on the current file.
>
> This bug is new, so something must be special in your setup.
>
> - Carsten
>
>
> On Sep 1, 2007, at 18:57, Cezar wrote:
>
>> Tassilo Horn <tassilo@member.fsf.org> writes:
>>
>>> Cezar <cezar@mixandgo.ro> writes:
>>>
>>> Hi Cezar,
>>>
>>>> The comment is not removed in the file, I gave you an example of what
>>>> the file looks like after the C-c C-c
>>>
>>> Oh, that's wrong.  How did you set it up (post the relevant lines
>>> here)
>>> and what version of org and remember are you using?
>>>
>>> Bye,
>>> Tassilo
>>> -- 
>>> If programmers deserve to  be rewarded for creating innovative
>>> programs,
>>> by the same  token they deserve to be punished if  they restrict
>>> the use
>>> of these programs. (Richard M. Stallman)
>>
>> org-mode version is 5.07a
>>
>> remember version 1.8
>>
>> ;; Remember
>> (require 'remember)
>> (add-hook 'remember-mode-hook 'org-remember-apply-template)
>> (setq remember-data-file "~/Organiser/Notes.org")
>> (setq org-remember-templates
>>    (quote ((116 "* TODO %?\n  %u" "~/Organiser/Notes.org" "Tasks")
>> 	   (110 "* %u %?" "~/Organiser/Notes.org" "Notes"))))
>>
>> Regards,
>> Cezar
>>
>>
>>
>> _______________________________________________
>> Emacs-orgmode mailing list
>> Emacs-orgmode@gnu.org
>> http://lists.gnu.org/mailman/listinfo/emacs-orgmode
>>
>>
>
> --
> Carsten Dominik
> Sterrenkundig Instituut "Anton Pannekoek"
> Universiteit van Amsterdam
> Kruislaan 403
> NL-1098SJ Amsterdam
> phone: +31 20 525 7477


Here is my org-mode setup:

;; Org Mode
(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-todo-keywords
      '((sequence "TODO" "SOMEDAY" "WAITING(w)" "|" "DONE")))
(setq org-agenda-files (list "~/Organiser/Cyhawk.org"
                             "~/Organiser/Pensiune.org"
                             "~/Organiser/Personal.org" 
                             "~/Organiser/Ego.org"))
(setq org-reverse-note-order t)
(setq org-log-done (quote (done state)))
(setq org-agenda-include-diary t)
(setq org-agenda-skip-deadline-if-done t)
(setq org-agenda-skip-scheduled-if-done t)
(setq org-agenda-start-on-weekday nil)
(setq org-default-notes-file "~/Organiser/Notes.org")
(setq org-directory "~/Organiser")
(setq org-todo-keyword-faces
   '(("TODO"      . org-warning)
     ("SOMEDAY"  . (:foreground "pink" :weight bold
                                       :underline nil))
     ("WAITING"  . (:foreground "orange" :weight bold
                                         :underline nil))))

;; Remember
(require 'remember)
(add-hook 'remember-mode-hook 'org-remember-apply-template)
(setq remember-data-file "~/Organiser/Notes.org")
(setq org-remember-templates
   (quote ((116 "* TODO %?\n  %u" "~/Organiser/Notes.org" "Tasks")
	   (110 "* %u %?" "~/Organiser/Notes.org" "Notes"))))

This happens from wherever I call it, just try *scratch* buffer.

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

* Re: remember
  2007-09-02  8:07           ` remember Cezar
@ 2007-09-02 11:59             ` Tassilo Horn
  2007-09-02 12:48               ` remember Cezar
  0 siblings, 1 reply; 10+ messages in thread
From: Tassilo Horn @ 2007-09-02 11:59 UTC (permalink / raw)
  To: emacs-orgmode

Cezar <cezar@mixandgo.ro> writes:

Hi Cezar,

> Here is my org-mode setup:
>
> ;; Org Mode
> (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-todo-keywords
>       '((sequence "TODO" "SOMEDAY" "WAITING(w)" "|" "DONE")))
> (setq org-agenda-files (list "~/Organiser/Cyhawk.org"
>                              "~/Organiser/Pensiune.org"
>                              "~/Organiser/Personal.org" 
>                              "~/Organiser/Ego.org"))
> (setq org-reverse-note-order t)
> (setq org-log-done (quote (done state)))
> (setq org-agenda-include-diary t)
> (setq org-agenda-skip-deadline-if-done t)
> (setq org-agenda-skip-scheduled-if-done t)
> (setq org-agenda-start-on-weekday nil)
> (setq org-default-notes-file "~/Organiser/Notes.org")
> (setq org-directory "~/Organiser")
> (setq org-todo-keyword-faces
>    '(("TODO"      . org-warning)
>      ("SOMEDAY"  . (:foreground "pink" :weight bold
>                                        :underline nil))
>      ("WAITING"  . (:foreground "orange" :weight bold
>                                          :underline nil))))
>
> ;; Remember
> (require 'remember)
> (add-hook 'remember-mode-hook 'org-remember-apply-template)
> (setq remember-data-file "~/Organiser/Notes.org")
  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Take this line out and add these two lines:

(setq remember-annotation-functions     '(org-remember-annotation)
      remember-handler-functions        '(org-remember-handler))

Does it work then?

Bye,
Tassilo
-- 
People sometimes  ask me if it  is a sin in  the Church of  Emacs to use
vi. Using a free  version of vi is not a sin; it  is a penance. So happy
hacking. (Richard M. Stallman)

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

* Re: remember
  2007-09-02 11:59             ` remember Tassilo Horn
@ 2007-09-02 12:48               ` Cezar
  2007-09-02 17:02                 ` remember Tassilo Horn
  0 siblings, 1 reply; 10+ messages in thread
From: Cezar @ 2007-09-02 12:48 UTC (permalink / raw)
  To: emacs-orgmode

Tassilo Horn <tassilo@member.fsf.org> writes:

> Cezar <cezar@mixandgo.ro> writes:
>
> Hi Cezar,
>
>> Here is my org-mode setup:
>>
>> ;; Org Mode
>> (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-todo-keywords
>>       '((sequence "TODO" "SOMEDAY" "WAITING(w)" "|" "DONE")))
>> (setq org-agenda-files (list "~/Organiser/Cyhawk.org"
>>                              "~/Organiser/Pensiune.org"
>>                              "~/Organiser/Personal.org" 
>>                              "~/Organiser/Ego.org"))
>> (setq org-reverse-note-order t)
>> (setq org-log-done (quote (done state)))
>> (setq org-agenda-include-diary t)
>> (setq org-agenda-skip-deadline-if-done t)
>> (setq org-agenda-skip-scheduled-if-done t)
>> (setq org-agenda-start-on-weekday nil)
>> (setq org-default-notes-file "~/Organiser/Notes.org")
>> (setq org-directory "~/Organiser")
>> (setq org-todo-keyword-faces
>>    '(("TODO"      . org-warning)
>>      ("SOMEDAY"  . (:foreground "pink" :weight bold
>>                                        :underline nil))
>>      ("WAITING"  . (:foreground "orange" :weight bold
>>                                          :underline nil))))
>>
>> ;; Remember
>> (require 'remember)
>> (add-hook 'remember-mode-hook 'org-remember-apply-template)
>> (setq remember-data-file "~/Organiser/Notes.org")
>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> Take this line out and add these two lines:
>
> (setq remember-annotation-functions     '(org-remember-annotation)
>       remember-handler-functions        '(org-remember-handler))
>
> Does it work then?
>
> Bye,
> Tassilo
> -- 
> People sometimes  ask me if it  is a sin in  the Church of  Emacs to use
> vi. Using a free  version of vi is not a sin; it  is a penance. So happy
> hacking. (Richard M. Stallman)


Yes it does work, but it also asks for a buffer, and a position in the
buffer. I that necessary ?

Thanks !
Cezar.

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

* Re: remember
  2007-09-02 12:48               ` remember Cezar
@ 2007-09-02 17:02                 ` Tassilo Horn
  0 siblings, 0 replies; 10+ messages in thread
From: Tassilo Horn @ 2007-09-02 17:02 UTC (permalink / raw)
  To: emacs-orgmode

Cezar <cezar@mixandgo.ro> writes:

Hi Cezar,

>>> (setq remember-data-file "~/Organiser/Notes.org")
>>   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>> Take this line out and add these two lines:
>>
>> (setq remember-annotation-functions     '(org-remember-annotation)
>>       remember-handler-functions        '(org-remember-handler))
>>
>> Does it work then?
>
> Yes it does work, but it also asks for a buffer, and a position in the
> buffer. I that necessary ?

No, see

,----[ C-h v org-remember-store-without-prompt RET ]
| org-remember-store-without-prompt is a variable defined in `org.el'.
| Its value is t
| 
| 
| Documentation:
| Non-nil means, `C-c C-c' stores remember note without further promts.
| In this case, you need `C-u C-c C-c' to get the prompts for
| note file and headline.
| When this variable is nil, `C-c C-c' give you the prompts, and
| `C-u C-c C-c' trigger the fasttrack.
| 
| You can customize this variable.
| 
| [back]
`----

Bye,
Tassilo
-- 
Chuck Norris does, in fact, live in a round house. 

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

end of thread, other threads:[~2007-09-02 17:02 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-08-31 10:20 remember Cezar
2007-08-31 10:57 ` remember Tassilo Horn
2007-09-01  7:35   ` remember Cezar
2007-09-01 13:46     ` remember Tassilo Horn
2007-09-01 16:57       ` remember Cezar
2007-09-02  7:30         ` remember Carsten Dominik
2007-09-02  8:07           ` remember Cezar
2007-09-02 11:59             ` remember Tassilo Horn
2007-09-02 12:48               ` remember Cezar
2007-09-02 17:02                 ` remember Tassilo Horn

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