Skip to contentSkip to conversation

Add a helper script to send patches with Mozilla Thunderbird

PATCH In review Lukas Sandström 4 participants 7 messages Jun 15, 2016 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add a helper script to send patches with Mozilla Thunderbird

The script appp.sh can be used with the External Editor extension for Mozilla Thunderbird in order to be able to send inline patches in an easy way.

---

Hi,
I sent this out a year ago or so. I figured I'd put the script in contrib/, in case someone finds it useful.
(and yes, this patch is sent using appp.sh)

 Documentation/SubmittingPatches          |    5 +++
 contrib/thunderbird-patch-inline/README  |   20 +++++++++++
 contrib/thunderbird-patch-inline/appp.sh |   55 ++++++++++++++++++++++++++++++
 3 files changed, 80 insertions(+), 0 deletions(-)
 create mode 100644 contrib/thunderbird-patch-inline/README
 create mode 100755 contrib/thunderbird-patch-inline/appp.sh
Documentation/SubmittingPatches +5 -0
index 0e155c9..7c16852 100644
@@ -419,6 +419,11 @@ settings but I haven't tried, yet.
 	mail.identity.default.compose_html	=> false
 	mail.identity.id?.compose_html		=> false
 
+( Lukas Sandström )
+
+There is a script in contrib/thunderbird-patch-inline which can help
+you include patches with Thunderbird in an easy way. To use it, do the
+steps above and then use the script as the external editor.
 
 Gnus
 ----
contrib/thunderbird-patch-inline/README new file +20 -0
new file mode 100644
index 0000000..39f96aa
@@ -0,0 +1,20 @@
+appp.sh is a script that is supposed to be used together with ExternalEditor
+for Mozilla Thundebird. It will let you include patches inline in e-mails
+in an easy way.
+
+Usage:
+- Generate the patch with git format-patch.
+- Start writing a new e-mail in Thunderbird.
+- Press the external editor button (or Ctrl-E) to run appp.sh
+- Select the previosly generated patch file.
+- Finish editing the e-mail.
+
+Any text that is entered into the message editor before appp.sh is called
+will be moved to the section between the --- and the diffstat.
+
+All S-O-B:s and Cc:s in the patch will be added to the CC list.
+
+To set it up, just install External Editor and tell it to use appp.sh as the
+editor.
+
+Zenity is a required dependency.
contrib/thunderbird-patch-inline/appp.sh new file +55 -0

55 lines not on this page · raw message

Signature · 1 line
1.5.3.7
#1 lore raw
Quoted 3 lines · Lukas Sandström

The script appp.sh can be used with the External Editor extension for Mozilla Thunderbird in order to be able to send inline patches in an easy way.

Thanks a lot.

But sadly, it still wraps long lines. Is there a way to inhibit this short of modifying the settings?

-- Hannes

#2 lore raw
Quoted 10 lines · Johannes Sixt
Quoted 3 lines · Lukas Sandström

The script appp.sh can be used with the External Editor extension for Mozilla Thunderbird in order to be able to send inline patches in an easy way.

Thanks a lot.

But sadly, it still wraps long lines. Is there a way to inhibit this short of modifying the settings?

I don't know. I wouldn't expect so. It is a long time since I configured Thunderbird to send patches. I think I more or less followed the instructions in SubmittingPatches when I did.

/Lukas

#3 lore raw

PATCH 1/1 Add a helper script to send patches with Mozilla Thunderbird

In reply to Lukas Sandström

The script appp.sh can be used with the External Editor extension for Mozilla Thunderbird in order to be able to send inline patches in an easy way.

---

Resending. It would be nice if this ended up in contrib/

/Lukas

 Documentation/SubmittingPatches          |    5 +++
 contrib/thunderbird-patch-inline/README  |   20 +++++++++++
 contrib/thunderbird-patch-inline/appp.sh |   55 ++++++++++++++++++++++++++++++
 3 files changed, 80 insertions(+), 0 deletions(-)
 create mode 100644 contrib/thunderbird-patch-inline/README
 create mode 100755 contrib/thunderbird-patch-inline/appp.sh
Documentation/SubmittingPatches +5 -0
index 0e155c9..7c16852 100644
@@ -419,6 +419,11 @@ settings but I haven't tried, yet.
 	mail.identity.default.compose_html	=> false
 	mail.identity.id?.compose_html		=> false
 
+( Lukas Sandström )
+
+There is a script in contrib/thunderbird-patch-inline which can help
+you include patches with Thunderbird in an easy way. To use it, do the
+steps above and then use the script as the external editor.
 
 Gnus
 ----
contrib/thunderbird-patch-inline/README new file +20 -0
new file mode 100644
index 0000000..39f96aa
@@ -0,0 +1,20 @@
+appp.sh is a script that is supposed to be used together with ExternalEditor
+for Mozilla Thundebird. It will let you include patches inline in e-mails
+in an easy way.
+
+Usage:
+- Generate the patch with git format-patch.
+- Start writing a new e-mail in Thunderbird.
+- Press the external editor button (or Ctrl-E) to run appp.sh
+- Select the previosly generated patch file.
+- Finish editing the e-mail.
+
+Any text that is entered into the message editor before appp.sh is called
+will be moved to the section between the --- and the diffstat.
+
+All S-O-B:s and Cc:s in the patch will be added to the CC list.
+
+To set it up, just install External Editor and tell it to use appp.sh as the
+editor.
+
+Zenity is a required dependency.
contrib/thunderbird-patch-inline/appp.sh new file +55 -0

55 lines not on this page · raw message

Signature · 1 line
1.5.3.7
#4 lore raw
Quoted 7 lines · Lukas Sandström

The script appp.sh can be used with the External Editor extension for Mozilla Thunderbird in order to be able to send inline patches in an easy way.

---

Quoted 7 lines

Resending. It would be nice if this ended up in contrib/

/Lukas

 Documentation/SubmittingPatches          |    5 +++
 contrib/thunderbird-patch-inline/README  |   20 +++++++++++
 contrib/thunderbird-patch-inline/appp.sh |   55 +++++++++++++++++++++++++++

A silly question. What does "appp" stand for? AppendPatch does not have that many P's in it.

contrib/thunderbird-patch-inline/appp.sh line 5

Quoted 12 lines
contrib/thunderbird-patch-inline/appp.sh new file +5 -0
new file mode 100755
index 0000000..cc518f3
@@ -0,0 +1,55 @@
+#!/bin/bash
+# Copyright 2008 Lukas Sandström <[email protected]>
+#
+# AppendPatch - A script to be used together with ExternalEditor
+# for Mozilla Thunderbird to properly include pathes inline i e-mails.
...

Eh, pathes?

#5 lore raw

Quoting Junio C Hamano <[email protected]>:

Quoted 11 lines
Quoted 9 lines · Lukas Sandström

The script appp.sh can be used with the External Editor extension for Mozilla Thunderbird in order to be able to send inline patches in an easy way.

---

Resending. It would be nice if this ended up in contrib/

Quoted 8 lines
Quoted 5 lines

/Lukas

 Documentation/SubmittingPatches          |    5 +++
 contrib/thunderbird-patch-inline/README  |   20 +++++++++++
 contrib/thunderbird-patch-inline/appp.sh |   55 +++++++++++++++++++++++++++

A silly question. What does "appp" stand for? AppendPatch does not have that many P's in it.

Silly Junio (^_^). Count them again.

Signature · 2 lines
Nanako Shiraishi
http://ivory.ap.teacup.com/nanako3/
#6 lore raw
Quoted 15 lines · しらいしななこ

Quoting Junio C Hamano <[email protected]>:

Quoted 13 lines
Quoted 11 lines · Lukas Sandström

The script appp.sh can be used with the External Editor extension for Mozilla Thunderbird in order to be able to send inline patches in an easy way.

---

Resending. It would be nice if this ended up in contrib/

/Lukas

Quoted 8 lines
Quoted 6 lines
Quoted 3 lines
 Documentation/SubmittingPatches          |    5 +++
 contrib/thunderbird-patch-inline/README  |   20 +++++++++++
 contrib/thunderbird-patch-inline/appp.sh |   55 +++++++++++++++++++++++++++

A silly question. What does "appp" stand for? AppendPatch does not have that many P's in it.

Silly Junio (^_^). Count them again.

*Blush* Sorry for the noise.