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.
Richard M. Stallman [Fri, 30 Jul 1993 07:01:23 +0000 (07:01 +0000)]
(fill-region-as-paragraph): Move misplaced paren
ending `(if (eobp) nil ...)'.
In the loop that avoids breaking after `.' with one space,
break if we actually have two spaces.
Jim Blandy [Fri, 30 Jul 1993 03:17:18 +0000 (03:17 +0000)]
* xfns.c (syms_of_xfns): Don't staticpro Vx_resource_name;
DEFVAR_LISP takes care of that, and it's deadly to staticpro a
variable containing a string twice.
Jim Blandy [Fri, 30 Jul 1993 01:39:20 +0000 (01:39 +0000)]
* gud.el (gud-gdb-marker-filter): Do not assume that the position
markers from GDB will always be received in one chunk of input;
gud-gdb-marker-filter may be called several times, each time
providing a little more of the position marker.
(gud-gdb-marker-acc): New variable.
(gud-gdb-marker-filter): If we have received what could be the
beginning of a position marker, hold that text in
gud-gdb-marker-acc for the next time we get called, until we have
enough information to decide for sure.
* gud.el (gud-gdb-marker-filter): Only recognize GDB position
markers if they occur at the beginning of the line. They always
do, and this reduces the likelihood that the above change will
hold back output that isn't really a position marker.
Richard M. Stallman [Thu, 29 Jul 1993 05:37:32 +0000 (05:37 +0000)]
(rmail-nuke-pinhead-header): Tell replace-match not to alter the case.
(rmail-toggle-header, rmail-reformat-message): Ignore case
when checking for Summary-line.