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 <darkfel...@felesatra.moe> writes:
On Sat, Jan 12, 2019 at 12:43 AM david wen riccardi-zhu
<d...@dwrz.net> 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 <m...@nicolasgoaziou.fr> writes:
> Hello,
>
> David Wen Riccardi-Zhu <d...@dwrz.net> 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|朱为文