Paul Eggert [Sat, 11 Jan 1997 17:44:06 +0000 (17:44 +0000)]
(rounding_driver): New function for systematic support of
2-argument rounding functions, so that `floor' isn't the only one
that supports 2 arguments.
(Fceiling, Ffloor, Fround, Ftruncate): Use it.
(ceiling2, floor2, round2, truncate2, double_identity): New functions.
(syms_of_floatfns): Define ceiling, round, and truncate even if
LISP_FLOAT_TYPE is not defined.
Include <mach-o/reloc.h>.
(fgrowth): Initialize to zero.
(vmaddr_growth, dataseg_vmaddr, dataseg_vmend): New variables.
[NS_TARGET] (extreloff, nextrel, dysymtab, reloc_info): New variables.
(unexec_doit): Adjust file offsets of segments that follow the
enlarged data segment. Adjust vmaddr of the SEG_LINKEDIT segment that
follows the data segment.
[NS_TARGET] (unexec_doit): Adjust file offsets in the LC_DYSYMTAB load
command that follows the data segment. Zero out relocation entries
that fall within the data segment.
(LOCK_PID_MAX): Use sizeof (unsigned long) instead of hardwiring 21.
(lock_file_1): Use LOCK_PID_MAX when allocating lock_info_str
instead of hardwiring 21.
No longer a minor mode.
(expand-submit-bug-report): Function deleted.
(expand-mode-version, expand-mode-help-address): Variables deleted.
(expand-mode): Variable and function deleted.
(expand-mode-hook, expand-mode-name): Variables deleted.
(expand-load-hook): Variable renamed from expand-mode-load-hook.
(expand-map): Variable deleted.
(expand-jump-to-next-slot): Renamed from expand-jump-to-next-mark.
Add autoload.
(expand-jump-to-previous-slot): Add autoload.
Renamed from expand-jump-to-previous-mark.
(bright_bg): Save the original state of video blink bit.
(maybe_enable_blinking): New function, restores the original state
of the blink bit.
(IT_reset_terminal_modes): Restore the original state of the blink
bit when suspending/exiting.
(run_msdos_command): Make sure bright background colors are again
enabled after subsidiary program returns.
(command_loop_1, read_char):
Run Qecho_area_clear_hook when clearing echo area.
(Qecho_area_clear_hook): New variable.
(syms_of_keyboard): Initialize it.
(texinfo-mode): Locally set tex-first-line-header-regexp.
Locally set tex-trailer.
(texinfo-mode): Use regexps for
tex-start-of-header and tex-end-of-header.
(texinfo-tex-region, texinfo-tex-buffer): Use tex-region and tex-buffer.
(texinfo-tex-print): Use tex-print.
(texinfo-tex-view): New command, on C-x C-t C-v.
(word-help-mode-alist, reset-word-help)
(word-help-switch-help-file): Added support for completion.
(word-help-complete, word-help-complete-list)
(word-help-complete-index, word-help-extract-matches)
(word-help-make-complete): New functions/variables for completion.
(word-help-mode-alist): Enhanced search regexps.
(word-help-index-mapper): Defaults now to extracting the first word.
(word-help-mode-alist, word-help-index-mapper)
(word-help-main-index, word-help-main-obarray)
(reset-word-help, set-help-file, word-help-process-indexes)
(word-help-goto-index-node): Doc fixes.
(word-help-goto-index-node): Requires passing the keyword.
Uses this in the a new and enhanced magic indexing routine.
(set-help-file, word-help): Handle `completion-ignore-case' better.
(word-help-extract-index): `case-fold-search' better handled.
(word-help): Magic guessing of relevant help file put in new
function word-help-find-help-file.
(word-help-guess-all): New subroutine.
(word-help-guess): Use word-help-guess-all.
May optionally copy only upto the cursor,
instead of the entire keyword.
(easy-menu-create-keymaps): Menu item STYLE toggle (checkbox)
and radio (radio button) are prefixed by "[X] " or
"(*) " respectively, when selected and "[ ] " or "( ) ", when not
selected. In a menu that contain these prefixes, " " is used
as prefix for items that have no other prefix.
(easy-menu-update-button): New function used as `menu-enable'
property for checkboxes and radio buttons to update the prefixes.
(easy-menu-define): Change documentation string to describe the
new prefixes.
(sh-shell-file): On MSDOS, collapse $SHELL to lower
case and remove the executable extension, if any.
(sh-other-keywords): Define an entry for `sh' and make `bourne'
inherit from that.
(sh-mode): Always pass nil as 3rd arg to sh-set-shell.
(tex-region): Correctly handle possible
overlap between first line, header, and region.
New local var ALREADY-OUTPUT makes this general.
Write tex-trailer directly as a string; get rid of temp-buffer.
Make tex-out-file include the .tex suffix.
(copying src): Check thoroughly for symlinks
and copy them in all cases. Regularize the linking of *.in
and *.opt and ChangeLog files.
(copying lib-src): Likewise.
Don't rm getdate.c or y.tab.*--they don't exist any more.
(locate-mode): Locally set dired-move-to-filename-regexp,
dired-permission-flags-regexp, and dired-actual-switches.
(locate-set-indentation): Function deleted.
(locate-insert-header): Don't indent the header line.
(locate-indentation-string): Variable deleted.
(locate-do-setup): Rewrite the loop that adds indentation.
Paul Eggert [Mon, 30 Dec 1996 08:07:51 +0000 (08:07 +0000)]
<float.h>: Include if STDC_HEADERS.
(IEEE_FLOATING_POINT): New symbol.
(float_arith_driver, Fmod):
Test for division by 0 only if ! IEEE_FLOATING_POINT.
Paul Eggert [Mon, 30 Dec 1996 08:07:51 +0000 (08:07 +0000)]
<float.h>: Include if STDC_HEADERS.
(IEEE_FLOATING_POINT): New symbol.
(Ffloor): Test for division by 0 only if ! IEEE_FLOATING_POINT.
(fmod_float): New function.
(rmail-msg-is-pruned): New function.
(rmail-toggle-header): Add an optional argument to specify explicitly
whether the header should be pruned or displayed in full.
(dos_set_keyboard): Test whether KEYB.COM is installed
for international keyboard support.
(dos_get_modifiers): If international keyboard support is NOT
required, make both Right and Left Alt key behave like Meta key.