emacs/lisp/emacs-lisp
Paul Eggert a4a3c92e9d Prune most-positive-fixnum from Lisp source
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.
2018-08-22 20:46:08 -07:00
..
advice.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
autoload.el Don't include text properties when making autoloads 2018-08-17 17:05:20 +03:00
avl-tree.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
backquote.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
backtrace.el Give two backtrace-mode commands better names 2018-08-03 08:54:08 -07:00
benchmark.el (benchmark-run-compiled): Make it work like 'benchmark-run' again 2018-03-27 16:19:40 -04:00
bindat.el Audit use of lsh and fix glitches 2018-08-21 13:44:32 -07:00
byte-opt.el Audit use of lsh and fix glitches 2018-08-21 13:44:32 -07:00
byte-run.el Fix the bootstrap differently, so zerop can be where it belongs 2018-07-12 10:29:28 -04:00
bytecomp.el Audit use of lsh and fix glitches 2018-08-21 13:44:32 -07:00
cconv.el Don't forget to analyze args of lambda lifted functions (Bug#30872) 2018-06-16 18:34:19 -04:00
chart.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
check-declare.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
checkdoc.el Optionally add argument description in minor mode DOC (bug#10754) 2018-07-01 23:34:53 -04:00
cl-extra.el Audit use of lsh and fix glitches 2018-08-21 13:44:32 -07:00
cl-generic.el Prevent name clashes between CL structures and builtin types 2018-01-28 19:21:47 +01:00
cl-indent.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
cl-lib.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
cl-macs.el Fix Edebug spec for cl-macrolet (bug#29919) 2018-08-01 13:59:49 -07:00
cl-preloaded.el Add missing module types to cl--typeof-types. 2018-01-28 20:39:58 +01:00
cl-print.el Add new command to expand all "..."s in a backtrace frame 2018-08-03 08:53:02 -07:00
cl-seq.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
cl.el Fix #'fun handling inside `labels' (Bug#31792) 2018-06-19 20:02:16 -04:00
copyright.el Merge from origin/emacs-26 2018-01-01 01:13:04 -08:00
crm.el Support list of default values in completing-read-multiple 2018-04-12 23:36:45 +03:00
cursor-sensor.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
debug.el Add a menu for backtrace-mode 2018-08-03 08:53:12 -07:00
derived.el Remove many items obsolete since Emacs 22.1 2018-03-10 19:15:56 -08:00
disass.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
easy-mmode.el Merge from origin/emacs-26 2018-07-13 09:28:15 -07:00
easymenu.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
edebug.el Prune most-positive-fixnum from Lisp source 2018-08-22 20:46:08 -07:00
eieio-base.el Further fix to eieio-persistent 2018-04-13 10:56:55 -07:00
eieio-compat.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
eieio-core.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
eieio-custom.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
eieio-datadebug.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
eieio-opt.el Define cl-type-definition button type as needed (Bug#28899) 2018-01-30 22:14:02 -05:00
eieio-speedbar.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
eieio.el Merge from origin/emacs-26 2018-05-29 10:07:21 +02:00
eldoc.el Optionally add argument description in minor mode DOC (bug#10754) 2018-07-01 23:34:53 -04:00
elint.el Prefer \... to control chars in .el literals 2018-03-29 17:43:08 -07:00
elp.el Merge from origin/emacs-26 2018-02-17 07:50:28 -08:00
ert-x.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ert.el Always make buttons from function names in backtraces 2018-08-03 08:53:02 -07:00
ewoc.el * lisp/emacs-lisp/ewoc.el (ewoc-goto-node): 2018-03-05 14:32:20 -05:00
faceup.el Update copyright year to 2018 2018-01-01 01:25:56 -08:00
find-func.el Fix default candidate of find-face-definition 2018-06-09 09:52:54 +03:00
float-sup.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
generator.el * lisp/emacs-lisp/generator.el (iter-defun): Add 'doc-string' prop. 2018-01-11 11:24:38 -05:00
generic.el Remove many items obsolete since Emacs 22.1 2018-03-10 19:15:56 -08:00
gv.el * lisp/emacs-lisp/gv.el (gv-define-setter): Silence compiler warning 2018-04-18 15:56:15 -04:00
helper.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
inline.el * lisp/emacs-lisp/inline.el: Clarify apparent typos 2018-04-04 21:15:36 -04:00
let-alist.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
lisp-mnt.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
lisp-mode.el Add backtrace-mode and use it in the debugger, ERT and Edebug 2018-08-03 08:53:02 -07:00
lisp.el Merge from origin/emacs-26 2018-01-09 15:29:25 -08:00
macroexp.el Quote a few backticks in docstrings. 2018-04-01 23:33:16 +02:00
map-ynp.el ; (read-answer-short): Fix :version setting for backport 2018-08-04 12:00:43 -04:00
map.el ; Fix some tiny doc typos 2018-03-27 17:02:04 -04:00
nadvice.el Merge from origin/emacs-26 2018-05-23 01:37:54 -07:00
package-x.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
package.el Prune most-positive-fixnum from Lisp source 2018-08-22 20:46:08 -07:00
pcase.el Allow floats as 'pcase' QPATS 2018-06-17 15:22:30 +02:00
pp.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
radix-tree.el Merge from origin/emacs-26 2018-05-29 10:07:21 +02:00
re-builder.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
regexp-opt.el * lisp/emacs-lisp/regexp-opt.el (regexp-opt): Fix docstring quotes. 2018-06-24 10:57:54 -04:00
regi.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
ring.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
rmc.el Improve read-multiple-choice docstring (Bug#31628) 2018-05-29 08:17:32 -04:00
rx.el Merge from origin/emacs-26 2018-07-20 10:00:32 -07:00
seq.el Change name of `seqp' argument (Bug#26411) 2018-06-21 20:27:35 -04:00
shadow.el ; Spelling fix 2018-01-22 08:50:06 -08:00
smie.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
subr-x.el Tweak subr-x.el substring functions 2018-07-13 11:28:16 -04:00
syntax.el Remove outdated comment in syntax.el 2018-03-03 14:41:16 +02:00
tabulated-list.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
tcover-ses.el Prefer \... to control chars in .el literals 2018-03-29 17:43:08 -07:00
tcover-unsafep.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
testcover.el Fix Testcover bug in handling of vectors containing dotted lists 2018-04-02 09:38:12 -07:00
text-property-search.el (text-property-search-forward): Copy edits in doc string 2018-04-22 20:34:48 +02:00
thunk.el Quieten cl-lib related compiler warnings 2018-03-22 21:40:24 -07:00
timer-list.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
timer.el Remove many items obsolete since Emacs 22.1 2018-03-10 19:15:56 -08:00
tq.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
trace.el Update copyright year to 2018 2018-01-01 00:57:59 -08:00
unsafep.el Remove many items obsolete since Emacs 22.1 2018-03-10 19:15:56 -08:00
warnings.el Let display-warning work during bootstrap 2018-06-12 07:40:33 -04:00