[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Bug: Capture Template With Link Returns Error [9.2 (9.2-elpaplus
From: |
david wen riccardi-zhu |
Subject: |
Re: [O] Bug: Capture Template With Link Returns Error [9.2 (9.2-elpaplus @ /home/dwrz/.emacs.d/elpa/org-plus-contrib-20181230/)] |
Date: |
Sat, 19 Jan 2019 03:56:29 +0000 |
Thank you! I wasn't really sure what kind of function to pass to
add-variable-watcher, but using debug-on-variable-change, I got
the following output:
Debugger entered--setting org-stored-links to nil:
debug--implement-debug-watch(org-stored-links nil set nil)
org-insert-link(0 "test")
#f(compiled-function (s) #<bytecode 0x1961845>)("test")
org-capture-fill-template()
org-capture(0)
org-capture-at-point()
funcall-interactively(org-capture-at-point)
call-interactively(org-capture-at-point nil nil)
command-execute(org-capture-at-point)
I'm not sure what might be causing the last change to nil. Is
there
anything I can do to try to shed some light on this?
This is the template I am trying to use:
* %^L :PROPERTIES: :NOTES: %^{NOTES} :END: :LOGBOOK:
- Added %U.
:END:
Many thanks,
David
Allen Li <address@hidden> writes:
On Sat, Jan 12, 2019 at 12:43 AM david wen riccardi-zhu
<address@hidden> wrote:
Hello and thank you. This behavior did appear to be fixed, but
it's surfaced once again today.
What's the value of org-stored-links when the issue happens?
This sounds similar to another (fixed) bug where (nil "") gets
added to org-stored-links. If this is the case, you could try
using add-variable-watcher to see what's adding that to
org-stored-links.
Nicolas Goaziou <address@hidden> writes:
> Hello,
>
> David Wen Riccardi-Zhu <address@hidden> writes:
>
>> I use the following capture template to store bookmarks:
>>
>> * %^L :PROPERTIES: :NOTES: %^{NOTES} :END: :LOGBOOK: - Added
>> %U. :END:
>>
>> It was working fine until I updated my packages today. If I
>> try to use the template now, the following is displayed in
>> the minibuffer:
>>
>> org-capture: Capture abort: Wrong type argument: stringp,
>> nil
>
> Fixed. Thank you.
>
> Regards,
>
> -- Nicolas Goaziou
-- dwrz|朱为文
--
dwrz|朱为文