bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#56393: Actually fix the long lines display bug


From: Gregory Heytings
Subject: bug#56393: Actually fix the long lines display bug
Date: Wed, 20 Jul 2022 13:42:26 +0000


You mean, something like: "Increase the counter more for a large modification and less for a small modification, but increase it logarithmically to avoid increasing it too much for a large modification."?

No, I mean explaining why we want to be more sensitive to small modifications than to the large. IOW, why we want to avoid linear increments.

My original proposal to limit the increment was because I wanted to avoid overflowing the counter when several very large insertions are made. If this is the only reason, I think we should say that in a comment there.


That's what I understood. I did not decide to go for a logarithmical increase instead of a truncated increase to be more sensitive to small modifications than to large ones, but both (1) because it increases the counter less, and (2) because currently it will be used to make a distinction between a "small" and a "not small" modification, but I can imagine that perhaps some day for some other reason there could be a need to make a distinction between "large" and "very large" modifications, which wouldn't be possible with a truncated increase.

Is this better/clearer: "Increase the counter more for a large modification and less for a small modification. Increase it logarithmically to avoid increasing it too much."?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]