Skip to content

Choose todo archive based on todo name#2755

Open
kw217 wants to merge 1 commit intogsantner:masterfrom
kw217:derive-todo-archive-name
Open

Choose todo archive based on todo name#2755
kw217 wants to merge 1 commit intogsantner:masterfrom
kw217:derive-todo-archive-name

Conversation

@kw217
Copy link
Copy Markdown

@kw217 kw217 commented Mar 8, 2026

This makes it easier to use multiple .todo.txt files, by making the archive function pick a name for the archive based on the name of the todo file. If the todo file is foo.todo.txt, the proposed archive will be .foo.todo.archive.txt. For the default todo.txt it is .todo.archive.txt. This is just the default in the dialog - it is still possible to choose any name you like. The name is still remembered for each file.

The suggested default starts with a . to avoid clutter - this hides the archive file. I considered adding a setting to allow you to change this behaviour, but it seemed unnecessary clutter. Let me know if you think that would be useful and I will add it.

Let me know if there are any documents or tests I should update.

Thanks!

@kw217 kw217 force-pushed the derive-todo-archive-name branch from 104f492 to 6a3a910 Compare April 8, 2026 20:46
@kw217
Copy link
Copy Markdown
Author

kw217 commented Apr 8, 2026

Hi @gsantner - is this a reasonable approach? Do you need me to do anything before you review? Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant