summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
1998-01-07Customized.Andreas Schwab
1998-01-07(delete-auto-save-files): Say in the doc string thatEli Zaretskii
auto-save file will not be deleted if the buffer has unsaved changes.
1998-01-05(Fcall_process): When deciding whether to encode args,Richard M. Stallman
check them for multibyteness, don't check enable-multibyte-characters. (Fcall_process): Use size_byte for the args. (Fcall_process_region): Likewise for temp file. (child_setup, getenv_internal, Fgetenv): Likewise.
1998-01-05(read_process_output): Use insert_1_both.Richard M. Stallman
(read_process_output): New var `multibyte'. Set it according to which coding system was used. (read_process_output): Handle bytes vs chars. (send_process): Use size_byte of OBJECT. (Fprocess_send_string): Pass size_byte to send_process.
1998-01-05(MAKE_LOCK_NAME): Use size_byte.Richard M. Stallman
1998-01-05(Fbyte_code): Use size_byte.Richard M. Stallman
1998-01-05(print_string): Now static.Richard M. Stallman
(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.
1998-01-05(Fexpand_abbrev): Pass both kinds of size to oblookup.Richard M. Stallman
(Fexpand_abbrev): Pass new args to insert_from_string. (Funexpand_abbrev): Likewise. Use size_byte.
1998-01-05(FETCH_STRING_CHAR_ADVANCE): New macro.Richard M. Stallman
1998-01-05(search_buffer): Handle bytes vs chars in non-RE case.Richard M. Stallman
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.
1998-01-05(make_pure_string): New arg length_byte.Richard M. Stallman
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.
1998-01-05(record_overlay_string): Totalize sizes assumingRichard M. Stallman
strings are converted to match buffer in multibyteness. (overlay_strings): Convert strings to match buffer in multibyteness.
1998-01-05(read_minibuf): Handle bytes vs charsRichard M. Stallman
when checking for junk at end of expression.
1998-01-05(test_completion): Pass both kinds of size to oblookup.Richard M. Stallman
(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.
1998-01-05(display-time-mode): Set the variable display-time-mode.Richard M. Stallman
(display-time-mode): New customize variable to automatically load the package.
1998-01-04(xstring): Use size_byte.Richard M. Stallman
1998-01-03(resize-minibuffer-mode): Variable customized toRichard M. Stallman
automatically load the package.
1998-01-03(redisplay_window): Set pos.bytepos along with pos.bufpos.Richard M. Stallman
1998-01-03(occur): Pass default to read-from-minibuffer so thatRichard M. Stallman
M-n can insert default value into minibuffer.
1998-01-03(file-cache-minibuffer-complete): Accept a prefix arg.Richard M. Stallman
1998-01-02(minor-mode-overriding-map-alist):Richard M. Stallman
Call make-variable-buffer-local.
1998-01-02(current_minor_maps):Richard M. Stallman
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-02(Fchar_boundary_p): Function deleted.Richard M. Stallman
(syms_of_charset): defsubr deleted.
1998-01-02(make_gap): Set GPT_BYTE along with GPT.Richard M. Stallman
1998-01-02(which-func-update): Fix paren error.Richard M. Stallman
1998-01-02Initial revisionRichard M. Stallman
1998-01-02(current_column_1, Fmove_to_column):Richard M. Stallman
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.
1998-01-02(Fcompleting_read): Doc fix.Richard M. Stallman
1998-01-02(struct Lisp_Marker): Rename `bufpos' to `bytepos'.Richard M. Stallman
Its value no longer includes the gap space.
1998-01-02(adjust_markers_gap_motion): Now a no-op.Richard M. Stallman
(adjust_markers_for_delete): Update ->bytepos instead of ->bufpos, but don't adjust for the gap. (adjust_markers_for_insert): Likewise.
1998-01-02(internal_equal): For markers, use bytepos instead of bufpos.Richard M. Stallman
1998-01-02(readchar): Use marker's bytepos instead of bufpos.Richard M. Stallman
1998-01-02(Fmake_marker): Initialize marker's bytepos and charpos.Richard M. Stallman
1998-01-02(transpose_markers): Update marker's bytepos.Richard M. Stallman
1998-01-02(buf_bytepos_to_charpos): Use marker bytepos, not bufpos.Richard M. Stallman
(buf_charpos_to_bytepos, marker_byte_position): Likewise. (Fset_marker, set_marker_restricted, set_marker_both): Likewise. (set_marker_restricted_both): Likewise.
1998-01-02(customize-changed-options): Doc fix.Richard M. Stallman
1998-01-02(Fchar_after): Fix previous change.Richard M. Stallman
1998-01-01(a_write): Fix prototype.Richard M. Stallman
1998-01-01(struct Lisp_Marker): New field `charpos'.Richard M. Stallman
(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.
1998-01-01(Fgoto_char): When arg is a marker, copy char and byteRichard M. Stallman
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.
1998-01-01(set_point_both): Renamed from set_point;Richard M. Stallman
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.
1998-01-01(code_convert_region): Handle bytepos and charpos.Richard M. Stallman
(Fdetect_coding_region): Likewise.
1998-01-01(move_gap): Use move_gap_both.Richard M. Stallman
(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.
1998-01-01Update copyright year.Richard M. Stallman
1998-01-01(DECODE_POSITION): New macro.Richard M. Stallman
(CHAR_TO_BYTE, BYTE_TO_CHAR): New macros. (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): Use the new ..._byte buffer data. (BUFFER_CEILING_OF, BUFFER_FLOOR_OF): Likewise. (BUF_GPT_ADDR, BUF_Z_ADDR): Likewise. (SET_PT_BOTH, TEMP_SET_PT_BOTH): New macros. (SET_PT, TEMP_SET_PT, BUF_SET_PT, BUF_TEMP_SET_PT): Call functions with new arg order. (SET_BUF_BEGV, SET_BUF_BEGV_BOTH): New macros. (SET_BUF_PT): Macro deleted. (SET_BUF_ZV): Set charpos and bytepos. (SET_BUF_ZV_BOTH, SET_BUF_PT_BOTH): New macros. (BYTE_POS_ADDR): Renamed from POS_ADDR. (CHAR_POS_ADDR): New macro. (FETCH_BYTE): Use BYTE_POS_ADDR. (FETCH_MULTIBYTE_CHAR): Use ..._BYTE macros. (BUF_CHAR_ADDRESS): Convert charpos to bytepos. (BUF_BYTE_ADDRESS): New macro, like the old BUF_CHAR_ADDRESS. (PTR_BYTE_POS): Renamed from PTR_CHAR_POS. (BUF_PTR_BYTE_POS): New macro. (BUF_FETCH_CHAR, BUF_FETCH_BYTE, BUF_FETCH_MULTIBYTE_CHAR): New macros. (struct buffer_text): New fields gpt_byte, z_byte. (struct buffer): New fields pt_byte, begv_byte, zv_byte.
1998-01-01(Fcall_interactively) <'d', 'r'>: Use set_marker_both.Richard M. Stallman
1998-01-01(status_notify): Use byte and char pointers.Richard M. Stallman
(Fprocess_send_region): Make bytepos for send_process. (read_process_output): Save, restore, and update both kinds of ptrs. (send_process): OFFSET is now in bytes.
1998-01-01(set_point, temp_set_point): Swap args in decl.Richard M. Stallman
(set_point_both, temp_set_point_both): New decls.
1998-01-01(PRINTDECLARE): Declare old_point_byte and start_point_byte.Richard M. Stallman
(PRINTPREPARE): For a marker, set old_point_byte and start_point_byte. Set both kinds of PT from the marker. (PRINTFINISH): For a marker, use set_marker_both. Restore both kinds of PT. (print): For strings and symbols, handle multibyte chars.
1998-01-01(readchar_backlog): New variable.Richard M. Stallman
(readchar): When fetching from buffer or marker, use readchar_backlog to fetch bytes from a character. (unreadchar): Increment readchar_backlog. (readevalloop, Fread): Init readchar_backlog.