~wgr

Recent activity

[PATCH] widgets: remove duplicate import 9 days ago

From Wagner Riffel to ~sircmpwn/aerc

Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
---
 widgets/aerc.go | 35 +++++++++++++++++------------------
 1 file changed, 17 insertions(+), 18 deletions(-)

diff --git a/widgets/aerc.go b/widgets/aerc.go
index 8671c87..16fe8b7 100644
--- a/widgets/aerc.go
+++ b/widgets/aerc.go
@@ -14,7 +14,6 @@ import (
 	"git.sr.ht/~sircmpwn/aerc/config"
 	"git.sr.ht/~sircmpwn/aerc/lib"
 	"git.sr.ht/~sircmpwn/aerc/lib/ui"
-	libui "git.sr.ht/~sircmpwn/aerc/lib/ui"
[message trimmed]

[PATCH v3 8/8] widgets: gofmt 18 days ago

From Wagner Riffel to ~sircmpwn/aerc

Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
---
 widgets/msglist.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/widgets/msglist.go b/widgets/msglist.go
index 39d57e0..8ed716b 100644
--- a/widgets/msglist.go
+++ b/widgets/msglist.go
@@ -28,7 +28,7 @@ type MessageList struct {
 }
 
 type msgSorter struct {
-	uids []uint32
[message trimmed]

[PATCH v3 7/8] widgets: rewrite references to os.SET_SEEK to io.SeekStart 18 days ago

From Wagner Riffel to ~sircmpwn/aerc

Os.SET_SEEK is deprecated, it's recommended to use contants from io
package

Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
---
 widgets/compose.go | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/widgets/compose.go b/widgets/compose.go
index a49a947..bd4301a 100644
--- a/widgets/compose.go
+++ b/widgets/compose.go
@@ -131,10 +131,10 @@ func buildComposeHeader(layout HeaderLayout, defaults map[string]string) (
 // Note: this does not reload the editor. You must call this before the first
[message trimmed]

[PATCH v3 6/8] widgets: remove redundant key check, delete is no-op if key is empty 18 days ago

From Wagner Riffel to ~sircmpwn/aerc

Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
---
 lib/msgstore.go | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/lib/msgstore.go b/lib/msgstore.go
index 77f0fe5..bbdfa57 100644
--- a/lib/msgstore.go
+++ b/lib/msgstore.go
@@ -105,9 +105,7 @@ func (store *MessageStore) FetchFull(uids []uint32, cb func(io.Reader)) {
 			switch msg.(type) {
 			case *types.Error:
 				for _, uid := range toFetch {
-					if _, ok := store.bodyCallbacks[uid]; ok {
[message trimmed]

[PATCH v3 5/8] commands: move ParseNextPrevMessage error value to its last return value 18 days ago

From Wagner Riffel to ~sircmpwn/aerc

Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
---
 commands/account/next.go | 10 +++++-----
 commands/msgview/next.go |  2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/commands/account/next.go b/commands/account/next.go
index e1d3eeb..5e4838e 100644
--- a/commands/account/next.go
+++ b/commands/account/next.go
@@ -23,8 +23,8 @@ func (NextPrevMsg) Complete(aerc *widgets.Aerc, args []string) []string {
 	return nil
 }
 
[message trimmed]

[PATCH v3 4/8] all: rewrite references to strings.Index to strings.Contains 18 days ago

From Wagner Riffel to ~sircmpwn/aerc

Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
---
 commands/account/compose.go | 2 +-
 worker/lib/parse.go         | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/commands/account/compose.go b/commands/account/compose.go
index e61b593..ad48fe6 100644
--- a/commands/account/compose.go
+++ b/commands/account/compose.go
@@ -53,7 +53,7 @@ func buildBody(args []string) (string, error) {
 	for _, opt := range opts {
 		switch opt.Option {
 		case 'H':
[message trimmed]

[PATCH v3 3/8] all: use fmt.Errorf for fomartting errors 18 days ago

From Wagner Riffel to ~sircmpwn/aerc

Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
---
 commands/account/next-folder.go    | 2 +-
 commands/account/next-result.go    | 2 +-
 commands/account/next.go           | 2 +-
 commands/compose/next-field.go     | 3 +--
 commands/ct.go                     | 2 +-
 commands/msgview/next-part.go      | 3 +--
 commands/msgview/toggle-headers.go | 3 +--
 commands/next-tab.go               | 3 +--
 commands/prompt.go                 | 3 +--
 config/bindings.go                 | 2 +-
 10 files changed, 10 insertions(+), 15 deletions(-)
[message trimmed]

[PATCH v3 2/8] all: purge redundant underscores 18 days ago

From Wagner Riffel to ~sircmpwn/aerc

Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
---
 commands/account/cf.go             | 6 +++---
 commands/account/clear.go          | 6 +++---
 commands/account/compose.go        | 6 +++---
 commands/account/mkdir.go          | 6 +++---
 commands/account/next-folder.go    | 6 +++---
 commands/account/next-result.go    | 6 +++---
 commands/account/next.go           | 6 +++---
 commands/account/search.go         | 6 +++---
 commands/account/select.go         | 6 +++---
 commands/account/view.go           | 6 +++---
 commands/cd.go                     | 6 +++---
 commands/compose/abort.go          | 6 +++---
[message trimmed]

[PATCH v3 1/8] aerc: clean up getCompletions, remove unused variable 18 days ago

From Wagner Riffel to ~sircmpwn/aerc

Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
---
v3:
    leave `completions` slice to its zero value

 aerc.go | 13 +++----------
 1 file changed, 3 insertions(+), 10 deletions(-)

diff --git a/aerc.go b/aerc.go
index c5d93ac..5ba9fab 100644
--- a/aerc.go
+++ b/aerc.go
@@ -74,21 +74,14 @@ func execCommand(aerc *widgets.Aerc, ui *libui.UI, cmd []string) error {
 }
[message trimmed]