Paul Eggert [Tue, 10 Aug 1993 04:14:17 +0000 (04:14 +0000)]
(Ffloor): Optional second operand specifies divisor, as in Common Lisp.
(syms_of_floatfns): Invoke syms_of_floatfns even if LISP_FLOAT_TYPE
isn't defined, since `(floor A B)' is now needed for integers.
Paul Eggert [Mon, 9 Aug 1993 22:06:00 +0000 (22:06 +0000)]
(awkscript): Some sites put comma-separated junk after the fullname.
Remove it, but leave "Bill Gates, Jr" alone.
Remove the junk from fullnames like "0000-Admin(0000)".
Jim Blandy [Mon, 9 Aug 1993 06:04:14 +0000 (06:04 +0000)]
* config.h.in (HAVE_LOGB, HAVE_FREXP): Add #undefs for the
configuration script to edit.
* floatfns.c (Flogb): Use HAVE_LOGB and HAVE_FREXP, instead of
assuming that all USG systems have FREXP.
(struct font_info): New structure.
(x_font_table): Use struct font_info as elements.
(x_new_font): Corresponding changes.
Use XListFonts, not XListFontsWithInfo.
Use XFreeFontNames, not XFreeFontInfo.
Compare fonts by name, not by fid.
If already_loaded is 0, that counts as "yes".
(mouse-set-point): Error if click in inactive minibuffer.
(mouse-drag-region): Use mouse-set-point.
Don't set a mark if final event wasn't suitable for setting point.
(Vinvocation_directory): New var.
(init_cmdargs): Set up its value.
(Finvocation_directory): New function.
(main): Call init_buffer, init_callproc and init_cmdargs
before init_lread.
(syms_of_emacs): Install the function, and protect the variable.
(Fset_input_mode): Start polling, if appropriate.
At the beginning, stop polling.
Remove period from error message.
(stop_polling, start_polling): Check for interrupt_input.
(POLL_FOR_INPUT): Define whether or not target supports SIGIO.
(diary-display-hook): Change default and fix doc string.
(diary-hook): New user variable.
(diary-date-forms, calendar-date-display-form): Don't autoload
them so the European/American style is decided at load time.
(list-diary-entries): Split diary-display-hook into two
pieces, diary-display-hook and diary-hook. If diary-display-hook
is nil, use simple display.
(include-other-diary-files): Set those hooks properly for other files.
Jim Blandy [Tue, 3 Aug 1993 07:28:04 +0000 (07:28 +0000)]
Changes for 3b1 suggested by Andy Fyfe <andy@scp.caltech.edu>
* 7300.h [__GNUC__]: #define HAVE_ALLOCA.
[not __GNUC__]: #define SWITCH_ENUM_BUG, C_ALLOCA, and STACK_DIRECTION.
(HAVE_SYSVIPC, USE_UTIME): #define these.
(memmove): We don't have this; call safe_bcopy.
(CRT0_COMPILE): #define this, so we always use the system's cc.
* config.h.in: Add #undefs for HAVE_MKDIR and HAVE_RMDIR, for
configure to edit.
* sysdep.c [not HAVE_MKDIR] (mkdir): New function, taken from tar,
for use on systems lacking the mkdir function.
[not HAVE_RMDIR] (rmdir): New function, taken from tar, for use on
systems lacking the rmdir function.
* ymakefile (crt0.o): Replace the compiler and switches with the
symbol CRT0_COMPILE.
(CRT0_COMPILE): If the system and machine description files have
left this undefined, then define it to do the same as the old
crt0.o rule used to.
Make boldness and italicness affect subsequently created frames.
(make-face-bold, make-face-italic, make-face-bold-italic)
(make-face-unbold, make-face-unitalic): Update global-face-data.
Ignore a list found in the font slot.
(make-face-bold-internal, make-face-italic-internal):
(make-face-bold-italic-internal): New subroutines.
(x-create-frame-with-faces): If global-face-data's font slot
indicates bold and/or italic, make it so.
Jim Blandy [Tue, 3 Aug 1993 07:02:38 +0000 (07:02 +0000)]
* config.h.in: Add #undefs for HAVE_MKDIR and HAVE_RMDIR, for
configure to edit.
* sysdep.c [not HAVE_MKDIR] (mkdir): New function, taken from tar,
for use on systems lacking the mkdir function.
[not HAVE_RMDIR] (rmdir): New function, taken from tar, for use on
systems lacking the rmdir function.
(cmpl-read-time-eval): Make it no-op.
(cmpl-hours-since-origin): Use truncate to make an integer.
(completion-search-reset): Use completion-prefix-min-length.
(indent-c-exp): Don't document ENDPOS.
(c-indent-region): Rewrite to use indent-c-exp on one sexp at a time,
then use c-indent-line on the next line, etc.
(fill-region-as-paragraph): When we take one word
after the fill column, don't stop at period with just one space.
When checking whether at beginning of line, if no fill prefix,
ignore intervening whitespace.