- 05 Jan, 1998 11 commits
-
-
Richard M. Stallman authored
-
Richard M. Stallman authored
-
Richard M. Stallman authored
(print): When multibyte is disabled, print multibyte string chars using hex escapes. (printchar): Pass new arg to message_dolog. (strout): New arg MULTIBYTE. Callers changed. (strout): Take args SIZE and SIZE_BYTE; operate on both chars and bytes. (print_string): Pass new arg to strout. If not using strout, fetch a whole multibyte char at once. (write_string): Pass new arg to strout. (write_string_1): Likewise. (print) <case Lisp_String>: Scan by chars and bytes. (print) <case Lisp_Symbol>: Scan name by chars and bytes. (PRINTPREPARE): Use make_multibyte_string. 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.
-
Richard M. Stallman authored
(Fexpand_abbrev): Pass new args to insert_from_string. (Funexpand_abbrev): Likewise. Use size_byte.
-
Richard M. Stallman authored
-
Richard M. Stallman authored
Have two locals len and len_byte. (fast_c_string_match_ignore_case): Use string_make_unibyte. (compile_pattern): New arg MULTIBYTE. Callers changed. (wordify): Use make_uninit_multibyte_string. Scan by chars and bytes. (string_match_1): Convert string indices to/from bytes. (Freplace_match): Convert string indices to/from bytes. (Fregexp_quote): Convert string indices to/from bytes.
-
Richard M. Stallman authored
Take account of size used by size_byte; store both sizes. (Fpurecopy): Call make_pure_string the new way. (compact_strings): Use size_byte field to compute string's size. (make_uninit_multibyte_string): New function. (make_uninit_string): Use make_uninit_multibyte_string. (make_multibyte_string): New function. (make_unibyte_string): New function. (make_string): Compute number of chars from the data.
-
Richard M. Stallman authored
strings are converted to match buffer in multibyteness. (overlay_strings): Convert strings to match buffer in multibyteness.
-
Richard M. Stallman authored
when checking for junk at end of expression.
-
Richard M. Stallman authored
(Fminibuffer_complete_word): Scan string bytes and chars. Pass new args to insert_from_string. (Ftry_completion): Use size_byte while comparing. (Fall_completions): Use size_byte while comparing.
-
Richard M. Stallman authored
(display-time-mode): New customize variable to automatically load the package.
-
- 04 Jan, 1998 1 commit
-
-
Richard M. Stallman authored
-
- 03 Jan, 1998 4 commits
-
-
Richard M. Stallman authored
automatically load the package.
-
Richard M. Stallman authored
-
Richard M. Stallman authored
M-n can insert default value into minibuffer.
-
Richard M. Stallman authored
-
- 02 Jan, 1998 17 commits
-
-
Richard M. Stallman authored
Call make-variable-buffer-local.
-
Richard M. Stallman authored
If a variable has an entry in Vminor_mode_overriding_map_alist, and also an entry in Vminor_mode_map_alist, ignore the latter.
-
Richard M. Stallman authored
(syms_of_charset): defsubr deleted.
-
Richard M. Stallman authored
-
Richard M. Stallman authored
-
Richard M. Stallman authored
-
Richard M. Stallman authored
Update call to CHAR_HEAD_P. (indented_beyond_p): Take POS in bytes and chars. Callers changed. (pos_tab_indent): Function moved to xdisp.c. (Fcurrent_indentation): Use scan_newline and SET_PT_BOTH. (indented_beyond_p, current_column_1): Likewise. (vmotion, compute_motion): Set up bytepos value to return it. (current_column): Handle bytepos and charpos. (position_indentation): Take bytepos as arg, and scan with it. Calls changed. (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.
-
Richard M. Stallman authored
-
Richard M. Stallman authored
Its value no longer includes the gap space.
-
Richard M. Stallman authored
(adjust_markers_for_delete): Update ->bytepos instead of ->bufpos, but don't adjust for the gap. (adjust_markers_for_insert): Likewise.
-
Richard M. Stallman authored
-
Richard M. Stallman authored
-
Richard M. Stallman authored
-
Richard M. Stallman authored
-
Richard M. Stallman authored
(buf_charpos_to_bytepos, marker_byte_position): Likewise. (Fset_marker, set_marker_restricted, set_marker_both): Likewise. (set_marker_restricted_both): Likewise.
-
Richard M. Stallman authored
-
Richard M. Stallman authored
-
- 01 Jan, 1998 7 commits
-
-
Richard M. Stallman authored
-
Richard M. Stallman authored
(pos_tab_offset): Decl deleted. (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.
-
Richard M. Stallman authored
positions from it. When arg is an integer, no need to worry that it is in middle of a character. (buildmark): Take 2 args (charpos and bytepos). Callers changed. (Fline_beginning_position): Save and restore both kinds of PT. (Fprevious_char): Use PT_BYTE. (Fbolp, Feolp): Use PT_BYTE. (transpose_markers): Take args in chars and bytes. (Ftranspose_regions): Work with byte and char positions. (Fchar_after, Fchar_before): Use bytepos. (make_buffer_string): Convert charpos to bytepos. (Fcompare_buffer_substrings): Work with charpos and bytepos. (Fsubst_char_in_region): Handle charpos and bytepos. (Fwiden, Fnarrow_to_region): Likewise. (save_restriction_restore): Update PT and PT_BYTES. Cast arg to doprnt_lisp.
-
Richard M. Stallman authored
New arg BYTE; BUFFER is now first arg; use temp_set_point_both. (set_point): New function; uses set_point_both. (temp_set_point_both): New function. (temp_set_point): Update BUF_PT_BYTE. (get_local_map): Save and restore both forms of the buffer bounds.
-
Richard M. Stallman authored
(Fdetect_coding_region): Likewise.
-
Richard M. Stallman authored
(move_gap_both): New function. (gap_left, gap_right): Take both charpos and bytepos args. (adjust_markers_gap_motion): Renamed from adjust_markers and simplified. (adjust_markers_for_delete): New function. (adjust_markers_for_insert): Take args in chars and bytes. Also new arg BEFORE_MARKERS. One call does all marker updating needed for any insert. (adjust_point): Take 2 args and update PT and PT_BYTE. (make_gap): Handle bytes vs chars. (insert, insert_and_inherit): Handle bytes vs chars. Pass new BEFORE_MARKERS arg to insert_1. (insert_before_markers, insert_before_markers_and_inherit): Likewise. (insert_from_string, insert_from_string_before_markers): Likewise. (insert_from_buffer): Likewise. (insert_1): Handle bytes vs chars. New arg BEFORE_MARKERS. (insert_from_string_1, insert_from_buffer_1): Likewise. (replace_range): Likewise. (del_range_2): New subroutine, taken from del_range_1. (del_range_1): Use del_range_2. (del_range_byte, del_range_both): New functions.
-
Richard M. Stallman authored
-