Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting Magit todos insert at fails if such a section is missing #139

Closed
sluedecke opened this issue Sep 27, 2022 · 2 comments
Closed

Setting Magit todos insert at fails if such a section is missing #139

sluedecke opened this issue Sep 27, 2022 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@sluedecke
Copy link

sluedecke commented Sep 27, 2022

Emacs rings its bell and tells me (in Messages): magit-section-forward: No next section if I set magit-todos-insert-at to anything but top or bottom and the section is not filled (i.e. no untracked files in repository):

Section set to TOP:

image

Section set to "After untracked files":

image

@alphapapa
Copy link
Owner

Hm, maybe something changed in magit-section, or maybe this bug was never noticed before. We'll probably need to add a fallback in case the section doesn't exist. Thanks for reporting.

@alphapapa alphapapa self-assigned this Sep 29, 2022
@alphapapa alphapapa added the bug Something isn't working label Sep 29, 2022
@alphapapa alphapapa added this to the 1.6 milestone Sep 29, 2022
@alphapapa
Copy link
Owner

@sluedecke Thanks for reporting this. Please let me know if it's now fixed for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants