Karl Heuer [Fri, 10 Nov 1995 18:56:58 +0000 (18:56 +0000)]
(holiday-face, calendar-today-face, diary-face): Add
faces to facemenu-unlisted-faces before creating so that facemenu
won't list them as faces to be added interactively.
Don't include Xaw/Paned.h unless USE_LUCID is defined.
(set_frame_menubar): Conditionalized some code on USE_LUCID that
depends on the fact that the parent widget of the menu bar is an Xaw
"Paned" widget.
(display_text_line): Get redisplay_end_trigger from window.
(display_string): Detect truncation more carefully.
(redisplay_window): On non-X frame, always use
FRAME_MENU_BAR_LINES as criterion for whether to display menu bar.
(update_menu_bar): Likewise.
(display_menu_bar): Do the work here for non-X frames
regardless of USE_X_TOOLKIT.
Include lisp.h.
(doprnt1): Renamed from doprnt. New arg LISPSTRINGS.
This is now a static subroutine.
(doprnt): New definition calls doprnt1.
(doprnt_lisp): New function.
(makefile-mode): Call makefile-define-space-face only if it is defined.
(makefile-define-space-face): Create the face unconditionally;
alter it only if have X.
Geoff Voelker [Tue, 7 Nov 1995 07:58:00 +0000 (07:58 +0000)]
(env_vars): New variable.
(add_registry): New procedure.
(main): Use values of configuration environment variables from
the registry if defined, the process environment otherwise.
Geoff Voelker [Tue, 7 Nov 1995 07:56:36 +0000 (07:56 +0000)]
(addpm.exe): Link with $(ADVAPI32).
(install, fast_install): Change same-dir test to create test file in
installation tree and thereby support read-only shares.
(clean): Remove .pdb files.
Geoff Voelker [Tue, 7 Nov 1995 07:35:06 +0000 (07:35 +0000)]
(nt_ring_bell): Renamed from ring_bell, now global.
(initialize_win_nt_display): Use nt_ring_bell.
[HAVE_NTGUI] (pixel_to_glyph_coords, glyph_to_pixel_coords): Don't define.
Geoff Voelker [Tue, 7 Nov 1995 07:28:29 +0000 (07:28 +0000)]
[HAVE_NTGUI] (set_menu_framebar): Declare external.
[HAVE_NTGUI] (frame_title_buf, frame_title_ptr): Include variables
for Win32 window system.
[HAVE_NTGUI] (store_frame_title, x_consider_frame_title): Include
procedures for Win32 window system.
[HAVE_NTGUI] (x_consider_frame_title): Test for Win32 frame.
[HAVE_NTGUI] (display_text_line): Test for Win32 frame on face change.
[HAVE_NTGUI] (display_menu_bar): Perform no-op for NT window system.
(update_menu_bar, redisplay_window): Test for definition
of FRAME_EXTERNAL_MENU_BAR before using it.
Use FRAME_WINDOW_P of FRAME_EXTERNAL_MENU_BAR before using it.
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
Geoff Voelker [Tue, 7 Nov 1995 07:26:18 +0000 (07:26 +0000)]
[HAVE_NTGUI] (init_sys_modes, reset_sys_modes):
Don't initialize terminal mode when using window system.
[HAVE_NTGUI] (BUFFER_SIZE_FACTOR): Increase for use with window system.
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
Geoff Voelker [Tue, 7 Nov 1995 07:20:59 +0000 (07:20 +0000)]
[HAVE_NTGUI]: Include w32term.h.
[HAVE_NTGUI] (KBD_BUFFER_SIZE): Increase for NT window system.
[HAVE_NTGUI] (POLL_FOR_INPUT): Define.
[HAVE_NTGUI] (kbd_buffer_get_event): Enable windowing and menu events.
[HAVE_NTGUI] (lispy_function_keys): Define array for NT.
[HAVE_NTGUI] (make_lispy_event): Enable menu bar events.
[HAVE_NTGUI] (modify_event_symbol): Map symbol to keysym.
[HAVE_NTGUI] (read_char_x_menu_prompt): Display menus.
(FUNCTION_KEY_OFFSET): New macro.
(make_lispy_event): Use FUNCTION_KEY_OFFSET to modify event codes
before applying modifiers.
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
Geoff Voelker [Tue, 7 Nov 1995 07:19:52 +0000 (07:19 +0000)]
[HAVE_NTGUI]: Test for a Win32 frame in procedures that test for an X frame.
Use FRAME_WINDOW_P instead of testing for specific window system frames.
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
Geoff Voelker [Tue, 7 Nov 1995 07:16:44 +0000 (07:16 +0000)]
[HAVE_NTGUI]: Declare Vwindow_system.
[HAVE_NTGUI] (main): Enable inhibit_window_system.
Initialize environment from registry.
Declare syms of Win32 windowing modules.
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
Geoff Voelker [Tue, 7 Nov 1995 07:14:59 +0000 (07:14 +0000)]
[HAVE_NTGUI]: Include w32term.h.
Include dispextern.h before cm.h since dispextern.h includes windows.h.
[HAVE_NTGUI] (make_frame_glyphs, free_frame_glyphs, scroll_frame_lines,
update_frame, update_line): Test for WIN32 frame.
[HAVE_NTGUI] (init_display): Initialize WIN32 window system.
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
Geoff Voelker [Tue, 7 Nov 1995 07:13:46 +0000 (07:13 +0000)]
[HAVE_NTGUI]: Include win32.h.
HAVE_NTGUI] (struct frame_glyphs): Include pixel fields.
Use HAVE_WINDOW_SYSTEM instead of testing for specific window systems.
* etags.c (get_lang_from_name, get_lang_from_interpreter,
get_lang_from_suffix): New functions.
(get_language): Function deleted.
(lang_entry): Two members added to struct.
(lang_names): Reflect the new layout of lang_entry.
(print_language_names, main, find_entries): Use the new functions.
(find_entries): Look at the first line for #! if no language.
(C_entries): Invalidate the token when funcdef is reset.
(Perl_functions): New function.
(lang_suffixes): .pl and .pm are Perl suffixes.
Karl Heuer [Sat, 4 Nov 1995 00:39:03 +0000 (00:39 +0000)]
(mail): Don't change directory for *mail* buffer.
(sendmail-send-it, mail-recover): Instead, temporarily change to a
safe directory for just the subprocess.
Karl Heuer [Sat, 4 Nov 1995 00:19:00 +0000 (00:19 +0000)]
[!MULTI_FRAME] (Fmodify_frame_parameters): Add missing
declaration and initialization.
[MULTI_FRAME] (choose_minibuf_frame): Moved to minibuf.c; now
unconditional.
Karl Heuer [Sat, 4 Nov 1995 00:10:43 +0000 (00:10 +0000)]
(the_only_x_display): Type is now struct x_output.
(internal_terminal_init): frame member is now named output_data.
(init_environment): Fix timezone rules.
Karl Heuer [Fri, 3 Nov 1995 03:29:46 +0000 (03:29 +0000)]
(sh-shells): Eliminated variable redundant with
`interpreter-mode-alist'.
(sh-beginning-of-command): Take into account \quoted newline.
(sh-builtins, sh-leading-keywords, sh-other-keywords): Now three
distinct sets for font-locking.
(sh-font-lock-keywords-1, sh-font-lock-keywords-2): New variables
and functions to give the user finer control over how much to fontify,
including new distinction between keywords and builtins.
(sh-mode): Use new features of `font-lock-defaults' and adaptation
to skeleton changes.
(sh-while): Fix csh, es & rc skeletons.