From: david wen riccardi-zhu <dwrz@dwrz.net>
To: emacs-orgmode@gnu.org
Subject: Re: 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 [thread overview]
Message-ID: <871s59i9le.fsf@dwrz.net> (raw)
In-Reply-To: <CADbSrJz6M_bHwpJ911Z7FTjc7i6_Ksok=ZUqN=C57TCBAs0p9Q@mail.gmail.com>
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 <darkfeline@felesatra.moe> writes:
> On Sat, Jan 12, 2019 at 12:43 AM david wen riccardi-zhu
> <dwrz@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 <mail@nicolasgoaziou.fr> writes:
>>
>> > Hello,
>> >
>> > David Wen Riccardi-Zhu <dwrz@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|朱为文
prev parent reply other threads:[~2019-01-19 14:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-01-01 3:00 Bug: Capture Template With Link Returns Error [9.2 (9.2-elpaplus @ /home/dwrz/.emacs.d/elpa/org-plus-contrib-20181230/)] David Wen Riccardi-Zhu
2019-01-01 16:25 ` Nicolas Goaziou
2019-01-12 0:30 ` david wen riccardi-zhu
2019-01-12 11:04 ` Nicolas Goaziou
[not found] ` <CADbSrJz6M_bHwpJ911Z7FTjc7i6_Ksok=ZUqN=C57TCBAs0p9Q@mail.gmail.com>
2019-01-19 3:56 ` david wen riccardi-zhu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=871s59i9le.fsf@dwrz.net \
--to=dwrz@dwrz.net \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).