1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-14 23:40:39 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
Andreas Schwab
dc22f25e59 (printchar): Declare `work' as unsigned char.
(internal_with_output_to_temp_buffer): Protoype parameter
FUNCTION.
(Ferror_message_string): Remove extra argument of
print_error_message.
(write_string): Define as returning nothing.
(write_string_1): Likewise.
(print_error_message): Likewise.
1997-11-21 14:05:58 +00:00
Andreas Schwab
9d815fd9b8 (read_minibuf_unwind): Fix return type and return nil.
(temp_echo_area_glyphs): Define as returning nothing.
(init_minibuf_once): Likewise.
(syms_of_minibuf): Likewise.
(keys_of_minibuf): Likewise.
1997-11-21 13:50:47 +00:00
Andreas Schwab
c03232491a (unchain_marker): Define as returning nothing.
(syms_of_marker): Likewise.
1997-11-21 13:33:35 +00:00
Andreas Schwab
e790004468 Declare finalize_kbd_macro_chars and
store_kbd_macro_char.
1997-11-21 13:24:40 +00:00
Andreas Schwab
c3fd8dd552 (store_kbd_macro_char): Define as returning nothing.
(finalize_kbd_macro_chars): Likewise.
(init_macros): Likewise.
(syms_of_macros): Likewise.
(keys_of_macros): Likewise.
1997-11-21 13:03:55 +00:00
Andreas Schwab
d5b28a9d9b (read1): Declare `workbuf' as unsigned char.
(dir_warning): Define as returning nothing.
(init_lread): Likewise.
(mapatoms_1): Likewise.
(map_obarray): Fix type of parameter FN.
1997-11-21 12:54:36 +00:00
Andreas Schwab
526a2be77b Add more prototypes and declarations. Forward declare
struct window and struct frame so that it can be used in
prototypes.
1997-11-21 12:49:52 +00:00
Karl Heuer
6250a9db04 (init_system_name): Don't use sysinfo. 1997-11-20 22:05:08 +00:00
Karl Heuer
5df4982e74 (skip_chars): Check type of `string' before using it. 1997-11-20 22:03:42 +00:00
Karl Heuer
dac4e1e7f1 (LIBS_SYSTEM): Define this. 1997-11-20 21:56:52 +00:00
Karl Heuer
b917b2e273 Treat DGUX the same as USG. 1997-11-20 21:54:20 +00:00
Eli Zaretskii
e5317d6126 (frame_name_fnn_p, set_term_frame_name): New functions.
(store_frame_param): When the property name is "name", set the
name of the frame to its value.
1997-11-20 15:50:59 +00:00
Ulrich Drepper
6beba8e0b2 automatically generated from GPLed version 1997-11-18 23:05:21 +00:00
Karl Heuer
3ababa6033 (Fexecute_extended_command): Fix message wording.
Don't print a message for a binding for mouse-movement.
1997-11-17 02:15:35 +00:00
Karl Heuer
010494d0f6 (minibuffer_scroll_overlap): New variable.
(syms_of_xdisp): Set up Lisp var.
(redisplay_window): Scroll minibuffer in a special way.
1997-11-15 20:36:34 +00:00
Karl Heuer
409bb864e5 (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,
1997-11-15 20:24:41 +00:00
Karl Heuer
7614f779e0 (ASCII_BYTE_P): New macro. 1997-11-15 20:23:21 +00:00
Karl Heuer
fb9117773d (position_indentation): Detect non-breaking space,
in either single-byte form or multibyte form (using category ' ').
1997-11-15 20:22:20 +00:00
Karl Heuer
4feb31b211 (x_handle_selection_request): Use xfree, not free.
(unexpect_property_change, x_get_window_property_as_lisp_data): Ditto.
(x_handle_property_notify, receive_incremental_selection): Ditto.
(selection_data_to_lisp_data, Fx_get_cut_buffer_internal): Ditto.
1997-11-15 20:16:49 +00:00
Ulrich Drepper
649e97a3c5 automatically generated from GPLed version 1997-11-13 01:17:00 +00:00
Ulrich Drepper
4dab1e80fa automatically generated from GPLed version 1997-11-12 01:24:57 +00:00
Eli Zaretskii
039274cfc0 Support for Japanese display on DOS/V systems.
(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
dosv_refresh_virtual_screen if under DOS/V.
(IT_set_terminal_modes): If under DOS/V, update the address of
primary screen buffer.
(internal_terminal_init): Zero out screen_old_address, in case
Emacs was dumped under DOS/V.
(dos_get_saved_screen): Return failure indication if no screen was
saved.
1997-11-10 14:49:40 +00:00
Kenichi Handa
c364e61866 (Fcall_process): GCPRO infile, buffer, and
current_dir before encoding arguments.
1997-11-08 03:05:44 +00:00
Kenichi Handa
f1c54f1aed (Fsref): If IDX points an 8-bit code which is not part
of multibyte characters, return it.  Pay attention to
enable-multibyte-characters.
1997-11-08 03:05:44 +00:00
Kenichi Handa
733eafd8ed (find_charset_in_str): Handle the case that STR
contains invalid multibyte-form.
1997-11-08 03:05:44 +00:00
Kenichi Handa
c952af2245 (setup_coding_system): Initialize common_flags member
instead of require_flushing member of `*coding'.
(code_convert_region): Fix previous change.
1997-11-08 03:05:44 +00:00
Kenichi Handa
a5ee738b63 (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_NO_CONVERSION, CODING_MAY_REQUIRE_NO_CONVERSION):
These macros deleted.
(CODING_REQUIRE_FLUSHING, CODING_REQUIRE_DECODING,
CODING_REQUIRE_ENCODING, CODING_REQUIRE_DETECTION): New macros.
1997-11-08 03:05:44 +00:00
Kenichi Handa
1a283a4c9e (create_process): Encode arguments for the process.
(read_process_output): Use new macros defined in coding.h.
(send_process): Likewise.
1997-11-08 03:05:44 +00:00
Kenichi Handa
6ad0beebd0 (Finsert_file_contents): Use new macros defined in
coding.h.
(Fwrite_region): Likewise.
1997-11-08 03:05:44 +00:00
Kenichi Handa
ca1e6a1391 (encode_terminal_code): Use new macros defined in
coding.h.
(write_glyphs): Likewise.
1997-11-08 03:05:44 +00:00
Ulrich Drepper
4e941b8ea8 automatically generated from GPLed version 1997-11-06 00:44:44 +00:00
Ulrich Drepper
4b7c78fcf1 automatically generated from GPLed version 1997-11-04 03:28:47 +00:00
Karl Heuer
960d894c38 (init_system_name): If gethostname gives a proper
domain name, don't look farther for one.
1997-10-31 23:01:48 +00:00
Paul Eggert
13d603a994 (DBL_MIN_REPLACEMENT): New macro. 1997-10-29 07:47:37 +00:00
Paul Eggert
b0a1044b3e (DBL_MIN): Use workaround if DBL_MIN_REPLACEMENT is defined. 1997-10-29 07:47:37 +00:00
Kenichi Handa
9da95d532d (copy_category_table): Copy also the first extra slot
(vector of docstrings).
(Fcopy_category_table): Do not give unused second arg to
copy_category_table.
1997-10-27 04:34:26 +00:00
Kenichi Handa
9036eb4502 (Fchars_in_string): Pay attention to
enable-multibyte-characters.
(Fchars_in_region): Likewise.  Avoid error when the region ends in
the middle of a multibyte character.
1997-10-27 04:34:26 +00:00
Karl Heuer
30e0071c9e (Fkill_buffer): Don't assume buffer is current. 1997-10-27 03:50:50 +00:00
Karl Heuer
8f08dc930c (XTread_socket): Check for bogus (0,0) location. 1997-10-25 03:12:31 +00:00
Karl Heuer
8bcee03ecf (XTmouse_position): Handle INSIST < 0. 1997-10-24 19:58:39 +00:00
Karl Heuer
95fa970dd6 (w32_mouse_position): Handle INSIST < 0. 1997-10-24 19:58:22 +00:00
Karl Heuer
66e827dc32 (Fmouse_pixel_position, Fmouse_position):
Pass -1 as INSIST arg to mouse_position_hook.
1997-10-24 19:57:59 +00:00
Simon Marshall
db5cae4b2d Indicate in messages if source code is being loaded. 1997-10-23 14:58:25 +00:00
Kenichi Handa
9d3d8cba5a (char_valid_p): New function
(Fchar_valid_p): New function.
(syms_of_charset): Declare it as a Lisp function.
1997-10-23 12:01:50 +00:00
Kenichi Handa
15979e9ebc (CHAR_VALID_P): Renamed from VALID_CHAR_P, new
argument GENERICP.  Call char_valid_p for a non-ASCII character.
1997-10-23 12:01:50 +00:00
Kenichi Handa
70c222451e (encode_designation_at_bol): Fix bug of finding graphic
registers which should be designated at bol.
(Qsafe_charset): New variable.
(syms_of_coding): Initialize and staticpro it.
(detect_coding_iso2022): Handle SS2 and SS3 correctly.
(DECODE_ISO_CHARACTER): Recover from incorrect encoding in less
dangerous way.
(ENCODE_DESIGNATION): Get charset revision number by
CODING_SPEC_ISO_REVISION_NUMBER.
(setup_coding_system): Initialize the member safe_charsets from
the coding systems's safe-charsets property.  Initialize the
member charset_revision_number of struct iso2022_spec.
(ENCODE_ISO_CHARACTER_DIMENSION1): Adjusted for the change of
`safe_charsets' member.
(ENCODE_ISO_CHARACTER_DIMENSION2): Likewise.
(code_convert_region): Restore the current point after calling a
function in coding->post_read_conversion.
1997-10-23 12:01:50 +00:00
Kenichi Handa
1db9ba0636 (struct iso2022_spec): New member
charset_revision_number.
(CODING_SPEC_ISO_SAFE_CHARSETS): This macro deleted.
(CODING_SPEC_ISO_REVISION_NUMBER): New macro.
(struct coding_system): Member `safe_charsets' is moved from
struct iso2022_spec.
1997-10-23 12:01:50 +00:00
Kenichi Handa
de86fcba73 (map_char_table): Do not operate on invalid characters.
Pay attention to `enable-multibyte-characters'.
1997-10-23 12:01:50 +00:00
Karl Heuer
1c3430513b (unlock_all_files): Don't call unlock_file;
do the work directly, and avoid calling Fexpand_file_name.
1997-10-23 06:53:36 +00:00
Karl Heuer
abb4c08fef (redisplay_window): If clip_changed, always run
window-scroll-functions.
1997-10-23 06:52:01 +00:00