From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsd@tsdye.com (Thomas S. Dye) Subject: Re: Capture error Date: Mon, 29 Oct 2012 20:38:05 -1000 Message-ID: References: <4801.1351558296@alphaville> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:58649) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TT5Sm-0004wT-Gv for emacs-orgmode@gnu.org; Tue, 30 Oct 2012 02:38:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TT5Sl-0004hm-55 for emacs-orgmode@gnu.org; Tue, 30 Oct 2012 02:38:12 -0400 Received: from oproxy6-pub.bluehost.com ([67.222.54.6]:42271) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1TT5Sk-0004hd-RN for emacs-orgmode@gnu.org; Tue, 30 Oct 2012 02:38:11 -0400 In-Reply-To: <4801.1351558296@alphaville> (Nick Dokos's message of "Mon, 29 Oct 2012 20:51:36 -0400") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: nicholas.dokos@hp.com Cc: Org-mode Hi Nick, I tried moving org-capture.elc out of the way and reloading Org, but with the same results. Starting emacs again didn't make a difference. I'm still getting org-refile: Invalid function: with-demoted-errors All the best, Tom Nick Dokos writes: > Thomas S. Dye wrote: > >> Aloha all, >> >> With a recent make update from Git I'm getting this error when I try to >> Finish (with C-c C-c) some tried and true capture templates: >> >> org-capture-bookmark-last-stored-position: Invalid function: >> with-demoted-errors >> >> Here is a backtrace: >> >> Debugger entered--Lisp error: (wrong-type-argument integer-or-marker-p nil) >> org-capture-bookmark-last-stored-position() >> org-capture-finalize(nil) >> call-interactively(org-capture-finalize nil nil) >> >> Org-mode version 7.9.2 (release_7.9.2-535-g8fb598 @ >> /Users/dk/.emacs.d/src/org-mode/lisp/) >> >> The information is captured to the file, but the capture buffer doesn't >> go away. >> > > Can't see anything wrong and I cannot reproduce it. with-demoted-errors > exists in both emacs 23 and 24. It (along with other > with-... constructs) is a macro, so there may be some problem with > compilation (although I tried compiling org as well). Can you try with > uncompiled org-capture.el? The first error message seems to indicate > that o-c-b-l-s-p was compiled without knowledge of the macro, so it > assumes that it is a function that will exist at runtime. > > Or perhaps starting with a fresh emacs might make the problem go away. > > Nick > > PS. BTW, nothing to do with this problem but make update/make test got > an unexpected failure: > > Test test-org/end-of-line backtrace: > signal(ert-test-failed (((should (org-test-with-temp-text "* Headlin > ert-fail(((should (org-test-with-temp-text "* Headline :tag:" (let ( > (if (unwind-protect (setq value-3861 (let ((temp-buffer (generate-ne > (let (form-description-3862) (if (unwind-protect (setq value-3861 (l > (let ((value-3861 (ert--gensym "ert-form-evaluation-aborted-"))) (le > (lambda nil (let ((value-3857 (ert--gensym "ert-form-evaluation-abor > byte-code("\306\307!q\210\310\216\311 \312\216\313\314\315\316\3 > ert--run-test-internal([cl-struct-ert--test-execution-info [cl-struc > byte-code("\306\307!\211\211r\310\311!q\210\312 d\313\223)L\210)\3 > ert-run-test([cl-struct-ert-test test-org/end-of-line "Test `org-end > ert-run-or-rerun-test([cl-struct-ert--stats "\\(org\\|ob\\)" [[cl-st > ert-run-tests("\\(org\\|ob\\)" #[(event-type &rest event-args) "\306 > ert-run-tests-batch("\\(org\\|ob\\)") > ert-run-tests-batch-and-exit("\\(org\\|ob\\)") > (let ((org-id-track-globally t) (org-id-locations-file (convert-stan > org-test-run-batch-tests() > call-interactively(org-test-run-batch-tests nil nil) > command-execute(org-test-run-batch-tests) > command-line-1(("--eval" "(add-to-list 'load-path \"./lisp\")" "--ev > command-line() > normal-top-level() > Test test-org/end-of-line condition: > (ert-test-failed > ((should > (org-test-with-temp-text "* Headline :tag:" > (let ... ...))) > :form > (let > ((temp-buffer ...)) > (with-current-buffer temp-buffer > (unwind-protect ... ...))) > :value nil)) > FAILED 309/326 test-org/end-of-line > -- Thomas S. Dye http://www.tsdye.com