* Org-capture fails in Org 9.05
@ 2017-02-16 4:57 Jay Iyer
2017-02-16 7:23 ` Nicolas Goaziou
0 siblings, 1 reply; 3+ messages in thread
From: Jay Iyer @ 2017-02-16 4:57 UTC (permalink / raw)
To: emacs-orgmode
[-- Attachment #1.1: Type: text/plain, Size: 421 bytes --]
Hi,
I installed Emacs 25.1 (Org 9.05 is built in to this version for Mac) on a
new Mac and encountered an error that prevents org-capture to complete the
refiling step. I have attached a backtrace here for your review.
Please let me know if this is an installation error of some kind and how I
can fix it.
Thanks,
-jay
ps: highly satisfied Org-moder for 4+ years now, haven't touched any other
organizer all that time!
[-- Attachment #1.2: Type: text/html, Size: 1330 bytes --]
[-- Attachment #2: Capture_backtrace.txt --]
[-- Type: text/plain, Size: 4849 bytes --]
Debugger entered--Lisp error: (void-function org-inhibit-invisibility)
(org-inhibit-invisibility)
(let* ((buffer-invisibility-spec (org-inhibit-invisibility)) (beg (condition-case nil (progn (outline-back-to-heading) (point)) (error (point-min)))) (end (move-marker (make-marker) (progn (or (outline-get-next-sibling) (goto-char (point-max))) (point)))) (re "\\(\\[[0-9]*%\\]\\)\\|\\(\\[[0-9]*/[0-9]*\\]\\)") (re-box "^[ ]*\\(*+\\|[-+*]\\|[0-9]+[.)]\\) +\\(\\[[- X]\\]\\)") b1 e1 f1 c-on c-off lim (cstat 0)) (if all (progn (goto-char (point-min)) (or (outline-get-next-sibling) (goto-char (point-max))) (setq beg (point) end (point-max)))) (goto-char beg) (while (re-search-forward re end t) (setq cstat (1+ cstat) b1 (match-beginning 0) e1 (match-end 0) f1 (match-beginning 1) lim (cond ((org-on-heading-p) (or (outline-get-next-sibling) (goto-char (point-max))) (point)) ((org-at-item-p) (org-end-of-item) (point)) (t nil)) c-on 0 c-off 0) (goto-char e1) (if lim (progn (while (re-search-forward re-box lim t) (if (member (match-string 2) (quote ...)) (setq c-off (1+ c-off)) (setq c-on (1+ c-on)))) (goto-char b1) (insert (if f1 (format "[%d%%]" (/ ... ...)) (format "[%d/%d]" c-on (+ c-on c-off)))) (and (looking-at "\\[.*?\\]") (replace-match ""))))) (if (interactive-p) (progn (message "Checkbox statistics updated %s (%d places)" (if all "in entire file" "in current outline entry") cstat))))
(save-excursion (let* ((buffer-invisibility-spec (org-inhibit-invisibility)) (beg (condition-case nil (progn (outline-back-to-heading) (point)) (error (point-min)))) (end (move-marker (make-marker) (progn (or (outline-get-next-sibling) (goto-char ...)) (point)))) (re "\\(\\[[0-9]*%\\]\\)\\|\\(\\[[0-9]*/[0-9]*\\]\\)") (re-box "^[ ]*\\(*+\\|[-+*]\\|[0-9]+[.)]\\) +\\(\\[[- X]\\]\\)") b1 e1 f1 c-on c-off lim (cstat 0)) (if all (progn (goto-char (point-min)) (or (outline-get-next-sibling) (goto-char (point-max))) (setq beg (point) end (point-max)))) (goto-char beg) (while (re-search-forward re end t) (setq cstat (1+ cstat) b1 (match-beginning 0) e1 (match-end 0) f1 (match-beginning 1) lim (cond ((org-on-heading-p) (or (outline-get-next-sibling) (goto-char ...)) (point)) ((org-at-item-p) (org-end-of-item) (point)) (t nil)) c-on 0 c-off 0) (goto-char e1) (if lim (progn (while (re-search-forward re-box lim t) (if (member ... ...) (setq c-off ...) (setq c-on ...))) (goto-char b1) (insert (if f1 (format "[%d%%]" ...) (format "[%d/%d]" c-on ...))) (and (looking-at "\\[.*?\\]") (replace-match ""))))) (if (interactive-p) (progn (message "Checkbox statistics updated %s (%d places)" (if all "in entire file" "in current outline entry") cstat)))))
wicked/org-update-checkbox-count(nil)
ad-Advice-org-update-checkbox-count((closure (t) (&optional all) "Update the checkbox statistics in the current section.\n\nThis will find all statistic cookies like [57%] and [6/12] and\nupdate them with the current numbers.\n\nWith optional prefix argument ALL, do this for the whole buffer." (interactive "P") (save-excursion (save-restriction (widen) (let* ((cookie-re "\\(\\(\\[[0-9]*%\\]\\)\\|\\(\\[[0-9]*/[0-9]*\\]\\)\\)") (box-re "^[ ]*\\([-+*]\\|\\([0-9]+\\|[A-Za-z]\\)[.)]\\)[ ]+\\(?:\\[@\\(?:start:\\)?\\([0-9]+\\|[A-Za-z]\\)\\][ ]*\\)?\\(\\[[- X]\\]\\)") (recursivep (or ... ...)) (within-inlinetask (and ... ... ...)) (end (cond ... ... ...)) (count-boxes (function ...)) cookies-list cache) (cond (all (goto-char ...)) (within-inlinetask (org-back-to-heading t)) (t (progn ... ... ... ... ...))) (while (re-search-forward cookie-re end t) (let (...) (if ... ...))) (let ((--dolist-tail-- cookies-list)) (while --dolist-tail-- (let ... ... ...))))))))
apply(ad-Advice-org-update-checkbox-count (closure (t) (&optional all) "Update the checkbox statistics in the current section.\n\nThis will find all statistic cookies like [57%] and [6/12] and\nupdate them with the current numbers.\n\nWith optional prefix argument ALL, do this for the whole buffer." (interactive "P") (save-excursion (save-restriction (widen) (let* ((cookie-re "\\(\\(\\[[0-9]*%\\]\\)\\|\\(\\[[0-9]*/[0-9]*\\]\\)\\)") (box-re "^[ ]*\\([-+*]\\|\\([0-9]+\\|[A-Za-z]\\)[.)]\\)[ ]+\\(?:\\[@\\(?:start:\\)?\\([0-9]+\\|[A-Za-z]\\)\\][ ]*\\)?\\(\\[[- X]\\]\\)") (recursivep (or ... ...)) (within-inlinetask (and ... ... ...)) (end (cond ... ... ...)) (count-boxes (function ...)) cookies-list cache) (cond (all (goto-char ...)) (within-inlinetask (org-back-to-heading t)) (t (progn ... ... ... ... ...))) (while (re-search-forward cookie-re end t) (let (...) (if ... ...))) (let ((--dolist-tail-- cookies-list)) (while --dolist-tail-- (let ... ... ...))))))) nil)
org-update-checkbox-count()
org-capture-finalize(nil)
funcall-interactively(org-capture-finalize nil)
call-interactively(org-capture-finalize nil nil)
command-execute(org-capture-finalize)
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Org-capture fails in Org 9.05
2017-02-16 4:57 Org-capture fails in Org 9.05 Jay Iyer
@ 2017-02-16 7:23 ` Nicolas Goaziou
2017-02-16 18:03 ` Jay Iyer
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Goaziou @ 2017-02-16 7:23 UTC (permalink / raw)
To: Jay Iyer; +Cc: emacs-orgmode
Hello,
Jay Iyer <jayiyer09@gmail.com> writes:
> new Mac and encountered an error that prevents org-capture to complete the
> refiling step. I have attached a backtrace here for your review.
> Please let me know if this is an installation error of some kind and how I
> can fix it.
>
> ps: highly satisfied Org-moder for 4+ years now, haven't touched any other
> organizer all that time!
> Debugger entered--Lisp error: (void-function org-inhibit-invisibility)
This function doesn't exist in the Org code base.
> (org-inhibit-invisibility)
[...]
> wicked/org-update-checkbox-count(nil)
You might want to look into this extension.
Regards,
--
Nicolas Goaziou
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Org-capture fails in Org 9.05
2017-02-16 7:23 ` Nicolas Goaziou
@ 2017-02-16 18:03 ` Jay Iyer
0 siblings, 0 replies; 3+ messages in thread
From: Jay Iyer @ 2017-02-16 18:03 UTC (permalink / raw)
To: Nicolas Goaziou; +Cc: emacs-orgmode
[-- Attachment #1: Type: text/plain, Size: 888 bytes --]
Thank you for pointing out the error source. Capture is functional now.
-jay
On Wed, Feb 15, 2017 at 11:23 PM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:
> Hello,
>
> Jay Iyer <jayiyer09@gmail.com> writes:
>
>
> > new Mac and encountered an error that prevents org-capture to complete
> the
> > refiling step. I have attached a backtrace here for your review.
> > Please let me know if this is an installation error of some kind and how
> I
> > can fix it.
> >
> > ps: highly satisfied Org-moder for 4+ years now, haven't touched any
> other
> > organizer all that time!
> > Debugger entered--Lisp error: (void-function org-inhibit-invisibility)
>
> This function doesn't exist in the Org code base.
>
> > (org-inhibit-invisibility)
>
> [...]
>
> > wicked/org-update-checkbox-count(nil)
>
> You might want to look into this extension.
>
> Regards,
>
> --
> Nicolas Goaziou
>
[-- Attachment #2: Type: text/html, Size: 1567 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-02-16 18:03 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-16 4:57 Org-capture fails in Org 9.05 Jay Iyer
2017-02-16 7:23 ` Nicolas Goaziou
2017-02-16 18:03 ` Jay Iyer
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.