* Version 20.3 released.
* callproc.c (Fcall_process): Use malloc for decoding_buf.
-
+
* s/freebsd.h (LD_SWITCH_SYSTEM): Delete -dp.
* s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Increased.
1998-08-18 Kenichi Handa <handa@etl.go.jp>
- * ccl.c (CCL_READ_CHAR): If eof is encounterd while processing the
+ * ccl.c (CCL_READ_CHAR): If eof is encountered while processing the
last block, don't just finish but processes eol block of the
current CCL program.
- (ccl_driver): Add a new jump label ccl_repeat for the above
- change.
+ (ccl_driver): Add a new jump label ccl_repeat for the above change.
* coding.c (ccl_coding_driver): Setup ccl->last_block properly.
(setup_coding_system): Correctly setup `valid_codes' member.
bind input-method-exit-on-first-char and input-method-use-echo-area
to t.
(read_char): If PREV_EVENT is non-nil, don't run the input method.
- (read_key_sequence): Do not bind input-method-function.
-
+ (read_key_sequence): Do not bind input-method-function.
+
* callint.c (Fcall_interactively): Pass new args to Fread_event
and Fread_char. Let Fread_char do the prompting.
1998-08-16 Richard Stallman <rms@psilocin.ai.mit.edu>
* charset.c (Fmultibyte_char_to_unibyte): New function.
- (syms_of_charset): defsubr it.
+ (syms_of_charset): Defsubr it.
1998-08-15 Richard Stallman <rms@psilocin.ai.mit.edu>
* xterm.c, xterm.h: x_display_unibyte_char_with_fontset renamed to
unibyte_display_via_language_environment.
-
+
* xfns.c (unibyte_display_through_language_environment):
Renamed from x_display_unibyte_char_with_fontset.
1998-08-13 Andrew Innes <andrewi@harlequin.co.uk>
- * w32.c (stat): Fall-back to default behaviour when we cannot get
+ * w32.c (stat): Fall-back to default behavior when we cannot get
accurate information on file attributes.
1998-08-12 Richard Stallman <rms@psilocin.ai.mit.edu>
* commands.h (Vthis_command): Renamed from this_command.
- * minibuf.c (Fminibuffer_complete):
+ * minibuf.c (Fminibuffer_complete):
this_command renamed to Vthis_command.
* macros.c (Fcall_last_kbd_macro):
(real_this_command): New variable, but not a Lisp variable;
updated like Vthis_command, but never altered by Lisp programs.
(command_loop_1): Use real_this_command to set Vreal_last_command.
-
+
1998-08-07 Kenichi Handa <handa@etl.go.jp>
* cmds.c (internal_self_insert): If enable-multibyte-characters is
to XLoadQueryFont.
(fast_find_position): Handle case where position is before
an invisible character, thus not actually listed in charstarts.
-
+
* keyboard.c (Vinput_method_previous_message): New variable.
(syms_of_keyboard): Set up lisp variable.
(Qinput_method_exit_on_first_char, Qinput_method_use_echo_area):
* lisp.h (Fread_key_sequence): Update declaration.
* callint.c (Fcall_interactively): Pass new arg to Fread_key_sequence.
-
+
1998-08-03 Richard Stallman <rms@psilocin.ai.mit.edu>
* window.c (Fmove_to_window_line): Doc fix.
(coding_category_name): Include "coding-category-ccl".
(detect_coding_ccl): New function.
(setup_coding_system): Setup coding->spec.ccl.valid_codes from the
- coding system priority `valid-codes' for CCL based coding systesm.
+ coding system priority `valid-codes' for CCL based coding systems.
(detect_coding_mask): Check also a CCL based coding system.
(Fupdate_coding_systems_internal): Renamed from
Fupdate_iso_coding_systems.
translation-table to 1. Initialize and static pro Qvalid_codes.
* coding.h (CODING_CATEGORY_IDX_CCL): New macro.
- (CODING_CATEGORY_IDX_BIG5, CODING_CATEGORY_IDX_RAW_TEXT,
- CODING_CATEGORY_IDX_BINARY, CODING_CATEGORY_IDX_MAX): Increased by
- one.
+ (CODING_CATEGORY_IDX_BIG5, CODING_CATEGORY_IDX_RAW_TEXT)
+ (CODING_CATEGORY_IDX_BINARY, CODING_CATEGORY_IDX_MAX): Increased by one.
(CODING_CATEGORY_MASK_CCL): New macro.
(CODING_CATEGORY_MASK_ANY): Include CODING_CATEGORY_MASK_CCL.
account.
1998-07-30 Paul Eggert <eggert@twinsun.com>
-
+
* src/Makefile.in (widget.o, xfns.o, xmenu.o):
Prepend $(srcdir)/ to rule dependencies outside this dir.
* fileio.c (Finsert_file_contents): Call Vset_auto_coding_function
with two arguments.
(Fwrite_region): If buffer-file-coding-system is set locally, use
- the coding system whithout checking file-coding-system-alist.
+ the coding system without checking file-coding-system-alist.
(syms_of_fileio): Docstring of set-auto-coding-function adjusted
for the change of argument number.
1998-07-13 Eli Zaretskii <eliz@mescaline.gnu.org>
- * w16select.c (set_clipboard_data, get_clipboard_data,
- Fw16_set_clipboard_data, Fw16_get_clipboard_data,
- Fx_selection_exists_p): Use CF_OEMTEXT instead of CF_TEXT.
+ * w16select.c (set_clipboard_data, get_clipboard_data)
+ (Fw16_set_clipboard_data, Fw16_get_clipboard_data)
+ (Fx_selection_exists_p): Use CF_OEMTEXT instead of CF_TEXT.
1998-07-12 Andrew Innes <andrewi@delysid.gnu.org>
- * w32select.c: (Fw32_set_clipboard_data): Set Vlast_coding_system_used.
+ * w32select.c (Fw32_set_clipboard_data): Set Vlast_coding_system_used.
(Fw32_get_clipboard_data): Likewise.
1998-07-12 Richard Stallman <rms@psilocin.ai.mit.edu>
(syms_of_keyboard): Set up Lisp vars.
(command_loop_1): Check Vunread_input_method_events and
Vunread_post_input_method_events along with Vunread_command_events.
-
+
1998-07-11 Andrew Innes <andrewi@harlequin.co.uk>
* w32menu.c (w32_menu_show): Set widget call_data to 0 if
* ccl.c: Typo in comments fixed.
* coding.c (DECODE_ISO_CHARACTER): While decoding two-byte code,
- if the sencond byte is invalid, produce the first byte as is.
+ if the second byte is invalid, produce the first byte as is.
* fontset.c (fs_load_font): Typo in comments fixed.
* xselect.c (selection_data_to_lisp_data): Set
Vlast_coding_system_used.
- (lisp_data_to_selection_data): Likewize.
+ (lisp_data_to_selection_data): Likesize.
1998-07-07 Richard Stallman <rms@psilocin.ai.mit.edu>
* editfns.c (Fformat): Replace explicit numeric constants with
proper macros.
- * fns.c (concat): Likewize.
+ * fns.c (concat): Likewise.
1998-07-06 Kenichi Handa <handa@etl.go.jp>
* charset.h (MAX_CHAR_COMPOSITION): Defined as (GLYPH_MASK_CHAR - 1),
one less than the previous value.
- (GENERIC_COMPOSITION_CHAR): New macro.
+ (GENERIC_COMPOSITION_CHAR): New macro.
* charset.c (Vgeneric_character_list): New variable.
(init_charset_once): Init and staticpro it.
- (Fgeneric_character_list): New function.
+ (Fgeneric_character_list): New function.
(syms_of_charset): defsubr it.
* fns.c (Fset_char_table_default): Check only if the charset of
1998-07-03 Kenichi Handa <handa@etl.go.jp>
* editfns.c (Finsert): Typo in doc-string fixed.
- (Finsert_and_inherit, Finsert_before_markers,
- Finsert_and_inherit_before_markers): Likewize.
+ (Finsert_and_inherit, Finsert_before_markers)
+ (Finsert_and_inherit_before_markers): Likewise.
1998-07-02 Ken'ichi Handa <handa@melange.gnu.org>
* doc.c (get_doc_string): Take both UNIBYTE and DEFINITION as args.
All callers changed.
* lisp.h (get_doc_string): Adjust declaration.
-
+
* lread.c (read_list): Pass new arg to get_doc_string.
* doc.c (get_doc_string): 2nd arg is now DEFINITION;
* emacs.c (sort_args): Discard duplicate options with no args.
(main): With duplicate -d options, use the last one. Likewise for -t.
Check -d last, by checking for -nl earlier on.
-
+
1998-06-22 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* keyboard.c (command_loop): Reset executing_macro after
* xterm.c (x_list_fonts): Keep alloca usage simple.
-1998-06-20 Per Starback <starback@strindberg.ling.uu.se>
+1998-06-20 Per Starbäck <starback@strindberg.ling.uu.se>
* xdisp.c, charset.h, coding.c, emacs.c: Doc fixes.
* process.c (read_process_output): Handle carryover correctly.
* xterm.c (dumpglyphs): Check the case that FACE_FONT (face) is
- NULL. While displaing cursor with non-default face, if the
+ NULL. While displaying cursor with non-default face, if the
variable `font' is NULL, don't set GCFont.
1998-06-19 Richard Stallman <rms@gnu.org>
1998-06-17 Geoff Voelker <voelker@cs.washington.edu>
- * w32.c (is_unc_volume, open_unc_volume, read_unc_volume,
- close_unc_volume, unc_volume_file_attributes): New functions.
+ * w32.c (is_unc_volume, open_unc_volume, read_unc_volume)
+ (close_unc_volume, unc_volume_file_attributes): New functions.
(wnet_enum_handle): New variable.
(opendir, readdir, closedir, sys_access, stat): Handle UNC volumes.
1998-06-14 Eli Zaretskii <eliz@mescaline.gnu.org>
* msdos.c (dos_set_keyboard): Call Int 2Fh via the DPMI server,
- not directly.
+ not directly.
(dos_yield_time_slice): New function.
(sys_select): Use it instead of __dpmi_yield.
1998-06-12 Ken'ichi Handa <handa@melange.gnu.org>
* fileio.c (Finsert_file_contents): Undo the previous change for
- handling set-ault-coding.
+ handling set-auto-coding.
1998-06-11 Richard Stallman <rms@psilocin.ai.mit.edu>
(display_text_line): If cursor's in the frame's echo area,
don't set this_line_endpos.
(redisplay_window): Use Fwindow_end to find lower scroll margin.
-
+
* syntax.c (scan_lists): Properly skip the comment-fence character
that ends a comment, when moving forward.
(Fbackward_prefix_chars): Return immediately if point is at BEGV.
(scan_lists): Likewise.
(prev_char_comstart_first): New function.
- * syntax.c
1998-06-05 Andrew Innes <andrewi@harlequin.co.uk>
- * w32.c: #include sys/file.h
+ * w32.c: #include sys/file.h.
(sys_access): Provide our own implementation which recognizes D_OK.
(is_exec): New function.
(stat): Use it.
in a string's intervals start from zero.
(validate_interval_range, interval_of, Fnext_property_change)
(property_change_between_p, Fnext_single_property_change)
- (Fprevious_property_change, Fprevious_single_property_change):
+ (Fprevious_property_change, Fprevious_single_property_change)
(Ftext_property_any, Ftext_property_not_all): Implement that.
* textprop.c: Undo previous change.
* w32.c (sys_rename): Handle filenames with accented characters.
(stat): Handle "c:/.." and "/.." specially.
-
+
* unexw32.c (w32_fatal_reload_error): Update error message.
1998-05-30 Karl Heuer <kwzh@gnu.org>
* lread.c: Remember the last TWO strings skipped with #@.
(prev_saved_doc_string*): New variables.
- (Fload): Initalize prev_saved_doc_string.
+ (Fload): Initialize prev_saved_doc_string.
(read1): Copy saved_doc_string to prev_saved_doc_string
before storing a new string in saved_doc_string.
(read_list): Look in prev_saved_doc_string as well as
(read1): Enable saving of doc strings on WINDOWSNT.
(read_list): Call get_doc_string instead of read_doc_string, when
forced to load doc strings.
-
+
1998-05-25 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* s/gnu-linux.h (setpgrp): Remove extra parens around parameters.
* window.c (select_window_1): New subroutine, from Fselect_window.
(Fselect_window): Use select_window_1.
(temp_output_buffer_show): Use select_window_1.
-
+
1998-05-22 Kenichi Handa <handa@etl.go.jp>
* ccl.c: Change term "character translation table" to "translation
* minibuf.c (syms_of_minibuf): Doc fix.
* window.c (Fscroll_up, Fscroll_down, Fscroll_other_window): Doc fixes.
-
+
* frame.c (make_frame_visible_1): New function.
(Fmake_frame_visible): Use that.
* coding.h: Change terms unify/unification to
translate/translation respectively throughout the file.
- * fns.c (concat): Fix bug in concatinating a list of multibyte and
+ * fns.c (concat): Fix bug in concatenating a list of multibyte and
unibyte characters.
* lisp.h (Vnonascii_translation_table): Name changed from
* window.c (Fset_window_buffer): Update buffer's display_time.
* insdel.c (insert_1_both, insert_from_string_1, replace_range)
- (insert_from_buffer_1, adjust_before_replace, adjust_after_replace):
+ (insert_from_buffer_1, adjust_before_replace, adjust_after_replace):
Don't copy text being deleted, if undo is disabled.
* lread.c (readchar): Use readchar_backlog again
* xdisp.c (redisplay_window): Handle scroll_step along with
scroll_conservatively. Fix 1-off error checking the limit for them.
- * filelock.c (unlock_file): Encode the file name.
+ * filelock.c (unlock_file): Encode the file name.
1998-05-10 Richard Stallman <rms@psilocin.ai.mit.edu>
1998-05-07 Eli Zaretskii <eliz@mescaline.gnu.org>
* process.c (init_process, syms_of_process) [not subprocesses]:
- Make definition consistent with prototypes on lisp.h
+ Make definition consistent with prototypes on lisp.h.
1998-05-07 Kenichi Handa <handa@etl.go.jp>
* emacs.c (main): Call the syms_of_... and keys_of_... functions
earlier, before init_vms_input and init_display.
-
+
1998-05-04 E. Jay Berkenbilt <ejb@ql.org>
* window.h (WINDOW_RIGHT_MARGIN): Don't subtract 1 from width when
* lread.c (Fload): Rename dosmode to fmode and use it on all
platforms. Avoid calling fdopen only for WINDOWSNT, use fdopen
- for the the MSDOS version.
+ for the MSDOS version.
(read1): Avoid recording doc strings positions only for WINDOWSNT,
not for MSDOS.
1998-05-02 Hrvoje Niksic <hniksic@srce.hr>
- * fileio.c (Fmake_temp_name): Improve randomness of generated file
+ * fileio.c (Fmake_temp_name): Improve randomness of generated file
names.
1998-05-01 Richard Stallman <rms@psilocin.gnu.org>
1998-04-30 Geoff Voelker <voelker@cs.washington.edu>
- * keyboard.c (Qdrag_n_drop, drag_n_drop_syms, lispy_drag_n_drop_names)
+ * keyboard.c (Qdrag_n_drop, drag_n_drop_syms, lispy_drag_n_drop_names)
New variables.
(make_lispy_event): Handle drag_n_drop events.
(syms_of_keyboard): Initialize new symbols.
* termhooks.h (event_kind): New event type `drag_n_drop'.
* makefile.nt (LIBS): Link in shell32.lib.
-
+
* w32fns.c: Include shellapi.h.
(w32_createwindow): Enable drag-n-drop on new windows.
(w32_wnd_proc): Handle WM_DROPFILES messages.
* w32term.c: Include shellapi.h.
(construct_drag_n_drop): New function.
- (w32_read_socket): Handle WM_DROPFILES messages.
+ (w32_read_socket): Handle WM_DROPFILES messages.
1998-04-30 Skip Collins <ColliBF1@APLMSG.JHUAPL.EDU>
* indent.c (compute_motion): When invisible text cross TO,
return TO, not the start of the invisible text.
- * process.c (Fset_process_inherit_coding_system_flag, Fstart_process):
+ * process.c (Fset_process_inherit_coding_system_flag, Fstart_process):
Store inherit_coding_system_flag as a Lisp_Object.
(Fopen_network_stream): Likewise.
(Fprocess_inherit_coding_system_flag): Access it as Lisp_Object.
* unexelf.c [__alpha__ && !__NetBSD__ && !__OpenBSD__]:
Include definition of HDRR structure that used to be in sym.h,
- instead of sym.h
+ instead of sym.h.
1998-04-29 Andreas Schwab <schwab@delysid.gnu.org>
* emacs.c (abort): Omit this definition, if NO_ABORT.
End by calling exit, to avoid warning.
-
+
1998-04-28 Richard Stallman <rms@psilocin.gnu.org>
* filelock.c: Include coding.h.
1998-04-28 Eli Zaretskii <eliz@mescaline.gnu.org>
- * Makefile.in (callproc.o, print.o, cmds.o, dispnew.o, fileio.o,
- frame.o, keyboard.o, minibuf.o, process.o, scroll.o, sysdep.o,
- term.o, w16select.o, window.o, xdisp.o, xfaces.o, lread.o): Depend
- on msdos.h.
+ * Makefile.in (callproc.o, print.o, cmds.o, dispnew.o, fileio.o)
+ (frame.o, keyboard.o, minibuf.o, process.o, scroll.o, sysdep.o)
+ (term.o, w16select.o, window.o, xdisp.o, xfaces.o, lread.o):
+ Depend on msdos.h.
(print.o): Depend on dispextern.h.
1998-04-28 Andreas Schwab <schwab@delysid.gnu.org>
* callproc.c, fileio.c: Include msdos.h after lisp.h.
- * msdos.c (IT_ring_bell, IT_write_glyphs, IT_clear_end_of_line,
- IT_clear_screen, IT_clear_to_end, IT_clear_to_end, IT_cursor_to,
- IT_cmgoto, IT_reassert_line_highlight, IT_change_line_highlight,
- IT_update_begin, IT_update_end, IT_set_terminal_modes,
- IT_reset_terminal_modes, IT_set_terminal_window,
- pixel_to_glyph_coords, IT_menu_display): Bring definitions in
+ * msdos.c (IT_ring_bell, IT_write_glyphs, IT_clear_end_of_line)
+ (IT_clear_screen, IT_clear_to_end, IT_clear_to_end, IT_cursor_to)
+ (IT_cmgoto, IT_reassert_line_highlight, IT_change_line_highlight)
+ (IT_update_begin, IT_update_end, IT_set_terminal_modes)
+ (IT_reset_terminal_modes, IT_set_terminal_window)
+ (pixel_to_glyph_coords, IT_menu_display): Bring definitions in
accordance with prototype declarations.
* msdos.h [!HAVE_X_WINDOWS]: Add a dummy typedef for XRectangle
* minibuf.c (minibuf_conform_representation): New function.
(Ftry_completion): Use it to return multibyte string
if and only if the completion table has a multibyte string.
- (Fdisplay_completion_list):
+ (Fdisplay_completion_list):
Convert string to unibyte before displaying it, if default is unibyte.
* eval.c (find_handler_clause): Cast Fbacktrace to proper type.
* emacs.c (standard_args): Apply --unibyte/multibyte after --nw.
- * lisp.h: Include initial_obarray from lread.c
+ * lisp.h: Include initial_obarray from lread.c.
* data.c (set_internal): Test keywordness only in initial obarray.
1998-04-23 Inge Frick <inge@nada.kth.se>
- * keyboard.c: (parse_menu_item): Support keywords :keys and
+ * keyboard.c (parse_menu_item): Support keywords :keys and
:key-sequence. Some changes to provide GC-protection. Some
cosmetic changes.
(syms_of_keyboard): Define new symbols `:keys' and `:key-sequence'.
* xfaces.c (unload_color): No longer static.
- * insdel.c (insert_from_string, insert_from_string_before_markers):
+ * insdel.c (insert_from_string, insert_from_string_before_markers):
Don't special case LENGTH = 0.
(insert_from_buffer): Likewise.
1998-04-22 Eli Zaretskii <eliz@delysid.gnu.org>
* w16select.c (Fwin16_set_clipboard_data): Call UNBLOCK_INPUT
- before calling sit_for.
- (Fwin16_get_clipboard_data, Fwin16_set_clipboard_data): Balance
+ before calling sit_for.
+ (Fwin16_get_clipboard_data, Fwin16_set_clipboard_data): Balance
the calls to BLOCK_INPUT and UNBLOCK_INPUT.
(alloc_xfer_buf): If want_size is more than 1MB, return
immediately with failure.
1998-04-21 Eli Zaretskii <eliz@delysid.gnu.org>
* callproc.c (Fcall_process) [MSDOS]: Call child_setup instead of
- run_msdos_command.
+ run_msdos_command.
(child_setup) [MSDOS]: Call run_msdos_command here.
(child_setup) [DOS_NT]: Get past drive letter in pwd. Don't call
close_load_descs, since we are not in a vfork.
Insist on MAX_LENGTH_OF_MULTI_BYTE_FORM bytes when checking
for read_buffer full; this way need not check specially for multibyte.
- * emacs.c: Include buffer.h
+ * emacs.c: Include buffer.h.
(main): When handling --unibyte, mark all existing
buffers as unibyte; but don't handle it when dumping.
(load_convert_to_unibyte): New variable.
(syms_of_lread): Set up Lisp var.
(read1): If load_convert_to_unibyte, convert strings to unibyte.
-
+
* insdel.c (copy_text): Count down bytes_left properly
in multibyte to unibyte case.
* process.h (struct Lisp_Process): Add inherit_coding_system_flag
member.
- * process.c (Fset_process_inherit_coding_system_flag,
- Fprocess_inherit_coding_system_flag): New functions.
+ * process.c (Fset_process_inherit_coding_system_flag)
+ (Fprocess_inherit_coding_system_flag): New functions.
(syms_of_process): Defsubr them.
(Fstart_process, Fopen_network_stream): Initialize
inherit_coding_system_flag.
(w32_fatal_reload_error): New function.
(read_in_bss, map_in_heap): Invoke w32_fatal_reload_error upon error.
- * w32.c (sys_read): Clear carriage return flag.
+ * w32.c (sys_read): Clear carriage return flag.
Report normal EOF when read fails if nothing in buffer.
Only read more if more remaining.
(check_windows_init_file): New function.
(map_virt_key): Brazilian keyboards use 0xc1 for /(?) key.
* w32menu.c (Vmenu_updating_frame): New variable.
- (Fx_popup_menu, set_frame_menubar): Record frame whose menu is
+ (Fx_popup_menu, set_frame_menubar): Record frame whose menu is
being updated.
(syms_of_w32menu): Define Vmenu_updating_frame.
* w32term.c (Vw32_recognize_altgr): New variable.
(dumpglyphs): Update from xterm.c.
(w32_ring_bell): Flash window, don't just reset its state.
- (dumprectangle, show_mouse_face, x_draw_single_glyph): Use new
+ (dumprectangle, show_mouse_face, x_draw_single_glyph): Use new
args to dumpglyphs.
(my_set_foreground_window): New function.
(w32_condemn_scroll_bars): Mark all as condemned scroll bars.
CCL_ReadMultibyteCharacter.
(CCL_WriteMultibyteChar2): Macro name changed from
CCL_WriteMultibyteChar2.
- (CCL_
(MAX_TABLE_SET_LEVEL): New macro.
(tr_stack): New type.
(translate_stack, translate_stack_pointer): New variables.
(ccl_driver): Adjusted for the above changes.
(resolve_symbol_ccl_program): New function.
(Fccl_execute): The arg CCL-PROGRAM can be a symbol of CCL
- program. If CCL-PRGRAM is a vector, convert symbols in it to ID
+ program. If CCL-PROGRAM is a vector, convert symbols in it to ID
numbers by resolve_symbol_ccl_program.
(Fccl_execute_on_string): Likewise.
- (Fregister_ccl_program): If the arg CCL-PRGRAM is a vector,
+ (Fregister_ccl_program): If the arg CCL-PROGRAM is a vector,
convert symbols in it to ID numbers by resolve_symbol_ccl_program.
* ccl.h (Vccl_program_table, Qccl_program_idx): Extern them.
* fontset.h (FONT_ENCODING_NOT_DECIDED): The value is changed to 255.
(find_ccl_program_func): Extern it.
(Fquery_fontset): Args number changed to 2.
-
+
* xfns.c (syms_of_xfns): Initialize find_ccl_program_func.
* xterm.c (x_find_ccl_program): New function.
* window.c (Fset_window_configuration): Fix mixing of Lisp_Object
and int.
- * sysdep.c (init_sys_modes): Fix mixing of Lisp_Object and int
+ * sysdep.c (init_sys_modes): Fix mixing of Lisp_Object and int.
* search.c (compile_pattern, compile_pattern_1): Fix mixing of
Lisp_Object and int.
* frame.c (Fset_mouse_position, Fset_mouse_pixel_position): Fix
mixing of Lisp_Object and int.
- * fns.c (Fsubstring, substring_both, Fchar_table_range,
- Fset_char_table_range): Fix mixing of Lisp_Object and int.
+ * fns.c (Fsubstring, substring_both, Fchar_table_range)
+ (Fset_char_table_range): Fix mixing of Lisp_Object and int.
* fileio.c (Fwrite_region): Fix mixing of Lisp_Object and int.
* editfns.c (Fchar_after, Fchar_before): Fix mixing of Lisp_Object
- and int
+ and int.
* coding.c (code_convert_region): Fix mixing of Lisp_Object and
int.
* cm.h: Update return types of declarations.
* xterm.h, puresize.h, termhooks.h, lisp.h, keyboard.h,
- intervals.h, dispextern.h, blockinput.h, coding.h: Add more
- prototypes.
+ * intervals.h, dispextern.h, blockinput.h, coding.h:
+ Add more prototypes.
* xterm.c, xselect.c, xrdb.c, xmenu.c, xdisp.c, window.c,
- widget.c, undo.c, terminfo.c, term.c, sysdep.c, syntax.c,
- search.c, scroll.c, process.c, print.c, mocklisp.c, prefix-args.c,
- marker.c, keymap.c, keyboard.c, intervals.c, insdel.c, indent.c,
- frame.c, fontset.c, fns.c, floatfns.c, filelock.c, fileio.c,
- eval.c, emacs.c, editfns.c, doprnt.c, doc.c, dispnew.c, dired.c,
- data.c, coding.c, cmds.c, cm.c, charset.c, ccl.c, category.c,
- casetab.c, casefiddle.c, callproc.c, callint.c, bytecode.c,
- buffer.c, alloc.c, abbrev.c: Fix -Wimplicit warnings.
+ * widget.c, undo.c, terminfo.c, term.c, sysdep.c, syntax.c,
+ * search.c, scroll.c, process.c, print.c, mocklisp.c, prefix-args.c,
+ * marker.c, keymap.c, keyboard.c, intervals.c, insdel.c, indent.c,
+ * frame.c, fontset.c, fns.c, floatfns.c, filelock.c, fileio.c,
+ * eval.c, emacs.c, editfns.c, doprnt.c, doc.c, dispnew.c, dired.c,
+ * data.c, coding.c, cmds.c, cm.c, charset.c, ccl.c, category.c,
+ * casetab.c, casefiddle.c, callproc.c, callint.c, bytecode.c,
+ * buffer.c, alloc.c, abbrev.c: Fix -Wimplicit warnings.
* buffer.c (Fset_buffer_multibyte): Do nothing if nothing actually
changes.
(printchar, strout): If echo area text converted to multibyte
does not all fit, truncate it at char boundary.
- * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos):
+ * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos):
When calling set_marker_both, pass the right buffer.
* indent.c (Fcompute_motion): Check that TO and FROM are in range.
(syms_of_charset): Defsubr it.
(multibyte_form_length): Modified to be consistent with
string_to_non_ascii_char.
-
+
* charset.h (MULTIBYTE_FORM_LENGTH): Don't check LEN here.
* xdisp.c (display_text_line): Code for displaying a character by
Function moved after set_intervals_multibyte_1.
* xdisp.c (redisplay_window): If updating mode line,
- temporarily change selected_frame
+ temporarily change selected_frame.
1998-04-02 Dave Love <fx@gnu.org>
* fileio.c (barf_or_query_if_file_exists): New arg QUICK.
All calls changed.
-
+
1998-03-27 Richard Stallman <rms@psilocin.gnu.org>
* insdel.c (check_markers_debug_flag): New variable.
* coding.c (code_convert_region): Call adjust_before_replace
in the no-conversion case. Adjust GPT, ZV and Z in chars.
-
+
1998-03-25 Richard Stallman <rms@psilocin.gnu.org>
* lread.c (init_lread): Init Vstandard_input.
1998-03-21 Richard Stallman <rms@delysid.gnu.org>
* dired.c (Fdirectory_files):
- In FULL case, compute number of characters
+ In FULL case, compute number of characters.
* fns.c (substring_both, Fsubstring): Use make_specified_string.
(concat): Make string result unibyte or multibyte as appropriate.
* xselect.c (selection_data_to_lisp_data): Use make_string_from_bytes.
- * insdel.c: (insert_from_string_1, replace_range):
+ * insdel.c (insert_from_string_1, replace_range):
Use STRING_MULTIBYTE to determine whether string is multibyte.
* editfns.c: Use STRING_BYTES and SET_STRING_BYTES.
(Ftranspose_regions): Try to handle combining bytes.
* alloc.c, xterm.c, xselect.c, xmenu.c, xfns.c, xdisp.c, search.c,
- process.c, print.c, lread.c, keymap.c, insdel.c, keyboard.c,
- frame.c, fns.c, filelock.c, doc.c, dispnew.c, data.c, coding.c,
- charset.c, ccl.c, category.c, casefiddle.c, callproc.c, callint.c,
- bytecode.c, abbrev.c, minibuf.c, buffer.c, fileio.c: Use
- STRING_BYTES and SET_STRING_BYTES.
+ * process.c, print.c, lread.c, keymap.c, insdel.c, keyboard.c,
+ * frame.c, fns.c, filelock.c, doc.c, dispnew.c, data.c, coding.c,
+ * charset.c, ccl.c, category.c, casefiddle.c, callproc.c, callint.c,
+ * bytecode.c, abbrev.c, minibuf.c, buffer.c, fileio.c:
+ Use STRING_BYTES and SET_STRING_BYTES.
* xmenu.c: Don't include puresize.h any more as code that needs it
has moved to keyboard.c.
1998-03-21 Richard Stallman <rms@psilocin.gnu.org>
* dired.c (Fdirectory_files): In FULL case,
- compute number of characters
+ compute number of characters.
* insdel.c (insert_from_string_1, replace_range):
Use STRING_MULTIBYTE to determine whether string is multibyte.
* fns.c (substring_both, Fsubstring): Use make_specified_string.
(concat): Make string result unibyte or multibyte as appropriate.
-
+
* doc.c (Fsubstitute_command_keys): Use make_string_from_bytes.
* coding.c (code_convert_string): Use make_string_from_bytes.
* editfns.c (Fchar_to_string): Use make_string_from_bytes.
(Fformat): Use make_specified_string.
(make_buffer_string_both): Use make_uninit_string if buffer is unibyte.
-
+
* sunfns.c (syms_of_sunfns): Pass new arg to make_pure_string.
* lread.c (read1): Pass new arg to make_pure_string.
* lisp.h (STRING_BYTES, SET_STRING_BYTES): New macros.
* All files: Use STRING_BYTES and SET_STRING_BYTES.
-
+
* editfns.c (Ftranspose_regions): Try to handle combining bytes.
* insdel.c (replace_range): New arg NOMARKERS.
-
+
1998-03-20 Richard Stallman <rms@psilocin.gnu.org>
* cmds.c (internal_self_insert): Pass new arg to replace_range.
-
- * insdel.c (insert_1_both, insert_from_string_1, insert_from_buffer_1):
- (adjust_before_replace, adjust_after_replace, replace_range):
+
+ * insdel.c (insert_1_both, insert_from_string_1, insert_from_buffer_1)
+ (adjust_before_replace, adjust_after_replace, replace_range)
(del_range_2): Call record_delete the new way.
Use make_buffer_string_both to make the string to pass.
* undo.c (record_delete): Replace LENGTH arg with STRING.
(record_change): Call record_delete the new way.
-
+
* Makefile.in (keymap.o): Depend on puresize.h.
(xmenu.o): Don't depend on puresize.h.
* keyboard.h (item_properties): New variable.
(ITEM_PROPERTY_...): New macros.
- * keymap.c (fix_submap_inheritance, get_keyelt, store_in_keymap,
- copy-keymap, where_is_internal_1): Support new format for menu items.
+ * keymap.c (fix_submap_inheritance, get_keyelt, store_in_keymap)
+ (copy-keymap, where_is_internal_1): Support new format for menu items.
(syms_of_keymap): New symbol `menu-item'.
-
+
* keyboard.c: Include puresize.h for CHECK_IMPURE.
(parse_menu_item): New function.
(menu_item_eval_property_1, menu_item_eval_property) New suroutines.
(menu_bar_one_keymap): Moved some code to menu_bar_item.
(menu_bar_item): Rewritten to use parse_menu_item.
(menu_bar_item_1): Function deleted.
- (QCenable, QCvisible, QChelp, QCfilter, QCbutton, QCtoggle, QCradio):
+ (QCenable, QCvisible, QChelp, QCfilter, QCbutton, QCtoggle, QCradio)
(Qmenu_alias): New variables.
(syms_of_keyboard): Initialize them, and item_properties.
* process.c (exec_sentinel, read_process_output):
Fstore_match_data => Fset_match_data.
-
+
* xmenu.c (set_frame_menubar): Fstore_match_data => Fset_match_data.
* xdisp.c (message_dolog): Save and restore Vdeactivate_mark.
* lisp.h (struct Lisp_Buffer_Local_Value):
Field car renamed to realvalue. New fields check_frame,
found_for_buffer, found_for_frame, buffer, frame.
-
+
* data.c (store_symval_forwarding, swap_in_symval_forwarding)
(set_internal, default_value, Fset_default, Fmake_local_variable)
(Fmake_variable_buffer_local, Fkill_local_variable):
Handle new data structure for struct Lisp_Buffer_Local_Value.
(Fmake_variable_frame_local): New function.
- * buffer.c (set_buffer_internal_1)
+ * buffer.c (set_buffer_internal_1)
(swap_out_buffer_local_variables): Handle new data structure
for struct Lisp_Buffer_Local_Value.
Call set_search_regs differently in a forward search.
(boyer_moore): Fix up the code that translates the pattern
and loops thru equivalent characters.
-
+
1998-03-07 Richard Stallman <rms@psilocin.gnu.org>
* insdel.c (adjust_markers_for_insert): New arg COMBINED_AFTER_BYTES.
1998-03-04 Kenichi HANDA <handa@etl.go.jp>
* buffer.c (Fset_buffer_multibyte): Fix arg for chars_in_text.
- Be sure not to have a multibyte sequence striding over the GAP
+ Be sure not to have a multibyte sequence striding over the GAP.
* charset.c (strwidth): Make it work for invalid bytes sequence.
(Fstring_width): Give byte length of STR to strwidth.
(list2, list3, list4, list5): New function decl.
(Fwrite_region): Add an argument.
(compare_window_configurations): New function decl.
-
+
* keyboard.c: Include syntax.h.
(interrupt_signal): Save and restore gl_state
around an immediate quit, in case debugger returns.
* callproc.c (Fcall_process_region): Pass new arg to Fwrite_region.
1998-03-01 Ilya Zakharevich <ilya@math.ohio-state.edu>
-
+
* syntax.c (update_syntax_table): Properly update `position'
field of used intervals.
1998-02-19 Kenichi Handa <handa@etl.go.jp>
- * buffer.c (advance_to_char_boundary): Make the behaviour
+ * buffer.c (advance_to_char_boundary): Make the behavior
consistent with INC_POS.
* ccl.c (Fccl_execute_on_string): Add new arg UNIBYTE-P.
* charset.h (INC_POS): Use macro BASE_LEADING_CODE_P.
- (DEC_POS): Make the behaviour consistent with INC_POS.
+ (DEC_POS): Make the behavior consistent with INC_POS.
(BUF_INC_POS, BUF_DEC_POS): Likewise.
* charset.c (invalid_character): New function.
- (chars_in_text): Make the behaviour consistent with INC_POS.
+ (chars_in_text): Make the behavior consistent with INC_POS.
(multibyte_chars_in_text): Likewise.
(str_cmpchar_id): Likewise.
(non_ascii_char_to_string): Call invalid_character.
(Fchar_direction): Likewise.
* coding.c (decode_coding_iso2022): Update coding->fake_multibyte.
- (ENCODE_SINGLE_SHIFT_2, ENCODE_SINGLE_SHIFT_3,
- encode_coding_iso2022, decode_coding_sjis_big5,
- encode_coding_sjis_big5, decode_eol, encode_eol, decode_coding,
- encode_coding): Likewise.
+ (ENCODE_SINGLE_SHIFT_2, ENCODE_SINGLE_SHIFT_3)
+ (encode_coding_iso2022, decode_coding_sjis_big5)
+ (encode_coding_sjis_big5, decode_eol, encode_eol, decode_coding)
+ (encode_coding): Likewise.
(shrink_decoding_region, shrink_encoding_region): Do not skip
non-ASCII code in any cases. Bug fix for getting starting address
from BEG.
* search.c (search_buffer): Update POS_BYTE for regexp search.
* xdisp.c (display_text_line): Handling of a wide-column character
- fixed. Make the behaviour consistent with INC_POS.
+ fixed. Make the behavior consistent with INC_POS.
1998-02-18 Richard Stallman <rms@gnu.org>
(boyer_moore): New arg CHARSET_BASE says which chars
to use the translate tables for.
(search_buffer): Properly test which chars participate in translation.
-
+
1998-02-12 Gerd Moellmann <gerd@gnu.org>
* intervals.c (split_interval_right): Make sure to call
* buffer.c (advance_to_char_boundary): New function.
(Fset_buffer_multibyte): Advance all byte-positions to char boundaries.
Clear undo list.
-
+
* fontset.h (GENERIC_FONT_PTR): Commented-out definition deleted.
1998-02-06 Kenichi Handa <handa@etl.go.jp>
* editfns.c (Fposition_bytes): New function.
(syms_of_editfns): defsubr it.
- * fns.c (Fstring_bytes): New function.
+ * fns.c (Fstring_bytes): New function.
(syms_of_fns): defsubr it.
1998-02-05 Richard Stallman <rms@psilocin.gnu.org>
* callproc.c (Fcall_process): Allow creating a new buffer
for the output.
-1998-01-30 Kenichi Handa Kenichi Handa <handa@etl.go.jp>
+1998-01-30 Kenichi Handa <handa@etl.go.jp>
* coding.c (ENCODE_ISO_CHARACTER): Pay attention to
CODING_FLAG_ISO_USE_ROMAN and CODING_FLAG_ISO_USE_OLDJIS.
heading_ascii. Deleted members last_block, direction, selective,
carryover, carryover_size.
(CODING_MAY_REQUIRE_DECODING): New macro.
- (CODING_CATEGORY_MASK_ISO_7BIT, CODING_CATEGORY_MASK_ISO_8BIT,
- CODING_CATEGORY_MASK_ISO_SHIFT, CODING_CATEGORY_MASK_ISO): New
- macros.
+ (CODING_CATEGORY_MASK_ISO_7BIT, CODING_CATEGORY_MASK_ISO_8BIT)
+ (CODING_CATEGORY_MASK_ISO_SHIFT, CODING_CATEGORY_MASK_ISO):
+ New macros.
(Qraw_text): Extern it.
- * coding.c (DECODE_CHARACTER_ASCII): Update coding->produced_char;
+ * coding.c (DECODE_CHARACTER_ASCII): Update coding->produced_char.
(DECODE_CHARACTER_DIMENSION1): Likewise.
(Qraw_text, Qcoding_category): New variables.
(syms_of_coding): Intern and staticpro them.
Update coding->heading_ascii.
(detect_eol_type): New arg SKIP.
(detect_eol): Adjusted for the change of detect_eol_type.
- (ccl_codign_driver): New function.
+ (ccl_coding_driver): New function.
(decode_coding): Arg CONSUMED deleted, and the meaning of return
value changed. Update members produced, produced_char, consumed,
consumed_char of the struct *coding.
change of code_convert_string.
(Fupdate_iso_coding_systems): New function.
(init_coding_once): Initialize coding_system_table.
-
+
* data.c (Faset): Allow setting a multibyte character in a
multibyte string as far as it doesn't change the size_byte of the
string.
* fileio.c (Finsert_file_contents): Adjusted for the change of
- struct coding_system and function decode_coding. For normail file
+ struct coding_system and function decode_coding. For normal file
reading, use code_convert_region.
(Fwrite_region): Adjusted for the change of struct coding_system.
(e_write): Adjusted for the change of encode_coding.
(struct iso2022_spec): New member.
last_invalid_designation_register.
(struct coding_system): New member inhibit_inconsistent_eol_type.
- (CODING_CATEGORY_IDX_ISO_7_TIGHT,
- CODING_CATEGORY_MASK_ISO_7_TIGHT): New macros.
- (CODING_CATEGORY_MASK_ANY): Include
- CODING_CATEGORY_MASK_ISO_7_TIGHT.
+ (CODING_CATEGORY_IDX_ISO_7_TIGHT, CODING_CATEGORY_MASK_ISO_7_TIGHT):
+ New macros.
+ (CODING_CATEGORY_MASK_ANY): Include CODING_CATEGORY_MASK_ISO_7_TIGHT.
(coding_category_table, coding_category_name): Extern deleted.
(Vselect_safe_coding_system_function): Extern it.
-
+
* charset.h (MAX_CHAR_COMPOSITION): New macro.
(CHAR_CHARSET): Check more strictly.
(CODING_FLAG_ISO_DESIGNATION): New macro.
1998-01-21 Kenichi Handa <handa@etl.go.jp>
- * ccl.h: (struct ccl_program): New member private_state.
+ * ccl.h (struct ccl_program): New member private_state.
- * ccl.c (Vccl_translation_table_vector, Qccl_program,
- Qccl_translation_table, Qccl_translation_table_id): New variables.
- append new symbols. Qccl_translation_table and
+ * ccl.c (Vccl_translation_table_vector, Qccl_program)
+ (Qccl_translation_table, Qccl_translation_table_id): New variables.
+ Append new symbols. Qccl_translation_table and
Qccl_translation_table_id.
(CCL_Call): Fix the comment.
- (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter,
- CCL_UnifyCharacter, CCL_UnifyCharacterConstTbl,
- CCL_IterateMultipleMap, CCL_TranslateMultipleMap): New macros for
- CCL Commands.
+ (CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter)
+ (CCL_UnifyCharacter, CCL_UnifyCharacterConstTbl)
+ (CCL_IterateMultipleMap, CCL_TranslateMultipleMap):
+ New macros for CCL Commands.
(EXCMD): New macro.
- (ccl_driver): New case lable `CCL_Extention'.
+ (ccl_driver): New case label `CCL_Extention'.
(setup_ccl_program): Initialize the member `private_state' of CCL.
(Fregister_ccl_program): Delete unused variable IDX.
(Fregister_ccl_translation_table): New function.
* charset.c (nonascii_insert_offset): Variable moved from cmds.c.
(syms_of_charset): Initialize variable.
- * cmds.c (internal_self_insert, Fself_insert_command):
+ * cmds.c (internal_self_insert, Fself_insert_command):
Use unibyte_char_to_multibyte.
(nonascii_insert_offset): Variable moved to charset.c.
(syms_of_cmds): Don't initialize nonascii_insert_offset.
* fileio.c (Fsubstitute_in_file_name): Use unibyte_char_to_multibyte.
-
+
* keyboard.c (command_loop_1): Use unibyte_char_to_multibyte.
* xdisp.c (message_dolog): Use unibyte_char_to_multibyte.
Pass different args to scan_newline.
Properly compare oldpoint with Z.
-
- * syntax.c (skip_chars): Use unibyte_char_to_multibyte,
+
+ * syntax.c (skip_chars): Use unibyte_char_to_multibyte.
* fns.c (concat): Use unibyte_char_to_multibyte.
(insert_from_buffer_1): Call copy_text to convert between
single-byte and multibyte text.
(insert_from_string_1): Likewise.
-
+
* process.c (read_process_output): New var `multibyte'.
Set it according to which coding system was used.
insert_from_string. Scan string by bytes and chars.
(Ftry_completion): Use size_byte while comparing.
(Fall_completions): Use size_byte while comparing.
- (test_completion):
+ (test_completion): Pass both kinds of size to oblookup.
* editfns.c (syms_of_editfns): Delete defsubr for sref.
* keyboard.c (read_char): Use Faref on Vkeyboard_translate_table
if it is a string.
(apply_modifiers_uncached): New arg base_len_byte. Calls changed.
- (read_char_minibuf_menu_prompt):
- (read_key_sequence): Access buffer's downcase_table with XCHAR_TABLE.
+ (read_char_minibuf_menu_prompt, read_key_sequence): Access buffer's
+ downcase_table with XCHAR_TABLE.
(Fexecute_extended_command): Use Faref to access FUNCTION.
Use size_byte of BINDING.
(stuff_buffered_input): Use size_byte of STUFFSTRING.
Initialize print_buffer_pos_byte. Use insert_1_both.
(printchar): Update print_buffer_pos_byte and print_buffer_pos.
(print_buffer_pos_byte): New variable.
-
+
* editfns.c (general_insert_function):
Pass the additional args to INSERT_FROM_STRING_FUNC.
(Fchar_to_string): Use make_multibyte_string.
(Fmessage, Fmessage_box): Update message_text based on size_byte.
* insdel.c (insert_from_string): New args POS_BYTE, LENGTH.
- (insert_from_string_before_markers):
- (insert_from_string_1): New arg POS_BYTE. Swap args NCHARS, NBYTES.
- Don't fail to use POS_BYTE!
+ (insert_from_string_before_markers, insert_from_string_1): New arg
+ POS_BYTE. Swap args NCHARS, NBYTES. Don't fail to use POS_BYTE!
(insert_from_buffer_1): Get both inschars and insbytes from NEW.
* alloc.c (make_uninit_multibyte_string): New function.
(Fstring): Renamed from Fconcat_chars.
Handle bytes vs chars in string.
(syms_of_charset): Corresponding changes.
-
+
* fns.c (concat, Fsubstring, internal_equal, mapcar1):
Distinguish bytes and chars when indexing strings.
(Fstring_equal, Fstring_lessp): Likewise.
(substring_both): New function.
(string_char_to_byte, string_byte_to_char): New functions.
-
+
* charset.h (FETCH_STRING_CHAR_ADVANCE): New macro.
* lisp.h (struct lisp_String): New field size_byte.
* window.c (Fselect_window): Don't set OW->pointm if OW->buffer is nil.
(Fset_window_configuration): Set old selected window's pointm.
-
+
* minibuf.c (Fcompleting_read): Doc fix.
- * keymap.c (current_minor_maps):
+ * keymap.c (current_minor_maps):
If a variable has an entry in Vminor_mode_overriding_map_alist,
and also an entry in Vminor_mode_map_alist, ignore the latter.
1998-01-01 Richard Stallman <rms@psilocin.gnu.org>
- * Markers now have an ordinary bytepos, not including the gap:
+ Markers now have an ordinary bytepos, not including the gap:
* marker.c (buf_bytepos_to_charpos): Use marker bytepos, not bufpos.
(buf_charpos_to_bytepos, marker_byte_position): Likewise.
* lisp.h (struct Lisp_Marker): Rename `bufpos' to `bytepos'.
Its value no longer includes the gap space.
-
+
* editfns.c (Fchar_after): Fix previous change.
* fileio.c (a_write): Fix prototype.
(insert_1, indented_beyond_p): Decls changed.
(move_gap_both, del_range_byte, del_range_both, del_range_2)
(scan_newline, Ffile_locked_p): New decls.
- (struct Lisp_Marker):
* search.c (scan_newline): Always restore prev value of immediate_quit.
* charset.h (CHAR_HEAD_P): Take char, not pointer, as arg.
* window.c (unshow_buffer): Set PT with TEMP_SET_PT_BOTH.
-
+
* indent.c (indented_beyond_p): Take POS in bytes and chars.
Callers changed.
(pos_tab_indent): Function moved to xdisp.c.
* xdisp.c (redisplay_internal): Use scan_newline.
(display_text_line, try_window_id): Use scan_newline.
- * xdisp.c (pos_tab_indent): Moved from indent,c. Now static.
+ * xdisp.c (pos_tab_indent): Moved from indent.c. Now static.
Take POS in bytes and chars. Callers changed.
-
+
* indent.c (Fcurrent_indentation): Use scan_newline and SET_PT_BOTH.
(indented_beyond_p, current_column_1): Likewise.
(window_scroll): Save and restore both kinds of pointers.
* process.c (status_notify): Use byte and char pointers.
-
+
* callint.c (Fcall_interactively) <'d', 'r'>: Use set_marker_both.
* emacs.c (abort): New function.
(message_log_check_duplicate): Take charpos and bytepos args.
(message_dolog): Use markers to update old PT, BEGV, ZV.
Use scan_newline. Handle positions in bytes and chars.
-
+
1997-12-28 Richard Stallman <rms@psilocin.gnu.org>
* xselect.c (Fx_rotate_cut_buffers_internal): Doc fix.
* coding.c (code_convert_region): Handle bytepos and charpos.
(Fdetect_coding_region): Likewise.
-
+
* Makefile.in (marker.o): Depend on charset.h.
1997-12-27 Richard Stallman <rms@psilocin.gnu.org>
* syntax.h (SETUP_SYNTAX_TABLE_FOR_OBJECT): Call bytepos_to_charpos.
Wrap in if (1) ... else.
-
+
* minibuf.c (Fminibuffer_complete_word): Handle bytes vs characters
when comparing buffer against string.
(temp_echo_area_glyphs): Save, update, delete text using
* buffer.h (DECODE_POSITION): New macro.
(CHAR_TO_BYTE, BYTE_TO_CHAR): New macros.
-
+
* buffer.h (BEG_BYTE, BEGV_BYTE, PT_BYTE, GPT_BYTE)
(ZV_BYTE, Z_BYTE): New macros.
(BUF_BEG_BYTE, BUF_BEGV_BYTE, BUF_PT_BYTE, BUF_GPT_BYTE)
(BUF_ZV_BYTE, BUF_Z_BYTE): New macros.
(BUF_GAP_END_ADDR): New macro.
- (BEGV_ADDR, PT_ADDR, GPT_ADDR, GAP_END_ADDR, ZV_ADDR, Z_ADDR):
+ (BEGV_ADDR, PT_ADDR, GPT_ADDR, GAP_END_ADDR, ZV_ADDR, Z_ADDR):
Use the new ..._byte buffer data.
(BUFFER_CEILING_OF, BUFFER_FLOOR_OF): Likewise.
(BUF_GPT_ADDR, BUF_Z_ADDR): Likewise.
(write_abbrev): Return void.
(Fexpand_abbrev): Scan in bytepos along with charpos.
(Funexpand_abbrev): Use bytepos to delete the expansion.
-
+
* charset.h (INC_POS, DEC_POS): Fix because arg is a bufpos.
(BUF_INC_POS, BUF_DEC_POS): New macros.
(INC_BOTH, DEC_BOTH): New macros.
use readchar_backlog to fetch bytes from a character.
(unreadchar): Increment readchar_backlog.
(readevalloop, Fread): Init readchar_backlog.
-
+
* charset.c (Fchar_boundary_p): Always return 0.
(Fchars_in_region): Just subtract the arguments.
(chars_in_text): New function.
(Fmove_to_column): Scan with bytepos and charpos.
(pos_tab_offset): Use bytepos to do FETCH_BYTE.
(skip_invisible): Don't worry about position in middle of character.
-
+
* xdisp.c (try_window): Pass bytepos to and from display_text_line.
(try_window_id): Likewise. Use byte pos as well as charpos.
(redisplay_internal): Handle bytepos for tlbufpos.
* xdisp.c (message): Cast last arg to doprnt.
-
+
* indent.h (struct position): New field bytepos.
* keyboard.c (command_loop_1): Use PT_BYTE when calling FETCH_BYTE.
Instead of Fforward_point, just add.
-
+
* search.c (looking_at_1): Use bytepos to call re_search_2.
Convert search regs to charpos, if search succeeded.
(search_buffer): Likewise. Also convert charpos <-> bytepos
in non-regexp case.
- (scan_buffer): Convert charpos <-> bytepos.
+ (scan_buffer): Convert charpos <-> bytepos.
(scan_newline): New function.
(find_next_newline): Function deleted.
(set_search_regs): Args now in bytes; convert to charpos.
(Freplace_match): Convert charpos <-> bytepos when scanning case.
-
+
* fileio.c (restore_point_unwind): Now static. Use Fgoto_char.
(Funhandled_file_name_directory): Doc fix.
(Finsert_file_contents): Handle bytes vs chars.
(e_write): Rename args.
(Funhandled_file_name_directory): Doc fix.
(a_write, e_write): Now static.
-
+
* editfns.c (Fgoto_char): When arg is a marker, copy char and byte
positions from it. When arg is an integer, no need to worry that it
is in middle of a character.
(message2): Pass new arg to message2_nolog.
(message1_nolog): Likewise.
- * keyboard.c (Fexecute_extended_command):
+ * keyboard.c (Fexecute_extended_command):
Save message_enable_multibyte and pass it to message2_nolog.
-
+
* alloc.c (Fgarbage_collect):
Save message_enable_multibyte and pass it to message2_nolog.
* xdisp.c (message_dolog): Convert between single-byte and multibyte
when inserting text into *Messages*.
-
+
1997-12-11 Richard Stallman <rms@gnu.org>
* sysdep.c (sys_signal): Add two casts.
1997-12-09 Richard Stallman <rms@gnu.org>
* callproc.c (Fcall_process): Don't clobber new_argv[0]
- in the case of no args.
+ in the case of no args.
1997-12-09 Kenichi Handa <handa@etl.go.jp>
* eval.c (do_autoload): Return void.
* sysdep.c (reset_sigio): Return void.
-
+
* keyboard.c (Fsuspend_emacs): Cast init_sys_modes when calling
record_unwind_protect.
* keymap.c (describe_map): Fix decl of arg ELT_DESCRIBER.
- * process.c (create_process, deactivate_process, close_process_descs):
+ * process.c (create_process, deactivate_process, close_process_descs)
(kill_buffer_processes, status_notify): Return void.
(Fstart_process): Cast arg to create_process.
- * undo.c (record_insert, record_delete, record_marker_adjustment):
+ * undo.c (record_insert, record_delete, record_marker_adjustment)
(record_change, record_first_change, record_property_change):
Return void.
1997-11-27 Ken'ichi Handa <handa@delysid.gnu.org>
- * undo.c (record_change, record_first_change,
- record_property_change): Declare them as void.
+ * undo.c (record_change, record_first_change, record_property_change):
+ Declare them as void.
(record_delete, record_marker_adjustment): Declare them as void.
-
+
* indent.c (invalidate_current_column): Declare it as void.
* fileio.c (report_file_error): Declare it as void.
* filelock.c (unlock_buffer): Declare it as void.
- * buffer.c (nsberror, record_buffer, validate_region,
- fix_overlay_before): Declare them as void.
+ * buffer.c (nsberror, record_buffer, validate_region)
+ (fix_overlay_before): Declare them as void.
- * sysdep.c (discard_tty_input, init_baud_rate,
- wait_for_termination, flush_pending_output, child_setup_tty,
- sys_suspend, sys_subshell, init_sigio, request_sigio,
- unrequest_sigio, init_sys_modes, get_frame_size, reset_sys_modes,
- setup_pty): Declare them as void.
+ * sysdep.c (discard_tty_input, init_baud_rate, wait_for_termination)
+ (flush_pending_output, child_setup_tty, sys_suspend, sys_subshell)
+ (init_sigio, request_sigio, unrequest_sigio, init_sys_modes)
+ (get_frame_size, reset_sys_modes, setup_pty): Declare them as void.
* keymap.c (describe_vector): Declaration fixed (delete `.' at the
tail of type `void'.
(fix_submap_inheritance): Declare it as void.
- * keyboard.c (echo_now, record_auto_save, cmd_error_internal,
- start_polling, stop_polling, bind_polling_period,
- timer_start_idle, timer_stop_idle, gobble_input,
- record_asynch_buffer_change, clear_input_pending,
- stuff_buffered_input, clear_waiting_for_input,
- quit_throw_to_read_char): Declare these as void.
+ * keyboard.c (echo_now, record_auto_save, cmd_error_internal)
+ (start_polling, stop_polling, bind_polling_period, timer_start_idle)
+ (timer_stop_idle, gobble_input, record_asynch_buffer_change)
+ (clear_input_pending, stuff_buffered_input, clear_waiting_for_input)
+ (quit_throw_to_read_char): Declare these as void.
(Fsuspend_emacs): Delete unnecessary extern declaration for
init_sys_mode.
(Fexecute_extended_command): Give Voverriding_local_map as the
* xdisp.c (redisplay_preserve_echo_area): Declare it as void.
* charset.c (strwidth): Remove extra argument to buffer_display_table.
-
+
1997-11-25 Andreas Schwab <schwab@delysid.gnu.org>
* charset.h (SPLIT_STRING): Remove extra argument to
(Fformat_time_string): Doc fix: %b, %h, %B, %a, %A, and %p depend on
locale; don't use actual chars to describe %n and %t.
- * src/Makefile.in (strftime.o), src/makefile.nt ($(BLD)\strftime.obj):
+ * src/Makefile.in (strftime.o):
+ * src/makefile.nt ($(BLD)\strftime.obj):
No need to compile with -Dstrftime=emacs_strftime any more.
1997-11-22 Richard Stallman <rms@gnu.org>
* buffer.h: Add more prototypes and function declarations.
* print.c (printchar): Declare `work' as unsigned char.
- (internal_with_output_to_temp_buffer): Protoype parameter
+ (internal_with_output_to_temp_buffer): Prototype parameter
FUNCTION.
(Ferror_message_string): Remove extra argument of
print_error_message.
* xdisp.c (display_text_line): Make decision about which windows
highlight the region in just once place.
- When minibuffer is selected, show the region in the previous window,
+ When minibuffer is selected, show the region in the previous window.
* charset.h (ASCII_BYTE_P): New macro.
1997-11-10 Eli Zaretskii <eliz@is.elta.co.il>
* msdos.c: Support for Japanese display on DOS/V systems.
- (screen_old_address, screen_virtual_segment,
- screen_virtual_offset): New variables.
+ (screen_old_address, screen_virtual_segment, screen_virtual_offset):
+ New variables.
(dosv_refresh_virtual_screen): New function.
- (dos_direct_output, dos_set_window_size, IT_write_glyphs,
- IT_clear_end_of_line, IT_clear_screen, IT_display_cursor,
- IT_reset_terminal_modes, XMenuActivate, abort): Call
+ (dos_direct_output, dos_set_window_size, IT_write_glyphs)
+ (IT_clear_end_of_line, IT_clear_screen, IT_display_cursor)
+ (IT_reset_terminal_modes, XMenuActivate, abort): Call
dosv_refresh_virtual_screen if under DOS/V.
(IT_set_terminal_modes): If under DOS/V, update the address of
primary screen buffer.
* coding.h (struct coding_system): Add member common_flags, delete
member require_flushing.
- (CODING_REQUIRE_FLUSHING_MASK, CODING_REQUIRE_DECODING_MASK,
- CODING_REQUIRE_ENCODING_MASK, CODING_REQUIRE_DETECTION_MASK): New
- macros.
+ (CODING_REQUIRE_FLUSHING_MASK, CODING_REQUIRE_DECODING_MASK)
+ (CODING_REQUIRE_ENCODING_MASK, CODING_REQUIRE_DETECTION_MASK):
+ New macros.
(CODING_REQUIRE_NO_CONVERSION, CODING_MAY_REQUIRE_NO_CONVERSION):
These macros deleted.
- (CODING_REQUIRE_FLUSHING, CODING_REQUIRE_DECODING,
- CODING_REQUIRE_ENCODING, CODING_REQUIRE_DETECTION): New macros.
+ (CODING_REQUIRE_FLUSHING, CODING_REQUIRE_DECODING)
+ (CODING_REQUIRE_ENCODING, CODING_REQUIRE_DETECTION): New macros.
* editfns.c (Fsref): If IDX points an 8-bit code which is not part
of multibyte characters, return it. Pay attention to
1997-10-24 Richard Stallman <rms@gnu.org>
- * frame.c (Fmouse_pixel_position, Fmouse_position):
+ * frame.c (Fmouse_pixel_position, Fmouse_position):
Pass -1 as INSIST arg to mouse_position_hook.
* w32term.c (w32_mouse_position): Handle INSIST < 0.
* xterm.c (XTmouse_position): Handle INSIST < 0.
* charset.h (CHAR_VALID_P): Renamed from VALID_CHAR_P, new
argument GENERICP. Call char_valid_p for a non-ASCII character.
- * charset.c (char_valid_p): New function
+ * charset.c (char_valid_p): New function.
(Fchar_valid_p): New function.
(syms_of_charset): Declare it as a Lisp function.
1997-10-21 Kenichi Handa <handa@etl.go.jp>
- * Makefile.in (xselect.o): Depend on buffer.h
+ * Makefile.in (xselect.o): Depend on buffer.h.
* coding.c (Qcoding_system_spec): Deleted.
(Vcoding_system_list, Vcoding_system_alist): New variables.
* emacs.c (shut_down_emacs): Call `dos_cleanup'.
- * msdos.c (mouse_get_pos): Remove reduntant call to `int86'.
+ * msdos.c (mouse_get_pos): Remove redundant call to `int86'.
Clear the mouse-moved flag for all frames. Update last mouse
position.
(IT_set_menu_bar_lines): Remove.
* dosfns.c (__tb): Define.
(restore_parent_vm_title): New function.
(ms_windows_version): New function.
- (w95_set_virtual_machine_title): New function
+ (w95_set_virtual_machine_title): New function.
(x_set_title): New function.
- (dos_cleanup): New function
+ (dos_cleanup): New function.
(syms_of_dosfns): Define `dos-windows-version' Lisp variable.
(init_dosfns): Compute MS-Windows version and save the original
title of our DOS box.
Decode all result file names using Vfile_name_coding_system.
* coding.c (Fencode_coding_string, Fdecode_coding_string): Doc fixes.
-
+
1997-09-07 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
* lread.c (Feval_buffer): New arg FILENAME.
1997-09-07 Geoff Voelker <voelker@cs.washington.edu>
* firstfile.c: New file.
-
+
1997-09-07 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
* xdisp.c (display_string): Determine multibyte from current buffer,
* unexelf.c: Test __OpenBSD__ along with __NetBSD__.
[__OpenBSD__]: Include sys/exec_elf.h.
-
+
1997-09-05 Ken'ichi Handa <handa@psilocin.gnu.ai.mit.edu>
* coding.c (Ffind_operation_coding_system): If a function in
* lisp.h (Fread_coding_system): Update decl.
* callint.c (Fcall_interactively): Pass new arg to Fread_coding_system.
-
+
1997-09-04 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
* m/alpha.h (PTY_OPEN): Call sigblock properly.
a separate .bss section conditional.
Use my_begbss and my_endbss to determine .bss size by default.
Look for Emacs data in EMDATA section.
-
+
* w32.c: Include stddef.h.
(getwd): Delete macro.
(startup_dir): New variable.
(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
+ (sys_read, sys_write): Spoof text mode translation for pipes
and sockets.
-
+
(hashval): Simplify.
(generate_inode_val): Use long file name version of file.
(lookup_volume_info, add_volume_info, GetCachedVolumeInformation):
New functions.
(get_volume_info): Use volume_info_data.
- Use GetCachedVolumeInformation.
+ Use GetCachedVolumeInformation.
(init_ntproc): No longer restrict to one DOS subprocess.
Use CRT _open and _fdopen.
Cache fixed drive information.
-
+
* w32.h: 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.
- * w32console.c: (DebPrint, reset_kbd, unset_kbd, take_console):
+ * w32console.c (DebPrint, reset_kbd, unset_kbd, take_console):
Delete functions.
(keyboard_init_hook): Delete variable.
(prev_console_cursor) [! USE_SEPARATE_SCREEN]: New variable.
* w32fns.c: 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.
+ (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_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.
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.
+ (w32_wnd_proc): Keep track of button state.
For WINDOWPOSCHANGING, force window dimensions to be multiples
of character dimensions.
Handle CREATESCROLLBAR.
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.
* w32inevt.c: 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): Pass in new parameter to w32_kbd_mods_to_emacs.
+
* w32menu.c (init_menu_items): Disable code.
(x_activate_menubar): New function.
(initialize_frame_menubar): Pass in new param to set_frame_menubar.
-
+
* w32proc.c: Include w32heap.h.
- (Vw32_start_process_share_console, Vw32_generate_fake_inodes,
- Vw32_get_true_file_attributes, Qhigh, Qlow, process_dir):
+ (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.
+ (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.
+ (reap_subprocess): Don't check for dos subprocesses.
Add debug support.
(sys_wait): Ignore socket child_procs.
Check for quit while waiting.
* w32term.c (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.
+ (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.
+ (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.
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
+ Explicitly check for visible 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_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
+ (x_make_frame_visible, x_make_frame_invisible): Pass in frame
to my_show_window.
- (x_iconify_frame): Send a MINIMIZE message to the 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.
* w32term.h (w32_output): New fields menubar_widget, menubar_active,
and pending_menu_activation.
- (VERTICAL_SCROLL_BAR_*): Use proportional scroll bar variables.
+ (VERTICAL_SCROLL_BAR_*): Use proportional scroll bar variables.
(W32WindowPos): Delete definition.
(WM_EMACS_SETFOCUS, WND_*_INDEX): New macros.
(deferred_msg): New structure.
Undef system calls before redefining. Emulated calls redefined
to sys_*, real calls redefined to _*.
(DebPrint): Macro defined.
-
+
1997-09-02 Michael Welsh Duggan <md5i@schenley.com>
* w32term.h (WM_MOUSEWHEEL): Define if not already defined.
* w32fns.c (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
+ 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.
- * w32menu.c (get_frame_menubar_event): Check for the possibility
+ * w32menu.c (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.
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
+ 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.
1997-09-02 Nico Francois <nico.francois@scala.nl>
-
- * w32menu.c (single_keymap_panes): Fixed problem with 'descrip'
+
+ * w32menu.c (single_keymap_panes): Fixed problem with 'descrip'
lisp object not being protected properly (GCPRO).
- (get_single_keymap_event): Fixed problem with 'descrip' lisp
+ (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
+ (list_of_items): New argument HMENU.
+ Use 1 and 0 instead of Qt and Qnil for enable in add_menu_item.
1997-09-02 Geoff Voelker <voelker@cs.washington.edu>
override CRT routines.
* w32inevt.c (key_event): New parameter isdead. Set isdead if the
- key press was done using a dead key.
+ key press was done using a dead key.
* w32term.c (w32_read_socket): Pass in new parameter to key_event.
Let key_event determine whether key is dead.
* sysdep.c (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
+ (init_sys_modes, reset_sys_modes) [WINDOWSNT]: Do it even with
a read_socket_hook.
* xdisp.c (redisplay_internal): Check to see if frame is not obscured
as well as visible.
-
+
1997-09-02 Michael Welsh Duggan <md5i@schenley.com>
* lisp.h: Declare discard_mouse_events.
in the detect_coding_iso2022 case.
* minibuf.c (Fread_from_minibuffer, Fread_string): Doc fixes.
- (Fread_no_blanks_input, Fcompleting_read): Doc fixes.
+ (Fread_no_blanks_input, Fcompleting_read): Doc fixes.
* unexnext.c: Include unistd.h instead of libc.h.
raw-text-unix.
(Fdetect_coding_region): Do not select no-conversion even if EOL
format of raw-text file is inconsistent.
-
+
1997-08-28 Kenichi Handa <handa@etl.go.jp>
* coding.c (Qno_conversion, Qundecided): New variables.
detect it as no-conversion.
(decode_coding): Handle coding_type_raw_text.
(encode_coding): Likewise.
- (Fdetect_coding_region): Ajusted for the above changes.
+ (Fdetect_coding_region): Adjusted for the above changes.
(shrink_conversion_area): Handle coding_type_raw_text.
* coding.h (coding_type): New member coding_type_raw_text.
(Fread_string): New argument INHERIT_INPUT_METHOD.
(Fread_no_blanks_input): Likewise.
(Fread_command): Call Fcompleting_read with INHERIT_INPUT_METHOD nil.
- (Fread_function, Fread_variable, Fread_buffer): Likewise
+ (Fread_function, Fread_variable, Fread_buffer): Likewise.
(Fcompleting_read): New argument INHERIT_INPUT_METHOD.
* lisp.h (DEFUN_ARGS_8): New macro.
- (Fcompleting_read, Fread_from_minibuffer, Fread_string,
- Fread_no_blanks_input): Number of arguments fixed.
+ (Fcompleting_read, Fread_from_minibuffer, Fread_string)
+ (Fread_no_blanks_input): Number of arguments fixed.
* eval.c (Feval): Handle a subr which takes 8 arguments.
(Ffuncall): Likewise.
* fontset.c (Valternate_fontname_alist): Name changed from
Valternative_fontname_alist.
(syms_of_fontset): Adjusted for the above change.
-
+
* fontset.h: Adjusted for the name change of
Valternate_fontname_alist.
* emacs.c (main): Fix previous change.
-1997-08-11 +03 Eli Zaretskii <eliz@is.elta.co.il>
+1997-08-11 Eli Zaretskii <eliz@is.elta.co.il>
* dosfns.c (init_dosfns): Avoid calling DOS memory-allocation
service, NT DPMI server will crash Emacs in DOS box, if we do.
* xrdb.c (X_DEFAULT_SEARCH_PATH): Add /usr/X11R6/lib alternatives.
- * editfns.c (Fwiden, Fnarrow_to_region, save_restriction_restore):
+ * editfns.c (Fwiden, Fnarrow_to_region, save_restriction_restore):
Don't set clip_changed if the new values are the same as the old.
* fileio.c (Fwrite_region): Turn off the feature of checking
* callproc.c (Fcall_process_region): Use cdr part (not car part)
of Vdefault_process_coding_system for writing out text.
- * coding.c (detect_coding_iso2022): Do not exclude posibility of
+ * coding.c (detect_coding_iso2022): Do not exclude possibility of
7-bit encoding when designation to G1 occurs. If CSI, SS2, or SS3
is found, return CODING_CATEGORY_MASK_ISO_8_ELSE.
(Fdetect_coding_region): Doc-string modified.
1997-08-02 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
* coding.c: Doc fixes.
-
+
* lread.c (Fload): New optional arg MUST-SUFFIX.
* fns.c (Frequire): Pass t for the MUST-SUFFIX arg to Fload.
* eval.c (do_autoload): Pass new arg to Fload.
1997-07-31 Ken'ichi Handa <handa@psilocin.gnu.ai.mit.edu>
* coding.c (encode_coding_iso2022): When source data ends not at
- character boundardy, set data in coding->carryover correctly, and
+ character boundary, set data in coding->carryover correctly, and
set SRC to SRC_END.
(encode_coding_sjis_big5): Likewise.
(encode_coding): Don't set coding->carryover_size to 0.
1997-07-29 Ken'ichi Handa <handa@psilocin.gnu.ai.mit.edu>
* xterm.c (x_list_fonts): Reject a font whose min_bounds.width is 0.
-
+
1997-07-28 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
* emacs.c (sort_args): Check properly for `--'.
1997-07-25 Ken'ichi Handa <handa@psilocin.gnu.ai.mit.edu>
- * fontset.c (syms_of_fontset): Set Vhighlight_wrong_size_font to
- Qnil.
+ * fontset.c (syms_of_fontset): Set Vhighlight_wrong_size_font to Qnil.
- * coding.h (CODING_REQUIRE_TEXT_CONVERSION,
- CODING_REQUIRE_EOL_CONVERSION, CODING_REQUIRE_CONVERSION): Deleted.
+ * coding.h (CODING_REQUIRE_TEXT_CONVERSION)
+ (CODING_REQUIRE_EOL_CONVERSION, CODING_REQUIRE_CONVERSION): Deleted.
(CODING_REQUIRE_NO_CONVERSION): New macro.
(CODING_MAY_REQUIRE_NO_CONVERSION): New macro.
* fileio.c (Finsert_file_contents): Use new macros
- CODING_MAY_REQUIRE_NO_CONVERSION and
- CODING_MAY_REQUIRE_NO_CONVERSION.
+ CODING_MAY_REQUIRE_NO_CONVERSION and CODING_REQUIRE_NO_CONVERSION.
(Fwrite_region): Correct the logic for deciding coding system.
* process.c (read_process_output): Use new macro
- CODING_REQUIRE_NO_CONVERSION
+ CODING_REQUIRE_NO_CONVERSION.
(send_process): Use new macro CODING_MAY_REQUIRE_NO_CONVERSION.
* xterm.c (dumpglyphs): Check the member `encoding' of *FONTP while
* keyboard.c (read_char): Delete spurious UNGCPRO.
Add UNGCPRO before the longjmps to wrong_kboard_jmpbuf.
Initialize c before the GCPRO1.
-
+
* frame.c (Fdelete_frame): Undo previous change.
* s/hpux8.h (LD_SWITCH_SYSTEM_TEMACS): Define this
instead of LD_SWITCH_SYSTEM.
-
+
* window.c (set_window_height): Allow all heights > 0
for minibuffer windows.
(change_window_height): Fix one-off comparing DELTA with MAXIMUM.
1997-07-15 Kenichi HANDA <handa@etl.go.jp>
- * coding.h (CODING_CATEGORY_IDX_ISO_7_ELSE): This macro is deleted
+ * coding.h (CODING_CATEGORY_IDX_ISO_7_ELSE): This macro is deleted.
(CODING_CATEGORY_IDX_ISO_7_ELSE): New macro.
- (CODING_CATEGORY_IDX_ISO_8_ELSE): New macro
+ (CODING_CATEGORY_IDX_ISO_8_ELSE): New macro.
(CODING_CATEGORY_MASK_ISO_ELSE): This macro is deleted.
(CODING_CATEGORY_MASK_ISO_7_ELSE): New macro.
(CODING_CATEGORY_MASK_ISO_8_ELSE): New macro.
* w32.c (sys_shutdown): New function.
* s/ms-win32.h: Define HAVE_SHUTDOWN.
-
+
1997-07-10 Eli Zaretskii <eliz@pogo.gnu.ai.mit.edu>
* xfaces.c (Fset_face_attribute_internal): Set mouse_face_defer
* xterm.c (x_load_font): Get value of fontp->height from
ascent and descent members of structure font->max_bounds.
- (dumpglyphs): Draw background by FillSolid if a font is too short.
+ (dumpglyphs): Draw background by FillSolid if a font is too short.
1997-07-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
* syntax.h (struct gl_state_s): New field `offset'.
(SETUP_SYNTAX_TABLE_FOR_OBJECT): Set offset field.
(SETUP_SYNTAX_TABLE): Clear offset field.
- (UPDATE_SYNTAX_TABLE, UPDATE_SYNTAX_TABLE_FORWARD):
+ (UPDATE_SYNTAX_TABLE, UPDATE_SYNTAX_TABLE_FORWARD)
(UPDATE_SYNTAX_TABLE_BACKWARD): Use the offset field.
* s/sol2.h (LIBS_SYSTEM): Add -lkvm and -lelf.
* window.c: Include blockinput.h.
(Fset_window_configuration): Block input around frobbing the frame.
- Preseve point in the current buffer if we do not switch
+ Preserve point in the current buffer if we do not switch
to a different one.
1997-07-06 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
emacs-mule, and set coding system for encoding to nil.
(Fopen_network_stream): If enable-multibyte-characters is nil, set
coding systems for decoding and encoding to nil.
-
+
* fileio.c (Finsert_file_contents): If enable-multibyte-characters
is nil, decode character code by emacs-mule.
(Fwrite_region): Use buffer-file-coding-system for encoding if
* editfns.c (Fformat): Add second argument in call to Ftruncate.
* alloc.c, buffer.c, casefiddle.c, casetab.c, category.c,
- category.h, ccl.c, coding.c, editfns.c, fileio.c, fns.c, indent.c,
- intervals.c, intervals.h, keymap.c, lisp.h, minibuf.c, print.c,
- syntax.c, syntax.h, sysdep.c, textprop.c, xfns.c: Fix numerous
+ * category.h, ccl.c, coding.c, editfns.c, fileio.c, fns.c, indent.c,
+ * intervals.c, intervals.h, keymap.c, lisp.h, minibuf.c, print.c,
+ * syntax.c, syntax.h, sysdep.c, textprop.c, xfns.c: Fix numerous
bugs with inappropriate mixing of Lisp_Object with int.
* config.in (RE_TRANSLATE): Define to extract integers from
array of Lisp_Objects.
1997-07-02 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
- * process.c (send_process): Make buf and temp_buf `unsigned char *'.
+ * process.c (send_process): Make buf and temp_buf `unsigned char *'.
* buffer.c (overlay_strings): Use unsigned char for things
that relate to overlay_str_buf.
* syssignal.h (sigpause): Don't define if already defined.
* Makefile.in (LD_SWITCH_SYSTEM_TEMACS): New variable.
-
+
1997-07-02 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile.in (lisp, shortlisp): Add widget.elc.
(ENCODE_ISO_CHARACTER): Bug of handling return value of unify_char
fixed.
(DECODE_SJIS_BIG5_CHARACTER): New macro.
- (decode_coding_sjis_big5): Handle character unificatoin table.
+ (decode_coding_sjis_big5): Handle character unification table.
Use macro DECODE_SJIS_BIG5_CHARACTER.
- (encode_coding_sjis_big5): Handle character unificatoin table.
+ (encode_coding_sjis_big5): Handle character unification table.
Use macro ENCODE_SJIS_BIG5_CHARACTER.
(setup_coding_system): Handle members
character_unification_table_for_decode and
* fileio.c (Finsert_file_contents): Doc-string fixed. Call
Ffind_operation_coding_system.
- (Fwrite_region): Call Ffind_operation_coding_system.
+ (Fwrite_region): Call Ffind_operation_coding_system.
* callproc.c: Call Ffind_operation_coding_system.
(read_process_output): Use read instead of READ_CHILD_OUTPUT.
* makefile.nt (OBJ2): Include new source files.
-
+
* s/ms-w32.h: Duplicate undefs from config.in to check completeness.
(STDC_HEADERS, HAVE_TZNAME, HAVE_MKTIME): Define to have a value.
- (HAVE_GETPAGESIZE, HAVE_SETLOCALE, HAVE_SHUTDOWN, HAVE_TZSET,
- HAVE_LIMITS_H, HAVE_STRERROR): Define.
+ (HAVE_GETPAGESIZE, HAVE_SETLOCALE, HAVE_SHUTDOWN, HAVE_TZSET)
+ (HAVE_LIMITS_H, HAVE_STRERROR): Define.
[HAVE_NTGUI] (HAVE_MENUS): Define.
(SYSTEM_PURESIZE_EXTRA): Increase value.
- * unexw32.c, w32heap.c: Add pragma to force zero initialized
+ * unexw32.c, w32heap.c: Add pragma to force zero initialized
data into .data segment.
* w32console.c, w32term.c: Include charset.h.
1997-06-22 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
* s/bsdos3.h: New file.
-
+
* s/bsdos2.h (KERNEL_FILE): New overriding definition.
* keyboard.c (read_avail_input): Check for failure with EIO.
(KERNEL_FILE, UNEXEC): Don't redefine them if __linux__.
[__linux__] (TEXT_START, DATA_START, DATA_SEG_BITS):
Alternate definitions.
-
+
* emacs.c (Fdump_emacs): Bind command-line-processed to nil here.
* xdisp.c (init_xdisp): Pay attention to FRAME_MENU_BAR_LINES.
* fontset.h (font_idx_temp): Extern it.
(FS_LOAD_FONT): New macro.
- * fontset.c (font_idx_temp): New temprary variable used in
+ * fontset.c (font_idx_temp): New temporary variable used in
FS_LOAD_FONT.
* xfaces.c (Fset_face_attribute_internal): Use FS_LOAD_FONT
(x_new_fontset): If frame F has already using FONTSET, avoid the
duplicated work. Use FS_LOAD_FONT.
(x_list_fonts): Call Fassoc to search Valternate_charset_table.
- (x_load_font): Get around a buf of XListFonts
+ (x_load_font): Get around a buf of XListFonts.
1997-06-20 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
* process.c (Fprocess_send_eof): Use shutdown, if it's a socket.
Don't close the output descriptor if that is also the input descriptor.
-
+
* config.in (HAVE_SHUTDOWN): Add #undef.
* editfns.c (Fchar_before): Validate N after decrementing.
1997-06-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
* process.c (wait_reading_process_input): When exiting because
- the process WAIT_PROC has terminated, first read all its output.
+ the process WAIT_PROC has terminated, first read all its output.
1997-06-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
Don't define these if __ELF__.
(RUN_TIME_REMAP, N_PAGSIZ, N_BSSADDR, N_TRELOFF): Likewise.
- * m/alpha.h (TEXT_END, COFF, DATA_END):
+ * m/alpha.h (TEXT_END, COFF, DATA_END):
Define them if __NetBSD__ just as if LINUX.
(HAVE_TEXT_START): Define, if __NetBSD__ and __ELF__.
* editfns.c (Finsert_char): Check QUIT.
- * fontset.c (list_fontsets, fs_load_font):
+ * fontset.c (list_fontsets, fs_load_font):
fast_c_string_match_ignore_case renamed.
-
+
* xterm.c (x_list_fonts): fast_c_string_match_ignore_case renamed.
* search.c (fast_c_string_match_ignore_case):
* coding.c (Vcoding_system_alist): Deleted.
(Qcoding_system_spec): Renamed from Qcoding_system_vector.
- (Vdefault_process_coding_system, Vfile_coding_system_alist,
- Vprocess_coding_system_alist, Vnetwork_coding_system_alist): New
- variables.
+ (Vdefault_process_coding_system, Vfile_coding_system_alist)
+ (Vprocess_coding_system_alist, Vnetwork_coding_system_alist):
+ New variables.
(Ffind_coding_system): Adjusted for the above change.
(syms_of_coding): Declare them as lisp variables.
(Fcheck_coding_system): Pass list as DATA argument to Fsignal.
name to iso-latin-1.
(lisp_data_to_selection_data): Likewise.
- * xterm.c (dumpglyph): Shift baseline for such a font that is
+ * xterm.c (dumpglyphs): Shift baseline for such a font that is
shorter but ascent or descent exceed the line height.
For a larger font, draw a small hook at right-bottom edge instead
of a rectangle.
1997-06-01 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
* lisp.h (VALMASK, GCTYPEMASK, MARKBIT, ARRAY_MARK_FLAG)
- (PSEUDOVECTOR_FLAG, enum pvec_type, PSEUDOVECTOR_SIZE_MASK):
+ (PSEUDOVECTOR_FLAG, enum pvec_type, PSEUDOVECTOR_SIZE_MASK):
Define regardless of NO_UNION_TYPE.
-
+
* xfns.c (Fx_create_frame): Use XINT to access parent.
* syntax.c (Fsyntax_table_p, check_syntax_table): Use EQ.
(ORDINARY_LINK): Defined (if __NetBSD__).
* s/netbsd.h [__alpha__] (NO_SHARED_LIBS): Defined.
-
+
1997-05-31 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
* lread.c (init_lread): Sometimes add to load-path
* Makefile.in (XOBJ, MSDOS_OBJ, SOME_MACHINE_OBJECTS): Delete xfaces.o.
(obj): Add xfaces.o.
(FACE_SUPPORT, SOME_MACHINE_LISP): Delete faces.elc.
- (shortlisp, lisp): Add faces.elc
+ (shortlisp, lisp): Add faces.elc.
* emacs.c (main): Call syms_of_xfaces whenever ! HAVE_NTGUI.
1997-05-30 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
- * xterm.c (process_expose_from_menu, XTread_socket):
+ * xterm.c (process_expose_from_menu, XTread_socket):
Set has_been_visible field.
- (x_make_frame_visible): Don't do XMoveWindow unles has_been_visible.
+ (x_make_frame_visible): Don't do XMoveWindow unless has_been_visible.
* xterm.h (struct x_output): New field has_been_visible.
Simplify the call to x_real_positions.
(x_make_frame_visible): Use win_gravity to decide whether to
call XMoveWindow. Also, don't do it if frame already visible.
-
+
* xfns.c (x_real_positions): Subtract border width from results.
1997-05-26 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
Always call x_wm_set_size_hint for them.
No need to call XTranslateCoordinates here.
(x_clear_errors): New function.
-
+
1997-05-20 Erik Naggum <erik@naggum.no>
* editfns.c (Fformat_time_string): Doc update.
-
+
1997-05-20 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
* editfns.c (Fformat_time_string): Doc update.
1997-05-18 Erik Naggum <erik@naggum.no>
* lisp.h (Vtty_erase_char): Declared.
- * keyboard.c (Vtty_erase_char): Variable defined
+ * keyboard.c (Vtty_erase_char): Variable defined.
(syms_of_keyboard): Set up Lisp variable.
Also set up `num-nonmacro-input-chars' to report actual keystrokes.
* sysdep.c (init_sys_modes): Initialize Vtty_erase_char if
(r_alloc_init) [DOUG_LEA_MALLOC]: Call mallopt,
instead of setting __malloc_extra_blocks.
-Thu May 15 22:21:18 1997 Ken'ichi Handa <handa@diazepam.gnu.ai.mit.edu>
+1997-05-15 Ken'ichi Handa <handa@diazepam.gnu.ai.mit.edu>
* Makefile.in (charset.o): Add disptab.h in dependency list.
* fontset.c (fontset_pattern_regexp): Cast to (char *) before
assigning to P0.
- * ccl.c (struct ccl_prog_stack): Declear the member ccl_prog as
+ * ccl.c (struct ccl_prog_stack): Declare the member ccl_prog as
Lisp_Object *.
* editfns.c: Declare Fuser_full_name as Lisp_Object in advance to
argument C is an invalid character code.
(Fconcat_chars): Use alloca instead of malloc.
- * charset.h (CHAR_STRING): Comment reflect the above change.
+ * charset.h (CHAR_STRING): Comment reflect the above change.
* coding.h: Name change through the code:
coding-category-internal => coding-category-emacs-mule,
CODING_EOL_AUTOMATIC => CODING_EOL_UNDECIDED.
* coding.c: Likewise.
* fileio.c: Likewise.
-
+
* xfns.c (Fx_create_frame): Delete unnecessary code.
1997-05-15 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
(compute_trt_identity, compute_trt_shuffle): New subroutines.
(init_casetab_once): Use XSETFASTINT to store into case table;
use CHAR_TABLE_SINGLE_BYTE_SLOTS to end the loop.
-
+
1997-05-13 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
* syntax.c (describe_syntax_1): Pass new args to describe_vector.
Pass index character as a Lisp_Object.
* keymap.c (Fmake_keymap): Make a char-table.
- (access_keymap, store_in_keymap): Likewise,
+ (access_keymap, store_in_keymap): Likewise.
(describe_map, Fset_keymap_parent, Faccessible_keymaps): Likewise.
(Fwhere_is_internal, Fcopy_keymap): Handle a char-table.
(copy_keymap_1, accessible_keymaps_char_table): New subroutines.
(where_is_internal_1, where_is_internal_2): New functions.
(syms_of_keymap): Set up Qchar_table_extra_slots prop on Qkeymap.
-
+
1997-05-10 Ken'ichi Handa <handa@etl.go.jp>
* callproc.c (Fcall_process_region): Supply 7th new arg
* charset.h (unify_char): Extern it.
- * coding.c (Valternate_charset_table): The valiable deleted.
- (Venable_character_unification,
- Vstandard_character_unification_table_for_read,
- Vstandard_character_unification_table_for_write,
- Qcharacter_unification_table): New variables.
+ * coding.c (Valternate_charset_table): The variable deleted.
+ (Venable_character_unification)
+ (Vstandard_character_unification_table_for_read)
+ (Vstandard_character_unification_table_for_write)
+ (Qcharacter_unification_table): New variables.
(syms_of_coding): Initialize and declare them.
(DECODE_ISO_CHARACTER): Modified to handle a character unification
table instead of Valternate_charset_table.
* fontset.c (Vfontset_alias_alist): New variable.
(fontset_pattern_regexp): Delete code for handling nickname of a
- fonset. It is now handled in Fquery_fontset by consulting
+ fontset. It is now handled in Fquery_fontset by consulting
Vfontset_alias_alist.
(Fquery_fontset): Handle Vfontset_alias_alist.
(syms_of_fontset): Terminate each line by `\n\' in doc-string of
- alternate-fontname-alist. Declare Lisp valiable
+ alternate-fontname-alist. Declare Lisp variable
fontset-alias-alist. Doc-string of highlight-wrong-size-font
and clip-large-size-font modified.
* xfns.c (Fx_create_frame): Delete code for handling the X
- resouce "Fontset".
+ resource "Fontset".
* xselect.c (selection_data_to_lisp_data): If TYPE is `STRING'
and DATA contains 8-bit codes, decode them as Latin-1 characters.
* fileio.c (Fread_file_name): Finish previous change.
- * coding.c (Fread_coding_system, Fread_non_nil_coding_system):
+ * coding.c (Fread_coding_system, Fread_non_nil_coding_system):
Pass new arg to Fcompleting_read.
* callint.c (Fcall_interactively): Pass new arg to Fcompleting_read.
1997-04-30 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
- * xterm.c (XTmouse_position, x_term_init):
+ * xterm.c (XTmouse_position, x_term_init):
Save value from x_catch_errors and pass to x_uncatch_errors.
* xselect.c (x_own_selection, x_reply_selection_request)
(char_quoted): Move earlier, update gl_state when needed.
(find_defun_start): Update gl_state when needed.
(back_comment): New function.
- (Scomment_fence, Sstring_fence): New delimeter char classes
+ (Scomment_fence, Sstring_fence): New delimiter char classes
denoted by `!' and `|'.
(Fchar_syntax, Fmatching_paren): Update gl_state to whole-buffer state.
(scan_words): Update gl_state when needed.
New members Scomment_fence, Sstring_fence.
(SYNTAX_ENTRY): Depending on the value of SYNTAX_ENTRY_VIA_PROPERTY
may do a lookup for syntax table in gl_state.
- (UPDATE_SYNTAX_TABLE_FORWARD, UPDATE_SYNTAX_TABLE_BACKWARD,
- UPDATE_SYNTAX_TABLE, SETUP_SYNTAX_TABLE,
- SETUP_SYNTAX_TABLE_FOR_OBJECT): New macros.
+ (UPDATE_SYNTAX_TABLE_FORWARD, UPDATE_SYNTAX_TABLE_BACKWARD)
+ (UPDATE_SYNTAX_TABLE, SETUP_SYNTAX_TABLE)
+ (SETUP_SYNTAX_TABLE_FOR_OBJECT): New macros.
(struct gl_state_s): New struct.
- * textprop.c: Style of comments corrected.
+ * textprop.c: Style of comments corrected.
(interval_of): New function.
1997-04-14 Eli Zaretskii <eliz@wombat.gnu.ai.mit.edu>
* w16select.c: New file, MS-Windows clipboard support from
Emacs running as MSDOS application.
-
+
* s/msdos.h (SYMS_SYSTEM): Add `syms_of_win16select'.
* Makefile.in (MSDOS_OBJ): Add w16select.o.
when REPLACE is handled by reading directly from the file.
Use insert_1 to insert replacement text, to avoid
query about whether to modify the buffer.
-
+
1997-04-10 Marcus G. Daniels <marcus@cathcart.sysc.pdx.edu>
* Makefile.in (mallocobj): Make non-REL_ALLOC configuration work
(init_alloc_once): Set trim and mmap malloc parms, when using glibc.
* config.in (DOUG_LEA_MALLOC): Add #undef.
-
+
* Makefile.in (mallocobj): Don't add gmalloc if using glibc.
Drop check for `old malloc'; it isn't distributed with Emacs.
(copy_category_table, Fmodify_category_entry): Adjusted for the
new structure of Lisp_Char_Table.
- * ccl.c: (ccl_driver): Fix bug of the case CCL_WriteArrayReadJump.
+ * ccl.c (ccl_driver): Fix bug of the case CCL_WriteArrayReadJump.
* charset.h (CHARSET_TABLE_ENTRY): Handle ASCII charset correctly.
(SPLIT_NON_ASCII_CHAR, SPLIT_CHAR): Return -1 in C2 for DIMENSION1
characters.
- * charset.c (non_ascii_char_to_string, update_charset_table,
- Fsplit_char): Adjusted for the above change.
+ * charset.c (non_ascii_char_to_string, update_charset_table)
+ (Fsplit_char): Adjusted for the above change.
* coding.c (detect_coding_iso2022, detect_coding_mask): Ignore
invalid ESC sequence for ISO 2022.
* fns.c (copy_sub_char_table): New function.
(Fcopy_sequence): Call copy_sub_char_table for copying a sub char
table.
- (Fchar_table_range, Fset_char_table_range, map_char_table,
- Fmap_char_table): Handle multibyte characters correctly.
+ (Fchar_table_range, Fset_char_table_range, map_char_table)
+ (Fmap_char_table): Handle multibyte characters correctly.
* fontset.c (Vhighlight_wrong_size_font, Vclip_large_size_font):
New variables.
* xterm.c (dumpglyphs): Clip and highlight glyphs displayed with
fonts of wrong size.
-Sun Apr 6 10:26:53 1997 Eli Zaretskii <eliz@wombat.gnu.ai.mit.edu>
+1997-04-06 Eli Zaretskii <eliz@wombat.gnu.ai.mit.edu>
* emacs.c (init_cmdargs) [MSDOS]: Make the change that sets
`installation-directory' if `info' is found as its subdirectory or
sibling, be conditioned on MSDOS (it makes trouble on Unix).
-
1997-04-05 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
* coding.c (Ffind_coding_system): Doc fix.
(Fcopy_file): Fix previous change.
(Finsert_file_contents): Determine the character coding
before we see if REPLACE can be handled.
- Do handle REPLACE even if code conversion is needed.
+ Do handle REPLACE even if code conversion is needed.
1997-03-30 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
1997-03-22 Mark W. Eichin <eichin@kitten.gen.ma.us>
* keyboard.c (make_lispy_event): Use iso_lispy_function_keys for
- XK_ISO_* keys found in XFree86.
+ XK_ISO_* keys found in XFree86.
(ISO_FUNCTION_KEY_OFFSET): New macro.
(iso_lispy_function_keys): New table.
-
+
* xterm.c (XTread_socket): Accept XK_ISO_* keys.
1997-03-19 Kenichi Handa <handa@etl.go.jp>
1997-03-05 NIIBE Yutaka <gniibe@mri.co.jp>
- * indent.c: (compute_motion): When POS >= TO, don't call
+ * indent.c (compute_motion): When POS >= TO, don't call
find_before_next_newline as it assumes POS < TO.
1997-03-02 Ken'ichi Handa <handa@etl.go.jp>
* coding.c (setup_coding_system): Now, flags of ISO2022 coding
systems contains charsets instead of charset IDs. Correct setting
coding->symbol and coding->eol_type. The performance improved.
- (encode_coding) : Fix typo ("=" -> "==").
+ (encode_coding): Fix typo ("=" -> "==").
(detect_coding_iso2022, decode_coding_iso2022): Make the code
robust against invalid SI and SO.
(ENCODE_RESET_PLANE_AND_REGISTER): Argument `eol' is deleted.
precisely.
(Ffind_coding_system, syms_of_coding): Escape newlines in
docstring.
-
+
* charset.h (INC_POS, DEC_POS): Don't increase or decrease too
much if there's binary code (invalid character code).
* keymap.c (describe_vector): Do not describe deeper char-table if
enable-multibyte-characters is nil.
- * process.c (proc_decode_coding_system,
- proc_encode_coding_system): Changed to array of pointers to struct
- coding_system to reduce the size of dumped Emacs.
+ * process.c (proc_decode_coding_system, proc_encode_coding_system):
+ Changed to array of pointers to struct coding_system to reduce the
+ size of dumped Emacs.
(create_process, Fopen_network_stream): Allocate them dynamically.
(init_process): Initialize these pointers to NULL.
(Fstart_process, Fopen_network_stream): Do not perform character
* lread.c (Fload): Call Vload_source_file_function with 4 args.
-1997-02-22 Tsugutomo ENAMI <enami@ba2.so-net.or.jp>
+1997-02-22 Tsugutomo ENAMI <enami@ba2.so-net.or.jp>
- * regex.c: Include charset.h and category.h
+ * regex.c: Include charset.h and category.h.
- [!emacs] (BASE_LEADING_CODE_P, WORD_BOUNDARY_P, CHAR_HEAD_P,
- SINGLE_BYTE_CHAR_P, SAME_CHARSET_P, MULTIBYTE_FORM_LENGTH,
- STRING_CHAR_AND_LENGTH, GET_CHAR_AFTER_2, GET_CHAR_BEFORE_2):
+ [!emacs] (BASE_LEADING_CODE_P, WORD_BOUNDARY_P, CHAR_HEAD_P)
+ (SINGLE_BYTE_CHAR_P, SAME_CHARSET_P, MULTIBYTE_FORM_LENGTH)
+ (STRING_CHAR_AND_LENGTH, GET_CHAR_AFTER_2, GET_CHAR_BEFORE_2):
New dummy macros.
(enum re_opcode_t): New member categoryspec and
notcategoryspec.
- (STORE_CHARACTER_AND_INCR, EXTRACT_CHARACTER,
- CHARSET_LOOKUP_RANGE_TABLE_WITH_COUNT,
- CHARSET_LOOKUP_RANGE_TABLE, CHARSET_BITMAP_SIZE,
- CHARSET_RANGE_TABLE_EXISTS_P, CHARSET_RANGE_TABLE
- CHARSET_PAST_RANGE_TABLE): New macros.
+ (STORE_CHARACTER_AND_INCR, EXTRACT_CHARACTER)
+ (CHARSET_LOOKUP_RANGE_TABLE_WITH_COUNT)
+ (CHARSET_LOOKUP_RANGE_TABLE, CHARSET_BITMAP_SIZE)
+ (CHARSET_RANGE_TABLE_EXISTS_P, CHARSET_RANGE_TABL)
+ (CHARSET_PAST_RANGE_TABLE): New macros.
(TRANSLATE): Cast return value to unsigned char, not char.
(struct range_table_work_area): New structure.
- (EXTEND_RANGE_TABLE_WORK_AREA, SET_RANGE_TABLE_WORK_AREA,
- FREE_RANGE_TABLE_WORK_AREA, CLEAR_RANGE_TABLE_WORK_USED,
- RANGE_TABLE_WORK_USED, RANGE_TABLE_WORK_ELT): New macros.
+ (EXTEND_RANGE_TABLE_WORK_AREA, SET_RANGE_TABLE_WORK_AREA)
+ (FREE_RANGE_TABLE_WORK_AREA, CLEAR_RANGE_TABLE_WORK_USED)
+ (RANGE_TABLE_WORK_USED, RANGE_TABLE_WORK_ELT): New macros.
(FREE_STACK_RETURN): Call FREE_RANGE_TABLE_WORK_AREA.
(regex_compile): Declare `c' and `c1' as int to store
multibyte characters.
- Declare range_table_work and initialize it.
+ Declare range_table_work and initialize it.
Initialize bufp->multibyte to 0 if not emacs.
For case '[' and `default', code re-written to handle
multibyte characters.
wordbeg, wordend, matchsyntax, and matchnotsyntax, code
re-written to handle multibyte characters.
Add code for case categoryspec and notcategoryspec.
-
+
* regex.h (struct re_pattern_buffer): New member multibyte.
1997-02-21 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
* xdisp.c (try_window): Change the way of calculation of tab
offset. We now use val.tab_offset to maintain tab offset.
- Removed local variable tab_offset.
+ Removed local variable tab_offset.
(try_window_id): Likewise.
* indent.c: Include "charset.h".
(xterm.o): Depend on charset.h, ccl.h, and fontset.h.
(category.o, ccl.o, charset.o, coding.o, fontset.o): New targets.
- * alloc.c (Fmake_char_table): Typo in doc-string fixed. Handle
- the case that PURPOSE is nil (in a deeper char-table).
+ * alloc.c (Fmake_char_table): Typo in doc-string fixed.
+ Handle the case that PURPOSE is nil (in a deeper char-table).
(Fmake_bool_vector): Make correct size of Lisp_Object for
bool-vector.
* lread.c: Include charset.h.
(Vload_source_file_function): New variable.
(Fload): Call Vload_source_file_function if defined while loading
- an Emacs Lisp source file. */
+ an Emacs Lisp source file.
(read_multibyte): New function.
(read_escape): Handle multibyte characters.
(read1): Correct the value of size_in_chars of a bool vector.
1997-02-14 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
* print.c (print): Generate a backslash in \2e10.
-
+
1997-02-08 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
* window.c (change_window_height): Take size from multiple siblings,
* emacs.c (main): Don't extend stack limit too far.
-Sun Feb 2 10:36:26 1997 Eli Zaretskii <eliz@wombat.gnu.ai.mit.edu>
+1997-02-02 Eli Zaretskii <eliz@wombat.gnu.ai.mit.edu>
* msdos.c (dos_rawgetc): When international keyboard doesn't have
to be supported, recognize Alt-key combinations even if the Alt
that of the dividend. This does not yield a
particularly accurate result, but at least it will be in the
range promised by fmod.
-
+
* doprnt.c: Include <float.h> if STDC_HEADERS.
(DBL_MAX_10_EXP): Define if not defined; default is IEEE double.
(doprnt1): Allocate enough buffer space to handle very large floating
Define these variables only if LOCALTIME_CACHE is defined.
1997-01-21 Eli Zaretskii <eliz@wombat.gnu.ai.mit.edu>
-
+
* msdos.c (run_msdos_command): Remove unused variables.
(crlf_to_lf): Remove unused variables.
(Fmsdos_downcase_filename): Remove unused variable.
* dispnew.c (init_display): Check for overflow in screen size.
Use `fatal'.
-
+
1997-01-19 Geoff Voelker <voelker@cs.washington.edu>
* w32.c (init_environment): Rebuild Vsystem_configuration at startup.
* w32gui.h: Renamed from win32.h.
* dispextern.h, w32term.h, makefile.nt: Use new name w32gui.h.
* makefile.nt: Update header comment.
-
- * w32console.c (initialize_w32_display): Renamed from
+
+ * w32console.c (initialize_w32_display): Renamed from
initialize_win_nt_display.
* term.c (term_init): Use new name initialize_w32_display.
-
+
* w32.c, w32console.c, w32faces.c, w32fns.c, w32heap.c,
- w32inevt.c, w32menu.c, w32proc.c, w32select.c, w32term.c,
- w32xfns.c, win32.h, w32inevt.h, w32term.h: Change all uses of win95,
+ * w32inevt.c, w32menu.c, w32proc.c, w32select.c, w32term.c,
+ * w32xfns.c, win32.h, w32inevt.h, w32term.h: Change all uses of win95,
winnt, and win32 into Windows 95, Windows NT, and W32, respectively.
- Expand "win" substring in variables referring to Microsoft Windows
+ Expand "win" substring in variables referring to Microsoft Windows
constructs into "windows".
Canonicalize header comments to use same terminology.
1997-01-15 Eli Zaretskii <eliz@is.elta.co.il>
* keyboard.c (interrupt_signal): Make emergency exit work on MSDOS
- frames. Block further SIGINTs while `interrupt_signal' runs.
+ frames. Block further SIGINTs while `interrupt_signal' runs.
* msdos.c (sigprocmask, sig_suspender): New functions, implement
signal blocking on MSDOS.
Use BROKEN_MKTIME to determine whether mktime is broken.
1996-12-30 Paul Eggert <eggert@twinsun.com>
-
+
* data.c, floatfns.c: <float.h>: Include if STDC_HEADERS.
(IEEE_FLOATING_POINT): New symbol.
* data.c (float_arith_driver, Fmod), floatfns.c (Ffloor):
* window.c (window_scroll): Preserve vpos of point
if we cannot preserve the actual position of it.
Make it static. New arg WHOLE; callers changed.
-
+
* keyboard.c (read_char_x_menu_prompt): Unread and record all the
input events from here.
(record_menu_key): New subroutine.
* xmenu.c (single_keymap_panes): New arg DEPTH.
Cut off recursion at that depth. Callers changed.
-1996-12-23 +02 Eli Zaretskii <eliz@is.elta.co.il>
+1996-12-23 Eli Zaretskii <eliz@is.elta.co.il>
* msdos.c (dos_set_keyboard): Test whether KEYB.COM is installed
for international keyboard support.
* xfns.c (x_set_scroll_bar_width): Reject a width that's too small.
-1006-12-10 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
+1996-12-10 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
* buffer.c (syms_of_buffer): Doc fix (transient-mark-mode).
* msdos.c (IT_cmgoto): Don't update FRAME_CURSOR_X when the cursor
is in echo area.
-1996-12-05 Erik Naggum <erik@naggum.no>
+1996-12-05 Erik Naggum <erik@naggum.no>
* keyboard.c (syms_of_keyboard): Doc fix.
* editfns.c (Fline_beginning_position, Fline_end_position): New fns.
* cmds.c (Fend_of_line, Fbeginning_of_line):
Use Fline_beginning_position, Fline_end_position.
- * lisp.h (Fend_of_line, Fbeginning_of_line): Declared.
+ * lisp.h (Fend_of_line, Fbeginning_of_line): Declared.
1996-11-23 Richard Stallman <rms@whiz-bang.gnu.ai.mit.edu>
* w32console.c: Renamed from w32term.c.
* unexw32.c: Renamed from unexnt.c.
* s/ms-w32.h: Renamed from s/windowsnt.h.
-
+
* dispnew.c (init_display) [HAVE_NTGUI]: Use w32 for window-system.
* Makefile.in, callproc.c, makefile.nt: Use new names for w32 files.
1996-11-18 Geoff Voelker <voelker@cs.washington.edu>
* emacs.c, frame.c, frame.h, keyboard.c, nt.c, nt.h,
- ntheap.c, ntheap.h, ntinevt.c, ntinevt.h, ntproc.c, ntterm.c,
- termhooks.h, unexnt.c, w32faces.c, w32fns.c, w32menu.c, w32reg.c,
- w32select.c, w32term.c, w32term.h, w32xfns.c, s/windowsnt.h:
+ * ntheap.c, ntheap.h, ntinevt.c, ntinevt.h, ntproc.c, ntterm.c,
+ * termhooks.h, unexnt.c, w32faces.c, w32fns.c, w32menu.c, w32reg.c,
+ * w32select.c, w32term.c, w32term.h, w32xfns.c, s/windowsnt.h:
Change identifiers of the form win32* to w32*.
* window.c (special-display-p, same-window-p): Add missing
Reorganize function definitions so etags finds them.
* abbrev.c (Finsert_abbrev_table_description).
* editfns.c (Finsert_and_inherit_before_markers).
- * eval.c (Frun_hook_with_args, Frun_hook_with_args_until_success,
- Frun_hook_with_args_until_failure).
+ * eval.c (Frun_hook_with_args, Frun_hook_with_args_until_success)
+ (Frun_hook_with_args_until_failure).
* window.c (Fcurrent_window_configuration).
- * xselect.c (Fx_own_selection_internal, Fx_get_selection_internal,
- Fx_disown_selection_internal).
+ * xselect.c (Fx_own_selection_internal, Fx_get_selection_internal)
+ (Fx_disown_selection_internal).
1996-10-30 Richard Stallman <rms@psilocin.gnu.ai.mit.edu>
* frame.h (struct frame): New field phys_cursor_on.
-1996-10-08 David Kågedal <davidk@lysator.liu.se>
+1996-10-08 David Kågedal <davidk@lysator.liu.se>
* xmenu.c (Fx_popup_menu): Give the menu a title when the menu is
a single keymap.
1996-10-05 Marcus G. Daniels <marcus@coulee.tdb.com>
- * xfns.c (x_set_internal_border_width): Only change
+ * xfns.c (x_set_internal_border_width): Only change
an edit_widget's internal_border_width for the toolkit case.
1996-10-04 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
(find_handler_clause): If Vdebug_force, call debugger
even if there are handlers.
-1996-09-26 Marcus Daniels <marcus@sayre.sysc.pdx.edu>
+1996-09-26 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu>
- * xfns.c (x_set_scroll_bar_width): Move cursor to the
+ * xfns.c (x_set_scroll_bar_width): Move cursor to the
left margin, past a scroll bar, if any.
1996-09-26 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
* window.c (syms_of_window): Doc fixes.
-1996-09-25 Marcus Daniels <marcus@sysc.pdx.edu>
+1996-09-25 Marcus G. Daniels <marcus@sysc.pdx.edu>
* s/irix5-0.h (sigsetmask, _longjmp, _setjmp): #undef them.
(_BSD_SIGNALS): Definition deleted.
1996-09-20 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
- * xterm.c (x_scroll_bar_create, x_scroll_bar_move):
+ * xterm.c (x_scroll_bar_create, x_scroll_bar_move)
(x_scroll_bar_expose): Use VERTICAL_SCROLL_BAR_WIDTH_TRIM.
* xterm.h (VERTICAL_SCROLL_BAR_WIDTH_TRIM): Renamed from
* xfns.c (Fx_create_frame): Default Qvertical_scroll_bars to `left'.
-Fri Sep 20 02:37:37 1996 Marcus Daniels <marcus@sayre.sysc.pdx.edu>
+1996-09-20 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu>
* xterm.c (XTclear_end_of_line): Shift end-of-line when there is a
left-side scroll bar by FRAME_LEFT_SCROLL_BAR_WIDTH.
(x_scroll_bar_expose): Narrow the box slightly for a left-side
scroll bar.
- * xfns.c: Add the symbol `right'; this symbol is used to indicate
+ * xfns.c: Add the symbol `right'; this symbol is used to indicate
that a right-side scroll bar is wanted.
- (x_set_vertical_scroll_bars): Check for left<->right<->none
+ (x_set_vertical_scroll_bars): Check for left<->right<->none
scroll bar changes, and modify the vertical scroll bar type
as appropriate.
(x_figure_window_size): Use new SET_FRAME_WIDTH macro.
* w32fns.c (Qright): New variable.
(syms_of_win32fns): Initialize and staticpro Qright.
- (x_set_vertical_scroll_bars): Check for left<->right<->none
+ (x_set_vertical_scroll_bars): Check for left<->right<->none
scroll bar changes, and modify the vertical scroll bar type
as appropriate.
(x_figure_window_size): Use new SET_FRAME_WIDTH macro.
* keyboard.c (make_lispy_event): When converting from pixel to
glyph coordinates, offset by WINDOW_LEFT_MARGIN instead of XINT
- (XWINDOW (window)->left; this is necessary when there are
+ (XWINDOW (window)->left); this is necessary when there are
left-side scrollbars.
* frame.c (make_frame): Switch from boolean
necessarily the same any more.
(change_frame_size_1): Use FRAME_WINDOW_WIDTH to check for changes.
Give `set_window_width' the window width value.
- Use new macro SET_FRAME_WIDTH.
-
+ Use new macro SET_FRAME_WIDTH.
+
* xterm.h (VERTICAL_SCROLL_BAR_INSIDE_WIDTH): Add frame as an
argument, and use it to decrease the width in the case of a
left-side scroll bar; this prevents the bar and adjacent text
`external_width' and `width'.
(WINDOW_VERTICAL_SCROLL_BAR_COLUMN): Modify to handle left-side
scroll bars too.
-
+
* window.h (WINDOW_LEFT_MARGIN): New macro.
(WINDOW_RIGHT_EDGE, WINDOW_RIGHT_MARGIN): New macros.
(WINDOW_FULL_WIDTH_P, WINDOW_RIGHTMOST_P): New macros.
(VERTICAL_SCROLL_BAR_TOP_RANGE): New arg F (not used).
* xterm.c: Pass frame arg in calls to VERTICAL_SCROLL_BAR_INSIDE_HEIGHT
and VERTICAL_SCROLL_BAR_TOP_RANGE.
-
+
* sysdep.c (init_system_name): Retry gethostbyname only 5 times
and don't sleep after the last time.
* window.c (Fset_window_start): Clear last_overlay_modified field.
(set_window_height, set_window_width, Fset_window_buffer)
- (change_window_height, window_scroll, Fset_window_configuration):
+ (change_window_height, window_scroll, Fset_window_configuration):
Clear last_overlay_modified field.
(Fpos_visible_in_window_p): Test last_overlay_modified field.
* xdisp.c (overlay_unchanged_modified): New variable.
(redisplay_internal): Set overlay_unchanged_modified.
- * insdel.c (gap_left, gap_right, modify_region):
+ * insdel.c (gap_left, gap_right, modify_region):
Compare overlay_unchanged_modified with OVERLAY_MODIFF.
* buffer.c (modify_overlay): Renamed from redisplay_region
moved here from xdisp.c, and made static. Callers changed.
Update OVERLAY_MODIFF instead of MODIFF.
* xdisp.c (redisplay_region): Renamed and moved to buffer.c.
-
- * s/sco5.h (C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM):
+
+ * s/sco5.h (C_SWITCH_SYSTEM, LD_SWITCH_SYSTEM):
Don't define them if using GCC.
1996-09-13 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
* keyboard.c (Fexecute_extended_command): Delete junk lines.
Print the key bindings after the command, temporarily;
then bring back the previous message.
-
+
* buffer.c (syms_of_buffer): Doc fixes.
* filelock.c (lock_superlock): Delete superlock file if it stayed
before read0 call.
(read1): New variable `uninterned_symbol', which controls how to
make symbols. Support #:, #n=object and #n#.
- (make_symbol): New function, used in read1 to make uninterned symbols
+ (make_symbol): New function, used in read1 to make uninterned symbols.
(Fintern): Set `obarray' field of interned symbols.
(init_obarray): Explicit set `obarray' field of symbol `nil'.
(syms_of_lread): staticpro read_objects, the list of read objects.
* print.c: Add #n=object, #n#, and #:symbol constructs to printer.
(PRINTDECLARE): New macro to declare required variables.
(PRINTPREPARE, PRINTFINISH): Set printed_genyms to nil.
- (Fwrite_char, write_string, write_string_1, Fterpri, Fprin1,
- Fprin1_to_string, Fprinc, Fprint): Use new macro PRINTDECLARE.
+ (Fwrite_char, write_string, write_string_1, Fterpri, Fprin1)
+ (Fprin1_to_string, Fprinc, Fprint): Use new macro PRINTDECLARE.
(print): Print uninterned symbols readable.
(syms_of_print): Defvar `print-gensym', staticpro printed_gensyms.
1996-09-04 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
* lisp.h: Add many declarations.
-
+
* lisp.h (BITS_PER_EMACS_INT): New macro.
(XMARKBIT): Test BITS_PER_EMACS_INT to conditionalize fast definition.
* m/alpha.h (BITS_PER_EMACS_INT): New definition.
- * s/sol2.h (LIBS_SYSTEM): Use -lkstat instead of -lelf -lkvm
+ * s/sol2.h (LIBS_SYSTEM): Use -lkstat instead of -lelf -lkvm.
* process.c (create_process): Test HAVE_SETPGID for using setpgid.
* config.in (HAVE_SETPGID): Add #undef.
- * keymap.c (syms_of_keymap): staticpro current_global_map;
+ * keymap.c (syms_of_keymap): staticpro current_global_map.
* intervals.c (get_local_map): Call indirect-function.
* xterm.c (note_mouse_highlight):
Pass POS argument to fast_find_position as int.
- * textprop.c (set_properties, add_properties, remove_properties):
+ * textprop.c (set_properties, add_properties, remove_properties):
Call modify_region with ints.
* insdel.c (prepare_to_modify_buffer): Take integer arguments.
* xfns.c (x_get_and_record_arg): New function.
(x_icon): Use that, for Qicon_top and Qicon_left.
(x_report_frame_params): Report the Qparent_id parameter.
-
+
1996-09-03 Paul Eggert <eggert@twinsun.com>
* config.in (mktime): Define to emacs_mktime if we are using our own
mktime, since Nextstep doesn't let Emacs redefine the builtin mktime.
- * Makefile.in (MKTIME_OBJ): Use our mktime instead of NEXTSTEP's,
+ * Makefile.in (MKTIME_OBJ): Use our mktime instead of NEXTSTEP's,
since NEXTSTEP's wrongly ignores TZ.
(mktime): #undef, to avoid messing up the file name mktime.c.
- * editfns.c (Fencode_time): Remove NEXTSTEP workaround;
+ * editfns.c (Fencode_time): Remove NEXTSTEP workaround;
we now use our mktime instead.
1996-09-03 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
* editfns.c (Fencode_time) [_NEXT_SOURCE]: Use ZONE, not ABSZONE.
- * Make region highlighting show in just one window.
+ Make region highlighting show in just one window.
* xdisp.c (redisplay_internal): Test last_selected_window slot.
(mark_window_display_accurate, display_text_line): Likewise.
* window.c (unshow_buffer): Clear last_selected_window slot, maybe.
1996-08-31 Geoff Voelker <voelker@cs.washington.edu>
- * Makefile.in (MSDOS_SUPPORT, WINNT_SUPPORT, SOME_MACHINE_LISP):
+ * Makefile.in (MSDOS_SUPPORT, WINNT_SUPPORT, SOME_MACHINE_LISP):
Include dos-nt.elc.
1996-08-31 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
to the error message.
* macros.h (executing_macro_iterations, executing_macro): Declared.
-
+
* macros.c (executing_macro_iterations, executing_macro): New vars.
(Fexecute_kbd_macro): Set them.
1996-08-24 Richard Stallman <rms@ethanol.gnu.ai.mit.edu>
- * Renamings to avoid conflicting names on MSDOS.
+ Renamings to avoid conflicting names on MSDOS.
* s/riscix12.h: Renamed from s/riscix12.h.
* s/sunos413.h: Renamed from s/sunos4-1-3.h.
* s/dgux5-4-3.h: Renamed from s/dgux5-4r3.h.
* s/sunos4-1-2.h: File deleted.
-
+
* xmenu.c (set_frame_menubar): Don't add ibw to menubar_size.
* xfns.c (x_window): Don't add ibw to menubar_size.
(print): Print certain expressions more compactly when set.
Also use XCAR and XCDR directly -- we know we have conses.
-1996-08-23 Marcus Daniels <marcus@sayre.sysc.pdx.edu>
+1996-08-23 Marcus G. Daniels <marcus@sayre.sysc.pdx.edu>
* xterm.c (x_term_init): If the default Xt font does not exist on
the X server, add a resource so that dialog boxes use a common font.
* xfns.c (Fx_open_connection): Don't set Vx_resource_name.
See ChangeLog.6 for earlier changes.
+
+;; Local Variables:
+;; coding: utf-8
+;; End:
+
+ Copyright (C) 1997-1998, 2001-2011 Free Software Foundation, Inc.
+
+ This file is part of GNU Emacs.
+
+ GNU Emacs is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ GNU Emacs is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.