Jim Blandy [Thu, 18 Mar 1993 16:11:17 +0000 (16:11 +0000)]
Some VMS changes from Richard Levitte <levitte@e.kth.se>:
* [VMS] systime.h: Include vmstime.h. VMS has the timezone
variable and the tzname array.
* s/vms.h: VMS does have select.
mth$dmod is the same as Unix's drem.
Use the time functions in vmstime.c.
No need to rename the malloc routines if we're using GNU malloc.
PURESIZE needs to be 330000.
* vmstime.c, vmstime.h: New files.
* systty.h: Don't try to initialize extern declarations under VAX C.
* vmspaths.h (PATH_LOADSEARCH): Include EMACS_LIBRARY:[LOCAL-LISP]
in PATH_LOADSEARCH.
(PATH_EXEC): Use EMACS_LIBRARY:[LIB-SRC] instead of [ETC].
* sysdep.c [VMS] (init_sys_modes): Don't allocate process_ef.
[VMS] (queue_kbd_input): Build events structure correctly.
[VMS] (gethostname): New function.
[VMS] (getwd): Don't get the PATH environment variable; that's
dumb. Call getcwd.
Eric S. Raymond [Wed, 17 Mar 1993 13:58:48 +0000 (13:58 +0000)]
(vc-header-strings) Name changed to vc-header-alist, to match the
docs.
(vc-finish-logentry, vc-next-comment, vc-previous-comment,
vc-comment-search-forward, vc-comment-search-backward) The VC comment
ring is now a separate buffer from *VC-log*; editing of old comments
is no longer destructive.
Paul Eggert [Tue, 16 Mar 1993 22:49:00 +0000 (22:49 +0000)]
Some awks don't understand "\r". Code around this.
Unfortunately this requires putting a carriage return in the source code.
Don't assume that rlog will tolerate times like `10:10:60';
RCS 5.7 won't allow this.
Jim Blandy [Tue, 16 Mar 1993 18:18:47 +0000 (18:18 +0000)]
src/\f * simple.el (quoted-insert): In overwrite mode, don't read digits
as an octal character code. In binary overwrite mode, overwrite
the characters instead of inserting them.
(overwrite-mode-textual, overwrite-mode-binary): New symbols, for
use in the mode line.
(overwrite-mode): Doc fix. Use force-mode-line-update.
(binary-overwrite-mode): New function.
* loaddefs.el (minor-mode-alist): Make the mode line element for
overwrite-mode be the symbol `overwrite-mode'.
Jim Blandy [Tue, 16 Mar 1993 18:18:05 +0000 (18:18 +0000)]
* cmds.c (overwrite_binary_mode): Deleted; this implements the
wrong feature.
(Qoverwrite_mode_binary): New variable.
(internal_self_insert): If current_buffer->overwrite_mode is
`overwrite-mode-binary', do as overwrite_binary_mode used to.
(syms_of_cmds): Remove defvar of overwrite_binary_mode; initialize
Qoverwrite_mode_binary.
* buffer.c (syms_of_buffer): Doc fix for overwrite_mode.
* buffer.h (struct buffer): Doc fix.
Jim Blandy [Tue, 16 Mar 1993 05:55:57 +0000 (05:55 +0000)]
Rename `live-window-p' to `window-live-p', for consistency with
`frame-live-p'.
* window.c (Fwindow_live_p): Renamed from Flive_window_p.
* lisp.h (CHECK_LIVE_WINDOW): Change to use Qwindow_live_p.
(Qwindow_live_p): Extern declaration renamed fom Qlive_window_p.
Jim Blandy [Mon, 15 Mar 1993 21:41:36 +0000 (21:41 +0000)]
* frame.c (Fframe_height, Fframe_width): Fix doc strings to match
those of the multi-frame versions in frame.el. Accept an optional
argument FRAME, also for consistency.
Jim Blandy [Mon, 15 Mar 1993 08:51:02 +0000 (08:51 +0000)]
Make frame configurations start with a distinctive symbol.
* frame.el (current-frame-configuration): Return a list as before,
but starting with `frame-configuration'.
(set-frame-configuration): Check that CONFIGURATION is a list
starting with `frame-configuration', strip it off, and do as before.
(frame-configuration-p): New function.
* register.el (jump-to-register): Use frame-configuration-p,
instead of catching an error in set-frame-configuration. Really now.
Richard M. Stallman [Mon, 15 Mar 1993 06:05:17 +0000 (06:05 +0000)]
(SELECTION_EVENT_DISPLAY): New macro.
(SELECTION_EVENT_REQUESTOR, SELECTION_EVENT_SELECTION)
(SELECTION_EVENT_TARGET, SELECTION_EVENT_PROPERTY)
(SELECTION_EVENT_TIME): New macros.
(struct selection_input_event): New structure.
Richard M. Stallman [Mon, 15 Mar 1993 06:04:31 +0000 (06:04 +0000)]
(Xatom_wm_change_state): Define here.
(XTread_socket): Handle NEW_SELECTIONS alternative:
queue events for SelectionRequest and SelectionClear;
call functions for SelectionNotify and PropertyNotify.
Richard M. Stallman [Mon, 15 Mar 1993 05:46:58 +0000 (05:46 +0000)]
(command_loop_1): Set FRAME_MENU_BAR_ITEMS here.
(menu_bar_items): Reverse the list when done.
(command_loop_1): Typo calling Qrecompute_lucid_menubar.
(read_key_sequence): Likewise. Also fix call to Vrun_hooks.
(kbd_buffer_get_event): Handle selection_clear_event
and selection_request_event events.
(read_key_sequence): Support Vcurrent_menubar
and Qactivate_menubar_hook. Call Qrecompute_lucid_menubar.
(syms_of_keyboard): Set up Vcurrent_menubar, Vprevious_lucid_menubar,
Qactivate_menubar_hook, and Qrecompute_lucid_menubar.
Richard M. Stallman [Fri, 12 Mar 1993 22:37:07 +0000 (22:37 +0000)]
(xmenu_show): New arg enable_list.
(keymap_panes): New arg enables
(single_keymap_panes): New arg enables. Fill in its contents.
(list_of_panes, list_of_items): New arg enables. Fill in contents.
(Fx_popup_menu): Pass enable and enable_list args.
(single_keymap_panes): Set enable flag to -1 if cmd definition is nil.