From inwit to ~rjarry/aerc-discuss
Once upon a time, I tried writing a function to automatically insert [x] where the cursor was and "[x] https://..." at the bottom of my email (after a "References" header), even pasting the url from clipboard, and then returning back to the original position, while incrementing x as a counter. I got distracted and never finished it, but it'd be nice to have, ain't it?
From inwit to ~rjarry/aerc-devel
This has been biting me forever and it's now solved! Thanks, Simon! Tested-by: inwit <inwit@sindominio.net>
From inwit to ~rjarry/aerc-devel
Sorry but this patch is in a binary format, and thus can't be reviewed... Can you send a text/plain version?
From inwit to ~rjarry/aerc-devel
So far, the :tag command in the notmuch and jmap workers allows adding a tag (by prefixing it with '+') and removing it (by prefixing it with '-'). Add a new functionality to this command, allowing it to toggle a tag by prefixing it with '!'. Fixes: https://todo.sr.ht/~rjarry/aerc/292 Changelog-added: It is now possible to toggle notmuch tags. Signed-off-by: inwit <inwit@sindominio.net> --- v2: added support for jmap tags thanks to rjarry's contribution (it remains untested) app/account.go | 3 ++- [message trimmed]
From inwit to ~rjarry/aerc-devel
On 26/02/2025, 14:23, Robin Jarry wrote: > this is looking good overall. It would be nice if you could address JMAP > in the same patch. Agreed. > Here is what it could look like (not tested): It does compile and looks ok to me. I'll add it up to the patch. Thanks!
From inwit to ~rjarry/aerc-devel
So far, the :tag/:modify-labels command in the notmuch worker allows
adding a tag (by prefixing it with '+') and removing it (by prefixing it
with '-'). Add a new functionality to this command, allowing it to
toggle a tag by prefixing it with '!'.
Fixes: https://todo.sr.ht/~rjarry/aerc/292
Changelog-added: It is now possible to toggle notmuch tags.
Signed-off-by: inwit <inwit@sindominio.net>
---
I haven't looked into JMAP, sorry, since I don't have access to one such
account. And, as usual, I'm not confident in go, so a careful review
would be needed.
[message trimmed]
From inwit to ~rjarry/aerc-devel
Sometimes it might be useful to know the version of the running instance. This is currently possible with templates (`:echo {{version}}` does the trick), but it seems clearer to have a dedicated command. Implement such command. Changelog-added: A new :version command shows the version of the running instance of aerc in the statusbar. Signed-off-by: inwit <inwit@sindominio.net> --- v2: added changelog commands/version.go | 32 ++++++++++++++++++++++++++++++++ doc/aerc.1.scd | 3 +++ 2 files changed, 35 insertions(+) create mode 100644 commands/version.go [message trimmed]
From inwit to ~rjarry/aerc-devel
Sometimes it might be useful to know the version of the running instance. This is currently possible with templates (`:echo {{version}}` does the trick), but it seems clearer to have a dedicated command. Implement such command. Signed-off-by: inwit <inwit@sindominio.net> --- commands/version.go | 32 ++++++++++++++++++++++++++++++++ doc/aerc.1.scd | 3 +++ 2 files changed, 35 insertions(+) create mode 100644 commands/version.go diff --git a/commands/version.go b/commands/version.go new file mode 100644 [message trimmed]
From inwit to ~rjarry/aerc-discuss
On 19/02/2025, 18:54, Cédric Boutillier wrote:
> Having such a patch for line termination instead of extra spaces would be just great.
It'd be even better if such a patch removed all whitespace after *and also before* the lines: some of us have our pager centered (with `pr -T -o $((($(tput cols) - 78)/2))`), which introduces a left gutter composed by spaces, and, while it's beautiful, it's kinda annoying when copypasting. ^_^
From inwit to ~rjarry/aerc-devel
Nice addition! Tested-By: inwit <inwit@sindominio.net>