bpt/emacs.git
26 years ago(WinMain): Allow Emacs process to be started with
Geoff Voelker [Wed, 3 Sep 1997 02:19:32 +0000 (02:19 +0000)]
(WinMain): Allow Emacs process to be started with
high or low priority.

26 years ago(CFLAGS_COMMON): Place pdb file in object build
Geoff Voelker [Wed, 3 Sep 1997 02:19:02 +0000 (02:19 +0000)]
(CFLAGS_COMMON): Place pdb file in object build
directory.
(CFLAGS) [!MSVCNT11]: Define _CRTAPI1.

26 years ago(get_env_size): New function.
Geoff Voelker [Wed, 3 Sep 1997 02:18:32 +0000 (02:18 +0000)]
(get_env_size): New function.
(spawn): Explicitly pass in environment when creating subprocess.
(main): Cleaup error messages.
Specify dynamically sized environment block for real shell.
Pass on unhandled switches to real shell.
Quote program name.

(get_next_token): Null terminate token returned.

26 years ago(env_vars): Put site-lisp before lisp in EMACSLOADPATH.
Geoff Voelker [Wed, 3 Sep 1997 02:18:15 +0000 (02:18 +0000)]
(env_vars): Put site-lisp before lisp in EMACSLOADPATH.
Quote group name.  Allow different icons to be specified.

(env_vars): No longer set INFOPATH.

26 years ago(INTERRUPT_INPUT): Don't define.
Geoff Voelker [Wed, 3 Sep 1997 01:14:40 +0000 (01:14 +0000)]
(INTERRUPT_INPUT): Don't define.
(bcopy): Use memmove instead of memcpy.
(GAP_USE_BCOPY, BCOPY_UPWARD_SAFE, BCOPY_DOWNWARD_SAFE): Define.
Undef system calls before redefining.  Emulated calls redefined
to sys_*, real calls redefined to _*.
(DebPrint): Macro defined.

Use pragmas to place Emacs initialized data in
EMDATA segment, and Emacs uninitialized data in EMBSS segment.

26 years ago(have_menus_p): Move to w32fns.c.
Geoff Voelker [Wed, 3 Sep 1997 01:14:17 +0000 (01:14 +0000)]
(have_menus_p): Move to w32fns.c.

26 years ago(w32_output): New fields menubar_widget, menubar_active,
Geoff Voelker [Wed, 3 Sep 1997 01:13:25 +0000 (01:13 +0000)]
(w32_output): New fields menubar_widget, menubar_active,
and pending_menu_activation.
(VERTICAL_SCROLL_BAR_*): Use proportional scroll bar variables.
(W32WindowPos): Delete definition.
(WM_EMACS_SETFOCUS, WND_*_INDEX): New macros.
(deferred_msg): New structure.

(WM_MOUSEWHEEL): Define if not already defined.
Necessary for pre VC5.0 distribution.
(WM_EMACS_TRACKPOPUPMENU): New Macro.

26 years ago(SIF_*): Win95 macros defined for NT.
Geoff Voelker [Wed, 3 Sep 1997 01:07:37 +0000 (01:07 +0000)]
(SIF_*): Win95 macros defined for NT.
(struct tagSCROLLINFO): Win95 struct defined for NT.
(vertical_scroll_bar_min_handle, vertical_scroll_bar_top_border,
vertical_scroll_bar_bottom_border, last_scroll_bar_drag_pos,
Vw32_gab_focus_on_raise, Vw32_capslock_is_shiftlock): New
variables.
(w32_frame_up_to_date): Block input.
(do_line_dance): Use DC while erasing, release at end.
(show_mouse_face): Use column and endcolumn calculated at start of
loop.
(my_create_scrollbar, my_show_window, my_set_window_pos,
my_set_focus) [! ATTACH_THREADS]: Send message to window instead
of invoking Windows procedure.
(x_scroll_bar_create, x_scroll_bar_move, x_scroll_bar_handle_click,
x_scroll_bar_report_motion): Use SCROLLINFO for proportional handle.
(x_scroll_bar_set_handle): Create proportional sized scroll handle.
(w32_set_vertical_scroll_bar): Size handle according to how much
is showing in window.
(x_scroll_bar_set_report_motion): Use top_range, calculated above.
(x_scroll_bar_clear): Hide scroll bar until ready to repaint.
(show_scroll_bars): Pass in frame to my_show_window.
(w32_read_socket): Distinguish between invisible and obscured frames
when handling PAINT messages.
Fixup off-by-one calculation for PAINT and SIZE.
Pass in new parameter to w32_kbd_mods_to_emacs.
Handle WM_DISPLAYCHANGE, WINDOWPOSCHANGED, ACTIVATE, SHOWWINDOW,
INITMENU, and ACTIVATEAPP messages.
Explicitly check for visibile and obscured frames, and to see if
any event should cause a redisplay.

(x_display_bar_cursor): Don't check whether frame is updating here.
(x_display_cursor): Check it here instead.
(x_set_offset) [HAVE_NTGUI]: Don't add border widths.
Set NOACTIVATE when setting window position.
(x_set_window_size): Fixup off-by-one calculation when setting
window position.  Mark frame garbaged earlier.  Clear mouse
highlighting state.
(x_focus_on_frame): Set focus by making frame the foreground window.
(x_raise_frame): Support frames to be raised without grabbing focus.
(x_lower_frame): Set NOACTIVATE flag when setting window position.
(x_make_frame_visible, x_make_frame_invisible): Pass in frame
to my_show_window.
to my_show_window.
(x_iconify_frame): Send a MINIMIZE message to the window.
(x_wm_set_size_hint): Set font width, line height, border,
and scroll bar indexes instead of X and Y unit indexes.

(w32_initialize): Set input mode.  Use w32_msg_worker instead
of windows_msg_worker.  Dynamically link proportional scroll bar
functions and intialize proportional scroll bar variables.
(syms_of_w32term): DEFVAR new variables.

(construct_mouse_wheel): New function.  Constructs an
input event from a WM_MOUSEWHEEL message.
(w32_read_socket): Handle WM_MOUSEWHEEL.

(w32_read_socket): Pass in new parameter to key_event.
Let key_event determine whether key is dead.
For MOVE, use x_real_positions to map to client coords.
(x_set_mouse_pixel_position): Offset to use client area as origin.

26 years agoInclude w32heap.h.
Geoff Voelker [Wed, 3 Sep 1997 01:05:33 +0000 (01:05 +0000)]
Include w32heap.h.
(Vw32_start_process_share_console, Vw32_generate_fake_inodes,
Vw32_get_true_file_attributes, Qhigh, Qlow, process_dir):
New variables.
(find_child_console, set_process_dir, Fw32_short_file_name,
Fw32_long_file_name, Fw32_set_process_priority, Fw32_get_locale_info,
Fw32_get_current_locale_id, Fw32_get_default_local_id,
Fw32_set_current_locale): New functions.
(CORRECT_DIR_SEPS): New macro.
(create_child): Create a new console if subprocs don't share parent's.
(reap_subprocess): Don't check for dos subprocesses.
Add debug support.
(sys_wait): Ignore socket child_procs.
Check for quit while waiting.
(w32_executable_type): Renamed from w32_is_dos_binary.
Check for dos and Cygnus executables.
(sys_spawnve): Always use cmdproxy if spawning a dos app.
Use quotes to quote arguments for Cygnus apps, backslashes otherwise.
Handle escape characters.  Escape quotes at start and end, too.
(sys_select): Treat null timeout as infinite.
Add handles of child processes.
Loop over handles round robin to ensure fairness.
(sys_kill): Send ctrl-break and ctrl-c keystrokes to subprocesses
on SIGINT if not sharing consoles, otherwise generate ctrl-break event.
On other termination signals, send WM_QUIT message to Win95 apps
and WM_CLOSE to NT apps.
(syms_of_ntproc): Intern new symbols.  defsubr new functions.
DEFVAR new variables.

26 years ago(init_menu_items): Disable code.
Geoff Voelker [Wed, 3 Sep 1997 00:53:34 +0000 (00:53 +0000)]
(init_menu_items): Disable code.
(x_activate_menubar): New function.
(initialize_frame_menubar): Pass in new param to set_frame_menubar.

(get_frame_menubar_event): Check for the possibility
of a menu-bar button.  A menu-bar button is a caption on the menu
bar with no submenu.

(set_frame_menubar): Correctly handle menu-bar buttons.
(add_menu_item): Equiv parameter send and paid attention to.
(keymap_panes, list_of_panes): Use CreatePopupMenu.
(single_keymap_panes): Use CreatePopupMenu.  Send key descriptions
to add_menu_item.
(list_of_items): Use CreatePopupMenu.  Send nil description to
add_menu_item.
(get_menu_event): Send keymap instead of menu to get_keymap_event.
(Fx_popup_menu): Extra parameter to mouse_position_hook.  Don't
send address of menu to win32menu_show.
(win32menu_show): Send message to call popup menu rather than
trying directly.  get_menu_event should take an address.
Call eat_mouse_events in order to get rid of any extraneous
mouse events.
(list_of_panes): Only bring up one pane if the length of the list
of panes is one.

(single_keymap_panes): Fixed problem with 'descrip'
lisp object not being protected properly (GCPRO).
(get_single_keymap_event): Fixed problem with 'descrip' lisp
object not being protected properly (GCPRO).
(name_is_separator): New function.
(list_of_panes): If a pane's name is empty ("") items are now
placed in the main popup instead of a blank-named submenu.  This
seems to be an undocumented feature of x-popup-menu.
(list_of_items): New argument HMENU.
Use 1 and 0 instead of Qt and Qnil for enable in add_menu_item

26 years agoDeclare externs from other files.
Geoff Voelker [Wed, 3 Sep 1997 00:52:40 +0000 (00:52 +0000)]
Declare externs from other files.
(w32_kbd_mods_to_emacs): New parameter KEY.
Use w32-capslock-is-shiftlock for old behavior.
(key_event): Pass in new parameter to w32_kbd_mods_to_emacs.
(key_event): New parameter isdead. Set isdead if the
key press was done using a dead key.

26 years agoEnumerate operating system types.
Geoff Voelker [Wed, 3 Sep 1997 00:52:12 +0000 (00:52 +0000)]
Enumerate operating system types.
Declare extern data and functions.
Move file_data struct definition here.
(OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_PTR): New macros.

26 years ago(os_subtype): New variable.
Geoff Voelker [Wed, 3 Sep 1997 00:51:32 +0000 (00:51 +0000)]
(os_subtype): New variable.
(cache_system_info): Set os_subtype.
(recreate_heap): Update system information after loading heap.
Don't use data_seg pragma here.
(_heap_init, _heap_term) [_MSC_VER >= 1000]: New functions that
override CRT routines.

26 years agoInclude limits.h and errno.h.
Geoff Voelker [Wed, 3 Sep 1997 00:47:47 +0000 (00:47 +0000)]
Include limits.h and errno.h.
Declare externs from other files.
(w32_in_use): New variable.
(check_w32, have_menus_p, x_set_title, w32_msg_worker,
find_deferred_msg, send_deferred_msg, complete_deferred_msg,
Fw32_focus_frame, W32-send-sys-command): New functions.
(last_mouse_movement_time): Delete variable.

(x_frame_parms): Alphabetize.  Add title parm.
(x_set_icon_name): Use title if set.
(x_set_menu_bar_lines): Ensure client area remains the same.
(x_set_name): Don't update if the name is the same.
Use title for name if available.
(x_icon): Initial support for creating window iconified.
(x_display_info_for_name): Set w32_in_use.
(Fx_open_connection): Validate Vwindow_system.  Set w32_in_use.

(w32_create_window): Set window size to frame dimensions.
Set font width, line height, border, scrollbar indexes.
Don't set X and Y units indexes.
(w32_msg_pump): Renamed from windows_msg_worker.
Make static.  Don't post done message. No longer handle
create scrollbar message.  Don't abort on anomalous messages.
Return when completion detected.
(w32_wnd_proc): Keep track of button state.
For WINDOWPOSCHANGING, force window dimensions to be multiples
of character dimensions.
Handle CREATESCROLLBAR.
Use correct arguments for SHOWWINDOW.
For SETWINDOWPOS, use WINDOWPOS structure.

(my_create_window): Abort if message post fails.
(Fx_create_frame): Use title instead of name.
GC protect frame before make_frame_without_minibuffer.
Set icon name.
Use courier new as default font (has bold and italic).
Set BufferPredicate and Title default parameters.

(x_to_w32_weight): Support semibold weight.
(x_to_w32_charset): Map # to numeric charset identifier.
(w32_to_x_charset): Encode unknown charsets as a number.
(enum_font_cb2): Don't restrict to ANSI and OEM charsets.

(Fx_color_values): Set high and low words of color values.

(syms_of_w32fns): Zero w32_in_use.  defsubr new functions.

(w32_wnd_proc): Pass on WM_DISPLAYCHANGE messages.

(win32_wnd_proc): Capture and handle WM_MOUSEWHEEL events.
Capture and handle WM_EMACS_TRACKPOPUPMENU events.
Allow a dragged selection from a popup menu started up
by a mouse down event.
(x_to_win32_color): Support for X Windows RGB string specifications.

26 years ago(DebPrint, reset_kbd, unset_kbd, take_console): Delete functions.
Geoff Voelker [Wed, 3 Sep 1997 00:46:41 +0000 (00:46 +0000)]
(DebPrint, reset_kbd, unset_kbd, take_console): Delete functions.
(keyboard_init_hook): Delete variable.
(prev_console_cursor) [! USE_SEPARATE_SCREEN]: New variable.
(reset_terminal_modes) [! USE_SEPARATE_SCREEN]: Reset cursor info.
(initialize_w32_display) [USE_SEPARATE_SCREEN]: Create separate
screen buffer.
(ctrl_c_handler): Only ignore interrupts when interactive.
(set_terminal_modes): Set input mode.
(initialize_w32_display): Record original settings.
Don't reset cursor or clear frame.

26 years agoRemove debugging macros.
Geoff Voelker [Wed, 3 Sep 1997 00:46:21 +0000 (00:46 +0000)]
Remove debugging macros.
(child_process): Remove is_dos_process field, add hwnd handle field.
(FILE_LAST_CR): New macro.
(w32_get_long_filename): Declare extern.

26 years agoInclude stddef.h.
Geoff Voelker [Wed, 3 Sep 1997 00:43:20 +0000 (00:43 +0000)]
Include stddef.h.
(getwd): Delete macro.
(startup_dir): New variable.
(getwd): Return directory in which Emacs started.
(init_user_info): Set SHELL environment variable if not set.
(parse_root, get_long_basename, w32_get_long_filename): New functions.
(init_environment): Look for CMDPROXY.
Make sure that PATH and COMSPEC are capitalized in the environment.
Record startup directory.
(get_emacs_configuration, sys_rename): Use OS_WIN95.
(map_w32_filename): Calculate returned string correctly.

(sys_fopen): Use _fdopen.
(sys_link): Support NTFS links.
(sys_rename): Use a long file name for temporary name.
(sys_pipe): Make pipes binary and non-inheritable.
(sys_read, sys_write): Spoof text mode translation for pipes
and sockets.

(hashval): Simplify.
(generate_inode_val): Use long file name version of file.

(stat): Optimize by using active readdir info.
Set fake_inode to 0 for directories.
Set fake_inode to xor of file indexes for files.
Don't use generate_inode_val to set inode value.

(volume_info_data): Renamed from volume_info.
(volume_info, fixed_drives, volume_cache): New variables.
(DRIVE_INDEX, VOLINFO_STILL_VALID): New macros.
(lookup_volume_info, add_volume_info, GetCachedVolumeInformation):
New functions.
(get_volume_info): Use volume_info_data.
Use GetCachedVolumeInformation.

(init_ntproc): No longer restrict to one DOS subprocess.
Use CRT _open and _fdopen.
Cache fixed drive information.

26 years agoInclude config.h and time.h.
Geoff Voelker [Wed, 3 Sep 1997 00:42:10 +0000 (00:42 +0000)]
Include config.h and time.h.
Declare extern data and functions.
(file_data): Move definition from w32heap.c.
(_start): Add debug hook for when profiling.
Spoof executable name when using profilers.
Invoke sbrk immediately when undumped.
(unexec): Print error messages when input and output dump files
cannot be opened.
Reset header checksum.
(open_input_file, open_output_file): Return status instead of aborting.
(get_section_size): Handle different linkers.
(find_section, rva_to_section): New functions.
(get_section_info) [SEPARATE_BSS_SECTION]: Make code for using
a separate .bss section conditional.
Use my_begbss and my_endbss to determine .bss size by default.
Look for Emacs data in EMDATA section.

26 years agomakefile.nt (TLIB0, TOBJ, OBJ0): New macro.
Geoff Voelker [Wed, 3 Sep 1997 00:41:32 +0000 (00:41 +0000)]
makefile.nt (TLIB0, TOBJ, OBJ0): New macro.
(LINK_FLAGS): Separate debugging info from the executable.
(LIBS): Include TLIB0.
(TEMACS): Link with TLIB0.
(EMACS): Copy temacs map file to emacs map file.
Update file dependencies.

26 years ago(redisplay_internal): Check to see if frame is not obscured
Geoff Voelker [Wed, 3 Sep 1997 00:37:40 +0000 (00:37 +0000)]
(redisplay_internal): Check to see if frame is not obscured
as well as visible.

26 years ago(event_kind) [WINDOWSNT]: New event type: mouse_wheel.
Geoff Voelker [Wed, 3 Sep 1997 00:37:29 +0000 (00:37 +0000)]
(event_kind) [WINDOWSNT]: New event type: mouse_wheel.

26 years ago(sys_subshell) [DOS_NT]: Save and restore parent's
Geoff Voelker [Wed, 3 Sep 1997 00:37:00 +0000 (00:37 +0000)]
(sys_subshell) [DOS_NT]: Save and restore parent's
working directory.
(sys_subshell) [WINDOWSNT]: Share MSDOS code. Don't take console.
(init_sys_modes, reset_sys_modes) [WINDOWSNT]: Do it even with
a read_socket_hook.

26 years agoDeclare discard_mouse_events.
Geoff Voelker [Wed, 3 Sep 1997 00:36:38 +0000 (00:36 +0000)]
Declare discard_mouse_events.

26 years ago(kbd_buffer_get_event) [WINDOWSNT]: Support
Geoff Voelker [Wed, 3 Sep 1997 00:31:17 +0000 (00:31 +0000)]
(kbd_buffer_get_event) [WINDOWSNT]: Support
menu_bar_activate_event.
(set-input-mode) [DOS_NT]: Do not invoke reset and init sys modes.
(Qmouse_wheel) [WINDOWSNT]: New variable.
(discard_mouse_events): New function.
(mouse_wheel_syms) [WINDOWSNT]: New variable.
(lispy_mouse_wheel_names) [WINDOWSNT]: New variable.
(make_lispy_event) [WINDOWSNT]: Make mouse-wheel events.
(syms_of_keyboard) [WINDOWSNT]: Define Qmouse_wheel and
mouse_wheel_syms.

26 years ago(FRAME_OBSCURED_P): New macro.
Geoff Voelker [Wed, 3 Sep 1997 00:30:51 +0000 (00:30 +0000)]
(FRAME_OBSCURED_P): New macro.
(FRAME_SAMPLE_VISIBILITY): Distinguish between invisible and obscured.

26 years ago(Fexpand_file_name) [WINDOWSNT]: When stripping
Geoff Voelker [Wed, 3 Sep 1997 00:30:24 +0000 (00:30 +0000)]
(Fexpand_file_name) [WINDOWSNT]: When stripping
drive letter, be careful not to create a UNC filename.
(Fadd_name_to_file) [WINDOWSNT]: Remove conditional.

26 years ago(getpid): Delete function.
Geoff Voelker [Wed, 3 Sep 1997 00:19:25 +0000 (00:19 +0000)]
(getpid): Delete function.

26 years ago(movemail.exe): Link wsock32.lib before LIBS.
Geoff Voelker [Wed, 3 Sep 1997 00:19:12 +0000 (00:19 +0000)]
(movemail.exe): Link wsock32.lib before LIBS.

26 years agoDon't unset C-mouse-down bindings.
Geoff Voelker [Tue, 2 Sep 1997 23:54:07 +0000 (23:54 +0000)]
Don't unset C-mouse-down bindings.
Ignore "Windows" keys by default.
Move keypad key definitions from term/w32-win.el.
(convert-standard-file-name): New function.
(make-auto-save-file-name): Use convert-standard-file-name.
Update doc strings.
(w32-startup): Deleted function.
(w32-check-shell-configuration, w32-init-info): New functions.
(w32-system-shell-p): Renamed from w32-using-system-shell-p.
Added shell name argument.

26 years ago(w32-handle-scroll-bar-event): On up and
Geoff Voelker [Tue, 2 Sep 1997 23:53:22 +0000 (23:53 +0000)]
(w32-handle-scroll-bar-event): On up and
down events, place point at window start position.
Bind f10 to menubar.
Move keypad key definitions to w32-fns.el.
(mouse-wheel-scroll-amount): New variable.
(mouse-wheel-scroll-line, mouse-wheel-scroll-screen): New functions.
Bind mouse-wheel events to mouse-wheel functions.

26 years ago(file-name-buffer-file-type-alist): Add more
Geoff Voelker [Tue, 2 Sep 1997 23:52:43 +0000 (23:52 +0000)]
(file-name-buffer-file-type-alist): Add more
extensions for binary files.

26 years agoMinor reordering of macros.
Richard M. Stallman [Tue, 2 Sep 1997 20:56:22 +0000 (20:56 +0000)]
Minor reordering of macros.

26 years ago(detect_coding_mask): Add in CODING_CATEGORY_MASK_RAW_TEXT
Richard M. Stallman [Tue, 2 Sep 1997 20:56:02 +0000 (20:56 +0000)]
(detect_coding_mask): Add in CODING_CATEGORY_MASK_RAW_TEXT
in the detect_coding_iso2022 case.

26 years agoUpdated by Boris.
Richard M. Stallman [Tue, 2 Sep 1997 20:00:28 +0000 (20:00 +0000)]
Updated by Boris.

26 years ago(facemenu-get-face): Just warn when given an
Richard M. Stallman [Tue, 2 Sep 1997 19:59:11 +0000 (19:59 +0000)]
(facemenu-get-face): Just warn when given an
undefined color, no error, still return face.

26 years ago(enriched-decode-foreground, enriched-decode-background):
Richard M. Stallman [Tue, 2 Sep 1997 19:58:56 +0000 (19:58 +0000)]
(enriched-decode-foreground, enriched-decode-background):
Test of facemenu-get-face return value no longer needed.

26 years ago(custom-display): Use w32 instead of win32.
Geoff Voelker [Tue, 2 Sep 1997 19:40:12 +0000 (19:40 +0000)]
(custom-display): Use w32 instead of win32.

26 years ago(scroll-bar-maybe-set-window-start): Change window
Geoff Voelker [Tue, 2 Sep 1997 19:39:53 +0000 (19:39 +0000)]
(scroll-bar-maybe-set-window-start): Change window
if current start is equal to start of next portion.

26 years ago(gud-gdb-marker-regexp): Allow for drive letter and colon.
Geoff Voelker [Tue, 2 Sep 1997 19:39:35 +0000 (19:39 +0000)]
(gud-gdb-marker-regexp): Allow for drive letter and colon.

26 years ago(other-frame) [windows-nt]: Use w32-focus-frame.
Geoff Voelker [Tue, 2 Sep 1997 19:39:14 +0000 (19:39 +0000)]
(other-frame) [windows-nt]: Use w32-focus-frame.

26 years ago(file-truename) [windows-nt]: Use the canonicalized
Geoff Voelker [Tue, 2 Sep 1997 19:38:31 +0000 (19:38 +0000)]
(file-truename) [windows-nt]: Use the canonicalized
long file name as the truename.
(auto-mode-alist): Use archive-mode for Java JAR files.
(recover-file) [windows-nt]: Don't try to list directory.

26 years ago(standard-display-european): Map \222 to apostrophe.
Geoff Voelker [Tue, 2 Sep 1997 19:38:11 +0000 (19:38 +0000)]
(standard-display-european): Map \222 to apostrophe.

26 years ago(comint-file-name-chars): Use separate sets for ms-dos and windows-nt.
Geoff Voelker [Tue, 2 Sep 1997 19:37:39 +0000 (19:37 +0000)]
(comint-file-name-chars): Use separate sets for ms-dos and windows-nt.

26 years ago(browse-url-netscape): Check for w32 window-system symbol.
Geoff Voelker [Tue, 2 Sep 1997 19:37:13 +0000 (19:37 +0000)]
(browse-url-netscape): Check for w32 window-system symbol.

26 years ago(ask-user-about-lock): Abbreviate file name and locking user's name.
Richard M. Stallman [Tue, 2 Sep 1997 17:12:46 +0000 (17:12 +0000)]
(ask-user-about-lock): Abbreviate file name and locking user's name.

26 years ago(quail-keyboard-layout-alist): Add an
Kenichi Handa [Tue, 2 Sep 1997 10:49:43 +0000 (10:49 +0000)]
(quail-keyboard-layout-alist): Add an
entry for "atari-german".
(quail-keyboard-translate): If CH is not in the keyboard location
covered by quail-keyboard-layout-standard, return CH.
(quail-show-kbd-layout): Show keyboard layout based on
quail-keyboard-layout-standard if the current input method
requires keyboard translation.

26 years ago(rmail): Reset enable-multibyte-characters to the
Kenichi Handa [Tue, 2 Sep 1997 10:49:07 +0000 (10:49 +0000)]
(rmail): Reset enable-multibyte-characters to the
default value to enable message decoding if the default value is
non-nil.

26 years ago(set-coding-system-map):
Richard M. Stallman [Tue, 2 Sep 1997 05:59:52 +0000 (05:59 +0000)]
(set-coding-system-map):
Add an item for universal-coding-system-argument.

26 years ago(Fread_from_minibuffer, Fread_string): Doc fixes.
Richard M. Stallman [Tue, 2 Sep 1997 05:22:07 +0000 (05:22 +0000)]
(Fread_from_minibuffer, Fread_string): Doc fixes.
(Fread_no_blanks_input, Fcompleting_read): Doc fixes.

26 years agoAdd rules for cancelling accents by typing
Kenichi Handa [Tue, 2 Sep 1997 05:11:59 +0000 (05:11 +0000)]
Add rules for cancelling accents by typing
two accent keys (e.g. a~ => a-tilde, a~~ => a~) to all Quail
packages.

26 years agoComment change.
Richard M. Stallman [Tue, 2 Sep 1997 05:05:37 +0000 (05:05 +0000)]
Comment change.

26 years agoInclude unistd.h instead of libc.h.
Richard M. Stallman [Tue, 2 Sep 1997 04:59:45 +0000 (04:59 +0000)]
Include unistd.h instead of libc.h.

26 years agoComment change.
Richard M. Stallman [Tue, 2 Sep 1997 00:16:45 +0000 (00:16 +0000)]
Comment change.

26 years ago(syms_of_window): Doc fix.
Richard M. Stallman [Tue, 2 Sep 1997 00:15:04 +0000 (00:15 +0000)]
(syms_of_window): Doc fix.

26 years ago(free_float, free_cons): Don't use the same field for chaining as for marking.
Richard M. Stallman [Mon, 1 Sep 1997 23:37:14 +0000 (23:37 +0000)]
(free_float, free_cons): Don't use the same field for chaining as for marking.
(make_float, Fcons, gc_sweep): Corresponding changes.

26 years ago(set-auto-coding): Recognize coding: in first
Richard M. Stallman [Mon, 1 Sep 1997 22:44:22 +0000 (22:44 +0000)]
(set-auto-coding): Recognize coding: in first
line even if not the first variable.

26 years ago(Finsert_file_contents): Fix previous change--don't
Richard M. Stallman [Mon, 1 Sep 1997 22:43:29 +0000 (22:43 +0000)]
(Finsert_file_contents): Fix previous change--don't
call Fboundp on Vset_auto_coding_function, just check non-nil.

26 years agoFix indentation.
Richard M. Stallman [Mon, 1 Sep 1997 21:29:44 +0000 (21:29 +0000)]
Fix indentation.

26 years agoComment change.
Richard M. Stallman [Mon, 1 Sep 1997 19:42:16 +0000 (19:42 +0000)]
Comment change.

26 years ago(setup-8-bit-environment): Inhibit message when loading latin-N.el.
Richard M. Stallman [Mon, 1 Sep 1997 19:25:12 +0000 (19:25 +0000)]
(setup-8-bit-environment): Inhibit message when loading latin-N.el.

26 years ago(reftex-customize): Added call to customize browse.
Richard M. Stallman [Mon, 1 Sep 1997 18:11:35 +0000 (18:11 +0000)]
(reftex-customize): Added call to customize browse.
(reftex-show-commentary): New function.
(reftex-label-alist): Prefix may contain % escapes.  Nth macro
argument may be context. May give two different context methods.
(reftex-default-label-alist-entries): Customization type changed.
(reftex-label-menu-flags): Extra flag for searches.
(reftex-cite-format): Changed completely, % escapes are now used.
(reftex-comment-citations): New variable.
(reftex-cite-comment-format): New variable.
(reftex-cite-punctuation): New variable.
(reftex-make-master-buffer): Changed name of master buffer,
removed interactive.  Runs a hook on the buffer. Interprete
TEXINPUTS environment variable.  Allow naked argument for \input.
Master buffer is now in fundamental mode.
(reftex-access-scan-info): Name of master buffer changed.
(reftex-section-regexp): Is now computed from section levels,
not set independantly.
(reftex-section-levels): Made customizable.
(reftex-label): Interpret % escapes in prefix.  Use label format if given.
(reftex-replace-prefix-escapes): New function.
(reftex-uniquify-label): New function.
(reftex-next-label-number): Function definition removed.
(reftex-reference): Use reftex-uniquify-label.
Allow more general label commands.
(reftex-offer-label-menu):
Interpret new flag in reftex-label-menu-flags.
(reftex-make-and-insert-label-list): Use text properties to record label index.
(reftex-find-nearby-label): Allow more general label commands.
(reftex-scan-buffer-for-labels): Allow more general label commands.
(reftex-init-section-numbers): New function.
(reftex-allow-for-ctrl-m): New function.
(reftex-label-info-update): Allow more general label commands.
(reftex-label-info): New parameter derive.
(reftex-short-context): Interprete integer parse as nth arg of macro.
(reftex-nth-parens-substring): New function.
(reftex-select-item): Interprete the new 'cnt text property.
(reftex-pop-to-label): Allow more general label commands.
(reftex-nicify-text): Allow more general label commands.
(reftex-toc): Remember previous window configuration.  Use text
properties to store info.  Bind mouse-2.
(reftex-make-master-buffer): New Hook.
(reftex-last-window-height): New variable.
(reftex-toc-show-help): New function.
(reftex-toc-help): New constant.
(reftex-nearest-section): Use text properties to store info.
(reftex-empty-toc-buffer): New function.
(reftex-re-enlarge): New function.
(reftex-toc-goto-line): New function.
(reftex-toc-mouse-goto-line-and-hide): New function.
(reftex-cite-format-builtin): New constant.
(reftex-cite-format-default): Constant removed.
(reftex-cite-format-1-author-simple): Constant removed.
(reftex-cite-format-2-authors): Constant removed.
(reftex-get-bib-names): New function.
(reftex-get-bib-authors) Function removed.
(reftex-format-bib-entry): Use now reftex-get-bib-names.
(reftex-citation): Completely rewritten. Offers selection of
different cite macros first, then the reference menu.  Works with
the various new variables mentioned above.  Accept the `a' key to
use all selected citations.
(reftex-insert-bib-matches): New function.
(reftex-format-citation): Now interpretes % escapes.
(reftex-select-item): Emulate a search in the menu buffer.
Interpret the 'cnt text property.
(reftex-view-crossref): Allow more general label, cite and ref macros.
(reftex-highlight-overlays): Add third overlay for search
in menu buffer.
(reftex-label-alist-builtin): xalignat and xxalignat environments
added.  Slightly reorganized.
(reftex-reset-scanning-information): Just empty *toc* buffer, do
not kill it.
(reftex-compute-ref-cite-tables): Read the new options in
`reftex-label-alist' and store them.  Calculate the section regexp.

26 years ago(describe_category): Handle a sub-chartable.
Richard M. Stallman [Mon, 1 Sep 1997 17:54:37 +0000 (17:54 +0000)]
(describe_category): Handle a sub-chartable.

26 years ago(internal_self_insert): Only set TARGET_CLM when C2 is tab.
Richard M. Stallman [Mon, 1 Sep 1997 17:54:25 +0000 (17:54 +0000)]
(internal_self_insert): Only set TARGET_CLM when C2 is tab.
When multibyte characters are disabled,
use 1 as the width of the inserted character.

26 years ago(describe-current-coding-system): Add missing newline in output.
Richard M. Stallman [Mon, 1 Sep 1997 17:14:48 +0000 (17:14 +0000)]
(describe-current-coding-system): Add missing newline in output.

26 years ago(find-buffer-file-type): Don't check for untranslated file systems here.
Richard M. Stallman [Mon, 1 Sep 1997 17:04:41 +0000 (17:04 +0000)]
(find-buffer-file-type): Don't check for untranslated file systems here.
(find-buffer-file-type-coding-system): For reading a file,
check for binary file, then text file, then existing file,
then whether file name is translated.

26 years ago(quail-translation-keymap): Fix previous
Kenichi Handa [Mon, 1 Sep 1997 12:36:34 +0000 (12:36 +0000)]
(quail-translation-keymap): Fix previous
change.
(quail-conversion-keymap): Likewise.

26 years ago(read-multilingual-string): Fix previous change.
Kenichi Handa [Mon, 1 Sep 1997 10:46:54 +0000 (10:46 +0000)]
(read-multilingual-string): Fix previous change.

26 years ago(describe-input-method): Fix previous
Kenichi Handa [Mon, 1 Sep 1997 10:44:31 +0000 (10:44 +0000)]
(describe-input-method): Fix previous
change.
(read-multilingual-string): Likewise.
(describe-language-environment): Prompt modified.

26 years agoPass t for the SIMPLE argument to quail-define-package.
Richard M. Stallman [Mon, 1 Sep 1997 07:45:39 +0000 (07:45 +0000)]
Pass t for the SIMPLE argument to quail-define-package.

26 years agoEntry for Czech modified.
Kenichi Handa [Mon, 1 Sep 1997 07:25:43 +0000 (07:25 +0000)]
Entry for Czech modified.

26 years ago("ethiopic"): Doc-sring fixed. Change the arg
Kenichi Handa [Mon, 1 Sep 1997 07:21:00 +0000 (07:21 +0000)]
("ethiopic"): Doc-sring fixed.  Change the arg
TRANSLATION-KEYS.
(quail-mode-map): Change binding for ethio-insert-ethio-space.
(quail-mode-hook): Check the current Quail package name.

26 years ago(get-language-info): Accept a symbol
Kenichi Handa [Mon, 1 Sep 1997 07:19:38 +0000 (07:19 +0000)]
(get-language-info): Accept a symbol
as the arg LANGUAGE-NAME.
(set-language-info): Likewise.
(set-language-info-alist): Likewise.
(register-input-method): Accept a symbol as the args INPUT-METHOD
and LANGUAGE-NAME.
(activate-input-method): Accept a symbol as the args INPUT-METHOD.
(describe-input-method): Likewise.
(read-multilingual-string): Likewise.
(set-language-environment): Accept a symbol as the arg
LANGUAGE-NAME.
(describe-language-environment): Likewise.

26 years ago(set-auto-coding): Name changed from
Kenichi Handa [Mon, 1 Sep 1997 07:19:38 +0000 (07:19 +0000)]
(set-auto-coding): Name changed from
auto-file-coding-system.  The argument STRING is now a
concatination of the heading 1K-byte and the tailing 3K-byte of a
file.
(set-auto-coding-function): Set it to `set-auto-coding'.

26 years ago(quail-translation-keymap): Do not bind
Kenichi Handa [Mon, 1 Sep 1997 07:19:38 +0000 (07:19 +0000)]
(quail-translation-keymap): Do not bind
"\C-c" to quail-abort-translation.
(quail-mode-map): Bind key codes 128 through 256 to
quail-start-translation.
(quail-translation-keymap): Bind key codes 128 through 256 to
quail-self-insert-command.
(quail-conversion-keymap): Bind key codes 128 through 256 to
quail-start-translation-in-conversion-mode.

26 years ago(ethio-sera-to-fidel-region,
Kenichi Handa [Mon, 1 Sep 1997 07:19:05 +0000 (07:19 +0000)]
(ethio-sera-to-fidel-region,
ethio-sera-to-fidel-buffer, ethio-fidel-to-sera-region,
ethio-fidel-to-sera-buffer): Doc-string fixed.

26 years ago(hack-local-variables-prop-line): Ignore coding: tag.
Kenichi Handa [Mon, 1 Sep 1997 07:17:07 +0000 (07:17 +0000)]
(hack-local-variables-prop-line): Ignore coding: tag.
(hack-one-local-variable): Likewise.

26 years ago(ispell-region): Take acount of the fact that `ispell'
Kenichi Handa [Mon, 1 Sep 1997 07:17:07 +0000 (07:17 +0000)]
(ispell-region): Take acount of the fact that `ispell'
will return OFFSET by counting non-ASCII characters as one.
(ispell-dictionary-alist-1): Add coding systems to each entry.
(ispell-dictionary-alist-2): Likewise.
(ispell-get-coding-system): New function.
(ispell-decode-string): New function.
(ispell-get-casechars): Decode the string if necessary.
(ispell-get-not-casechars, ispell-get-otherchars): Likewise.

26 years ago(LEADING_CODE_PRIVATE_22): Comment fixed.
Kenichi Handa [Mon, 1 Sep 1997 07:15:46 +0000 (07:15 +0000)]
(LEADING_CODE_PRIVATE_22): Comment fixed.

26 years ago(read_process_output): Index for
Kenichi Handa [Mon, 1 Sep 1997 07:15:46 +0000 (07:15 +0000)]
(read_process_output): Index for
proc_encode_coding_system should be p->outfd (not `channel' which
is p->infd).

26 years ago(Vset_auto_coding_function): Name changed from
Kenichi Handa [Mon, 1 Sep 1997 07:15:46 +0000 (07:15 +0000)]
(Vset_auto_coding_function): Name changed from
Vauto_file_coding_system.
(syms_of_fileio): Adjusted for the above change.  Doc-string
modified.
(Finsert_file_contents): The argument for Vset_auto_coding is a
concatination of the heading 1K-byte and the tailing 3K-byte.

26 years ago(install-arch-indep): Verify ./lisp has simple.el in it
Richard M. Stallman [Sun, 31 Aug 1997 23:21:24 +0000 (23:21 +0000)]
(install-arch-indep): Verify ./lisp has simple.el in it
before trying to copy anything from it.

26 years ago(init_system_name): Don't try to use getdomainname.
Richard M. Stallman [Sun, 31 Aug 1997 18:03:03 +0000 (18:03 +0000)]
(init_system_name): Don't try to use getdomainname.

26 years agoComment change.
Richard M. Stallman [Sun, 31 Aug 1997 17:18:41 +0000 (17:18 +0000)]
Comment change.

26 years ago(byte-compile-output-file-form): Handle custom-declare-variable.
Richard M. Stallman [Sun, 31 Aug 1997 17:07:28 +0000 (17:07 +0000)]
(byte-compile-output-file-form): Handle custom-declare-variable.

26 years ago(scan_lisp_file): Handle custom-declare-variable.
Richard M. Stallman [Sun, 31 Aug 1997 17:05:53 +0000 (17:05 +0000)]
(scan_lisp_file): Handle custom-declare-variable.

26 years agoMSDOS-related changes.
Richard M. Stallman [Sun, 31 Aug 1997 16:42:40 +0000 (16:42 +0000)]
MSDOS-related changes.

26 years agoRequire cl at compile time.
Richard M. Stallman [Sun, 31 Aug 1997 07:58:46 +0000 (07:58 +0000)]
Require cl at compile time.

26 years ago(pop3-md5): New function.
Richard M. Stallman [Sun, 31 Aug 1997 07:58:03 +0000 (07:58 +0000)]
(pop3-md5): New function.
(pop3-apop): Use pop3-md5, not md5.
(pop3-md5-program): New variable.

26 years ago(change-log-font-lock-keywords): Add more to prev change.
Richard M. Stallman [Sun, 31 Aug 1997 04:24:03 +0000 (04:24 +0000)]
(change-log-font-lock-keywords): Add more to prev change.

26 years ago(format-subtract-regions): New function.
Richard M. Stallman [Sat, 30 Aug 1997 23:25:29 +0000 (23:25 +0000)]
(format-subtract-regions): New function.
(format-property-increment-region): New function.

(format-deannotate-region): When multiple annotations
go into a single text property, split the outer annotations (with
format-subtract-regions) instead of resetting them; use lists of
regions instead of a single number for the text property start.

(format-deannotate-region): Don't change extents of
enclosing annotations of the same kind.

(format-deannotate-region): Use
property-increment-region to add to numeric properties.

26 years ago(defgroup, defcustom): Add Emacs 19 compatibility definitions.
Richard M. Stallman [Sat, 30 Aug 1997 19:48:14 +0000 (19:48 +0000)]
(defgroup, defcustom): Add Emacs 19 compatibility definitions.

26 years ago(dired-get-filename): Encode file name using the buffer's coding system.
Richard M. Stallman [Sat, 30 Aug 1997 19:46:24 +0000 (19:46 +0000)]
(dired-get-filename): Encode file name using the buffer's coding system.

26 years ago(mail-send): Complain about invalid header line.
Richard M. Stallman [Sat, 30 Aug 1997 18:03:33 +0000 (18:03 +0000)]
(mail-send): Complain about invalid header line.

26 years ago(change_frame_size_1): Save current buffer
Richard M. Stallman [Sat, 30 Aug 1997 17:51:22 +0000 (17:51 +0000)]
(change_frame_size_1): Save current buffer
around calling Fset_window_buffer.

26 years ago(Fload): Fix doc syntax.
Richard M. Stallman [Sat, 30 Aug 1997 16:20:02 +0000 (16:20 +0000)]
(Fload): Fix doc syntax.

26 years ago(HAVE_ALLOCA): Do define this, if SOLARIS2.
Richard M. Stallman [Sat, 30 Aug 1997 07:18:39 +0000 (07:18 +0000)]
(HAVE_ALLOCA): Do define this, if SOLARIS2.

26 years ago(free_frame_menubar): Clear menubar_height field.
Richard M. Stallman [Sat, 30 Aug 1997 07:15:19 +0000 (07:15 +0000)]
(free_frame_menubar): Clear menubar_height field.

26 years ago(man/Makefile): New target.
Richard M. Stallman [Sat, 30 Aug 1997 07:14:23 +0000 (07:14 +0000)]
(man/Makefile): New target.
(tags): Define env var EMACS and run Makefile from build dir.

26 years ago(Fload): If FILE arg ends in .el or .elc, don't insist on adding a suffix.
Richard M. Stallman [Fri, 29 Aug 1997 19:53:25 +0000 (19:53 +0000)]
(Fload): If FILE arg ends in .el or .elc, don't insist on adding a suffix.

26 years ago(free_marker): Call unchain_marker.
Richard M. Stallman [Fri, 29 Aug 1997 19:52:57 +0000 (19:52 +0000)]
(free_marker): Call unchain_marker.