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.
Richard M. Stallman [Sat, 31 Jul 1993 22:35:20 +0000 (22:35 +0000)]
Fix doc strings and error message syntax.
Add menu bar items.
(tar-subfile-mode): Set a local-write-file-hook
rather than using key bindings.
(tar-subfile-save-buffer): Return t.
Richard M. Stallman [Sat, 31 Jul 1993 21:58:03 +0000 (21:58 +0000)]
(adjust_intervals_for_insertion): Handle insertion
between two unlike intervals via merge_properties_sticky.
(merge_properties_sticky): New function.
(graft_intervals_into_buffer): Leave handling of `sticky'-ness to
adjust_intervals_for_insertion, then merge properties of the
inserted text onto the old ones.
(textget_direct): New function.
(set_point): Fix calculating of fromprev.
(verify_interval_modification): Check for `read-only' property
and take its `sticky'-ness into account.
(set_point): Ignore `invisible' property unless property value is `hidden'.
Richard M. Stallman [Sat, 31 Jul 1993 18:32:04 +0000 (18:32 +0000)]
(Man-build-references-alist): When setting word,
use only what Man-reference-regexp matched.
(Man-reference-regexp): Don't match starting with a period.
(Man-first-heading-regexp): Allow leading space.
(Man-heading-regexp): Allow leading space.
Richard M. Stallman [Sat, 31 Jul 1993 05:55:52 +0000 (05:55 +0000)]
(prop_location_identifier): Was named prop_location_tick.
(property_change_reply_identifier): Renamed from ...-tick.
(struct prop_location): Field `identifier' renamed from `tick'.
Various functions changed accordingly.
(x_handle_selection_request): Delete local struct var `reply'.
(wait_for_property_change_unwind): New function.
(wait_for_property_change): Add unwind protect.
(wait_for_property_change): Eventually time out with error.
(x_reply_selection_request): XFlushQueue and UNBLOCK_INPUT
before calling wait_for_property_change.
(x_get_window_property): Simplify input blocking/unblocking.
Don't delete the property here.
(receive_incremental_selection): Delete property here.
Call XSelectInput to enable and disable PropertyChangeMask.
(x_get_window_property_as_lisp_data): And here.
Jim Blandy [Sat, 31 Jul 1993 01:40:35 +0000 (01:40 +0000)]
* configure.in: Test for the presence of/usr/lpp/X11/bin/smt.exp,
and #define HAVE_AIX_SMT_EXP if we do. This is present in some
versions of AIX, and needs to be passed to the loader.
Jim Blandy [Sat, 31 Jul 1993 01:39:30 +0000 (01:39 +0000)]
* config.h.in (HAVE_AIX_SMT_EXP): New #undef for configure to edit.
* m/ibmrs6000.h (LD_SWITCH_MACHINE): Don't mention
/usr/lpp/X11/bin/smt.exp unless HAVE_AIX_SMT_EXP is #defined.
Jim Blandy [Sat, 31 Jul 1993 01:31:46 +0000 (01:31 +0000)]
* config.h.in (HAVE_XSCREENRESOURCESTRING): New #undef for
configure to edit.
* xrdb.c (get_user_db): Test it to decide whether or not to try to
retrieve the screen-dependent resources.
Jim Blandy [Sat, 31 Jul 1993 01:21:21 +0000 (01:21 +0000)]
* config.h.in (HAVE_BCOPY): Add an #undef for this.
(BSTRING): #define this iff HAVE_BCOPY is #defined here. Ignore what
the system-description files say. They don't always make fine
enough distinctions between systems, and sometimes the bcopy
routines are available only with X windows.
Richard M. Stallman [Sat, 31 Jul 1993 01:08:48 +0000 (01:08 +0000)]
(shrink-window-if-larger-than-buffer): Do nothing if the
window is the only window of its frame. If the buffer ends in newline
and point is not at the end of the buffer, don't display last (empty) line.
Richard M. Stallman [Sat, 31 Jul 1993 01:05:33 +0000 (01:05 +0000)]
(vc-shrink-to-fit): Deleted. All callers changed to use
the new, fixed `shrink-window-if-larger-than-buffer' instead.
In some places move it after a (goto-char (point-min)).
Jim Blandy [Sat, 31 Jul 1993 00:55:39 +0000 (00:55 +0000)]
* configure.in: If we found X on our own, set C_SWITCH_X_SITE and
LD_SWITCH_X_SITE and assume --with-x11.
Only look for X11 files if we weren't told about a window system
or if we were told to use X11 but not told where.
Search the libraries from the s and/or m files when checking for
functions.
* configure.in: Remove any trailing slashes in prefix and exec_prefix.
Jim Blandy [Sat, 31 Jul 1993 00:21:33 +0000 (00:21 +0000)]
* frame.el (frame-notice-user-settings): If we had to create a new
frame in order to obey initial-frame-alist, use delete-frame's
FORCE argument to get rid of the old frame even if the new one
hasn't been mapped yet.
Jim Blandy [Fri, 30 Jul 1993 22:43:39 +0000 (22:43 +0000)]
* gud.el (gud-gdb-marker-filter): Preserve the match data across
the filter's execution.
* gud.el (gud-gdb-marker-filter): If we received some text after
the position marker, append it to any text before the marker,
instead of throwing away the text before the marker.