1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-03 20:42:08 -08:00
Commit graph

9034 commits

Author SHA1 Message Date
Richard M. Stallman
852bff8fd8 (XTread_socket): Accept Japanese XK keysyms. 1998-06-09 01:55:49 +00:00
Richard M. Stallman
5936754e60 (redisplay_internal): If cursor's in the frame's echo area,
make last_point invalid instead of setting it normally.
(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.
1998-06-09 01:54:48 +00:00
Richard M. Stallman
1a102a5863 (struct lisp_parse_state): New field, levelstarts.
(scan_sexps_forward): Use 10th elt of STATE to set levelstarts.
(parse-partial-sexp): Add 10th elt to return value.
1998-06-08 04:29:46 +00:00
Richard M. Stallman
d94a2d9ab6 (struct kboard): New elts Vreal_last_command and Vlast_prefix_arg. 1998-06-07 22:38:17 +00:00
Richard M. Stallman
75045dcbff (cmd_error): Init Vlast_prefix_arg.
(init_kboard, command_loop_1): Init Vlast_prefix_arg.
(Fcommand_execute): Set Vlast_prefix_arg to prefix arg used.

(command_loop_1): Set Vreal_last_command with Vlast_command.
(init_kboard): Init Vreal_last_command field.
(syms_of_keyboard): Set up Lisp var real-last-command.

(lispy_function_keys): Add kanji...eisu-toggle.
1998-06-07 22:37:36 +00:00
Richard M. Stallman
fe3fbdcc80 (syms_of_callint): Set up Lisp variable. 1998-06-07 22:33:11 +00:00
Richard M. Stallman
23c73c165b (mark_kboards): Mark Vlast_prefix_arg too. 1998-06-07 22:32:47 +00:00
Richard M. Stallman
4bfd0c4f86 (mark_kboards): Mark all the Lisp_Object fields. 1998-06-07 21:41:37 +00:00
Richard M. Stallman
9cc4fad570 (init_callproc): Check Vinstallation_directory even if !initialized. 1998-06-06 22:04:07 +00:00
Richard M. Stallman
7e95234e31 (POS_AS_IN_BUFFER): Add 1 only if operating on a buffer.
(re_match_2, re_search_2): Adjust startpos or pos by 1
only if acting on a buffer.
nil for re_match_object means a buffer.
(re_match_2_internal <notwordbeg>): Assume POS1 is positive.
1998-06-06 21:59:21 +00:00
Richard M. Stallman
f902a00832 (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.

(prev_char_comend_first): New function.
(back_comment): Use that.  Carefully update syntax table position
for each character that is fetched.
(Fforward_comment): Likewise.
(scan_lists): Likewise.
(prev_char_comstart_first): New function.
1998-06-06 20:20:13 +00:00
Karl Heuer
b3308d2eb9 #include sys/file.h
(sys_access): Provide our own implementation which recognizes D_OK.
(is_exec): New function.
(stat): Use it.
(init_environment): Set TMPDIR to an existing directory.
Abort if none of the usual places is available.
(sys_rename): On Windows 95, choose a temp name that
includes the original file's base name and use an explicit loop
rather than calling mktemp.  Only attempt to unlink the newname if
the rename fails, rather than second-guessing whether the old and
new names refer to the same file.
1998-06-05 16:08:32 +00:00
Karl Heuer
6cf71bf1f7 (Finsert_file_contents): Always update
Vlast_coding_system_used when we actually perform IO.
(Fwrite_region): Update documentation.
1998-06-05 16:02:11 +00:00
Karl Heuer
303901fb14 Comment change. 1998-06-05 15:51:08 +00:00
Karl Heuer
3270ae6e9b (main): Don't implement --version if not initialized. 1998-06-04 06:09:59 +00:00
Karl Heuer
ad077db084 Handle the new convention that `position' values
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):
(Ftext_property_any, Ftext_property_not_all): Implement that.

Undo previous change.
1998-06-03 14:45:03 +00:00
Karl Heuer
944d4e4b40 (create_root_interval): Initialize position to 0
for a string.
(interval_start_pos): New function.
(find_interval): Handle string positions starting at 0.
(adjust_intervals_for_insertion): Likewise.
(adjust_intervals_for_deletion): Likewise.
(compare_string_intervals): Likewise.
(graft_intervals_into_buffer): Set `position' in reproduce_tree value.
(copy_intervals): Init `position' to 0.
1998-06-03 14:44:21 +00:00
Karl Heuer
afee915020 (DECODE_FILE, ENCODE_FILE):
Use code_convert_string_norecord.
1998-06-03 14:41:27 +00:00
Karl Heuer
ecec61c199 (code_convert_string_norecord): New function.
Does encoding or decoding but doesn't set Vlast_coding_system_used.
1998-06-03 14:41:07 +00:00
Karl Heuer
074c438cbb (sys_subshell): Cast arg to chdir.
(init_sys_modes): Cast arg to setbuf or setvbuf.
1998-06-02 15:52:04 +00:00
Karl Heuer
ac52ebd5d8 (syms_of_keyboard): Doc fix for suggest-key-bindings. 1998-06-02 15:49:47 +00:00
Kenichi Handa
5d76bc89d4 (string_to_non_ascii_char): Don't check the arg
EXCLUDE_TAIL_GARBAGE for an invalid composite characters.
1998-06-02 08:10:36 +00:00
Kenichi Handa
8a8147d64b (detect_coding_mask): Initilize local variable C. 1998-06-02 03:54:18 +00:00
Karl Heuer
6524291c22 (main): Test `initialized' before clearing *Messages*. 1998-06-01 21:08:28 +00:00
Karl Heuer
42d720cfa9 (SOCKLEN_TYPE): Define as int. 1998-06-01 21:07:32 +00:00
Richard M. Stallman
c15cfd1faa Remember the last TWO strings skipped with #@.
(prev_saved_doc_string*): New variables.
(Fload): Initalize 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
in saved_doc_string.

(read1): Swap saved_doc_string_length and
prev_saved_doc_string_length.
(read_list): Negate docstring position if negative before checking
against saved_doc_string_length et al.

(read_vector): Add bytecodeflag parameter, which is
nonzero when reading a bytecode object.  If
`load-force-doc-strings' is t when reading a lazily-loaded
bytecode vector, the loaded docstring must be treated as unibyte
and passed to Fread to obtain the actual bytecode string and
constants vector.
(read1): Add extra parameter to read_vector calls.

(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-06-01 21:03:23 +00:00
Karl Heuer
05b44e9027 (Fcall_process): Avoid initializer on auto struct. 1998-06-01 20:49:47 +00:00
Andrew Innes
124abc748d Use 1 as explicit value of empty #defines. 1998-06-01 14:23:44 +00:00
Andrew Innes
efca9fdc86 (LOCAL_FLAGS): Define HAVE_NTGUI if appropriate. 1998-06-01 13:59:17 +00:00
Karl Heuer
cadf50ff82 (Finsert_file_contents): Fix char signedness mismatches. 1998-06-01 03:32:52 +00:00
Karl Heuer
c292461fc5 (doprnt1): Fix char signedness mismatches. 1998-06-01 03:32:00 +00:00
Karl Heuer
6d4279ab93 (Fredraw_frame): Don't erase frame or its glyph records
if it hasn't got any.
1998-06-01 03:12:04 +00:00
Geoff Voelker
556a263f57 (w32_fatal_reload_error): Update error message. 1998-05-30 23:42:16 +00:00
Geoff Voelker
eb9ea53f9c (sys_rename): Handle filenames with accented characters.
(stat): Handle "c:/.." and "/.." specially.
1998-05-30 23:41:57 +00:00
Geoff Voelker
a5b56dcda1 (sys_spawnve): Place Emacs pid in EM_PARENT_PROCESS_ID. 1998-05-30 23:41:48 +00:00
Karl Heuer
e096c7f17f (distclean): Delete config.stamp, stamp-oldxmenu. 1998-05-30 15:48:11 +00:00
Karl Heuer
da4d65af17 (syms_of_charset): Put \n\ at eol of docstring. 1998-05-30 14:52:20 +00:00
Karl Heuer
dd394ff9dd (Fscroll_up, Fscroll_down, Fscroll_other_window): Doc fix. 1998-05-30 14:47:15 +00:00
Karl Heuer
17cea80917 (Fnext_property_change): Properly offset interval
position for string when comparing with LIMIT.
(property_change_between_p): Likewise.
(Fnext_single_property_change, Fprevious_property_change): Likewise.
(Fprevious_single_property_change): Likewise.
1998-05-29 22:26:22 +00:00
Richard M. Stallman
aaf3523422 (command_loop_1): In shortcuts for forward-char etc,,
use FETCH_CHAR not FETCH_BYTE.
1998-05-28 18:10:20 +00:00
Richard M. Stallman
15c1f6fe16 Add prototype for get_doc_string. 1998-05-28 00:46:54 +00:00
Richard M. Stallman
0c3debbc6f (get_doc_string): Make non-static. 1998-05-28 00:46:38 +00:00
Richard M. Stallman
65059037ab (detect_coding_system): Treat CODING_EOL_INCONSISTENT
like CODING_EOL_UNDECIDED.
1998-05-26 20:46:31 +00:00
Richard M. Stallman
f9ba10b011 (compute_motion): Check for past vpos/hpos target
before skipping invisible chars.
1998-05-25 22:33:38 +00:00
Richard M. Stallman
34c5d0ed52 (Fcall_interactively): Pass new arg to Fother_buffer. 1998-05-25 22:32:58 +00:00
Richard M. Stallman
96aab770c2 (sms_of_print): Doc fix in prev change. 1998-05-25 20:35:28 +00:00
Richard M. Stallman
38940e93ef (print_escape_nonascii): New variable.
(print) <Lisp_String>: Use it to force printing single-byte
non-ASCII characters as octal escapes.
(syms_of_print): Define print-escape-nonascii.
1998-05-25 20:29:54 +00:00
Richard M. Stallman
29b7163fa9 (CHAR_TABLE_TRANSLATE): New macro. 1998-05-25 20:28:28 +00:00
Richard M. Stallman
44eba967fc (RE_TRANSLATE): Use CHAR_TABLE_TRANSLATE. 1998-05-25 20:15:45 +00:00
Richard M. Stallman
33c4693956 (re_search_2): Don't use ++ inside RE_TRANSLATE.
(re_match_2_internal): Likewise.
1998-05-25 20:14:54 +00:00