[MlMt] Making git send-email multiedit work as expected

Logan Kirkland logan at logankirk.land
Fri Jul 12 22:50:42 EDT 2024


Hello all,

I’d like to be able to use bbedit to edit cover letters and patch comments when I’m sending multiple patches at once. I have set bbedit as my default git editor as follows:

```
git config core.editor "bbedit --wait --resume"
```

I also have send-email multiedit enabled:

```
git config sendemail.multiedit true
```

This works fine when sending a single patch. However, when sending multiple patches at once, bbedit doesn’t behave as I would expect. The way this works in vim is that all patches to be edited are opened simultaneously as buffers. You can switch through them with `:bn` and then exit when all your edits are made.

The behavior I’d expect from bbedit is that all patches are opened in a single editor window with each file is listed in the sidebar. However, what actually happens is that the patches open one by one—the first patch opens, then after you close it the second patch opens, and so on.

Does anyone know if it’s possible to get multiedit behavior working with git?

Thanks,
Logan

--
Logan Kirkland
logan at logankirk.land
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20240712/d278ca8f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20240712/d278ca8f/attachment.sig>


More information about the mailmate mailing list