mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-27 07:37:33 +00:00
a4a3c92e9d
I looked through all instances of most-negative-fixnum and most-positive-fixnum in the Lisp source code, and when it was easy I removed assumptions that integers fit in fixnums. The remaining instances are either nontrivial to fix, or are inherent to the algorithm. * lisp/arc-mode.el (archive-l-e): Do not convert to float, since we have bignums now. All uses changed. * lisp/calc/calc.el (math-bignum): Don’t special-case most-negative-fixnum. * lisp/calendar/parse-time.el (parse-time-string): * lisp/emacs-lisp/edebug.el (edebug-read-special): * lisp/emacs-lisp/package.el (package--remove-hidden): * lisp/gnus/nnfolder.el (nnfolder-read-folder): * lisp/international/mule-util.el (filepos-to-bufferpos--dos): * lisp/menu-bar.el (menu-bar-update-buffers): * lisp/net/rcirc.el (rcirc-handler-317): * lisp/org/org-agenda.el (org-cmp-ts): * lisp/window.el (window--resize-child-windows): Avoid arbitrary limit to most-positive-fixnum or to most-negative-fixnum. * lisp/calendar/time-date.el (days-to-time): * lisp/erc/erc-dcc.el (erc-unpack-int): Don’t worry about integer overflow. * lisp/cedet/semantic/wisent/comp.el (wisent-BITS-PER-WORD): * lisp/gnus/message.el (message-unique-id): * lisp/org/org-footnote.el (org-footnote-new): Simplify. * lisp/erc/erc-dcc.el (erc-most-positive-int-bytes) (erc-most-positive-int-msb): Remove; no longer needed. * lisp/net/imap.el (imap-string-to-integer): Remove; unused. * lisp/org/org-element.el (org-element--cache-generate-key): Document fixnum limitation. |
||
---|---|---|
.. | ||
ChangeLog.1 | ||
ChangeLog.2 | ||
erc-autoaway.el | ||
erc-backend.el | ||
erc-button.el | ||
erc-capab.el | ||
erc-compat.el | ||
erc-dcc.el | ||
erc-desktop-notifications.el | ||
erc-ezbounce.el | ||
erc-fill.el | ||
erc-goodies.el | ||
erc-ibuffer.el | ||
erc-identd.el | ||
erc-imenu.el | ||
erc-join.el | ||
erc-lang.el | ||
erc-list.el | ||
erc-log.el | ||
erc-match.el | ||
erc-menu.el | ||
erc-netsplit.el | ||
erc-networks.el | ||
erc-notify.el | ||
erc-page.el | ||
erc-pcomplete.el | ||
erc-replace.el | ||
erc-ring.el | ||
erc-services.el | ||
erc-sound.el | ||
erc-speedbar.el | ||
erc-spelling.el | ||
erc-stamp.el | ||
erc-track.el | ||
erc-truncate.el | ||
erc-xdcc.el | ||
erc.el |