Mutt colors parse error while reading apt-logs

Bug #259019 reported by Fernando Miguel
4
Affects Status Importance Assigned to Milestone
mutt (Ubuntu)
New
Wishlist
Unassigned

Bug Description

Mutt colours parse error while reading apt-logs

I have the following in /etc/Muttrc.d/colors.rc

# colors
color quoted green black

But while reading and apt-log email the line started by '#', the line colour is green.

xorg-server (2:1.4.99.906-1ubuntu1) intrepid; urgency=low
  * Add 130_fedora_call_switchcorekeyboard.patch, a hack to fix fd.o bug
    #16364. Breaks if the first hotplugged keyboard is not the wanted
    keyboard.

I guess its because of the colors.rc line, but its a bad choice, since the its just a line break.

Mutt 1.5.18 (2008-05-17)
 affects ubuntu/mutt

--
BUGabundo :o)
(``-_-´´) http://Ubuntu.BUGabundo.net
Linux user #443786 GPG key 1024D/A1784EBB

Revision history for this message
Andrew McCarthy (andrewmccarthy) wrote :

The "quoted" color highlighting is controlled by the quote_regexp option. This option defines the pattern that's considered a quoted line, and defaults to "^([ \t]*[|>:}#])+", which means a line starting with any amount of whitespace followed by any of these characters: |>:}#

If you want to ignore # as a possible quote character, then set quote_regexp to "^([ \t]*[|>:}])+", which will fix this particular instance. Without trying to make mutt intelligent, I'm not sure how it could tell the difference between a line that *is* a quote, and one that looks *just like* a quote. :)

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

I know its not easy! but still its a bug.
mabe we can mark this as a wishbug and summit upstream, in the chance of getting a smarter mutt?

Revision history for this message
YoBoY (yoboy-leguesh) wrote :

This is still an issue for you? Can you try with the latest Ubuntu release? Thanks in advance.

Revision history for this message
Fernando Miguel (fernandomiguel) wrote :

its a wishbug!
its going to be here for ever... ehe

from what i've read else where this is Wont Fix... still i'll leave it at New

Vish (vish)
Changed in mutt (Ubuntu):
importance: Undecided → Wishlist
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.