~konimarti

Recent activity

Re: [PATCH aerc v2 6/6] doc: extract accounts and binds into separate man pages 2 months ago

From Koni Marti to ~rjarry/aerc-devel

On Thu Nov 24, 2022 at 12:07 AM CET, Robin Jarry wrote:
> aerc-config(5) is getting too big and cluttered. Only keep aerc.conf
> settings in it. Move binds.conf settings in aerc-binds(5) and
> accounts.conf settings in aerc-accounts(5).
>
> Adjust all references accordingly. Update the README to reference the
> two new man pages. Update the Makefile to install them in proper
> locations.
>
> Signed-off-by: Robin Jarry <robin@jarry.cc>
> ---
> v1 -> v2: new patch

This is great. I like doc week.

[PATCH aerc] aerc: fix popover menu regression 2 months ago

From Koni Marti to ~rjarry/aerc-devel

Fix popover menu regression by triggering completions after the
simulated key strokes have been processed.

Commit 055c6dc6604f7f ("exline: don't draw completions for keybinds")
removed a double-draw event and reinstated the tab completions correctly
but it did not trigger the completion process again which was the
expected behavior.

Fixes: https://todo.sr.ht/~rjarry/aerc/104
Signed-off-by: Koni Marti <koni.marti@gmail.com>
---
 widgets/aerc.go | 2 ++
 1 file changed, 2 insertions(+)
[message trimmed]

Re: observations 2 months ago

From Koni Marti to ~rjarry/aerc-discuss

On Mon Nov 21, 2022 at 1:27 PM CET, Tim Culverhouse wrote:
>
> Thanks for the feedback. A few comments below:

I second that: Thanks for the detailed feedback! Much appreciated.

> > * setting for postponed messages date - currently the Date header of
> >   postponed messages is kept from the time the message is created,
> >   meaning if I start a message today, postpone it and send it in a year,
> >   it will carry today's date and might get sorted unreasonably for the
> >   recipient, I think a setting to influence this would be useful,
> >   arguably with defaulting to the date when the message is actually sent

The date feature has been implemented in a recent patch (on master but

Re: [PATCH aerc v2 1/2] attach: open file picker menu with -m flag 2 months ago

From Koni Marti to ~rjarry/aerc-devel

On Sun Nov 20, 2022 at 10:46 PM CET, Bence Ferdinandy wrote:
> > +	Example:
> > +		file-picker-cmd=find %s -type f | fzf --multi
> > +		file-picker-cmd=fzf --multi --query=%s
>
> This somehow shows up on a single line for me, when viewed via man.

Good catch, thanks! I saw that it was fixed when the patch was applied.

[PATCH aerc] msgviewer: fix parts index 2 months ago

From Koni Marti to ~rjarry/aerc-devel

Fix parts index by making an explicit copy of the index slice.

Fixes: https://todo.sr.ht/~rjarry/aerc/103
Signed-off-by: Koni Marti <koni.marti@gmail.com>
---
 widgets/msgviewer.go | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/widgets/msgviewer.go b/widgets/msgviewer.go
index c15187a..ea28165 100644
--- a/widgets/msgviewer.go
+++ b/widgets/msgviewer.go
@@ -528,7 +528,7 @@ const copying int32 = 1

[message trimmed]

[PATCH aerc v2 2/2] ui: box and frame an interactive widget 2 months ago

From Koni Marti to ~rjarry/aerc-devel

Draw a framed box with a title containing an interactive-drawable
widget.

Signed-off-by: Koni Marti <koni.marti@gmail.com>
---
 commands/compose/attach.go |  3 +-
 lib/ui/box.go              | 74 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+), 1 deletion(-)
 create mode 100644 lib/ui/box.go

diff --git a/commands/compose/attach.go b/commands/compose/attach.go
index 967b790..af5c023 100644
--- a/commands/compose/attach.go
+++ b/commands/compose/attach.go
[message trimmed]

[PATCH aerc v2 1/2] attach: open file picker menu with -m flag 2 months ago

From Koni Marti to ~rjarry/aerc-devel

Open a user-defined file picker with the -m flag for the attach command
to select attachments.

Specify your file picker of choice with the 'file-picker-cmd' in the
[composer] section of aerc.conf, e.g.  "file-picker-cmd=fzf -m".

A '%s' placeholder can be used in the 'file-picker-cmd' which is then
substituted for the argument <arg> provided to :attach -m <arg>.

For example, when you set 'file-picker-cmd=find %s -type f | fzf -m',
you can easily change the directory to start the search with ':attach -m
<path-to-search>'.

Tested with fzf, fzy and peco.
[message trimmed]

Re: [PATCH aerc 1/2] attach: open file picker menu with -m flag 2 months ago

From Koni Marti to ~rjarry/aerc-devel

On Sat Nov 19, 2022 at 2:42 PM CET, Moritz Poldrack wrote:
> On Fri Nov 18, 2022 at 11:53 PM CET, Koni Marti wrote:
> > Open a user-defined file picker with the -m flag for the attach command
> > to select attachments.
> >
> > Specify your file picker of choice with the 'file-picker-cmd' in the
> > [composer] section of aerc.conf, e.g.  "file-picker-cmd=fzf -m".
> >
> > A '%s' placeholder can be used in the 'file-picker-cmd' which is then
> > substituted for the argument <arg> provided to :attach -m <arg>.
> >
> > For example, when you set 'file-picker-cmd=find %s -type f | fzf -m',
> > you can easily change the directory to start the search with ':attach -m
> > <path-to-search>'.

Re: [PATCH aerc 1/2] attach: open file picker menu with -m flag 2 months ago

From Koni Marti to ~rjarry/aerc-devel

On Sat Nov 19, 2022 at 2:37 PM CET, Tim Culverhouse wrote:
> On Fri Nov 18, 2022 at 4:53 PM CST, Koni Marti wrote:
> > Open a user-defined file picker with the -m flag for the attach command
> > to select attachments.
> >
> > Specify your file picker of choice with the 'file-picker-cmd' in the
> > [composer] section of aerc.conf, e.g.  "file-picker-cmd=fzf -m".
> >
> > A '%s' placeholder can be used in the 'file-picker-cmd' which is then
> > substituted for the argument <arg> provided to :attach -m <arg>.
> >
> > For example, when you set 'file-picker-cmd=find %s -type f | fzf -m',
> > you can easily change the directory to start the search with ':attach -m
> > <path-to-search>'.

[PATCH aerc 2/2] ui: box and frame an interactive widget 2 months ago

From Koni Marti to ~rjarry/aerc-devel

Draw a framed box with a title containing an interactive-drawable
widget.

Signed-off-by: Koni Marti <koni.marti@gmail.com>
---
 commands/compose/attach.go |  3 +-
 lib/ui/box.go              | 74 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+), 1 deletion(-)
 create mode 100644 lib/ui/box.go

diff --git a/commands/compose/attach.go b/commands/compose/attach.go
index fcffcc9..c60c5f4 100644
--- a/commands/compose/attach.go
+++ b/commands/compose/attach.go
[message trimmed]