Recent activity

[PATCH] Add UI Config Specialization 14 hours ago

From Srivathsan Murali to ~sircmpwn/aerc

UI Config specialization for accounts and folders.
+ Adds parsing of specialized ui sections to aerc config.
+ Add GetUiConfig method for AercConfig that is used to get the
  specialized UI config.
+ Add UiConfig method to AccountView to get specialized UI Config.
+ Modifies Aerc codebase to use specialized UIConfig instead.
+ Add documentation for UI Config Specialization.
---
After following the conversation for adding a UIConfig option to have
index-format for sent folder specifically.

We left off deciding to work on UI Config specializations for folders.
I also realized, it would be useful to have specialization for accounts.
[message trimmed]

[PATCH] Install aerc-templates a day ago

From Srivathsan Murali to ~sircmpwn/aerc

---
Makefile | 1 +
 1 file changed, 1 insertion(+)

diff --git a/Makefile b/Makefile
index 0592c56c8cca..c05e5705d2fa 100644
--- a/Makefile
+++ b/Makefile
@@ -70,6 +70,7 @@ install: all
 	install -m644 aerc-notmuch.5 $(MANDIR)/man5/aerc-notmuch.5
 	install -m644 aerc-smtp.5 $(MANDIR)/man5/aerc-smtp.5
 	install -m644 aerc-tutorial.7 $(MANDIR)/man7/aerc-tutorial.7
+	install -m644 aerc-templates.7 $(MANDIR)/man7/aerc-templates.7
 	install -m644 config/accounts.conf $(SHAREDIR)/accounts.conf
[message trimmed]

[PATCH] Parse Reply-To header while parsing envelope 5 days ago

From Srivathsan Murali to ~sircmpwn/aerc

---
While trying to reply to a
[comment](https://todo.sr.ht/~sircmpwn/aerc2/19#comment-4760) by email,
I noticed that the To field is filled as "~benburwell <outgoing@sr.ht>"
instead of the Reply-To address in the mail headers, which was
 "~sircmpwn/aerc2#19 <~sircmpwn/aerc2/19@todo.sr.ht>".

Digging deeper, found out that reply-to header is not
parsed in the parseEnvelope function in /worker/lib/parse.go

 worker/lib/parse.go | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/worker/lib/parse.go b/worker/lib/parse.go
[message trimmed]

[PATCH v2] [IndexFormat] Complete the F rune. 8 days ago

From Srivathsan Murali to ~sircmpwn/aerc

%F now shows the auth name or recepient name/address if the
message is from you.
---
Forgot to update docs.

 config/triggers.go    |  4 +++-
 doc/aerc-config.5.scd |  5 +++--
 lib/format/format.go  | 23 ++++++++++++++++++++---
 widgets/msglist.go    |  1 +
 4 files changed, 27 insertions(+), 6 deletions(-)

diff --git a/config/triggers.go b/config/triggers.go
index d31f267ba7bd..f68cb58504b3 100644
--- a/config/triggers.go
[message trimmed]

[PATCH] [IndexFormat] Complete the F rune. 8 days ago

From Srivathsan Murali to ~sircmpwn/aerc

%F now shows the auth name or recepient name/address if the
message is from you.
---
This is a possible solution to #292

 config/triggers.go   |  4 +++-
 lib/format/format.go | 23 ++++++++++++++++++++---
 widgets/msglist.go   |  1 +
 3 files changed, 24 insertions(+), 4 deletions(-)

diff --git a/config/triggers.go b/config/triggers.go
index d31f267ba7bd..f68cb58504b3 100644
--- a/config/triggers.go
+++ b/config/triggers.go
[message trimmed]

Re: [PATCH v4] Add Templates with Parsing 10 days ago

From Srivathsan Murali to ~sircmpwn/aerc

I am glad I could help.

--
Cheers,
Srivathsan Murali (sri)

Re: [PATCH v4] Add Templates with Parsing 17 days ago

From Srivathsan Murali to ~sircmpwn/aerc

> Are you sure you want the envelope from here?
> Because for example the patch I'm replying to would have
> <extsmtp@sr.ht> here, not <sri@vathsan.com>.
> I'm not quite sure that this is the desired behaviour.
Would using the reply-to addresses in envelope instead of from be more
appropriate. 

I am still new to the codebase/email protocols, so glad to make changes
on how this should work better.

> Can we make the format a setting in the UI section?
> That date format is perfectly fine for the US, but doesn't correspond
> to other locales.
> We don't do AM/PM where I'm from for example, but use a 24h notation.

[PATCH v4] Add Templates with Parsing 17 days ago

From Srivathsan Murali to ~sircmpwn/aerc

+ Changes NewComposer to return error.
+ Add lib to handle templates using "text/template".
+ Add -T option to following commands
    - compose.
    - reply
    - forward
+ Quoted replies using templates.
+ Forwards as body using templates
+ Default templates are installed similar to filters.
+ Templates Config in aerc.conf.
    - Required templates are parsed while loading config.
+ Add aerc-templates.7 manual for using template data.
---
Made template-dirs a colon-separated list of dirs as
[message trimmed]

Re: [PATCH v3] Add Templates with Parsing 20 days ago

From Srivathsan Murali to ~sircmpwn/aerc

on Thu Oct 31, 2019 at 10:35 AM, Drew DeVault wrote:
> This is looking really good, nice work.
Thanks!

> The only change I'd like to see right now is making the template dir a
> colon-separated list of dirs, rather than just a single dir - so that
> the user can have overrides in their home dir but still use the
> templates that come with the distribution for others.
Not a problem. Will implement that soon.

PS: Using the templates for this reply ;)
--
Cheers,
Srivathsan Murali (sri)

[PATCH v3] Add Templates with Parsing 26 days ago

From Srivathsan Murali to ~sircmpwn/aerc

+ Changes NewComposer to return error.
+ Add lib to handle templates using "text/template".
+ Add -T option to following commands
    - compose.
    - reply
    - forward
+ Quoted replies using templates.
+ Forwards as body using templates
+ Added functions to format data avilable to templates.
+ Default templates are installed similar to filters.
+ Templates Config in aerc.conf.
    - Required templates are parsed while loading config.
---
Getting close to completion on this one.
[message trimmed]