From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank Rust Subject: Cannot use org-mode and remember templates Date: Thu, 16 Jul 2009 12:38:51 +0200 Message-ID: <6683149f0907160338kf3f6564t6dc313ffd1e4353d@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1260173508==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MROMf-0000rg-Is for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 06:39:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MROMa-0000pX-Ks for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 06:39:00 -0400 Received: from [199.232.76.173] (port=38705 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MROMa-0000pK-BG for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 06:38:56 -0400 Received: from mail-bw0-f219.google.com ([209.85.218.219]:39217) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MROMZ-0000qJ-JQ for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 06:38:55 -0400 Received: by bwz19 with SMTP id 19so19103bwz.42 for ; Thu, 16 Jul 2009 03:38:53 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============1260173508== Content-Type: multipart/alternative; boundary=00504502d5b5113daa046ed04727 --00504502d5b5113daa046ed04727 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi, I'm using a new version of emacs for windows (GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-06-30 on LENNART-69DE564 (patched)) which provides Org-mode in version 6.21b. After the last upgrade the remember templates are not working anymore. Everytime I select a template with my shortcuts I receive the following error: Select template: [t]odo [j]ournal* org-remember-apply-template: Wrong type argument: listp, 5* This is the relevant entry in my .emacs ;; Remember mode (require 'remember) (org-remember-insinuate) (setq org-remember-store-without-prompt t) (setq org-remember-templates '(("Todo" ?t "* TODO %^{Brief Description} %^g\nAdded: %U" "~/emacs/gtd/gtd.org" "Tasks") ("Journal" ?j "\n* %^{topic} %T \n%i%?\n" "journal.org" "Ideas"))) Unfortunately I'm not very experienced in lisp programming and I couldn't find any hints with google. Is there any way to fix this? Thanks for your efforts and regards, Frank --00504502d5b5113daa046ed04727 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi,

I'm using a new version of emacs for windows (GNU Emacs 23.1= .50.1 (i386-mingw-nt5.1.2600) of 2009-06-30 on LENNART-69DE564 (patched)) w= hich provides Org-mode in version 6.21b.

After the last upgrade the = remember templates are not working anymore. Everytime I select a template w= ith my shortcuts I receive the following error:

Select template: [t]odo [j]ournal
org-remember-apply-template: Wr= ong type argument: listp, 5



This is the relevant entry in my= .emacs

;; Remember mode
(require 'remember)
(org-remember= -insinuate)
(setq org-remember-store-without-prompt t)

(setq org-remember-templa= tes
=C2=A0=C2=A0=C2=A0=C2=A0 '(("Todo" ?t "* TODO %^{= Brief Description} %^g\nAdded: %U" "~/emacs/gtd/gtd.org" "Tasks")
=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ("Journal" ?j "\n* %^{topic} = %T \n%i%?\n" "journal.org"= ; "Ideas")))


Unfortunately I'm not very experience= d in lisp programming and I couldn't find any hints with google. Is the= re any way to fix this?

Thanks for your efforts and regards,
Frank



--00504502d5b5113daa046ed04727-- --===============1260173508== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1260173508==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: Cannot use org-mode and remember templates Date: Thu, 16 Jul 2009 16:08:34 +0200 Message-ID: <87r5wgn2jh.fsf@mundaneum.com> References: <6683149f0907160338kf3f6564t6dc313ffd1e4353d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Frank, Frank Rust wrote: > After the last upgrade the remember templates are not working anymore. > Everytime I select a template with my shortcuts I receive the following > error: > > Select template: [t]odo [j]ournal* > org-remember-apply-template: Wrong type argument: listp, 5* The error makes me think at this: don't you have set `org-time-stamp-rounding-minutes'? If yes, check that it looks like: --8<---------------cut here---------------start------------->8--- ;; number of minutes to round time stamps to (setq org-time-stamp-rounding-minutes '(5 5)) --8<---------------cut here---------------end--------------->8--- Seb --=20 S=C3=A9bastien=C2=A0Vauban _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Cannot use org-mode and remember templates Date: Thu, 16 Jul 2009 10:33:39 -0400 Message-ID: <13661.1247754819@gamaville.dokosmarshall.org> References: <6683149f0907160338kf3f6564t6dc313ffd1e4353d@mail.gmail.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRS3H-0006Tg-Tt for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 10:35:16 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRS3C-0006PU-PA for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 10:35:15 -0400 Received: from [199.232.76.173] (port=44238 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRS3C-0006PE-Js for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 10:35:10 -0400 Received: from vms173009pub.verizon.net ([206.46.173.9]:20919) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MRS3C-0001sU-5i for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 10:35:10 -0400 Received: from gamaville.dokosmarshall.org ([98.110.172.159]) by vms173009.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KMV007Z4PRJ1JN0@vms173009.mailsrvcs.net> for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 09:33:25 -0500 (CDT) In-reply-to: Message from Frank Rust of "Thu, 16 Jul 2009 12:38:51 +0200." <6683149f0907160338kf3f6564t6dc313ffd1e4353d@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Frank Rust Cc: emacs-orgmode@gnu.org Frank Rust wrote: > I'm using a new version of emacs for windows (GNU Emacs 23.1.50.1 (i386-mingw-nt5.1.2600) of 2009-06-30 on LENNART-69DE564 (patched)) which provides > Org-mode in version 6.21b. > > After the last upgrade the remember templates are not working anymore. Everytime I select a template with my shortcuts I receive the following error: > > Select template: [t]odo [j]ournal > org-remember-apply-template: Wrong type argument: listp, 5 > Please provide a backtrace: set the variable `debug-on-error' to t, e.g. by doing M-x set-vardebug-on-errort and do whatever is necessary to produce the error - the backtrace should appear in a buffer called '*Backtrace*. If you can do that with uncompiled code, that is vastly preferable: do M-x load-library org-remember.el first and then try to produce the error. Thanks, Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Cannot use org-mode and remember templates Date: Thu, 16 Jul 2009 13:07:49 -0400 Message-ID: <18562.1247764069@gamaville.dokosmarshall.org> References: <6683149f0907160338kf3f6564t6dc313ffd1e4353d@mail.gmail.com> <13661.1247754819@gamaville.dokosmarshall.org> <6683149f0907160932h223df5fem75f8365b8960f908@mail.gmail.com> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRUSb-0000Sg-0f for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 13:09:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRUSW-0000Qm-I7 for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 13:09:32 -0400 Received: from [199.232.76.173] (port=41365 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRUSW-0000Qj-5g for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 13:09:28 -0400 Received: from vms173005pub.verizon.net ([206.46.173.5]:37458) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MRUSV-0006oL-Lh for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 13:09:27 -0400 Received: from gamaville.dokosmarshall.org ([98.110.172.159]) by vms173005.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KMV00LHYWWHX7O0@vms173005.mailsrvcs.net> for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 12:07:29 -0500 (CDT) In-reply-to: Message from Frank Rust of "Thu\, 16 Jul 2009 18\:32\:25 +0200." <6683149f0907160932h223df5fem75f8365b8960f908@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Frank Rust Cc: emacs-orgmode@gnu.org Frank Rust wrote: > Debugger entered--Lisp error: (wrong-type-argument listp 5) > =C2=A0 org-current-time() > =C2=A0 org-remember-apply-template() > =C2=A0 run-hooks(text-mode-hook remember-mode-hook) > =C2=A0 apply(run-hooks (text-mode-hook remember-mode-hook)) > =C2=A0 run-mode-hooks(remember-mode-hook) > =C2=A0 remember-mode() > =C2=A0 remember(nil) > =C2=A0 call-interactively(remember nil nil) >=20 > =C2=A0 >=20 > Debugger entered--Lisp error: (wrong-type-argument listp 5) > =C2=A0 org-current-time() > > ...=20 >=20 > I hope this helps. > p In this case, no, because Seb Vauban nailed the cause (he must have recently polished his crystal ball, so he did not need a backtrace at all): org-time-stamp-rounding-minutes should be a list of two numbers. In general, however, a bug report with a backtrace and uncompiled code makes things much easier: from your backtrace, anybody (with some knowledge of lisp) can see what the problem is - no crystal ball required. Thanks, Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?S=C3=A9bastien_Vauban?= Subject: Re: Cannot use org-mode and remember templates Date: Thu, 16 Jul 2009 22:41:28 +0200 Message-ID: <87ocrktl6v.fsf@mundaneum.com> References: <6683149f0907160338kf3f6564t6dc313ffd1e4353d@mail.gmail.com> <13661.1247754819@gamaville.dokosmarshall.org> <6683149f0907160932h223df5fem75f8365b8960f908@mail.gmail.com> <18562.1247764069@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Nick, Nick Dokos wrote: > Frank Rust wrote: >> Debugger entered--Lisp error: (wrong-type-argument listp 5) >> =C2=A0 org-current-time() > > In this case, no, because Seb Vauban nailed the cause (he must have recen= tly > polished his crystal ball, so he did not need a backtrace at all): > org-time-stamp-rounding-minutes should be a list of two numbers. Great. I'm finally helping people out there=C2=A0;-) But, that was not so difficult for me: just had the same type of message a couple of months ago. > In general, however, a bug report with a backtrace and uncompiled code > makes things much easier: from your backtrace, anybody (with some > knowledge of lisp) can see what the problem is - no crystal ball > required. For sure. BTW, the problem with the above is that bad code is still readable in lots = of pages or tutorials on the Web. That's how it appeared for me, as I take a l= ot of inspiration on the setup some describe. Best regards, Seb --=20 S=C3=A9bastien=C2=A0Vauban _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode-mXXj517/zsQ@public.gmane.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank Rust Subject: Re: Cannot use org-mode and remember templates Date: Thu, 16 Jul 2009 18:32:25 +0200 Message-ID: <6683149f0907160932h223df5fem75f8365b8960f908@mail.gmail.com> References: <6683149f0907160338kf3f6564t6dc313ffd1e4353d@mail.gmail.com> <13661.1247754819@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1040310461==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRTsm-0007y3-12 for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 12:32:32 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRTsi-0007tr-22 for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 12:32:31 -0400 Received: from [199.232.76.173] (port=39765 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRTsh-0007tc-P6 for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 12:32:27 -0400 Received: from mail-fx0-f217.google.com ([209.85.220.217]:35422) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MRTsh-0000t2-9O for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 12:32:27 -0400 Received: by fxm17 with SMTP id 17so271842fxm.42 for ; Thu, 16 Jul 2009 09:32:25 -0700 (PDT) In-Reply-To: <13661.1247754819@gamaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org --===============1040310461== Content-Type: multipart/alternative; boundary=001636c5b52e8891ee046ed5371f --001636c5b52e8891ee046ed5371f Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit > > Please provide a backtrace: set the variable `debug-on-error' to t, e.g. > by doing > > M-x set-vardebug-on-errort > > > and do whatever is necessary to produce the error - the backtrace should > appear in a buffer called '*Backtrace*. Debugger entered--Lisp error: (wrong-type-argument listp 5) org-current-time() org-remember-apply-template() run-hooks(text-mode-hook remember-mode-hook) apply(run-hooks (text-mode-hook remember-mode-hook)) run-mode-hooks(remember-mode-hook) remember-mode() remember(nil) call-interactively(remember nil nil) > If you can do that with > uncompiled code, that is vastly preferable: do > > M-x load-library org-remember.el > > first and then try to produce the error. > Debugger entered--Lisp error: (wrong-type-argument listp 5) org-current-time() (or org-overriding-default-time (org-current-time)) (let* ((entry ...) (ct ...) (dct ...) (ct1 ...) (tpl ...) (plist-p ...) (file ...) (headline ...) (v-c ...) (v-x ...) (v-t ...) (v-T ...) (v-u ...) (v-U ...) (v-i ...) (v-a ...) (clipboards ...) (v-A ...) (v-n user-full-name) (v-k ...) (v-K ...) v-I (org-startup-folded nil) (org-inhibit-startup t) org-time-was-given org-end-time-was-given x prompt completions char time pos default histvar) (when (functionp file) (setq file ...)) (when (and file ...) (setq file ...)) (setq org-store-link-plist (append ... org-store-link-plist)) (unless tpl (setq tpl "") (message "No template") (ding) (sit-for 1)) (erase-buffer) (insert (substitute-command-keys ...)) (insert tpl) (goto-char (point-min)) (while (re-search-forward "%\\([tTuUaiAcxkKI]\\)" nil t) (when ... ...) (replace-match ... t t)) (goto-char (point-min)) (while (re-search-forward "%\\[\\(.+\\)\\]" nil t) (let ... ... ... ...)) (goto-char (point-min)) (while (re-search-forward "%\\((.+)\\)" nil t) (goto-char ...) (let ... ... ...)) (when plist-p (goto-char ...) (while ... ...)) (let (...) (org-mode) (org-remember-mode 1)) (if (and file ... ...) (org-set-local ... file)) (if headline (org-set-local ... headline)) (goto-char (point-min)) (while (re-search-forward "%^\\({\\([^}]*\\)}\\)?\\([gGtTuUCLp]\\)?" nil t) (setq char ... prompt ...) (goto-char ...) (replace-match "") (setq completions nil default nil) (when prompt ...) (cond ... ... ... ... ... ...)) (goto-char (point-min)) (if (re-search-forward "%\\?" nil t) (replace-match "") (and ... ...))) (if org-remember-templates (let* (... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... v-I ... ... org-time-was-given org-end-time-was-given x prompt completions char time pos default histvar) (when ... ...) (when ... ...) (setq org-store-link-plist ...) (unless tpl ... ... ... ...) (erase-buffer) (insert ...) (insert tpl) (goto-char ...) (while ... ... ...) (goto-char ...) (while ... ...) (goto-char ...) (while ... ... ...) (when plist-p ... ...) (let ... ... ...) (if ... ...) (if headline ...) (goto-char ...) (while ... ... ... ... ... ... ...) (goto-char ...) (if ... ... ...)) (let (...) (org-mode) (org-remember-mode 1))) org-remember-apply-template() run-hooks(text-mode-hook remember-mode-hook) apply(run-hooks (text-mode-hook remember-mode-hook)) run-mode-hooks(remember-mode-hook) remember-mode() remember(nil) call-interactively(remember nil nil) recursive-edit() byte-code(" xxxxxxxx --> bytecode" [unread-command-char debugger-args x debugger-buffer noninteractive debugger-batch-max-lines -1 debug backtrace-debug 4 t backtrace-frame lambda 5 pop-to-buffer debugger-mode debugger-setup-buffer count-lines 2 "...\n" message "%s" buffer-string kill-emacs "" nil recursive-edit middlestart buffer-read-only standard-output] 4) debug(error (wrong-type-argument listp 5)) org-current-time() org-remember-apply-template() run-hooks(text-mode-hook remember-mode-hook) apply(run-hooks (text-mode-hook remember-mode-hook)) run-mode-hooks(remember-mode-hook) remember-mode() remember(nil) call-interactively(remember nil nil) > > Thanks, > Nick > I hope this helps. Thanks and regards, Frank --001636c5b52e8891ee046ed5371f Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Please provide a backtrace: set the variable `debug-on-error'= to t, e.g.
by doing

=C2=A0 M-x set-var<RET>debug-on-error<RET>t<RET>


and do whatever is necessary to produce the error - the backtrace should appear in a buffer called '*Backtrace*.

Debugger = entered--Lisp error: (wrong-type-argument listp 5)
=C2=A0 org-current-ti= me()
=C2=A0 org-remember-apply-template()
=C2=A0 run-hooks(text-mode-= hook remember-mode-hook)
=C2=A0 apply(run-hooks (text-mode-hook remember-mode-hook))
=C2=A0 run-m= ode-hooks(remember-mode-hook)
=C2=A0 remember-mode()
=C2=A0 remember(= nil)
=C2=A0 call-interactively(remember nil nil)

=C2=A0
If you can do that with
uncompiled code, that is vastly preferable: do

=C2=A0M-x load-library <RET>org-remember.el<RET>

first and then try to produce the error.


Debugger entered--Lisp error: (wrong-type-argumen= t listp 5)
=C2=A0 org-current-time()
=C2=A0 (or org-overriding-defaul= t-time (org-current-time))
=C2=A0 (let* ((entry ...) (ct ...) (dct ...) = (ct1 ...) (tpl ...) (plist-p ...) (file ...) (headline ...) (v-c ...) (v-x = ...) (v-t ...) (v-T ...) (v-u ...) (v-U ...) (v-i ...) (v-a ...) (clipboard= s ...) (v-A ...) (v-n user-full-name) (v-k ...) (v-K ...) v-I (org-startup-= folded nil) (org-inhibit-startup t) org-time-was-given org-end-time-was-giv= en x prompt completions char time pos default histvar) (when (functionp fil= e) (setq file ...)) (when (and file ...) (setq file ...)) (setq org-store-l= ink-plist (append ... org-store-link-plist)) (unless tpl (setq tpl "&q= uot;) (message "No template") (ding) (sit-for 1)) (erase-buffer) = (insert (substitute-command-keys ...)) (insert tpl) (goto-char (point-min))= (while (re-search-forward "%\\([tTuUaiAcxkKI]\\)" nil t) (when .= .. ...) (replace-match ... t t)) (goto-char (point-min)) (while (re-search-= forward "%\\[\\(.+\\)\\]" nil t) (let ... ... ... ...)) (goto-cha= r (point-min)) (while (re-search-forward "%\\((.+)\\)" nil t) (go= to-char ...) (let ... ... ...)) (when plist-p (goto-char ...) (while ... ..= .)) (let (...) (org-mode) (org-remember-mode 1)) (if (and file ... ...) (or= g-set-local ... file)) (if headline (org-set-local ... headline)) (goto-cha= r (point-min)) (while (re-search-forward "%^\\({\\([^}]*\\)}\\)?\\([gG= tTuUCLp]\\)?" nil t) (setq char ... prompt ...) (goto-char ...) (repla= ce-match "") (setq completions nil default nil) (when prompt ...)= (cond ... ... ... ... ... ...)) (goto-char (point-min)) (if (re-search-for= ward "%\\?" nil t) (replace-match "") (and ... ...))) =C2=A0 (if org-remember-templates (let* (... ... ... ... ... ... ... ... ..= . ... ... ... ... ... ... ... ... ... ... ... ... v-I ... ... org-time-was-= given org-end-time-was-given x prompt completions char time pos default his= tvar) (when ... ...) (when ... ...) (setq org-store-link-plist ...) (unless= tpl ... ... ... ...) (erase-buffer) (insert ...) (insert tpl) (goto-char .= ..) (while ... ... ...) (goto-char ...) (while ... ...) (goto-char ...) (wh= ile ... ... ...) (when plist-p ... ...) (let ... ... ...) (if ... ...) (if = headline ...) (goto-char ...) (while ... ... ... ... ... ... ...) (goto-cha= r ...) (if ... ... ...)) (let (...) (org-mode) (org-remember-mode 1)))
=C2=A0 org-remember-apply-template()
=C2=A0 run-hooks(text-mode-hook rem= ember-mode-hook)
=C2=A0 apply(run-hooks (text-mode-hook remember-mode-ho= ok))
=C2=A0 run-mode-hooks(remember-mode-hook)
=C2=A0 remember-mode()=
=C2=A0 remember(nil)
=C2=A0 call-interactively(remember nil nil)
=C2=A0 recursive-edit()
= =C2=A0 byte-code(" xxxxxxxx --> bytecode" [unread-command-char= debugger-args x debugger-buffer noninteractive debugger-batch-max-lines -1= debug backtrace-debug 4 t backtrace-frame lambda 5 pop-to-buffer debugger-= mode debugger-setup-buffer count-lines 2 "...\n" message "%s= " buffer-string kill-emacs "" nil recursive-edit middlestart= buffer-read-only standard-output] 4)
=C2=A0 debug(error (wrong-type-argument listp 5))
=C2=A0 org-current-tim= e()
=C2=A0 org-remember-apply-template()
=C2=A0 run-hooks(text-mode-h= ook remember-mode-hook)
=C2=A0 apply(run-hooks (text-mode-hook remember-= mode-hook))
=C2=A0 run-mode-hooks(remember-mode-hook)
=C2=A0 remember-mode()
=C2=A0 remember(nil)
=C2=A0 call-interactively= (remember nil nil)
=C2=A0

Thanks,
Nick

I hope this helps.

Thanks and regards,=
Frank

--001636c5b52e8891ee046ed5371f-- --===============1040310461== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1040310461==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Cannot use org-mode and remember templates Date: Thu, 16 Jul 2009 23:22:36 +0200 Message-ID: <87d480mig3.fsf@bzg.ath.cx> References: <6683149f0907160338kf3f6564t6dc313ffd1e4353d@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRYPf-0006D8-Bc for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 17:22:47 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRYPc-0006Bi-0x for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 17:22:47 -0400 Received: from [199.232.76.173] (port=48960 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRYPb-0006Bc-Q7 for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 17:22:43 -0400 Received: from rv-out-0708.google.com ([209.85.198.241]:19187) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MRYPb-0006FJ-H1 for emacs-orgmode@gnu.org; Thu, 16 Jul 2009 17:22:43 -0400 Received: by rv-out-0708.google.com with SMTP id f25so135801rvb.6 for ; Thu, 16 Jul 2009 14:22:42 -0700 (PDT) In-Reply-To: <6683149f0907160338kf3f6564t6dc313ffd1e4353d@mail.gmail.com> (Frank Rust's message of "Thu, 16 Jul 2009 12:38:51 +0200") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Frank Rust Cc: emacs-orgmode@gnu.org Hi Frank, Frank Rust writes: > I'm using a new version of emacs for windows (GNU Emacs 23.1.50.1 > (i386-mingw-nt5.1.2600) of 2009-06-30 on LENNART-69DE564 (patched)) which > provides Org-mode in version 6.21b. I can't reproduce your problem. Maybe try with the latest Org. If it doesn't work, please provide a backtrace as described here: http://orgmode.org/manual/Feedback.html Thanks, -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank Rust Subject: Re: Cannot use org-mode and remember templates Date: Fri, 17 Jul 2009 16:03:00 +0200 Message-ID: <6683149f0907170703n24dbccch4d41fbbdf6bfb480@mail.gmail.com> References: <6683149f0907160338kf3f6564t6dc313ffd1e4353d@mail.gmail.com> <13661.1247754819@gamaville.dokosmarshall.org> <6683149f0907160932h223df5fem75f8365b8960f908@mail.gmail.com> <18562.1247764069@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0459157250==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRo1l-000256-LT for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 10:03:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRo1h-00022w-28 for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 10:03:09 -0400 Received: from [199.232.76.173] (port=48028 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRo1g-00022t-VH for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 10:03:04 -0400 Received: from mail-fx0-f217.google.com ([209.85.220.217]:62076) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MRo1g-00008q-6C for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 10:03:04 -0400 Received: by fxm17 with SMTP id 17so923286fxm.42 for ; Fri, 17 Jul 2009 07:03:02 -0700 (PDT) In-Reply-To: <18562.1247764069@gamaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============0459157250== Content-Type: multipart/alternative; boundary=0016e6de003306e483046ee73f54 --0016e6de003306e483046ee73f54 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Thanks to all for the hints so far but unfortunately the setting for "org-time-stamp-rounding-minutes" did not solve my problem. Here is an actual backtrace: Debugger entered--Lisp error: (wrong-type-argument listp 5) org-current-time() (or org-overriding-default-time (org-current-time)) (let* ((entry ...) (ct ...) (dct ...) (ct1 ...) (tpl ...) (plist-p ...) (file ...) (headline ...) (v-c ...) (v-x ...) (v-t ...) (v-T ...) (v-u ...) (v-U ...) (v-i ...) (v-a ...) (clipboards ...) (v-A ...) (v-n user-full-name) (v-k ...) (v-K ...) v-I (org-startup-folded nil) (org-inhibit-startup t) org-time-was-given org-end-time-was-given x prompt completions char time pos default histvar) (when (functionp file) (setq file ...)) (when (and file ...) (setq file ...)) (setq org-store-link-plist (append ... org-store-link-plist)) (unless tpl (setq tpl "") (message "No template") (ding) (sit-for 1)) (erase-buffer) (insert (substitute-command-keys ...)) (insert tpl) (goto-char (point-min)) (while (re-search-forward "%\\([tTuUaiAcxkKI]\\)" nil t) (when ... ...) (replace-match ... t t)) (goto-char (point-min)) (while (re-search-forward "%\\[\\(.+\\)\\]" nil t) (let ... ... ... ...)) (goto-char (point-min)) (while (re-search-forward "%\\((.+)\\)" nil t) (goto-char ...) (let ... ... ...)) (when plist-p (goto-char ...) (while ... ...)) (let (...) (org-mode) (org-remember-mode 1)) (if (and file ... ...) (org-set-local ... file)) (if headline (org-set-local ... headline)) (goto-char (point-min)) (while (re-search-forward "%^\\({\\([^}]*\\)}\\)?\\([gGtTuUCLp]\\)?" nil t) (setq char ... prompt ...) (goto-char ...) (replace-match "") (setq completions nil default nil) (when prompt ...) (cond ... ... ... ... ... ...)) (goto-char (point-min)) (if (re-search-forward "%\\?" nil t) (replace-match "") (and ... ...))) (if org-remember-templates (let* (... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... ... v-I ... ... org-time-was-given org-end-time-was-given x prompt completions char time pos default histvar) (when ... ...) (when ... ...) (setq org-store-link-plist ...) (unless tpl ... ... ... ...) (erase-buffer) (insert ...) (insert tpl) (goto-char ...) (while ... ... ...) (goto-char ...) (while ... ...) (goto-char ...) (while ... ... ...) (when plist-p ... ...) (let ... ... ...) (if ... ...) (if headline ...) (goto-char ...) (while ... ... ... ... ... ... ...) (goto-char ...) (if ... ... ...)) (let (...) (org-mode) (org-remember-mode 1))) org-remember-apply-template() run-hooks(text-mode-hook remember-mode-hook) apply(run-hooks (text-mode-hook remember-mode-hook)) run-mode-hooks(remember-mode-hook) remember-mode() remember(nil) call-interactively(remember nil nil) I hope this helps. Thanks and regards, Frank On Thu, Jul 16, 2009 at 7:07 PM, Nick Dokos wrote: > Frank Rust wrote: > > > Debugger entered--Lisp error: (wrong-type-argument listp 5) > > org-current-time() > > org-remember-apply-template() > > run-hooks(text-mode-hook remember-mode-hook) > > apply(run-hooks (text-mode-hook remember-mode-hook)) > > run-mode-hooks(remember-mode-hook) > > remember-mode() > > remember(nil) > > call-interactively(remember nil nil) > > > > > > > > Debugger entered--Lisp error: (wrong-type-argument listp 5) > > org-current-time() > > > > ... > > > > I hope this helps. > > p > > In this case, no, because Seb Vauban nailed the cause (he must have > recently polished his crystal ball, so he did not need a backtrace at > all): org-time-stamp-rounding-minutes should be a list of two numbers. > > In general, however, a bug report with a backtrace and uncompiled code > makes things much easier: from your backtrace, anybody (with some > knowledge of lisp) can see what the problem is - no crystal ball > required. > > Thanks, > Nick > > --0016e6de003306e483046ee73f54 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Thanks to all for the hints so far but unfortunately the setting for "= ;org-time-stamp-rounding-minutes" did not solve my problem.

Her= e is an actual backtrace:

Debugger entered--Lisp error: (wrong-type-= argument listp 5)
=C2=A0 org-current-time()
=C2=A0 (or org-overriding-default-time (org-cu= rrent-time))
=C2=A0 (let* ((entry ...) (ct ...) (dct ...) (ct1 ...) (tpl= ...) (plist-p ...) (file ...) (headline ...) (v-c ...) (v-x ...) (v-t ...)= (v-T ...) (v-u ...) (v-U ...) (v-i ...) (v-a ...) (clipboards ...) (v-A ..= .) (v-n user-full-name) (v-k ...) (v-K ...) v-I (org-startup-folded nil) (o= rg-inhibit-startup t) org-time-was-given org-end-time-was-given x prompt co= mpletions char time pos default histvar) (when (functionp file) (setq file = ...)) (when (and file ...) (setq file ...)) (setq org-store-link-plist (app= end ... org-store-link-plist)) (unless tpl (setq tpl "") (message= "No template") (ding) (sit-for 1)) (erase-buffer) (insert (subst= itute-command-keys ...)) (insert tpl) (goto-char (point-min)) (while (re-se= arch-forward "%\\([tTuUaiAcxkKI]\\)" nil t) (when ... ...) (repla= ce-match ... t t)) (goto-char (point-min)) (while (re-search-forward "= %\\[\\(.+\\)\\]" nil t) (let ... ... ... ...)) (goto-char (point-min))= (while (re-search-forward "%\\((.+)\\)" nil t) (goto-char ...) (= let ... ... ...)) (when plist-p (goto-char ...) (while ... ...)) (let (...)= (org-mode) (org-remember-mode 1)) (if (and file ... ...) (org-set-local ..= . file)) (if headline (org-set-local ... headline)) (goto-char (point-min))= (while (re-search-forward "%^\\({\\([^}]*\\)}\\)?\\([gGtTuUCLp]\\)?&q= uot; nil t) (setq char ... prompt ...) (goto-char ...) (replace-match "= ;") (setq completions nil default nil) (when prompt ...) (cond ... ...= ... ... ... ...)) (goto-char (point-min)) (if (re-search-forward "%\\= ?" nil t) (replace-match "") (and ... ...)))
=C2=A0 (if org-remember-templates (let* (... ... ... ... ... ... ... ... ..= . ... ... ... ... ... ... ... ... ... ... ... ... v-I ... ... org-time-was-= given org-end-time-was-given x prompt completions char time pos default his= tvar) (when ... ...) (when ... ...) (setq org-store-link-plist ...) (unless= tpl ... ... ... ...) (erase-buffer) (insert ...) (insert tpl) (goto-char .= ..) (while ... ... ...) (goto-char ...) (while ... ...) (goto-char ...) (wh= ile ... ... ...) (when plist-p ... ...) (let ... ... ...) (if ... ...) (if = headline ...) (goto-char ...) (while ... ... ... ... ... ... ...) (goto-cha= r ...) (if ... ... ...)) (let (...) (org-mode) (org-remember-mode 1)))
=C2=A0 org-remember-apply-template()
=C2=A0 run-hooks(text-mode-hook rem= ember-mode-hook)
=C2=A0 apply(run-hooks (text-mode-hook remember-mode-ho= ok))
=C2=A0 run-mode-hooks(remember-mode-hook)
=C2=A0 remember-mode()=
=C2=A0 remember(nil)
=C2=A0 call-interactively(remember nil nil)

I hope this helps.
Thanks and regards,
Frank




--0016e6de003306e483046ee73f54-- --===============0459157250== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============0459157250==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Cannot use org-mode and remember templates Date: Fri, 17 Jul 2009 11:26:35 -0400 Message-ID: <2988.1247844395@gamaville.dokosmarshall.org> References: <6683149f0907160338kf3f6564t6dc313ffd1e4353d@mail.gmail.com> <13661.1247754819@gamaville.dokosmarshall.org> <6683149f0907160932h223df5fem75f8365b8960f908@mail.gmail.com> <18562.1247764069@gamaville.dokosmarshall.org> <6683149f0907170703n24dbccch4d41fbbdf6bfb480@mail.gmail.com> Reply-To: nicholas.dokos@hp.com Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRpM2-0007u3-Bm for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 11:28:10 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRpLx-0007mR-7Q for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 11:28:09 -0400 Received: from [199.232.76.173] (port=60015 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRpLx-0007mK-3z for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 11:28:05 -0400 Received: from vms173011pub.verizon.net ([206.46.173.11]:44541) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MRpLw-0002lY-MU for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 11:28:04 -0400 Received: from gamaville.dokosmarshall.org ([98.110.172.159]) by vms173011.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KMX007A0MVTUUJ3@vms173011.mailsrvcs.net> for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 10:26:23 -0500 (CDT) In-reply-to: Message from Frank Rust of "Fri\, 17 Jul 2009 16\:03\:00 +0200." <6683149f0907170703n24dbccch4d41fbbdf6bfb480@mail.gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Frank Rust Cc: emacs-orgmode@gnu.org Frank Rust wrote: > Thanks to all for the hints so far but unfortunately the setting for "org= -time-stamp-rounding-minutes" did not solve my problem. >=20 What does C-h v org-time-stamp-rounding-minutes say? In fact, it might be better to evaluate it in the backtrace buffer itself: when you get the error, go to the backtrace buffer, type `e' which should give you an ``Eval: '' prompt in the echo area and then type ``org-time-stamp-rounding-minutes''. You see, the function that gets the error, org-current-time, is very short and simple: ,---- | (defun org-current-time () | "Current time, possibly rounded to `org-time-stamp-rounding-minutes'." | (if (> (car org-time-stamp-rounding-minutes) 1) | (let ((r (car org-time-stamp-rounding-minutes)) | (time (decode-time))) | (apply 'encode-time | (append (list 0 (* r (floor (+ .5 (/ (float (nth 1 time)) r))))) | (nthcdr 2 time)))) | (current-time))) `---- so there is not that much that can go wrong: the error message pretty much says we are trying to apply a function that takes a list as argument to something that is not a list: car is one such function. That's why I still think that the org-time-stamp-rounding-minutes variable is at fault. Are you setting it like this: (setq org-time-stamp-rounding-minutes '(0 5)) in your .emacs? BTW, what version of orgmode are you using? Thanks, Nick > Here is an actual backtrace: >=20 > Debugger entered--Lisp error: (wrong-type-argument listp 5) > =C2=A0 org-current-time() > =C2=A0 (or org-overriding-default-time (org-current-time)) > =C2=A0 (let* ((entry ...) (ct ...) (dct ...) (ct1 ...) (tpl ...) (plist-p= ...) (file ...) (headline ...) (v-c ...) (v-x ...) (v-t ...) (v-T ...) (v-= u ...) > (v-U ...) (v-i ...) (v-a ...) (clipboards ...) (v-A ...) (v-n user-full-n= ame) (v-k ...) (v-K ...) v-I (org-startup-folded nil) (org-inhibit-startup = t) > org-time-was-given org-end-time-was-given x prompt completions char time = pos default histvar) (when (functionp file) (setq file ...)) (when (and file > ...) (setq file ...)) (setq org-store-link-plist (append ... org-store-li= nk-plist)) (unless tpl (setq tpl "") (message "No template") (ding) (sit-for > 1)) (erase-buffer) (insert (substitute-command-keys ...)) (insert tpl) (g= oto-char (point-min)) (while (re-search-forward "%\\([tTuUaiAcxkKI]\\)" nil= t) > (when ... ...) (replace-match ... t t)) (goto-char (point-min)) (while (r= e-search-forward "%\\[\\(.+\\)\\]" nil t) (let ... ... ... ...)) (goto-char > (point-min)) (while (re-search-forward "%\\((.+)\\)" nil t) (goto-char ..= .) (let ... ... ...)) (when plist-p (goto-char ...) (while ... ...)) (let (= ...) > (org-mode) (org-remember-mode 1)) (if (and file ... ...) (org-set-local .= .. file)) (if headline (org-set-local ... headline)) (goto-char (point-min)) > (while (re-search-forward "%^\\({\\([^}]*\\)}\\)?\\([gGtTuUCLp]\\)?" nil = t) (setq char ... prompt ...) (goto-char ...) (replace-match "") (setq > completions nil default nil) (when prompt ...) (cond ... ... ... ... ... = ...)) (goto-char (point-min)) (if (re-search-forward "%\\?" nil t) > (replace-match "") (and ... ...))) > =C2=A0 (if org-remember-templates (let* (... ... ... ... ... ... ... ... = ... ... ... ... ... ... ... ... ... ... ... ... ... v-I ... ... org-time-wa= s-given > org-end-time-was-given x prompt completions char time pos default histvar= ) (when ... ...) (when ... ...) (setq org-store-link-plist ...) (unless tpl= ... > ... ... ...) (erase-buffer) (insert ...) (insert tpl) (goto-char ...) (wh= ile ... ... ...) (goto-char ...) (while ... ...) (goto-char ...) (while ...= ... > ...) (when plist-p ... ...) (let ... ... ...) (if ... ...) (if headline .= ..) (goto-char ...) (while ... ... ... ... ... ... ...) (goto-char ...) (if= ... > ... ...)) (let (...) (org-mode) (org-remember-mode 1))) > =C2=A0 org-remember-apply-template() > =C2=A0 run-hooks(text-mode-hook remember-mode-hook) > =C2=A0 apply(run-hooks (text-mode-hook remember-mode-hook)) > =C2=A0 run-mode-hooks(remember-mode-hook) > =C2=A0 remember-mode() > =C2=A0 remember(nil) > =C2=A0 call-interactively(remember nil nil) >=20 > I hope this helps. >=20 > Thanks and regards, > Frank >=20 > On Thu, Jul 16, 2009 at 7:07 PM, Nick Dokos wrote: >=20 > Frank Rust wrote: >=20=20=20=20 > > Debugger entered--Lisp error: (wrong-type-argument listp 5) > > =C2=A0 org-current-time() > > =C2=A0 org-remember-apply-template() > > =C2=A0 run-hooks(text-mode-hook remember-mode-hook) > > =C2=A0 apply(run-hooks (text-mode-hook remember-mode-hook)) > > =C2=A0 run-mode-hooks(remember-mode-hook) > > =C2=A0 remember-mode() > > =C2=A0 remember(nil) > > =C2=A0 call-interactively(remember nil nil) > > > > =C2=A0 > > > > Debugger entered--Lisp error: (wrong-type-argument listp 5) > > =C2=A0 org-current-time() > > > > ... > > > > I hope this helps. > > p >=20=20=20=20 > In this case, no, because Seb Vauban nailed the cause (he must have > recently polished his crystal ball, so he did not need a backtrace at > all): org-time-stamp-rounding-minutes should be a list of two numbers. >=20=20=20=20 > In general, however, a bug report with a backtrace and uncompiled code > makes things much easier: from your backtrace, anybody (with some > knowledge of lisp) can see what the problem is - no crystal ball > required. >=20=20=20=20 > Thanks, > Nick >=20 > _______________________________________________ > 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Frank Rust Subject: Re: Cannot use org-mode and remember templates Date: Fri, 17 Jul 2009 18:27:23 +0200 Message-ID: <6683149f0907170927u4ced8905xa302c1763bb95c73@mail.gmail.com> References: <6683149f0907160338kf3f6564t6dc313ffd1e4353d@mail.gmail.com> <13661.1247754819@gamaville.dokosmarshall.org> <6683149f0907160932h223df5fem75f8365b8960f908@mail.gmail.com> <18562.1247764069@gamaville.dokosmarshall.org> <6683149f0907170703n24dbccch4d41fbbdf6bfb480@mail.gmail.com> <2988.1247844395@gamaville.dokosmarshall.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1557391178==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MRqHT-0003b0-Gh for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 12:27:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MRqHO-0003a5-Nn for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 12:27:30 -0400 Received: from [199.232.76.173] (port=43787 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MRqHO-0003Zy-Kg for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 12:27:26 -0400 Received: from mail-bw0-f219.google.com ([209.85.218.219]:50930) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MRqHO-0005gk-06 for emacs-orgmode@gnu.org; Fri, 17 Jul 2009 12:27:26 -0400 Received: by bwz19 with SMTP id 19so973496bwz.42 for ; Fri, 17 Jul 2009 09:27:25 -0700 (PDT) In-Reply-To: <2988.1247844395@gamaville.dokosmarshall.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org --===============1557391178== Content-Type: multipart/alternative; boundary=0016e6de00337377cc046ee9434d --0016e6de00337377cc046ee9434d Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Hi all, sorry for the confusion but I finally found the reason for my problem. I set the variable "org-time-stamp-rounding-minutes" in my .emacs correctly but unfortunately I didn't recognize the same variable in "custom-set-variables" section. :( @Bastien: In the meantime I installed the actual version "Org-mode version 6.28e" Thanks a lot for all your efforts. Kind regards, Frank PS: At least I learned some aspects of lisp debugging. :) --0016e6de00337377cc046ee9434d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi all,

sorry for the confusion but I finally found the reason for m= y problem.

I set the variable "org-time-stamp-rounding-minutes= " in my .emacs correctly but unfortunately I didn't recognize the = same variable in "custom-set-variables" section. :(

@Bastien: In the meantime I installed t= he actual version "Org-mode version 6.28e"

Thanks a lot f= or all your efforts.

Kind regards,
Frank

PS: At least I learned some aspects of li= sp debugging. :)




=C2=A0
--0016e6de00337377cc046ee9434d-- --===============1557391178== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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 --===============1557391178==-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Re: Cannot use org-mode and remember templates Date: Mon, 20 Jul 2009 12:56:23 -0400 Message-ID: <10307.1248108983@alphaville.usa.hp.com> References: <6683149f0907160338kf3f6564t6dc313ffd1e4353d@mail.gmail.com> <13661.1247754819@gamaville.dokosmarshall.org> <6683149f0907160932h223df5fem75f8365b8960f908@mail.gmail.com> <18562.1247764069@gamaville.dokosmarshall.org> <87ocrktl6v.fsf@mundaneum.com> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MSwBD-0004bR-8F for emacs-orgmode@gnu.org; Mon, 20 Jul 2009 12:57:35 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MSwB8-0004ae-MI for emacs-orgmode@gnu.org; Mon, 20 Jul 2009 12:57:34 -0400 Received: from [199.232.76.173] (port=48726 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSwB8-0004ab-Gp for emacs-orgmode@gnu.org; Mon, 20 Jul 2009 12:57:30 -0400 Received: from g1t0027.austin.hp.com ([15.216.28.34]:12047) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MSwB8-00029L-0m for emacs-orgmode@gnu.org; Mon, 20 Jul 2009 12:57:30 -0400 In-Reply-To: Message from =?utf-8?Q?S=C3=A9bastien_Vauban?= of "Thu, 16 Jul 2009 22:41:28 +0200." <87ocrktl6v.fsf@mundaneum.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: =?utf-8?Q?S=C3=A9bastien_Vauban?= Cc: emacs-orgmode@gnu.org =?utf-8?Q?S=C3=A9bastien_Vauban?= wrote: > ... > > BTW, the problem with the above is that bad code is still readable in lots = > of > pages or tutorials on the Web. That's how it appeared for me, as I take a l= > ot > of inspiration on the setup some describe. > Are you saying that you copied the incorrect setting of org-time-stamp-rounding-minutes from somewhere on the web? If so, and since this problem seems to arise frequently (there was another report from Keith Lancaster a few minutes ago), I wonder whether anybody who's run into the problem remembers where they got the bad code. It might be worth tracking it down and having the webpage author fix it to avoid this problem from arising in the future. I did a cursory search in the various tutorials on Worg, but I did not find anything. Thanks, Nick From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Re: Cannot use org-mode and remember templates Date: Mon, 20 Jul 2009 20:38:08 +0200 Message-ID: <878wijkxnz.fsf@bzg.ath.cx> References: <6683149f0907160338kf3f6564t6dc313ffd1e4353d@mail.gmail.com> <13661.1247754819@gamaville.dokosmarshall.org> <6683149f0907160932h223df5fem75f8365b8960f908@mail.gmail.com> <18562.1247764069@gamaville.dokosmarshall.org> <87ocrktl6v.fsf@mundaneum.com> <10307.1248108983@alphaville.usa.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MSxkl-0002p5-Uw for emacs-orgmode@gnu.org; Mon, 20 Jul 2009 14:38:23 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MSxkh-0002iD-A8 for emacs-orgmode@gnu.org; Mon, 20 Jul 2009 14:38:23 -0400 Received: from [199.232.76.173] (port=43197 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSxkg-0002hv-Tt for emacs-orgmode@gnu.org; Mon, 20 Jul 2009 14:38:19 -0400 Received: from ey-out-1920.google.com ([74.125.78.148]:3358) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MSxkg-0000Ci-8Q for emacs-orgmode@gnu.org; Mon, 20 Jul 2009 14:38:18 -0400 Received: by ey-out-1920.google.com with SMTP id 5so532532eyb.24 for ; Mon, 20 Jul 2009 11:38:17 -0700 (PDT) In-Reply-To: <10307.1248108983@alphaville.usa.hp.com> (Nick Dokos's message of "Mon, 20 Jul 2009 12:56:23 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: =?iso-8859-1?Q?S=E9bastien?= Vauban , emacs-orgmode@gnu.org Nick Dokos writes: > =?utf-8?Q?S=C3=A9bastien_Vauban?= wrote: > >> ... >> >> BTW, the problem with the above is that bad code is still readable in lots = >> of >> pages or tutorials on the Web. That's how it appeared for me, as I take a l= >> ot >> of inspiration on the setup some describe. >> > > Are you saying that you copied the incorrect setting of > org-time-stamp-rounding-minutes from somewhere on the web? If so, and > since this problem seems to arise frequently (there was another report > from Keith Lancaster a few minutes ago), I wonder whether anybody > who's run into the problem remembers where they got the bad code. I found one occurrence in Worg: org-configs/org-customization-survey.org I fixed it (replaced "5" by "'(0 5)") -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Re: Cannot use org-mode and remember templates Date: Mon, 20 Jul 2009 16:25:52 -0400 Message-ID: <13776.1248121552@alphaville.usa.hp.com> References: <6683149f0907160338kf3f6564t6dc313ffd1e4353d@mail.gmail.com> <13661.1247754819@gamaville.dokosmarshall.org> <6683149f0907160932h223df5fem75f8365b8960f908@mail.gmail.com> <18562.1247764069@gamaville.dokosmarshall.org> <87ocrktl6v.fsf@mundaneum.com> <10307.1248108983@alphaville.usa.hp.com> <878wijkxnz.fsf@bzg.ath.cx> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MSzRw-0006lw-Ez for emacs-orgmode@gnu.org; Mon, 20 Jul 2009 16:27:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MSzRr-0006kl-5s for emacs-orgmode@gnu.org; Mon, 20 Jul 2009 16:27:03 -0400 Received: from [199.232.76.173] (port=33432 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MSzRr-0006ki-0g for emacs-orgmode@gnu.org; Mon, 20 Jul 2009 16:26:59 -0400 Received: from g4t0015.houston.hp.com ([15.201.24.18]:35263) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MSzRq-0002wP-P7 for emacs-orgmode@gnu.org; Mon, 20 Jul 2009 16:26:58 -0400 In-Reply-To: Message from Bastien of "Mon, 20 Jul 2009 20:38:08 +0200." <878wijkxnz.fsf@bzg.ath.cx> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: =?iso-8859-1?Q?S=E9bastien?= Vauban , emacs-orgmode@gnu.org Bastien wrote: > Nick Dokos writes: > > > =?utf-8?Q?S=C3=A9bastien_Vauban?= wrote: > > > >> ... > >> > >> BTW, the problem with the above is that bad code is still readable in lots = > >> of > >> pages or tutorials on the Web. That's how it appeared for me, as I take a l= > >> ot > >> of inspiration on the setup some describe. > >> > > > > Are you saying that you copied the incorrect setting of > > org-time-stamp-rounding-minutes from somewhere on the web? If so, and > > since this problem seems to arise frequently (there was another report > > from Keith Lancaster a few minutes ago), I wonder whether anybody > > who's run into the problem remembers where they got the bad code. > > I found one occurrence in Worg: > > org-configs/org-customization-survey.org > > I fixed it (replaced "5" by "'(0 5)") > Great! Thanks, Bastien. Nick