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

Add a hook to execution of marks #780

Closed
wants to merge 2 commits into from
Closed

Conversation

magthe
Copy link
Contributor

@magthe magthe commented Jan 30, 2016

I find it useful to be able to run a hook function on executing marks.

The latter patch is the actual code change, the former is just a change of indentation.

Signed-off-by: Magnus Therning <magnus@therning.org>
@djcb
Copy link
Owner

djcb commented Feb 1, 2016

Hmmm... what's the use-case for this?

@magthe
Copy link
Contributor Author

magthe commented Feb 1, 2016

For me, to run mu4e-action-retag-message on 'trash and 'refile to make Gmail behave.

@djcb
Copy link
Owner

djcb commented Feb 1, 2016

Thanks - that makes sense. Can you include some update to the 'Marking' section of the manual?

@magthe
Copy link
Contributor Author

magthe commented Feb 1, 2016

Sure, I'll see what I can come up with :)

Signed-off-by: Magnus Therning <magnus@therning.org>
@magthe
Copy link
Contributor Author

magthe commented Feb 2, 2016

Is that enough for documentation, or should I add something more?

@djcb
Copy link
Owner

djcb commented Feb 2, 2016

No -- looks good! I have merged it, with a few minor changes - most important one, the hook is called mu4e-mark-execute-pre-hook now. Anyway, thanks!

@djcb djcb closed this Feb 2, 2016
@magthe
Copy link
Contributor Author

magthe commented Feb 2, 2016

Excellent! 👍

@magthe magthe deleted the add-mark-hook branch February 2, 2016 21:38
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.

2 participants