Add vc-retrieve-tag-hook to mood-line--hooks-alist #14
No reviewers
Labels
No Label
Kind/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: jessieh/mood-line#14
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "krydos/mood-line:vc-status-update"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi Jessie,
thanks for the package. I've been using it for quite awhile.
The issue I have is when I switch git branches with
vc-switch-branch
I don't see the change reflected in mood-line until Irevert-buffer
.It confused me a few times when I was inspecting a file and couldn't find my recent changes (because I forgot that I switched branches while mood-line was confirming my bias of me thinking that I am in correct branch)
I've discovered
vc-retrieve-tag-hook
that can be used to refresh mood-line status.Steps to reproduce:
C-c v b s
(orM-x vc-switch-branch
) and pick another branchLet me know what do you think and if there is a better way to "subscribe" to git branch changes.
Thanks!
P.S.
it seems like it isn't an issue in the default emacs' mode-line.
EDIT:
forgot to mention my
M-x version
isGNU Emacs 30.0.92 (build 1, aarch64-apple-darwin23.6.0, NS appkit-2487.70 Version 14.6 (Build 23G80)) of 2024-11-07
.Checkout
From your project repository, check out a new branch and test the changes.