[Mutt] #3500: Text search does not work on long lines in the pager
#3500: Text search does not work on long lines in the pager
----------------------------+-----------------------------------------------
Reporter: matthijs | Owner: mutt-dev
Type: defect | Status: new
Priority: minor | Milestone:
Component: user interface | Version: 1.5.18
Keywords: |
----------------------------+-----------------------------------------------
When an email contains very long lines, then a search in the pager (using
'/') only searches the first 1000 or so characters of each line. Any
matches on the longer part of a line are silently ignored.
With normal text email, this should not be an issue. However, it also
occurs when viewing a mail part or attachment as text using the {{{view-
text}}} command. In my particular case, I was looking at the HTML
generated by Outlook, which is just a single line. Ugly, but well.
Note that using ~b in a filter does look through the entire line, so this
bug is limited to the pager search function.
I suspect that there is a fixed 1024 byte or so buffer used in the
searching. Not sure what the performance impact of fixing this would be,
though.
--
Ticket URL: <http://dev.mutt.org/trac/ticket/3500>
Mutt <http://www.mutt.org/>
The Mutt mail user agent