emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* bug report with org 5.11b and remember 1.19
@ 2007-10-09 15:58 Austin Frank
  2007-10-09 21:17 ` Bastien
  2007-10-10  7:07 ` Carsten Dominik
  0 siblings, 2 replies; 5+ messages in thread
From: Austin Frank @ 2007-10-09 15:58 UTC (permalink / raw)
  To: emacs-orgmode

Hello!

I've been trying to implement a setup based on John Wiegley's day
planner tutorial.  I have a file org-config.el that is loaded in my
.emacs.  org-config.el looks like this:

(require 'org-install)
(require 'remember)

;; basic org-mode configuration
;; keys are set in ekeys.el
(add-to-list 'auto-mode-alist '("\\.org$" . org-mode))

(add-hook 'remember-mode-hook 'org-remember-apply-template)

(custom-set-variables
 '(org-agenda-include-diary t)
 '(org-log-done t)
 '(org-export-with-toc nil)
 '(org-export-with-section-numbers nil)
 '(org-agenda-files (quote ("~/todo.org")))
 '(org-default-notes-file "~/notes.org")
 '(org-agenda-ndays 7)
 '(org-deadline-warning-days 14)
 '(org-agenda-show-all-dates t)
 '(org-agenda-skip-deadline-if-done t)
 '(org-agenda-skip-scheduled-if-done t)
 '(org-agenda-start-on-weekday nil)
 '(org-reverse-note-order t)
 '(org-fast-tag-selection-single-key (quote expert))
 '(org-remember-store-without-prompt t)
 '(org-remember-templates
   (quote ((116 "* TODO %?\n  %u" "~/todo.org" "Tasks")
           (110 "* %u %?" "~/notes.org" "Notes"))))
 '(remember-annotation-functions (quote (org-remember-annotation)))
 '(remember-handler-functions (quote (org-remember-handler))))


When I try to store a note using remember, I get the following error:
"Symbol's value as variable is void:  initial"

And here's the debugger output.

Debugger entered--Lisp error: (void-variable initial)
  org-remember-apply-template()
  run-hooks(remember-mode-hook)
  remember-mode()
  call-interactively(remember-mode)


Is there something incorrect about my setup?

Thanks,
/au

-- 
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc

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

* Re: bug report with org 5.11b and remember 1.19
  2007-10-09 15:58 bug report with org 5.11b and remember 1.19 Austin Frank
@ 2007-10-09 21:17 ` Bastien
  2007-10-10  7:07 ` Carsten Dominik
  1 sibling, 0 replies; 5+ messages in thread
From: Bastien @ 2007-10-09 21:17 UTC (permalink / raw)
  To: emacs-orgmode

Austin Frank <austin.frank@gmail.com> writes:

> When I try to store a note using remember, I get the following error:
> "Symbol's value as variable is void:  initial"

Right in the middle of org.el  (line 12463) :

   (v-i initial)      ; defined in `remember-mode'

So I guess somehow remember-mode is not loaded correctly.

-- 
Bastien

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

* Re: bug report with org 5.11b and remember 1.19
  2007-10-09 15:58 bug report with org 5.11b and remember 1.19 Austin Frank
  2007-10-09 21:17 ` Bastien
@ 2007-10-10  7:07 ` Carsten Dominik
  2007-10-10 17:25   ` Austin Frank
  2007-10-10 17:52   ` Austin Frank
  1 sibling, 2 replies; 5+ messages in thread
From: Carsten Dominik @ 2007-10-10  7:07 UTC (permalink / raw)
  To: Austin Frank; +Cc: emacs-orgmode


This happens because you are calling `remember-mode' interactively.
Org-mode assumes that the command you are using is either `remember'
or `org-remember'.  What are you calling `remember-mode'?  What are
you trying to achieve?

- Carsten

On Oct 9, 2007, at 17:58, Austin Frank wrote:

> Hello!
>
> I've been trying to implement a setup based on John Wiegley's day
> planner tutorial.  I have a file org-config.el that is loaded in my
> .emacs.  org-config.el looks like this:
>
> (require 'org-install)
> (require 'remember)
>
> ;; basic org-mode configuration
> ;; keys are set in ekeys.el
> (add-to-list 'auto-mode-alist '("\\.org$" . org-mode))
>
> (add-hook 'remember-mode-hook 'org-remember-apply-template)
>
> (custom-set-variables
>  '(org-agenda-include-diary t)
>  '(org-log-done t)
>  '(org-export-with-toc nil)
>  '(org-export-with-section-numbers nil)
>  '(org-agenda-files (quote ("~/todo.org")))
>  '(org-default-notes-file "~/notes.org")
>  '(org-agenda-ndays 7)
>  '(org-deadline-warning-days 14)
>  '(org-agenda-show-all-dates t)
>  '(org-agenda-skip-deadline-if-done t)
>  '(org-agenda-skip-scheduled-if-done t)
>  '(org-agenda-start-on-weekday nil)
>  '(org-reverse-note-order t)
>  '(org-fast-tag-selection-single-key (quote expert))
>  '(org-remember-store-without-prompt t)
>  '(org-remember-templates
>    (quote ((116 "* TODO %?\n  %u" "~/todo.org" "Tasks")
>            (110 "* %u %?" "~/notes.org" "Notes"))))
>  '(remember-annotation-functions (quote (org-remember-annotation)))
>  '(remember-handler-functions (quote (org-remember-handler))))
>
>
> When I try to store a note using remember, I get the following error:
> "Symbol's value as variable is void:  initial"
>
> And here's the debugger output.
>
> Debugger entered--Lisp error: (void-variable initial)
>   org-remember-apply-template()
>   run-hooks(remember-mode-hook)
>   remember-mode()
>   call-interactively(remember-mode)
>
>
> Is there something incorrect about my setup?
>
> Thanks,
> /au
>
> -- 
> Austin Frank
> http://aufrank.net
> GPG Public Key (D7398C2F): http://aufrank.net/personal.asc
>
>
>
> _______________________________________________
> Emacs-orgmode mailing list
> Remember: use `Reply All' to send replies to the 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] 5+ messages in thread

* Re: bug report with org 5.11b and remember 1.19
  2007-10-10  7:07 ` Carsten Dominik
@ 2007-10-10 17:25   ` Austin Frank
  2007-10-10 17:52   ` Austin Frank
  1 sibling, 0 replies; 5+ messages in thread
From: Austin Frank @ 2007-10-10 17:25 UTC (permalink / raw)
  To: emacs-orgmode


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

On Wed, Oct 10 2007, Carsten Dominik wrote:

> This happens because you are calling `remember-mode' interactively.
> Org-mode assumes that the command you are using is either `remember'
> or `org-remember'.  What are you calling `remember-mode'?  What are
> you trying to achieve?

Carsten--

So far I am just trying to mirror the setup described in John Wiegley's
day planner tutorial.  Eventually there are some things I mean to
customize to fit my work flow, but for now I've just been working on
replicating John's set up.  Thanks for the help with this!  Your post
helped me find my error.

I had

    (global-set-key "\C-cr" 'remember-mode)

when I should have had

    (global-set-key "\C-cr" 'remember)

Making this change has everything working as advertised.

Thanks again,
/au

-- 
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc

[-- Attachment #1.2: Type: application/pgp-signature, Size: 185 bytes --]

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

_______________________________________________
Emacs-orgmode mailing list
Remember: use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

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

* Re: bug report with org 5.11b and remember 1.19
  2007-10-10  7:07 ` Carsten Dominik
  2007-10-10 17:25   ` Austin Frank
@ 2007-10-10 17:52   ` Austin Frank
  1 sibling, 0 replies; 5+ messages in thread
From: Austin Frank @ 2007-10-10 17:52 UTC (permalink / raw)
  To: emacs-orgmode

On Wed, Oct 10 2007, Carsten Dominik wrote:

> This happens because you are calling `remember-mode' interactively.
> Org-mode assumes that the command you are using is either `remember'
> or `org-remember'.  What are you calling `remember-mode'?  What are
> you trying to achieve?

Carsten--

So far I am just trying to mirror the setup described in John Wiegley's
day planner tutorial.  Eventually there are some things I mean to
customize to fit my work flow, but for now I've just been working on
replicating John's set up.  Thanks for the help with this!  Your post
helped me find my error.

I had

    (global-set-key "\C-cr" 'remember-mode)

when I should have had

    (global-set-key "\C-cr" 'remember)

Making this change has everything working as advertised.

Thanks again,
/au

-- 
Austin Frank
http://aufrank.net
GPG Public Key (D7398C2F): http://aufrank.net/personal.asc

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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-09 15:58 bug report with org 5.11b and remember 1.19 Austin Frank
2007-10-09 21:17 ` Bastien
2007-10-10  7:07 ` Carsten Dominik
2007-10-10 17:25   ` Austin Frank
2007-10-10 17:52   ` Austin Frank

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