Configurable subject response prefix #175
Labels
No Label
IMAP
JMAP
Maildir
Retired
User Experience
User Interface
bsd
bug
contacts
currently worked on
documentation
duplicate
easy
enhancement
help wanted
invalid
linux-gnu
macos
mbox
notmuch
question
security
wishlist
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: meli/meli#175
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
I'd like to request a feature, I think very small, but that annoys me in almost all e-mail clients I've used to this day. I'd like to request for meli to have a configuration option that accepts a list of strings to be used for identifing email response prefixes. Currently when responding an email, meli prefixes the subject with "Re: ", if it's not already in the subject. The problem is, when communicating with diverse people, I often hit someone whose email client picks "RE: " for that, or even "Res: ", etc. What happens then, is that each client can't understand each other, and every subsequential email gets pilled with subject prefixes "Re: RE: Res: Re: Res: Subject", it's really annoying, I often try to evade that by manually editing the subject, but I often forget and notice the problem when it's already in my Sent folder.
Is this the solution you were thinking about?
d5594560bf
Hi @epilys, that seems to be well done and should work out of the box is most cases :)
I'd like to just comment one specific person I interact with over email that has a particular interesting response prefix. Every single prefix of theirs comes with a counter, say, "RE[1]: ", "RE[2]: ", etc. I'm not sure how that should be handled, if at all.
Oh, I think you need to proof read that string list, there's "RE:" twice, and no "Res:", only "RES: ". Seems weird.
Thanks, I'll fix that! (perils of not having compile-time hash sets)
Ha! Maybe we could cook something up with the regexp
pcre2
feature... Though no guarantee the stripping would happen sequentially 😄Fixed: https://git.meli.delivery/meli/meli/commits/branch/reply-prefix
In case you want to review the diffs, I will wait a day or two before merging it into master.
It seems nice, waiting for the merge to get my new build :)
Merged!
Thanks!
I just realized that an original subject like "RES: something" gets mutated to "Re: something". It's nice to have Re duplication avoided, but not sure about that mutation, it'll either get flipping back and forth, or the other person's client will stack it on further responses ("RES: something" -> "Re: something" -> "RES: Re: something").
Oh yeah that's true. So keep the original prefix?
I think that's the best route, leave subject as-is once prefix is identified.
Sorry for the delay, it got burried and lost in the task queue