Re: [Mutt] #2711: Will not tag/delete duplicates (~=) when emails
#2711: Will not tag/delete duplicates (~=) when emails are not sorted by thread.
--------------------------------------+-------------------------------------
Reporter: schmmd@xxxxxxxxxxxxxxxx | Owner: mutt-dev
Type: enhancement | Status: reopened
Priority: minor | Milestone:
Component: mutt | Version: 1.5.18
Resolution: | Keywords: patch
--------------------------------------+-------------------------------------
Changes (by pdmef):
* keywords: => patch
* version: => 1.5.18
* type: defect => enhancement
Comment:
It seems it's always been documented that ~= works with threading only, at
least it mentions $duplicate_threads that points at threading.
Anyway, attached is a ugly patch that has O(n^2) complexity.
A real fix would need to separate the duplicate detection from threading
code and hook into every sorting method because re-sorting already is done
when the mailbox changes (append, mailbox polling, message removal).
--
Ticket URL: <http://dev.mutt.org/trac/ticket/2711#comment:4>
Mutt <http://www.mutt.org/>
The Mutt mail user agent