~ghost08

https://mgyar.me

~ghost08/photon

Last active a month ago

~ghost08/ratt

Last active 4 months ago
View more

Recent activity

Re: OSC8 support a month ago

From Vladimír Magyar to ~rjarry/aerc-devel

> haven't most terminals now have some URL handler functionality?
> However, if I remember correctly they always had problems with line
> breaks (overflowing links).

Yeah I have problems with very very long urls with line breaks.

> Regarding tooling that shows "something else" instead of the URL I
> personally don't like it but as long as it is optional/can be disabled
> it sounds like a solution.

It doesn't need to be something else, it can be the url, but wrapped in
an escape sequence, so that the terminal can open it although it is very
long.

OSC8 support a month ago

From Vladimír Magyar to ~rjarry/aerc-devel

So when I get a email with bunch of very long links, it is annoying to
have it to select it with the mouse and copy it to a browser. I've
stumbled across OSC8:

https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda

Which is a escape sequence that tells the terminal how to show a link in
a nice way and what the url is. (Alacritty and Foot supports it)

tcell recently added support for it:
https://github.com/gdamore/tcell/pull/468#issuecomment-1100722947

So would there be a solution to somehow parse the output of the filter,
find all the links and then render it with tcell's `style.Url()`?

Re: ~ghost08/photon#6: Photon a month ago

From Vladimír Magyar to ~ghost08/photon

I've made a new plugin that deletes the already visited cards

https://git.sr.ht/~ghost08/photon/tree/master/item/plugins/delete_readed.lua

The trick is in that you cannot delete the cards while you loop trough
the array. So I've just edited the `readed.lua` plugin so that it
collects the indices and then deletes them in another loop.

tui upgrade a month ago

From Vladimír Magyar to ~rjarry/aerc-discuss

So I was wondering if someone didn't consider to play a bit with the
layout of aerc. It would be great if there was a way to configure the
layout, not just the colors.

My ideas are:
1. with a config file, where we would define what will be displayed, and
   where, but that's too much work
2. Just a prettier remake of the tui, with some more options.
3. Or just refactor the code a bit more in a 'EmailClient' lib with a
simplified API + 'TuiThing' that will display the data with the lib. So
that anyone could easily write a different frontend.

I found this as an inspiration and immediately thought, that I want my
email client this pretty :)

Re: [PATCH aerc v7] imap: headers cache 2 months ago

From Vladimír Magyar to ~rjarry/aerc-devel

These uids are pretty weird. Anyway, now I'm hacking on something else,
so I'll leave it to you. But when the msg index for global threading is
on the menu, count me in :)

> [1]: https://www.rfc-editor.org/rfc/rfc4549

This is great, I'll take a look at it. Maybe it'll come in handy when
implementing the msg index.

Re: open eml 3 months ago

From Vladimír Magyar to ~rjarry/aerc-devel

I tried it, but the `w3m -dump file.eml` isn't too pretty (or readable)

open eml 3 months ago

From Vladimír Magyar to ~rjarry/aerc-devel

So I've got an email with an eml attachment. aerc just shows to save or
to pipe the attachment somewhere.
It would be cool if aerc could open it in less or something.
How do you do it?

Re: [RFC PATCH aerc v2] threading: implement on-the-fly message threading 3 months ago

From Vladimír Magyar to ~rjarry/aerc-devel

This is great. I think, that the message builder could take a Interface
instead of directly the pointer to MessageStore. So that in the future,
it could take eg. a MsgIndex object :)

Re: [PATCH aerc v4] imap: headers cache 3 months ago

From Vladimír Magyar to ~rjarry/aerc-devel

I'm happy to contribute to aerc :) So give me a hint when the threading
thing is sorted and I can build the threading index. I have something
already.

Re: aerc is laggy on my terminal 3 months ago

From Vladimír Magyar to ~sircmpwn/aerc

Try maildir, or maybe this will be added:
https://lists.sr.ht/~rjarry/aerc-devel/patches/29186