Jay Belanger [Thu, 25 Nov 2004 05:53:35 +0000 (05:53 +0000)]
(calc-convert-units): Make units a local variable.
(calc-num-units, calc-den-units): New variables.
(calc-explain-units, calc-explain-units-rec): Replace variables
num-units and den-units by declared variables.
(math-cu-unit-list): New variable.
(math-build-units-table, math-compare-unit-names)
(math-convert-units, math-convert-units-rec): Replace variable
unit-list by declared variable.
(math-fbu-base, math-fbu-entry): New variables.
(math-find-base-units, math-find-base-units-rec): Replace variables
base and entry by declared variables.
(math-which-standard): New variable.
(math-to-standard-units, math-to-standard-rec): Replace variable
which-standard by declared variable.
(math-fcu-u): New variable.
(math-find-compatible-unit, math-find-compatible-unit-rec):
Replace variable u by declared variable.
(math-cu-new-units, math-cu-pure): New variables.
(math-convert-units, math-convert-units-rec): Replace variables
new-units and pure by declared variables.
(math-try-cancel-units): New variable.
(math-simplify-units-quotient): Replace variable try-cancel-units by
declared variable.
Jay Belanger [Thu, 25 Nov 2004 05:52:38 +0000 (05:52 +0000)]
(math-poly-base-top-expr): New variable.
(math-polynomial-p1): Replace variable mpb-top-expr by declared
variable.
(math-poly-base-total-base): New variable.
(math-total-polynomial-base, math-polynomial-p1): Replace variable
mpb-total-base by declared variable.
(math-factored-vars, math-to-list): Declare it.
(math-fact-expr): New variable.
(calcFunc-factors, calcFunc-factor, math-factor-expr,
math-factor-expr-try, math-factor-expr-part): Replace variable expr by
declared variable.
(math-fet-x): New variable.
(math-factor-expr-try, math-factor-poly-coefs): Replace variable x by
declared variable.
(math-factor-poly-coefs): Make temp a local variable.
(compilation-mode-map): Don't inherit from compilation-minor-mode-map;
copy its bindings instead. But the menu bar Compile entry now does
inherit from compilation-menu-map.
Don't always require newcomment.
(imenu--generic-function): Call comment-normalize-vars
if we have a comment syntax.
Exit the loop if REGEXP matches the null string.
Test comment-start as well as comment-start-skip
when deciding whether to check for comments.
Glenn Morris [Thu, 25 Nov 2004 00:46:42 +0000 (00:46 +0000)]
(f90-smart-end, f90-previous-statement, f90-beginning-of-block): Doc fix.
(f90-calculate-indent): Handle un-named PROGRAM blocks.
(f90-end-of-block): Doc fix. Make check of outermost block
conditional on value of `f90-smart-end'.
(f90-block-match): Hack to deal with un-named PROGRAM blocks.
Handle case where END-BLOCK is nil.
(f90-match-end): Handle un-named PROGRAM blocks.
(f90-backslash-not-special): New function.
Jay Belanger [Wed, 24 Nov 2004 18:01:37 +0000 (18:01 +0000)]
(math-nrf-n, math-nrf-nf, math-nrf-nfm1): New variables.
(math-nth-root-float, math-nth-root-float-iter): Replace variables
n, nf and nfm1 by declared variables.
(math-nri-n): New variable.
(math-nth-root-int, math-nth-root-int-iter): Replace variable n by
declared variable.
Jay Belanger [Tue, 23 Nov 2004 05:56:40 +0000 (05:56 +0000)]
(math-read-replacement-list, math-read-superscripts): New variables.
(math-read-preprocess-string): New function.
(math-read-expr): Filter input through math-read-preprocess-string.
Daniel Pfeiffer [Mon, 22 Nov 2004 23:31:28 +0000 (23:31 +0000)]
(compilation-start): In cd command use substitute-env-vars -- not quite shell compatible but better than nothing.
(compilation-error-regexp-alist-alist): Simplify ftnchek to only handle the newer versions messages, which are more parseable.
Kim F. Storm [Mon, 22 Nov 2004 23:26:36 +0000 (23:26 +0000)]
(update_window_fringes): Show top row indicator if
window has header-line. Don't show arrow at bob and eob
if the boundary indicators are not used.
(Fset_fringe_bitmap_face): Signal error in lookup_named_face.
Kim F. Storm [Mon, 22 Nov 2004 23:26:02 +0000 (23:26 +0000)]
(handle_single_display_prop): Don't signal error in
lookup_named_face for unknown fringe face name.
(highlight_trailing_whitespace): Don't signal error in
lookup_named_face if trailing-whitespace face unknown.
(calc_line_height_property): Don't signal error in
lookup_named_face if specified face name is unknown.
Kim F. Storm [Mon, 22 Nov 2004 23:25:49 +0000 (23:25 +0000)]
(lookup_named_face): Add signal_p arg. Return -1 if
signal_p is zero and face name is unknown.
(Fx_list_fonts): Don't signal error in lookup_named_face.
(Fface_font): Signal error in lookup_named_face.
(ascii_face_of_lisp_face): Likewise.
Stefan Monnier [Mon, 22 Nov 2004 15:12:09 +0000 (15:12 +0000)]
(list-buffers-noselect): Use fixed-pitch only in the header-line.
Re-add the leading space in the header-line when needed.
Build the underline automatically. Use emdash if available.
Nick Roberts [Mon, 22 Nov 2004 09:44:23 +0000 (09:44 +0000)]
(gdb-resync): New function.
(gdb-pre-prompt, gdb-prompt, gdb-starting, gdb-stopping)
(gdb-frame-begin, gdb-stopped, gdb-post-prompt):
Use it to fail more gracefully.
(gdb-variables): Delete variable.
Re-order variables to reduce byte-compiler warnings.
Jay Belanger [Mon, 22 Nov 2004 04:52:48 +0000 (04:52 +0000)]
(math-read-big-expr, math-read-big-bigp): Replace variable lines by
math-read-big-lines.
(math-read-big-expr): Replace variables the-baseline, the-h2
and err-msg by math-read-big-baseline, math-read-big-h2 and
math-read-err-msg.
(math-read-big-bigp): Replace variable h2 with math-rb-h2.
Stefan Monnier [Mon, 22 Nov 2004 01:21:07 +0000 (01:21 +0000)]
Add coding cookie. Fix up docstrings, follow new commenting conventions.
(ses-header-line-menu): Fix missing variable rename for header-row.
(ses-cell-size): Remove.
(ses-make-cell): New function.
(ses-cell, ses-insert-row, ses-insert-column): Use it.
(ses-calculate-cell): Remove unused var `symbol'.
(ses-narrowed-p): New function.
(ses-goto-data, undo-more, ses-reconstruct-all): Use it.
(ses-initial-file-trailer): Change ;;; to ;; for local vars.
(ses-load, ses-reconstruct-all): Adjust string search accordingly.
(ses-setup): Use restore-buffer-modified-p.
(ses-cleanup): Remove unused var `end'.
(ses-header-string-left-offset): Remove.
(ses-create-header-string): Adjust to new behavior of `align-to'.
Truncate excessively large fields to preserve alignment.
(ses-reconstruct-all): Remove unused var `refs'.
(ses-read-cell-printer): Remove unused var `prompt'.
(ses-delete-row): Remove unused var `pos'.
(ses-delete-column): Remove unused var `new'.