Recent activity

Go's Concurrency Model a month ago

From Greg Anders to ~sircmpwn/public-inbox

Hi Drew,

In your post on Go 1.11 back in 2018 [1], you speak highly of Go's 
concurrency model, but in your most recent post [2] you state that Go's 
concurrency/parallelism model is one that you "strongly dislike". I'm 
curious to hear your thoughts on what changed your opinion here.

In fact, since I know you are a big fan of C and also _not_ a fan of 
threads, I would love to hear your thoughts on concurrency in general 
(e.g. what makes up a good model, real world examples of concurrency you 
like, how to achieve concurrency in C, etc.)

Regards,

[PATCH] Add UI options to save/pipe messages with unsupported mimetypes 3 months ago

From Greg Anders to ~sircmpwn/aerc

Adds a message indicating the user's ability to :save or :pipe a message
with an unsupported mimetype and also adds a selector widget (similar to
the tutorial).

The selector widget was previously defined in the account wizard module,
so this commit breaks it out into its own module to allow for re-use.

Further, modify the BeginExLine() function to take an argument that
pre-populates the command line, allowing functions to initiate an ex
command without executing it.

Closes #95.
---
 lib/ui/textinput.go       |   3 +-
[message trimmed]

[PATCH] Check for terminal before forwarding mouse event 3 months ago

From Greg Anders to ~sircmpwn/aerc

When viewing a message part with no available filter, clicking the UI
would cause a nil pointer dereference because the MouseEvent was passed
to the PartViewer's `term` field, which does not exist in the case of an
absent filter.
---
 widgets/msgviewer.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go
index 7cd5553..4d41923 100644
--- a/widgets/msgviewer.go
+++ b/widgets/msgviewer.go
@@ -336,7 +336,7 @@ func (ps *PartSwitcher) MouseEvent(localX int, localY int, event tcell.Event) {
		case tcell.Button1:
[message trimmed]

Re: [PATCH] Allow fields in compose widget to be clicked 3 months ago

From Greg Anders to ~sircmpwn/aerc

I forgot to mention that this is meant to address ticket #299.

On Tue, 05 Nov 2019 at 08:43 PM, Greg Anders wrote:
>When the mouse is enabled, clicking on a header field switches focus to
>that field (likewise for the terminal).
>---
> widgets/compose.go | 34 ++++++++++++++++++++++++++++++++--
> 1 file changed, 32 insertions(+), 2 deletions(-)
>
>diff --git a/widgets/compose.go b/widgets/compose.go
>index 22c58da..b9f0932 100644
>--- a/widgets/compose.go
>+++ b/widgets/compose.go
>@@ -289,6 +289,16 @@ func (c *Composer) Event(event tcell.Event) bool {

[PATCH] Allow fields in compose widget to be clicked 3 months ago

From Greg Anders to ~sircmpwn/aerc

When the mouse is enabled, clicking on a header field switches focus to
that field (likewise for the terminal).
---
 widgets/compose.go | 34 ++++++++++++++++++++++++++++++++--
 1 file changed, 32 insertions(+), 2 deletions(-)

diff --git a/widgets/compose.go b/widgets/compose.go
index 22c58da..b9f0932 100644
--- a/widgets/compose.go
+++ b/widgets/compose.go
@@ -289,6 +289,16 @@ func (c *Composer) Event(event tcell.Event) bool {
	return false
}

[message trimmed]

[PATCH v2] Demonstrate that I can use git send-email 3 months ago

From Greg Anders to ~sircmpwn/email-test-drive

---
This fixes the issue from the first patch.

 gpanders | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 gpanders

diff --git a/gpanders b/gpanders
new file mode 100644
index 0000000..66cb3d4
--- /dev/null
+++ b/gpanders
@@ -0,0 +1 @@
I have successfully used git send-email!
[message trimmed]

[PATCH] Demonstrate that I can use git send-email 3 months ago

From Greg Anders to ~sircmpwn/email-test-drive

---
 gpanders | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 gpanders

diff --git a/gpanders b/gpanders
new file mode 100644
index 0000000..b4380e4
--- /dev/null
+++ b/gpanders
@@ -0,0 +1 @@
I'm about to try git send-email!
-- 
2.23.0
[message trimmed]