~ernierasta

Recent activity

[PATCH aerc v5 6/6] template: man cosmetic changes 18 days ago

From Leszek Cimała to ~sircmpwn/aerc

---
 doc/aerc-templates.7.scd | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/doc/aerc-templates.7.scd b/doc/aerc-templates.7.scd
index adcc85c..a681fb2 100644
--- a/doc/aerc-templates.7.scd
+++ b/doc/aerc-templates.7.scd
@@ -32,7 +32,7 @@ available always.
	{{(index .From 0).Name}}
	```

	Get the email address of the first sender
	Get the email address of the first sender.
[message trimmed]

[PATCH aerc v5 4/6] template: remove last \n to fix additional new lines after quote 18 days ago

From Leszek Cimała to ~sircmpwn/aerc

---
 lib/templates/template.go | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/templates/template.go b/lib/templates/template.go
index 6eae5a2..5402472 100644
--- a/lib/templates/template.go
+++ b/lib/templates/template.go
@@ -97,6 +97,7 @@ func wrapLine(text string, lineWidth int) string {

func wrapText(text string, lineWidth int) string {
	text = strings.ReplaceAll(text, "\r\n", "\n")
	text = strings.TrimRight(text, "\n")
	lines := strings.Split(text, "\n")
[message trimmed]

[PATCH aerc v5 3/6] add .OriginalMIMEType variable to reply template 18 days ago

From Leszek Cimała to ~sircmpwn/aerc

---
 commands/msg/reply.go     |  6 ++++++
 doc/aerc-templates.7.scd  |  6 ++++++
 lib/templates/template.go | 33 ++++++++++++++++++---------------
 models/models.go          |  7 ++++---
 4 files changed, 34 insertions(+), 18 deletions(-)

diff --git a/commands/msg/reply.go b/commands/msg/reply.go
index 2964a83..6b5a698 100644
--- a/commands/msg/reply.go
+++ b/commands/msg/reply.go
@@ -157,6 +157,12 @@ func (reply) Execute(aerc *widgets.Aerc, args []string) error {
			buf := new(bytes.Buffer)
			buf.ReadFrom(reader)
[message trimmed]

[PATCH aerc v5 5/6] template: add exec and wrap 18 days ago

From Leszek Cimała to ~sircmpwn/aerc

---
 doc/aerc-templates.7.scd  | 21 +++++++++++++++++----
 lib/templates/template.go | 23 +++++++++++++++++++++++
 2 files changed, 40 insertions(+), 4 deletions(-)

diff --git a/doc/aerc-templates.7.scd b/doc/aerc-templates.7.scd
index 9382f2e..adcc85c 100644
--- a/doc/aerc-templates.7.scd
+++ b/doc/aerc-templates.7.scd
@@ -72,20 +72,33 @@ available always.

	Example:

	_wrapText_ function can be used to wrap the original text to a number
[message trimmed]

[PATCH aerc v5 1/6] create OriginalMail struct 18 days ago

From Leszek Cimała to ~sircmpwn/aerc

---
 commands/account/compose.go |  3 ++-
 commands/msg/forward.go     | 10 ++++++----
 commands/msg/reply.go       |  9 +++++----
 commands/msg/unsubscribe.go |  2 ++
 lib/templates/template.go   | 28 ++++++++++++++++------------
 models/models.go            |  7 +++++++
 widgets/aerc.go             |  3 ++-
 widgets/compose.go          |  5 +++--
 8 files changed, 43 insertions(+), 24 deletions(-)

diff --git a/commands/account/compose.go b/commands/account/compose.go
index 24e460b..a8ed679 100644
--- a/commands/account/compose.go
[message trimmed]

[PATCH aerc v5 2/6] remove Original* check 18 days ago

From Leszek Cimała to ~sircmpwn/aerc

---
 widgets/compose.go | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/widgets/compose.go b/widgets/compose.go
index 636dcd1..9419579 100644
--- a/widgets/compose.go
+++ b/widgets/compose.go
@@ -488,8 +488,7 @@ func (c *Composer) PrepareHeader() (*mail.Header, []string, error) {
	// Merge in additional headers
	txthdr := mhdr.Header
	for key, value := range c.defaults {
		// skip all Original* defaults, they contain info about original message
		if !txthdr.Has(key) && value != "" && !strings.HasPrefix(key, "Original") {
[message trimmed]

[PATCH v5] fix wrapText and quote, add exec, .OriginalMIMEType var for templates 18 days ago

From Leszek Cimała to ~sircmpwn/aerc

Next version ready. Rebased to actual master and Drew's comments taken
into account.

Summary:
[PATCH aerc v5 1/6] create OriginalMail struct
[PATCH aerc v5 2/6] remove Original* check
[PATCH aerc v5 3/6] add .OriginalMIMEType variable to reply template
[PATCH aerc v5 4/6] template: remove last \n to fix additional new
[PATCH aerc v5 5/6] template: add exec and wrap
[PATCH aerc v5 6/6] template: man cosmetic changes

[PATCH v5] fix wrapText and quote, add exec, .OriginalMIMEType var for templates 18 days ago

From Leszek Cimała to ~sircmpwn/aerc

Next version ready. Rebased to actual master and Drew's comments taken
into account.

Summary:
[PATCH aerc v5 1/6] create OriginalMail struct
[PATCH aerc v5 2/6] remove Original* check
[PATCH aerc v5 3/6] add .OriginalMIMEType variable to reply template
[PATCH aerc v5 4/6] template: remove last \n to fix additional new
[PATCH aerc v5 5/6] template: add exec and wrap
[PATCH aerc v5 6/6] template: man cosmetic changes

Re: [PATCH v2 1/2] Teach the reply command about mailing lists 18 days ago

From Leszek Cimała to ~sircmpwn/aerc

>You seem to have engineered it that way, you have two separate email
>addresses in the To/Cc's.

You are right, I was using email not registered in mailing list,
apologies for noise.

Leszek

Re: [PATCH v2 1/2] Teach the reply command about mailing lists 18 days ago

From Leszek Cimała to ~sircmpwn/aerc

> You should email the list maintainers petitioning them to change the
> posting rules.

Ok, so let's start at home. I received you answer twice, may I ask for
mailing list setting change?

Thanx ;-)

Leszek