Mutt colors parse error while reading apt-logs
Bug #259019 reported by
Fernando Miguel
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.
# 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.
* Add 130_fedora_
#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://
Linux user #443786 GPG key 1024D/A1784EBB
Changed in mutt (Ubuntu): | |
importance: | Undecided → Wishlist |
To post a comment you must log in.
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. :)