~adigitoleo

Australia

https://adigitoleo.srht.site/about/

a digito cognoscitur leo

Ask me about my projects via my public inbox, unless they have a dedicated mailing list.

NeoVim plugins: haunt.nvim | quark.nvim | overview.nvim

This was also me: github | codeberg

~adigitoleo/public-inbox

Last active 8 days ago
View more

Recent activity

Re: Default config doesn't work 8 days ago

From adigitoleo (Leon) to ~adigitoleo/public-inbox

The lua module itself is simply `quark` without the `.nvim` suffix. If
that still doesn't work, I'd need to test with whichever plugin manager
you're using, is it lazy.nvim?

Re: GUI outgoing-cred-command causes panic when sending draft 24 days ago

From adigitoleo (Leon) to ~rjarry/aerc-discuss

Thanks for the concern. However, the reason for doing it like this is
that my preferred default pinentry mode is 'loopback' (i.e. read
passphrase from stdin) and aerc doesn't allow reading stdin after using
:send. Therefore, I need to manually set up a pinentry-qt -> pass
pipeline.

Re: GUI outgoing-cred-command causes panic when sending draft 24 days ago

From adigitoleo (Leon) to ~rjarry/aerc-discuss

OK, it works fine if I first :recall the draft. Therefore, using
outgong-cred-cmd with pinentry-qt and pass is working. However, there is
an unrelated bug when using the :send command from the viewer/pager,
without doing :recall.

Re: GUI outgoing-cred-command causes panic when sending draft 24 days ago

From adigitoleo (Leon) to ~rjarry/aerc-discuss

A quick update on this. I have found that the following outgoing-cred-cmd
allows me to safely send mail from the composer at any time, by correctly
setting up a pipeline from pinentry-qt to pass(1) to retrieve the SMTP
authentication credentials:

    outgoing-cred-cmd = /usr/bin/echo -e "SETDESC GPG Key Authentication\nSETPROMPT Enter passphrase:\nGETPIN\n"|2>/dev/null pinentry-qt|rg -o '^D(.+)'|cut -d' ' -f2|PASSWORD_STORE_GPG_OPTS="--passphrase-fd=0" pass posteo.de/adigitoleo

The same thing at a pastebin: https://x0.at/gVbI.txt
The solution was to pipe the pinentry-qt output into

    PASSWORD_STORE_GPG_OPTS="--passphrase-fd=0" pass ...

where the env var ensures that gpg looks for the passphrase on the correct file
descriptor. For anyone who wants to use pass for their aerc SMTP credentials,

Re: [overview.nvim] Make it harder to accidentally open regular buffers in the TOC window a month ago

From adigitoleo (Leon) to ~adigitoleo/public-inbox

New release v0.2.0 includes non-wincmd focusable TOC window, and filters
for the LSP document symbol lists. It's still possible to open the
"wrong" buffer in the TOC window by using the API to focus it and then
running `:edit something_silly.txt`, but I'm not sure it's worth
bothering with preventing that.

Re: i18n of aerc, docs 2 months ago

From adigitoleo (Leon) to ~rjarry/aerc-discuss

not a native speaker by birth, but I'm fluent enough in Polish to help
if needed (although I have no idea about i18n standards)

Re: i18n of aerc, docs 2 months ago

From adigitoleo (Leon) to ~rjarry/aerc-discuss

not a native speaker by birth, but I'm fluent enough in Polish to help
if needed (although I have no idea about i18n standards)

Re: Unicode support? 2 months ago

From adigitoleo (Leon) to ~bptato/chawan-devel

Of the three environment variables, I only have one set:

    LANG=en_AU.UTF-8

Adding `-I utf-8` to the aerc command was enough to get it working.

Thanks,
Leon

Unicode support? 2 months ago

From adigitoleo (Leon) to ~bptato/chawan-devel

I haven't looked at the codebase yet, but I imagined that unicode would
be supported? However, when I set `cha -T text/html` as the command to
pipe text/html emails to in aerc, I see that e.g. the unicode character
’ (U+2019) is rendered as

   ’ 

and similar garbled text for other unicode things. I checked with nim's
`validateUtf8` and the character that is in the email is valid UTF-8. If
it's not supported: is that a goal of the project?

Re: [overview.nvim] Make it harder to accidentally open regular buffers in the TOC window 2 months ago

From adigitoleo (Leon) to ~adigitoleo/public-inbox

Have switched to non-focusable overview windows on the dev branch.