Richard M. Stallman [Sun, 8 Aug 1993 22:38:31 +0000 (22:38 +0000)]
(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".
Richard M. Stallman [Sun, 8 Aug 1993 19:16:42 +0000 (19:16 +0000)]
(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.
Richard M. Stallman [Sun, 8 Aug 1993 06:23:21 +0000 (06:23 +0000)]
(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.
Richard M. Stallman [Fri, 6 Aug 1993 21:17:16 +0000 (21:17 +0000)]
(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.
Richard M. Stallman [Wed, 4 Aug 1993 23:02:10 +0000 (23:02 +0000)]
(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.
Richard M. Stallman [Wed, 4 Aug 1993 23:01:24 +0000 (23:01 +0000)]
(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.
Richard M. Stallman [Tue, 3 Aug 1993 07:12:34 +0000 (07:12 +0000)]
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.
Richard M. Stallman [Tue, 3 Aug 1993 05:46:33 +0000 (05:46 +0000)]
(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.
Richard M. Stallman [Mon, 2 Aug 1993 07:44:36 +0000 (07:44 +0000)]
(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.
Richard M. Stallman [Mon, 2 Aug 1993 05:55:56 +0000 (05:55 +0000)]
(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.
Richard M. Stallman [Mon, 2 Aug 1993 04:22:12 +0000 (04:22 +0000)]
(Info-fontify-node): New function.
(Info-fontify): New variable.
(Info-mode): Initialize Info-related faces.
(Info-select-node): Fontify the node if necessary.
(Info-goto-node): Provide completion for node names.
(Info-read-node-name, Info-build-node-completions): New functions.
(Info-current-file-completions): New variable.
(Info-find-node): Clear completions cache.
(Info-next-reference, Info-prev-reference): New commands.
(Info-mode-map): Bind these to TAB and M-TAB.
(Info-next-preorder): Special case if sitting on "*Note" reference.
(Info-standalone): New variable.
(Info-exit): Exit Emacs if in standalone mode.
(info-standalone): New function.
(Info-summary): Added `bury-buffer' call.
(Info-no-error): Renamed from `no-error'.
(Info-suffix-list): Put ".info" before "" to deal with directory
named "foo" next to file "foo.info".
Jim Blandy [Sun, 1 Aug 1993 22:47:44 +0000 (22:47 +0000)]
* blackbox.el (blackbox-mode-map): Now that we have
terminal-independent function-key facilities, we ought to use
them. Remove hack which looks for all bindings for the simple
motion keys and locally binds them to blackbox keys; add bindings
for the [up], [down], [left], and [right] keys.
Richard M. Stallman [Sun, 1 Aug 1993 18:48:20 +0000 (18:48 +0000)]
(last_mouse_button): Renamed from button_up_button.
(last_mouse_x, last_mouse_y): Likewise.
(button_down_time): Replaces button_up_time.
(make_lispy_event): Set button_down_time.
Detect and report double-down and double-drag events.
(apply_modifiers_uncached): Put `double' or `triple' first.
(read_key_sequence): Convert unbound double-drag/down to drag/down.