emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Change in Org Capture target parsing
@ 2024-02-21 17:52 Derek Chen-Becker
  2024-02-23 12:55 ` Ihor Radchenko
  0 siblings, 1 reply; 2+ messages in thread
From: Derek Chen-Becker @ 2024-02-21 17:52 UTC (permalink / raw)
  To: Emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 1081 bytes --]

Hi,

I started getting an error after updating to the latest commit on main:

Invalid capture target specification: (file+headline org-default-notes-file
"Tasks")

I bisected it down to 0a58a53edac955381266e49bd68d1140fbece33e, but I can't
tell from the commit what's wrong with my definition or how to fix it. I
found this thread in the mailing list, but it doesn't help me shed light on
what I'm doing wrong:

https://lists.gnu.org/archive/html/emacs-orgmode/2024-02/msg00153.html

Is it because I'm using the variable "org-default-notes-file" and not a
string? If that's the case then it's probably easy for me to fix in my
config, but I wanted to check first.

Thanks,

Derek

-- 
+---------------------------------------------------------------+
| Derek Chen-Becker                                             |
| GPG Key available at https://keybase.io/dchenbecker and       |
| https://pgp.mit.edu/pks/lookup?search=derek%40chen-becker.org |
| Fngrprnt: EB8A 6480 F0A3 C8EB C1E7  7F42 AFC5 AFEE 96E4 6ACC  |
+---------------------------------------------------------------+

[-- Attachment #2: Type: text/html, Size: 3500 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Change in Org Capture target parsing
  2024-02-21 17:52 Change in Org Capture target parsing Derek Chen-Becker
@ 2024-02-23 12:55 ` Ihor Radchenko
  0 siblings, 0 replies; 2+ messages in thread
From: Ihor Radchenko @ 2024-02-23 12:55 UTC (permalink / raw)
  To: Derek Chen-Becker; +Cc: Emacs-orgmode

Derek Chen-Becker <derek@chen-becker.org> writes:

> I started getting an error after updating to the latest commit on main:
>
> Invalid capture target specification: (file+headline org-default-notes-file
> "Tasks")
>
> I bisected it down to 0a58a53edac955381266e49bd68d1140fbece33e, but I can't
> tell from the commit what's wrong with my definition or how to fix it. I
> found this thread in the mailing list, but it doesn't help me shed light on
> what I'm doing wrong:
>
> https://lists.gnu.org/archive/html/emacs-orgmode/2024-02/msg00153.html
>
> Is it because I'm using the variable "org-default-notes-file" and not a
> string? If that's the case then it's probably easy for me to fix in my
> config, but I wanted to check first.

Thanks for the heads up!
Your config is right, and the bisected commit is too limiting.
Fixed, on main.
https://git.savannah.gnu.org/cgit/emacs/org-mode.git/commit/?id=24ce9abce

-- 
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-23 12:54 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-21 17:52 Change in Org Capture target parsing Derek Chen-Becker
2024-02-23 12:55 ` Ihor Radchenko

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).