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

Mime part pipeto support. #1481

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ryneeverett
Copy link
Contributor

This branch is based on #1480 and adds additional pipeto support for mime parts.

@ryneeverett ryneeverett changed the title Mimetree3 pipeto Mime part pipeto support. Mar 23, 2020
@pazz
Copy link
Owner

pazz commented May 6, 2020

please rebase.

The most notable use case is piping html to a browser without extra
scripts such as those shared in pazz#789.
While `pipeto --format mimepart` pipes whichever part is currently
selected, the 'html' and 'plain' formats override the selected mime part
(and preferences in settings).

This is useful because the mime type you want displayed in alot isn't
necessarily the one you want piped and also for setting keybindings to
pipe specific mime types to specific applications (plain -> text editor,
html -> web browser).
When the mimetree is toggled on and a mime part is focused, pipeto
should pipe the focused mime part rather than the currently selected
part. This is only applicable to --format's that pipe a single part,
which are decoded and mimepart.
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