Bug#568298: balsa: Infinite loop with empty quoted text regexp



Hi Karl:

On 02/03/2010 01:08:00 PM Wed, Karl O. Pinc wrote:
Package: balsa
Version: 2.3.25-1
Severity: normal

Hello,

File->Preferences  Message display format (iirc)

Setting the regexp for quoted text to nothing
seems to put balsa into an infinite loop.
(At least when the current message has quoted
text.)

Ouch--so it does!

I want to turn off balsa's colorization and
change bars and other frobbing of quoted text.
Setting the regexp to the empty string
_should_ do this, but does not.

Yes, it should--instead it runs afoul of a quirk? feature? in regexec, where an empty regex matches zero characters, and keeps checking forever...fixed in git master.

Ideally there'd be a checkbox so that the
default regexp could be left alone in the
event I want to turn quoted text frobbing
back on.

Yes, that seems like a better way to handle unfrobbed text; implemented in git master.

Thanks for taking the time to report this!

Peter





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]