On Fri, May 17, 2002 at 04:35:12PM -0700, John Iverson wrote: > * On Fri, 17 May 2002, Gary Johnson wrote: > > > Actually, since it's just text in the quote, I like having them > > in the same color as the rest of the quote, which is how I have > > my quote_regexp configured. > > Are you referring to my quote of David's example, or the > original? :-)
Now that I've gone back to find your quote of David's example, and the original, and your original, I think maybe I should get out of this thread, the reason being that I don't observe the problem. I think I agree with your original complaint, but I don't see the problem myself because I got tired of seeing non-quoting elements of messages colored as though they were at different quoting levels and changed my quote_regexp to fix that. In your original message you had > This is in "quoted" color | This is in "quoted1" color : This is in "quoted2" color } This is in "quoted" color # This is in "quoted1" color > This is in "quoted" color again My mutt rendered the first and last lines as "quoted" but all the others as plain text. I have removed "|" from my quote_regexp because it's commonly used in ASCII tables; ":" because it's commonly used in front of vim commands; "}" because it's commonly used in C code snippets; and "#" because it's commonly used in script snippets. I hardly ever see any of these used for quoting. One other change I made to quote_regexp was to add "%" to handle you-know-who's quoting. > > > But it looks to me like Mutt doesn't really know the depth of > > > a quote as it works now. For example, if you have a message > > > with _only_ "second-level" or higher quote prefixes (say "> > > > > "), Mutt still seems to start with the first-level color. > > > > It starts with the first-level color because a second-level or > > higher quote is part of a first-level quote. Having the first > > quote character in one color lets you see the scope of the > > entire quote. > > I understand that, but I think you're talking about a message > with both first- and second-level quotes. My point was that if > you view a message such as the following (with no other text): > > > > All lines in this message begin with at least *two* > > > greater-than signs (or other quote_regexp-matching > > > characters). > > ... then mutt uses the first-level color only, instead of the > second-level color, which might be expected. Maybe "start with" > was the wrong phrase to use. Actually, in your message those lines appeared with the color of third-level quoting. IMNSHO, that's just wrong. I sent myself some mail containing just those lines and verified that they use the first-level color only, just as you said. > > It doesn't really matter to me which way mutt does it. Each > > method has a logic behind it. It's more a matter of preference > > and what you might be used to from other tools. > > True. And I think a lot of people use mutt in conjunction with > Vim, which seems to go by quote depth only (haven't looked into > reconfiguring this). Now that I understand better what you were saying, and why I didn't see the problem at first, I agree with you and I retract my statement above about it not mattering. Gary -- Gary Johnson | Agilent Technologies [EMAIL PROTECTED] | Spokane, Washington, USA http://www.spocom.com/users/gjohnson/mutt/ |