Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

org-refile-targets

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

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.

Description

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

Dominant language
Lua
Stars
3.9k
Forks
192
Avg merge
1d 10h
Merged PRs (30d)
11

Getting set up

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.

More from nvim-orgmode/orgmode

All issues in nvim-orgmode/orgmode

Similar issues

More Lua issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.