~rjarry

Paris, France

~rjarry/aerc-devel

Last active a day ago

~rjarry/aerc-discuss

Last active 11 days ago

~rjarry/dlrepo

Last active 2 months ago

~rjarry/public-inbox

Last active 2 months ago

~rjarry/aerc-announce

Last active 4 months ago
View more

Recent activity

Re: [PATCH aerc] vaxis: update to 0.9.0 2 days ago

From Robin Jarry to ~rjarry/aerc-devel

Tim Culverhouse, Jun 17, 2024 at 17:06:
> On Mon Jun 17, 2024 at 9:26 AM CDT, Vitaly Ovchinnikov wrote:
> > Great, nice to see the goroutine leak fix finally comes to aerc. Any
> > progress with the messed paste issue?
>
> Hey Vitaly -
>
> I can't remember what the paste issue was - was there a thread we discussed it
> in?

Shall I wait for vaxis 0.9.3 in a v4? :)

Re: [PATCH aerc] selector: fix body text truncation 3 days ago

From Robin Jarry to ~rjarry/aerc-devel

Johannes Thyssen Tishman, Jun 05, 2024 at 18:25:
> 2024-06-05T06:41:48Z "Robin Jarry" <robin@jarry.cc>:
> > When the selector dialog body text contains multiple lines, its height
> > is adjusted automatically. Since commit 3d529aa09330 ("config: make
> > popover dialogs configurable"), all text after the first line is
> > truncated.
> >
> > This happens because SelectorDialog no longer satisfies the Dialog
> > interface which got an extra ContextWidth() method.
> >
> > Implement that method using the full width. The [ui].dialog-* settings
> > are ignored as they were before for that dialog.
> >
> > Fixes: 3d529aa09330 ("config: make popover dialogs configurable")

Re: [PATCH aerc] wrap: fix wide CJK characters support 3 days ago

From Robin Jarry to ~rjarry/aerc-devel

Runxi Yu, Jun 16, 2024 at 14:00:
> I've tested it and it seems to work for me.

Applied. Thanks!

[PATCH aerc] wrap: fix wide CJK characters support 4 days ago

From Robin Jarry to ~rjarry/aerc-devel

Neither Chinese, Japanese nor Korean have "words separators". It is OK
to hard wrap before any symbol (except maybe CJK punctuation which
should probably stay attached to its previous symbol and not at the
start of a line.

I did not include Japanese Hiragana and Katakana symbols as word breaks
on purpose since these are phonetic alphabets. It didn't make sense to
wrap a line in the middle of a phonetic "word".

Update the code to allow considering either a space or a CJK known
symbol as a split point for hard wrapping.

Add test case with Chinese, Japanese and Korean generated lorem lipsum
style text.
[message trimmed]

Re: [PATCH aerc 1/2] threadbuilder: show siblings even when no parent found 9 days ago

From Robin Jarry to ~rjarry/aerc-devel

Matěj Cepl, Jun 10, 2024 at 21:59:
> On Mon Jun 10, 2024 at 9:12 PM CEST, Robin Jarry wrote:
> > Show all threading associations even when not all nodes are present.
> > Indicate if a thread is incomplete, i.e. misses a direct parent node.
> >
> > Use the `msglist_thread_orphan.fg=red` styleobject in your stylesheet to
> > indicate whether a messsage has a missing parent.
>
> Hmm, not yet: this is what I get [1] with this folder [2].

Weird, did you apply both patches of the series?

This is what I get: https://f.jarry.cc/p/cpython-threading.png

[PATCH aerc] binds: allow per folder sections for the message viewer 9 days ago

From Robin Jarry to ~rjarry/aerc-devel

Allow creating [view:folder=FooBar] in binds.conf.

Changelog-added: Per folder key bindings can now be defined for the
 message viewer.
Requested-by: Matěj Cepl <mcepl@cepl.eu>
Signed-off-by: Robin Jarry <robin@jarry.cc>
---
 app/aerc.go          | 6 ++++--
 doc/aerc-binds.5.scd | 1 +
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/app/aerc.go b/app/aerc.go
index 3f2c9b325520..b6bc2430ad72 100644
--- a/app/aerc.go
[message trimmed]

[PATCH aerc 2/2] threadbuilder: fallback to threading by subject 9 days ago

From Robin Jarry to ~rjarry/aerc-devel

If no match were found in the References and In-Reply-To headers,
attempt threading by looking at subjects.

Signed-off-by: Robin Jarry <robin@jarry.cc>
---
 lib/threadbuilder.go | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/lib/threadbuilder.go b/lib/threadbuilder.go
index b7dae4310b5b..32a608078b19 100644
--- a/lib/threadbuilder.go
+++ b/lib/threadbuilder.go
@@ -9,6 +9,7 @@ import (
	"git.sr.ht/~rjarry/aerc/lib/log"
[message trimmed]

[PATCH aerc 1/2] threadbuilder: show siblings even when no parent found 9 days ago

From Robin Jarry to ~rjarry/aerc-devel

From: Koni Marti <koni.marti@gmail.com>

Show all threading associations even when not all nodes are present.
Indicate if a thread is incomplete, i.e. misses a direct parent node.

Use the `msglist_thread_orphan.fg=red` styleobject in your stylesheet to
indicate whether a messsage has a missing parent.

Signed-off-by: Koni Marti <koni.marti@gmail.com>
---
 app/msglist.go           | 20 ++++++++++++--------
 config/style.go          |  2 ++
 config/templates.go      |  1 +
 doc/aerc-stylesets.7.scd |  3 +++
[message trimmed]

[PATCH aerc] jmap: do not keep invalid sessions in cache 14 days ago

From Robin Jarry to ~rjarry/aerc-devel

If a session is found in the cache, check that it works by issuing
a GetIdentities request. If that request fails, invalidate the cache and
go through the authentication.

Ensure that the session is valid and explicitly fail if it is not.

Signed-off-by: Robin Jarry <robin@jarry.cc>
---
 worker/jmap/connect.go | 58 +++++++++++++++++++++++-------------------
 1 file changed, 32 insertions(+), 26 deletions(-)

diff --git a/worker/jmap/connect.go b/worker/jmap/connect.go
index affa9474a09e..7fe17ccc8b6b 100644
--- a/worker/jmap/connect.go
[message trimmed]

Re: [PATCH aerc] jmap: fix message list order direction 14 days ago

From Robin Jarry to ~rjarry/aerc-devel

Tim Culverhouse, Jun 05, 2024 at 16:33:
> On Wed Jun 5, 2024 at 9:31 AM CDT, Robin Jarry wrote:
> > Since the update to go-jmap 0.5.0, the IsAscending property is now taken
> > into account even if it is false.
> >
> > The initial JMAP implementation wrongfully assumed the behaviour and
> > inverted the sort -r logic. Fix that so that messages are ordered as
> > expected.
> >
> > Link: https://git.sr.ht/~rockorager/go-jmap/commit/1db959676c10398a8
> > Signed-off-by: Robin Jarry <robin@jarry.cc>
> > ---
>
> Tested-by: Tim Culverhouse <tim@timculverhouse.com>