Tulsa ~ Columbia '24
An enthusiast of sorts.
I continue to experience a panic when I paste drafted text into aerc's compose window. One workaround I've found is switching over to iTerm2 on my mac. If I use iTerm's "paste slowly" feature, I can usually get the whole thing pasted without the panic. Otherwise, the content begins to paste but after a certain amount the panic occurs.
I put what I could recover from the panic message at https://paste.sr.ht/~exprez135/f0f7051758e89c4ce5c400bd7d9f18eb1a91065e.
Instead of using ~/.config/castor/settings.toml, see if a settings file exists at ~/Library/Preferences/castor/settings.toml.
Huh, you're right. For some reason it isn't doing anything with the settings file. This is probably something to do with the difference in directories with macOS. I'll see if I can figure it out when I have the time. If anyone else has any input on this, it would be greatly appreciated.
Would you try out the steps I have pasted here? This works for me on macOS Catalina.
I worked on this a bit today, and I can work on submitting a patch as long as ~sircmpwn wants to include this feature. I need some help with the last bit though. What I've done would:
- Add a new integer column in the list table called
- Add the new "subscriber_count" field to the mailing list API response
- Add "__ subscribers." to the sidebar beneath the etiquette notice and buttons.
- Update the subscriber count each time the _subscribe() or _unsubscribe() functions are run with something like:
dest.subscriber_count = dest.subscribers.count()
dest.subscriber_count = select([func.count()]).select_from(dest.subscribers)
dest.subscriber_count = List.query.filter(List.id == dest.id).one_or_none().subscribers.count()
I'm not experienced with SQLAlchemy, so I will probably need some advice on how to get that line to work. What's the best way to run something like func.count() on dest.subscribers within process.py?
destis defined with
dest = List.query.filter(List.id == list_id).one_or_none(). And _forward() uses it like
for sub in dest.subscribers:.
I sent in a patch for this: https://lists.sr.ht/~sircmpwn/sr.ht-dev/patches/10396. I'm relatively sure this should fix the problem. Still unsure of why mirrors specifically are having the problem.
Fixed with 9a66457c.
Fixed with 09efc588.
Go to a mirrored list like https://lists.sr.ht/~sircmpwn/alpine-devel and click on an archive. Hover over the "Reply to Thread" button at the bottom of the thread and the mailto link has "mailto:mailto:___".