Re: Neomutt/mutt copy message-id with b4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]

  Powered by Linux