From: Greg KH <greg@kroah.com>
To: "Maciej Wieczór-Retman" <maciej.wieczor-retman@intel.com>
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: Neomutt/mutt copy message-id with b4
Date: Mon, 31 Jul 2023 09:59:20 +0200 [thread overview]
Message-ID: <2023073155-used-juice-f8c0@gregkh> (raw)
In-Reply-To: <ji2i3q7xan7zwmpafrlkzy2gv3p7d6p5sgzvuckq6irskhdvge@3efzu66vfey6>
On Mon, Jul 31, 2023 at 09:44:48AM +0200, Maciej Wieczór-Retman wrote:
> Hi!
> I was thinking on how to make using Neomutt
> easier with b4 to apply patches for testing.
>
> In thunderbird there is an extension
> that creates a button, that copies the message id.
> This way I was able to paste that message-id into
> b4, and apply a whole patch series to my kernel
> source quickly.
>
> In neomutt I have the message-id in the header
> field and I can copy it with the mouse but
> I was curious if anyone found a nice
> macro with a keybind to just copy the
> message-id directly to clipboard?
>
> Googling didn't give me any results, and neither
> did looking through mail archives.
For mutt I use:
macro index B |'b4 am -t -o - | git am -s'\n
which binds the key "B" to take the current message and pass it through
to b4 to apply the whole patch series to the tree in the local
directory.
hope this helps,
greg k-h
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
next prev parent reply other threads:[~2023-07-31 7:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-07-31 7:44 Neomutt/mutt copy message-id with b4 Maciej Wieczór-Retman
2023-07-31 7:59 ` Greg KH [this message]
2023-07-31 8:52 ` Maciej Wieczór-Retman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2023073155-used-juice-f8c0@gregkh \
--to=greg@kroah.com \
--cc=kernelnewbies@kernelnewbies.org \
--cc=maciej.wieczor-retman@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox