Calc -- Build / compile warning and error clean up.
authorSteve Youngs <steve@sxemacs.org>
Sat, 14 Mar 2020 02:49:32 +0000 (12:49 +1000)
committerSteve Youngs <steve@sxemacs.org>
Sat, 14 Mar 2020 02:49:32 +0000 (12:49 +1000)
This gives us a clean build for the new calc package.

* xemacs-packages/calc/calcalg3.el (toplevel): defvar
'calc-graph-no-auto-view', 'math-infinite-mode' for byte-compiler
happiness.

* xemacs-packages/calc/calcalg2.el (calcFunc-table): Wrap 'vec',
'var-DUMMY' in #'with-boundp.
(math-poly-all-roots): Comment out unused local var, 'res'.

* xemacs-packages/calc/calc.el (top-level): defalias 'read-event'
to 'next-event'.
(calc-read-key-sequence): Wrap 'input-method-function' use in
#'with-boundp.
(calc-mode): #'declare-boundp 'calc-menu'

* xemacs-packages/calc/calc-units.el (calc-convert-units): Comment
out unused local var, 'unew'.

* xemacs-packages/calc/calc-trail.el (top-level):
#'globally-declare-boundp 'math-save-buf'.

* xemacs-packages/calc/calc-rewr.el (math-rewrite-whole): Move the
definition to _before_ where it is first used and magically
byte-compiler warning disappears.

* xemacs-packages/calc/calc-prog.el (top-level): Autoload
'edmacro-format-keys', 'edmacro-parse-keys'.
(calc-user-define-permanent): Comment out unused local var, 'pt'.

* xemacs-packages/calc/calc-nlfit.el (top-level):
#'globally-declare-boundp 'calc-curve-nvars'

* xemacs-packages/calc/calc-misc.el
(reporter-prompt-for-summary-p): Defvar it to appease the
byte-compiler gods.

* xemacs-packages/calc/calc-math.el (math-nth-root-float): Add
missing arg in call to #'math-use-emacs-fn.

* xemacs-packages/calc/calc-macs.el (top-level): Autoload
'math-compare'.

* xemacs-packages/calc/calc-help.el (top-level): Autoload
'Info-mode', 'Info-last'.

* xemacs-packages/calc/calc-graph.el (calc-graph-plot): Comment
out unused local var, 'tempbuftop'.
(calc-graph-view): #'declare-fboundp `window-full-height-p'

* xemacs-packages/calc/calc-forms.el (math-setup-year-holidays):
Wrap 'var-m', 'var-y' in #'with-boundp.
(top-level): Autoload 'dst-in-effect',
'calendar-current-time-zone', 'calendar-absolute-from-gregorian'.

* xemacs-packages/calc/calc-ext.el (calc-init-extensions): Add
'math-read-expr-level', 'math-min-list', 'math-max-list',
'math-format-twos-complement', 'math-to-percentsigns',
'math-compose-vector', 'math-compose-var',
'math-tex-expr-is-flat', 'calc-embedded-finish-command',
'calc-embedded-mode-line-change', 'calc-embedded-modes-change',
'calc-embedded-preserve-modes', 'calc-embedded-select-buffer',
'calc-embedded-var-change', 'calc-embedded-stack-change',
'calc-embedded-save-original-modes', 'calc-graph-add-curve',
'calc-graph-set-styles', 'calc-graph-lookup',
'calc-incomplete-error', 'math-parse-fortran-subscr',
'math-bigfr-to-calcnum', 'calc-fit-hubbert-linear-curve',
'calc-push-list-in-macro', 'calc-pop-stack-in-macro',
'calc-top-selected', 'calc-fit-s-shaped-logistic-curve',
'calc-fit-bell-shaped-logistic-curve', 'calc-edit-finish'.
(calc-embedded-quiet): defvar to keep byte-compiler from
bitching.
(math-exp-pos,math-exp-keep-spaces): Ditto.
(math-read-big-expr): Comment out unused vars,
'math-read-big-baseline', 'math-read-big-h2'
(math-read-big-bigp): Wrap use of 'mach-rb-h2' in #'with-boundp
for byte-compile peace and tranquility.

* xemacs-packages/calc/calc-embed.el (top-level): Autoload
#'thing-at-point-looking-at
(calc-do-embedded): Comment out unused local var,
'calc-embedded-no-reselect'.

* xemacs-packages/calc/calc-aent.el (calc-do-alg-entry): Comment
out unused local var, 'calc-buffer'.

* xemacs-packages/calc/Makefile (MAINTAINER): Jay!
(REQUIRES): Add calc, fsf-compat, calendar, mail-lib
(ELCS): Tidy
(EXTRA_SOURCES): New. Add ChangeLog.old, LICENSE
(EXTRA_TEXI_FILES): New. gpl.texi
(DATA_DEST): Set to $(PACKAGE)
(PRELOADS): Remove calc.el, add calc-ext.el

Signed-off-by: Steve Youngs <steve@sxemacs.org>
18 files changed:
xemacs-packages/calc/Makefile
xemacs-packages/calc/calc-aent.el
xemacs-packages/calc/calc-embed.el
xemacs-packages/calc/calc-ext.el
xemacs-packages/calc/calc-forms.el
xemacs-packages/calc/calc-graph.el
xemacs-packages/calc/calc-help.el
xemacs-packages/calc/calc-macs.el
xemacs-packages/calc/calc-math.el
xemacs-packages/calc/calc-misc.el
xemacs-packages/calc/calc-nlfit.el
xemacs-packages/calc/calc-prog.el
xemacs-packages/calc/calc-rewr.el
xemacs-packages/calc/calc-trail.el
xemacs-packages/calc/calc-units.el
xemacs-packages/calc/calc.el
xemacs-packages/calc/calcalg2.el
xemacs-packages/calc/calcalg3.el

index 26c604e..a826753 100644 (file)
 
 VERSION = 1.5
 AUTHOR_VERSION = 2.2
-MAINTAINER = XEmacs Development Team <xemacs-beta@xemacs.org>
+MAINTAINER = Jay Belanger <belanger@sxemacs.org>
 PACKAGE = calc
 PKG_TYPE = regular