nvim-orgmode / nvim-orgmode/orgmode

org-refile-targets

Open
#1,157 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Lua
Stars
3.9k
Forks
190
Avg merge
2d 13h
Merged PRs (30d)
7

Description

Does this feature exist in Emacs orgmode core?

Yes

Is code AI assisted/generated?

No

Orgmode link

https://orgmode.org/manual/Refile-and-Copy.html#index-org_002drefile_002dtargets

Feature value

Currently only org-agenda-files can be targets for the refiling action and it would be nice if you could refile to other files than agenda files.

Additional context

If you have a personal wiki with lots of notes, but only some subdir containing actual project files with TODO states in it, it is a pita to open the agenda, because all files in org-agenda-files need to be scanned.
If I could limit org-agenda-files to the files actually containing agenda relevant stuff and use org-refile-targets for all files, i could easily refile to every file/note, but my agenda wouldn't need to scan all files.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading the refile implementation and its handling of org-agenda-files, then compare it with the Orgmode documentation for org-refile-targets at the linked manual page. Trace how refile targets are discovered and determine how non-agenda files should be supplied. Done means users can configure additional target files without requiring them to be scanned as agenda files.

Written by the indexing model from the issue text.

Assessment

Tech stack
lua
Domain
tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.