[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Emacs-diffs] master dfed333: Remove fixnum restriction on some disp
From: |
Stefan Monnier |
Subject: |
Re: [Emacs-diffs] master dfed333: Remove fixnum restriction on some display vars |
Date: |
Fri, 24 May 2019 10:32:30 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
>> Rather than convert to bignum, we should either crash or signal
>> a `hallelujah` error, depending on whether you think this is due to
>> a bug or too a supranatural power.
> Crashing would be too strong, as one could then crash Emacs simply via (setq
> tab-width (1+ most-positive-fixnum)).
My comment was specifically about buffer-display-count (which counts
a number of distinct heap objects). I haven't looked closely at the
other cases, but this one jumped at me as a prime example where a fixnum
is safe.
Stefan