]> git.eshelyaron.com Git - emacs.git/log
emacs.git
26 years ago(mapcar1): Keep `i' in `i_before' before `i' is
Kenichi Handa [Thu, 22 Jan 1998 01:26:45 +0000 (01:26 +0000)]
(mapcar1): Keep `i' in `i_before' before `i' is
incremented by FETCH_STRING_CHAR_ADVANCE.

26 years ago(encode_terminal_code): Adjusted for the change of
Kenichi Handa [Thu, 22 Jan 1998 01:26:45 +0000 (01:26 +0000)]
(encode_terminal_code): Adjusted for the change of
encode_coding.
(write_glyphs): Likewise.  Adjusted for the change of struct
coding_system.
(insert_glyphs): Likewise.

26 years ago(selection_data_to_lisp_data): Adjusted for the change
Kenichi Handa [Thu, 22 Jan 1998 01:26:45 +0000 (01:26 +0000)]
(selection_data_to_lisp_data): Adjusted for the change
of decode_coding.
(lisp_data_to_selection_data): Adjusted for the change of
encode_coding.
(syms_of_xselect): Initialize clipboard-coding-system to
compound-text.

26 years ago(PC-try-load-many-files): Load files in reverse
Richard M. Stallman [Thu, 22 Jan 1998 00:44:59 +0000 (00:44 +0000)]
(PC-try-load-many-files): Load files in reverse
order so they come in the right order in the buffer list.

26 years agoUpdate copyright year.
Richard M. Stallman [Wed, 21 Jan 1998 23:32:12 +0000 (23:32 +0000)]
Update copyright year.

26 years ago(Fsubstitute_in_file_name): Use unibyte_char_to_multibyte.
Richard M. Stallman [Wed, 21 Jan 1998 22:53:11 +0000 (22:53 +0000)]
(Fsubstitute_in_file_name): Use unibyte_char_to_multibyte.

26 years agoUpdate copyright year.
Richard M. Stallman [Wed, 21 Jan 1998 22:22:17 +0000 (22:22 +0000)]
Update copyright year.

26 years ago(nonascii_insert_offset): Variable moved from cmds.c.
Richard M. Stallman [Wed, 21 Jan 1998 22:06:06 +0000 (22:06 +0000)]
(nonascii_insert_offset): Variable moved from cmds.c.
(syms_of_charset): Initialize variable.

(unibyte_char_to_multibyte): New function.
(DEFAULT_NONASCII_INSERT_OFFSET): New macro definition.

26 years ago(skip_chars): Use unibyte_char_to_multibyte,
Richard M. Stallman [Wed, 21 Jan 1998 22:02:05 +0000 (22:02 +0000)]
(skip_chars): Use unibyte_char_to_multibyte,

26 years ago(message_dolog): Use unibyte_char_to_multibyte.
Richard M. Stallman [Wed, 21 Jan 1998 22:00:26 +0000 (22:00 +0000)]
(message_dolog): Use unibyte_char_to_multibyte.
Pass different args to scan_newline.
Properly compare oldpoint with Z.

26 years ago(command_loop_1): Use unibyte_char_to_multibyte.
Richard M. Stallman [Wed, 21 Jan 1998 21:57:24 +0000 (21:57 +0000)]
(command_loop_1): Use unibyte_char_to_multibyte.

26 years ago(internal_self_insert, Fself_insert_command):
Richard M. Stallman [Wed, 21 Jan 1998 21:56:46 +0000 (21:56 +0000)]
(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.

26 years ago(WINDOW_RIGHT_MARGIN): Deduct width of vertical line
Richard M. Stallman [Wed, 21 Jan 1998 21:43:58 +0000 (21:43 +0000)]
(WINDOW_RIGHT_MARGIN): Deduct width of vertical line
if frame has no scroll bars.

26 years ago(concat): Use unibyte_char_to_multibyte.
Richard M. Stallman [Wed, 21 Jan 1998 21:43:30 +0000 (21:43 +0000)]
(concat): Use unibyte_char_to_multibyte.
Fix lossage in installing previous patch.

26 years ago(set_buffer_if_live): New function.
Richard M. Stallman [Wed, 21 Jan 1998 21:42:19 +0000 (21:42 +0000)]
(set_buffer_if_live): New function.

26 years ago(Fbyte_code) <Bsave_current_buffer_1>: Use set_buffer_if_live.
Richard M. Stallman [Wed, 21 Jan 1998 21:41:27 +0000 (21:41 +0000)]
(Fbyte_code) <Bsave_current_buffer_1>: Use set_buffer_if_live.

26 years ago(Fsave_current_buffer): Use set_buffer_if_live.
Richard M. Stallman [Wed, 21 Jan 1998 21:40:51 +0000 (21:40 +0000)]
(Fsave_current_buffer): Use set_buffer_if_live.

26 years ago(command-line-1): Add alternate startup message
Richard M. Stallman [Wed, 21 Jan 1998 21:39:02 +0000 (21:39 +0000)]
(command-line-1): Add alternate startup message
for use when there is a mouse.

26 years ago(current_column_1): Eliminate argument POS; use PT and PT_BYTE.
Richard M. Stallman [Wed, 21 Jan 1998 08:16:28 +0000 (08:16 +0000)]
(current_column_1): Eliminate argument POS; use PT and PT_BYTE.
When doing FETCH_BYTE, use scan_byte.
(current_column): Check whether buffer really has multibyte chars,
not whether they are enabled.

26 years ago(tq-filter): Use with-current-buffer.
Richard M. Stallman [Wed, 21 Jan 1998 05:26:11 +0000 (05:26 +0000)]
(tq-filter): Use with-current-buffer.

26 years ago(ange-ftp-date-regexp): Make l pattern match any non-ASCII char.
Richard M. Stallman [Wed, 21 Jan 1998 01:41:23 +0000 (01:41 +0000)]
(ange-ftp-date-regexp): Make l pattern match any non-ASCII char.

26 years ago(unreadchar): For unreading an ASCII char
Richard M. Stallman [Wed, 21 Jan 1998 00:37:15 +0000 (00:37 +0000)]
(unreadchar): For unreading an ASCII char
thru a buffer or marker, really decrement point or the marker position.

26 years ago(info-lookup): Report if Info-goto-node fails.
Richard M. Stallman [Tue, 20 Jan 1998 20:09:39 +0000 (20:09 +0000)]
(info-lookup): Report if Info-goto-node fails.
(info-lookup-make-completions): Likewise.

26 years ago(display_menu_bar): Don't set maxendcol too large.
Richard M. Stallman [Tue, 20 Jan 1998 08:54:36 +0000 (08:54 +0000)]
(display_menu_bar): Don't set maxendcol too large.

26 years ago(Fchar_equal): Fix case-conversion code.
Richard M. Stallman [Tue, 20 Jan 1998 06:05:53 +0000 (06:05 +0000)]
(Fchar_equal): Fix case-conversion code.

26 years ago(momentary-string-display): Fix backward test
Richard M. Stallman [Tue, 20 Jan 1998 04:56:52 +0000 (04:56 +0000)]
(momentary-string-display): Fix backward test
for whether end of message is off the screen.

26 years ago(mouse-drag-vertical-line): Properly determine which
Richard M. Stallman [Mon, 19 Jan 1998 23:11:18 +0000 (23:11 +0000)]
(mouse-drag-vertical-line): Properly determine which
side the scroll bar or vertical line is on.

26 years ago(mldrag-drag-vertical-line): Delete debugging code.
Richard M. Stallman [Mon, 19 Jan 1998 21:33:26 +0000 (21:33 +0000)]
(mldrag-drag-vertical-line): Delete debugging code.

26 years ago(dired-move-to-filename-regexp):
Richard M. Stallman [Mon, 19 Jan 1998 20:29:31 +0000 (20:29 +0000)]
(dired-move-to-filename-regexp):
Make l pattern match any non-ASCII char.

26 years ago(rfc822-snarf-word): Don't reject non-ASCII chars.
Richard M. Stallman [Mon, 19 Jan 1998 20:28:03 +0000 (20:28 +0000)]
(rfc822-snarf-word): Don't reject non-ASCII chars.
(rfc822-snarf-subdomain): Likewise.
(rfc822-addresses-1, rfc822-addresses): Likewise.

26 years ago(etags): Fix defgroup syntax.
Richard M. Stallman [Mon, 19 Jan 1998 20:24:16 +0000 (20:24 +0000)]
(etags): Fix defgroup syntax.

26 years ago(rmail): Don't bind enable-multibyte-characters;
Richard M. Stallman [Mon, 19 Jan 1998 20:22:12 +0000 (20:22 +0000)]
(rmail): Don't bind enable-multibyte-characters;
read the file normally.
(rmail-revert): Likewise.

(rmail): Don't kill local enable-multibyte-characters.
Don't bind coding-system-for-read.  Fix error message.

(rmail-make-in-reply-to-field):
Make foo and bar patterns match all non-ASCII chars.

26 years ago(code_convert_region): Always count chars inserted
Richard M. Stallman [Mon, 19 Jan 1998 19:45:53 +0000 (19:45 +0000)]
(code_convert_region): Always count chars inserted
in accord with value of enable-multilibyte-characters.
(Fcoding_system_p): Doc fix.
(Fcheck_coding_system): Doc fix.
(Fterminal_coding_system): Doc fix.
(Fkeyboard_coding_system): Doc fix.

26 years ago(Fset_buffer_multibyte): New function.
Richard M. Stallman [Mon, 19 Jan 1998 19:38:40 +0000 (19:38 +0000)]
(Fset_buffer_multibyte): New function.
(syms_of_buffer): defsubr it.

26 years ago(clear_charpos_cache): New function.
Richard M. Stallman [Mon, 19 Jan 1998 19:32:47 +0000 (19:32 +0000)]
(clear_charpos_cache): New function.

26 years ago(set_intervals_multibyte): New function.
Richard M. Stallman [Mon, 19 Jan 1998 19:30:38 +0000 (19:30 +0000)]
(set_intervals_multibyte): New function.
(set_intervals_multibyte_1): New function.

26 years ago(window_scroll): Set opoint_byte properly.
Richard M. Stallman [Mon, 19 Jan 1998 19:24:04 +0000 (19:24 +0000)]
(window_scroll): Set opoint_byte properly.

26 years ago(number-to-register, increment-register): Args
Karl Heuer [Sun, 18 Jan 1998 06:40:52 +0000 (06:40 +0000)]
(number-to-register, increment-register): Args
renamed to match doc.

26 years ago(skip_chars): Fix test for end of string, looking for `-'.
Karl Heuer [Sun, 18 Jan 1998 05:15:48 +0000 (05:15 +0000)]
(skip_chars): Fix test for end of string, looking for `-'.
(back_comment): Don't allow quoting a comment-end.
(scan_lists): Likewise.

26 years ago(install-arch-indep): Add semicolon before `else'.
Karl Heuer [Sun, 18 Jan 1998 04:57:01 +0000 (04:57 +0000)]
(install-arch-indep): Add semicolon before `else'.

26 years agoMake GDB not handle SIGINT.
Karl Heuer [Sun, 18 Jan 1998 04:54:59 +0000 (04:54 +0000)]
Make GDB not handle SIGINT.

26 years ago(compile_pattern_1): If representation of STRING
Karl Heuer [Sun, 18 Jan 1998 04:53:32 +0000 (04:53 +0000)]
(compile_pattern_1): If representation of STRING
does not fit MULTIBYTE, convert its contents.
(fast_c_string_match_ignore_case): Pass 0 to compile_pattern
as MULTIBYTE.
(search_buffer): If representation of STRING
does not fit MULTIBYTE, convert its contents.

26 years ago(print) <Lisp_String>: When multibyte is enabled, print
Karl Heuer [Sun, 18 Jan 1998 04:51:16 +0000 (04:51 +0000)]
(print) <Lisp_String>: When multibyte is enabled, print
single-byte non-ASCII chars using octal escapes.

26 years ago(read1): Escape codes can force multibyte or single-byte.
Karl Heuer [Sun, 18 Jan 1998 04:49:11 +0000 (04:49 +0000)]
(read1): Escape codes can force multibyte or single-byte.
Otherwise buffer_defaults->enable_multibyte_characters decides.
Only set force_singlebyte when a \-sequence is in the relevant
range.
(read_escape): New arg STRINGP.  `\ ' is ignored only when STRINGP
(normally, when reading a string).  Calls changed.

26 years ago(code_convert_region): Delete duplicate local `zv_before'.
Karl Heuer [Sun, 18 Jan 1998 04:43:08 +0000 (04:43 +0000)]
(code_convert_region): Delete duplicate local `zv_before'.

26 years ago(concat): Move the test for all nil in `append'
Karl Heuer [Sun, 18 Jan 1998 04:37:08 +0000 (04:37 +0000)]
(concat): Move the test for all nil in `append'
back to the right place.
Always compute result_len_byte as for a multibyte string.  Then,
if the result will be single-byte, don't use that computation.
When converting single-byte to multibyte, don't use copy_text.
Do use copy_text between single-byte string and multibyte string.

(Fstring_make_multibyte, Fstring_make_unibyte): New functions.
(syms_of_fns): defsubr them.

(string_char_to_byte): Count from the beginning or the end,
whichever is closer.  Keep a cache of recent values.
(string_byte_to_char): Likewise.

(Fstring_lessp): Compare the strings char by char.

26 years ago(display_text_line): Set pos_byte with pos
Karl Heuer [Sun, 18 Jan 1998 04:06:12 +0000 (04:06 +0000)]
(display_text_line): Set pos_byte with pos
when skipping invisible.

26 years agoInitial revision
Karl Heuer [Sun, 18 Jan 1998 03:39:09 +0000 (03:39 +0000)]
Initial revision

26 years ago(etags): Fix defgroup syntax.
Karl Heuer [Sun, 18 Jan 1998 03:33:26 +0000 (03:33 +0000)]
(etags): Fix defgroup syntax.

26 years ago(switch-to-completions): If no completions window,
Karl Heuer [Sun, 18 Jan 1998 03:32:20 +0000 (03:32 +0000)]
(switch-to-completions): If no completions window,
don't try to switch to it.

26 years ago(rmail): Unwind-protect call to rmail-get-new-mail.
Karl Heuer [Sun, 18 Jan 1998 03:29:06 +0000 (03:29 +0000)]
(rmail): Unwind-protect call to rmail-get-new-mail.

26 years ago(vc-finish-logentry): Move killing the log buffer after
Karl Heuer [Sun, 18 Jan 1998 03:27:05 +0000 (03:27 +0000)]
(vc-finish-logentry): Move killing the log buffer after
the operation in case that fails.

26 years ago(auto-mode-alist): Add vhdl-mode.
Karl Heuer [Sun, 18 Jan 1998 03:21:25 +0000 (03:21 +0000)]
(auto-mode-alist): Add vhdl-mode.

26 years ago(STRING_BASE_SIZE): New macro.
Karl Heuer [Sun, 18 Jan 1998 03:19:14 +0000 (03:19 +0000)]
(STRING_BASE_SIZE): New macro.
(STRING_FULLSIZE): Use STRING_BASE_SIZE instead of the whole
size of struct Lisp_String.
(make_pure_string): Use STRING_FULLSIZE.

26 years ago(occur): If the matching line has no final newline,
Karl Heuer [Sun, 18 Jan 1998 02:53:16 +0000 (02:53 +0000)]
(occur): If the matching line has no final newline,
insert one anyway.  Compensate for that when inserting line nums.

26 years agoUpdate copyright year.
Richard M. Stallman [Sat, 17 Jan 1998 20:02:40 +0000 (20:02 +0000)]
Update copyright year.

26 years ago(ange-ftp-inodes-hashtable): New variable.
Richard M. Stallman [Sat, 17 Jan 1998 19:44:51 +0000 (19:44 +0000)]
(ange-ftp-inodes-hashtable): New variable.
(ange-ftp-next-inode-number): New variable.
(ange-ftp-file-attributes): Assign each file a unique "inode number".

26 years ago(Buffer-menu-mode-map): Bind e like f.
Richard M. Stallman [Sat, 17 Jan 1998 19:43:15 +0000 (19:43 +0000)]
(Buffer-menu-mode-map): Bind e like f.

26 years ago(hexl-follow-ascii): New function and variable to highlight the ASCII
Stephen Eglen [Sat, 17 Jan 1998 17:02:13 +0000 (17:02 +0000)]
(hexl-follow-ascii): New function and variable to highlight the ASCII
character corresponding to the current element of the buffer.

26 years ago(Fspecial_display_p): Return the right value
Richard M. Stallman [Fri, 16 Jan 1998 19:16:02 +0000 (19:16 +0000)]
(Fspecial_display_p): Return the right value
when special-display-regexps specifies frame parameters.

26 years ago(mldrag-drag-vertical-line): Handle left-side scroll bars.
Richard M. Stallman [Fri, 16 Jan 1998 19:11:33 +0000 (19:11 +0000)]
(mldrag-drag-vertical-line): Handle left-side scroll bars.

26 years ago(Finsert_file_contents): When not decoding,
Richard M. Stallman [Fri, 16 Jan 1998 18:14:58 +0000 (18:14 +0000)]
(Finsert_file_contents): When not decoding,
properly calculate number of chars in the text.
Fix error message.

(file_name_as_directory): Error if arg is empty.
(Fwrite_region): Don't flush the encoding buffer if failure is set.

26 years ago(re_match_2_internal): Use SYNTAX_TABLE_BYTE_TO_CHAR.
Richard M. Stallman [Fri, 16 Jan 1998 17:56:40 +0000 (17:56 +0000)]
(re_match_2_internal): Use SYNTAX_TABLE_BYTE_TO_CHAR.

(re_match_2_internal) <wordbeg, wordend>:
Call UPDATE_SYNTAX_TABLE properly with a charpos.

26 years ago(SYNTAX_TABLE_BYTE_TO_CHAR): New macro.
Richard M. Stallman [Fri, 16 Jan 1998 17:52:16 +0000 (17:52 +0000)]
(SYNTAX_TABLE_BYTE_TO_CHAR): New macro.

(struct gl_state_s): New field `object'.
(SETUP_SYNTAX_TABLE_FOR_OBJECT): Set it.
Handle non-current buffer properly.  Args renamed to all caps.
(SETUP_SYNTAX_TABLE): Set `object'.  Args renamed to all caps.
(UPDATE_SYNTAX_TABLE): Use gl_state.object.
(UPDATE_SYNTAX_TABLE_FORWARD, UPDATE_SYNTAX_TABLE_BACKWARD): Likewise.

(SETUP_SYNTAX_TABLE_FOR_OBJECT): Add gl_state.offset
when using the arg FROM.  Use BYTE_TO_CHAR.

26 years ago(global-auto-revert-ignore-buffer): Doc fix.
Richard M. Stallman [Fri, 16 Jan 1998 05:36:23 +0000 (05:36 +0000)]
(global-auto-revert-ignore-buffer): Doc fix.
(global-auto-revert-mode): Fix message text.

26 years agoAdded Print submenu to Edit menu.
Simon Marshall [Thu, 15 Jan 1998 16:17:36 +0000 (16:17 +0000)]
Added Print submenu to Edit menu.

26 years ago(c++-font-lock-extra-types): Add some container classes.
Simon Marshall [Thu, 15 Jan 1998 16:11:00 +0000 (16:11 +0000)]
(c++-font-lock-extra-types): Add some container classes.
(c-font-lock-keywords-1): Use builtin face for preprocessor directives.

26 years ago(lisp-font-lock-keywords-1): Add defmethod.
Dave Love [Mon, 12 Jan 1998 18:54:01 +0000 (18:54 +0000)]
(lisp-font-lock-keywords-1): Add defmethod.

26 years ago(Fkey_description): Remember to set i_before.
Kenichi Handa [Mon, 12 Jan 1998 12:52:55 +0000 (12:52 +0000)]
(Fkey_description): Remember to set i_before.
and use it in all cases.

26 years agoAdded patch from Don Hejna <djhejna@oasis.ambit.com>.
Oliver Seidel [Mon, 12 Jan 1998 11:43:22 +0000 (11:43 +0000)]
Added patch from Don Hejna <djhejna@oasis.ambit.com>.

26 years ago(insert_from_string_1): Decrement GAP_SIZE by
Kenichi Handa [Mon, 12 Jan 1998 05:49:45 +0000 (05:49 +0000)]
(insert_from_string_1): Decrement GAP_SIZE by
outgoing_nbytes.

26 years ago(push_key_description): If C >= 128, always use octal representation.
Kenichi Handa [Mon, 12 Jan 1998 05:49:45 +0000 (05:49 +0000)]
(push_key_description): If C >= 128, always use octal representation.

26 years ago(Fminibuffer_complete_word): Fix a bug of refering
Kenichi Handa [Mon, 12 Jan 1998 05:49:45 +0000 (05:49 +0000)]
(Fminibuffer_complete_word): Fix a bug of refering
`i'.  We must refer `i_byte' instead.

26 years ago(concat): Check STRINGP before increasing result_len_byte.
Kenichi Handa [Mon, 12 Jan 1998 05:49:45 +0000 (05:49 +0000)]
(concat): Check STRINGP before increasing result_len_byte.

26 years agoChange "?\C-\ " to "?\C- " because "\ " is changed
Kenichi Handa [Mon, 12 Jan 1998 05:48:48 +0000 (05:48 +0000)]
Change "?\C-\ " to "?\C- " because "\ " is changed
to standing for nothing in lread.c (read_escape).

26 years ago(lm-get-package-name, lm-header,
Dave Love [Sun, 11 Jan 1998 12:48:04 +0000 (12:48 +0000)]
(lm-get-package-name, lm-header,
lm-header-multiline, lm-summary, lm-version, lm-commentary):
Return string without properties.
(lm-get-header, lm-get-package-name, lm-crack-address,
lm-insert-at-column, lm-report-bug): Minor doc fixes.

26 years ago(Fchar_valid_p): Fix bare newlines in doc string.
Dave Love [Sun, 11 Jan 1998 12:26:21 +0000 (12:26 +0000)]
(Fchar_valid_p): Fix bare newlines in doc string.

26 years ago(Fcall_interactively): Allocate string by bytes.
Richard M. Stallman [Fri, 9 Jan 1998 23:33:09 +0000 (23:33 +0000)]
(Fcall_interactively): Allocate string by bytes.
Use message_with_string.

26 years ago(Fdirectory_files): Fix arg to compile_pattern.
Richard M. Stallman [Fri, 9 Jan 1998 23:28:38 +0000 (23:28 +0000)]
(Fdirectory_files): Fix arg to compile_pattern.

26 years ago(re_search_2): Fix call to CHAR_HEAD_P.
Richard M. Stallman [Fri, 9 Jan 1998 23:24:24 +0000 (23:24 +0000)]
(re_search_2): Fix call to CHAR_HEAD_P.
(re_match_2_internal): Use PTR_BYTE_POS and PT_BYTE.

26 years ago(x_load_font): Use string_byte.
Richard M. Stallman [Fri, 9 Jan 1998 23:22:56 +0000 (23:22 +0000)]
(x_load_font): Use string_byte.

26 years ago(lisp_data_to_selection_data): Use size_byte.
Richard M. Stallman [Fri, 9 Jan 1998 23:22:10 +0000 (23:22 +0000)]
(lisp_data_to_selection_data): Use size_byte.
(Fx_store_cut_buffer_internal): Use size_byte.
(selection_data_to_lisp_data): Use make_multibyte_string.

26 years ago(xmenu_show): Use size_byte of strings.
Richard M. Stallman [Fri, 9 Jan 1998 23:21:17 +0000 (23:21 +0000)]
(xmenu_show): Use size_byte of strings.

26 years ago(x_create_bitmap_from_file): Use size_byte on strings.
Richard M. Stallman [Fri, 9 Jan 1998 23:20:32 +0000 (23:20 +0000)]
(x_create_bitmap_from_file): Use size_byte on strings.
(x_set_name, x_set_title, validate_x_resource_name): Likewise.
(Fx_get_resource, display_x_get_resource): Likewise.
(x_get_resource_string): Likewise.

26 years ago(message_dolog, message2): New arg MULTIBYTE.
Richard M. Stallman [Fri, 9 Jan 1998 23:19:42 +0000 (23:19 +0000)]
(message_dolog, message2): New arg MULTIBYTE.
Callers changed.
(message1, message1_nolog): String must be ASCII-only.
(message2, message2_nolog): Now static.
(x_consider_frame_title): Use size_byte.
(display_text_line): Likewise.
And scan Voverlay_arrow_string by bytes and chars.
(display_menu_bar): Call display_string with a byte size.
(display_mode_line): Call display_string with a byte size.

26 years ago(Fselect_window): Don't set OW->pointm if OW->buffer is nil.
Richard M. Stallman [Fri, 9 Jan 1998 23:18:35 +0000 (23:18 +0000)]
(Fselect_window): Don't set OW->pointm if OW->buffer is nil.
(Fset_window_configuration): Set old selected window's pointm.

26 years ago(skip_chars): Handle multibyte and unibyte strings
Richard M. Stallman [Fri, 9 Jan 1998 23:17:52 +0000 (23:17 +0000)]
(skip_chars): Handle multibyte and unibyte strings
for either kind of buffer.  Scan string by bytes and chars.

26 years ago(STRING_MULTIBYTE): New macro.
Richard M. Stallman [Fri, 9 Jan 1998 23:17:00 +0000 (23:17 +0000)]
(STRING_MULTIBYTE): New macro.
(struct lisp_String): New field size_byte.

26 years ago(describe_vector): Unconditionally handle multibyte chars.
Richard M. Stallman [Fri, 9 Jan 1998 23:16:01 +0000 (23:16 +0000)]
(describe_vector): Unconditionally handle multibyte chars.
(describe_vector): Pass new args to insert_from_string.
(Ftext_char_description): Use make_multibyte_string.
(Fkey_binding): Scan PREFIX a char at a time.
(Fkey_description): Scan KEYS by chars.

26 years ago(echo_now): Use message2_nolog, not message1_nolog.
Richard M. Stallman [Fri, 9 Jan 1998 23:14:38 +0000 (23:14 +0000)]
(echo_now): Use message2_nolog, not message1_nolog.
(Fexecute_extended_command): Likewise.
(read_char_minibuf_menu_prompt): Use message2_nolog, not message1.
(parse_modifiers): Use size_byte.
(echo_char): Use size_byte.
(parse_modifiers_uncached): Likewise.
(record_char): Likewise.
(parse_solitary_modifier): Likewise.
(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.
(Fexecute_extended_command): Use Faref to access FUNCTION.
Use size_byte of BINDING.
(stuff_buffered_input): Use size_byte of STUFFSTRING.

26 years ago(set_term_frame_name): Use size_byte.
Richard M. Stallman [Fri, 9 Jan 1998 23:13:22 +0000 (23:13 +0000)]
(set_term_frame_name): Use size_byte.

26 years ago(Fdo_auto_save): Save and restore multibyteness of minibuffer.
Richard M. Stallman [Fri, 9 Jan 1998 23:12:05 +0000 (23:12 +0000)]
(Fdo_auto_save): Save and restore multibyteness of minibuffer.
(Fwrite_region): Use message_with_string.
(auto_save_error, Fdo_auto_save): Likewise.
(Ffile_name_directory): Maybe use make_unibyte_string.
(Ffile_name_nondirectory): Likewise.
(Fsubstitute_in_file_name): Convert substituted envvars to multibyte
if necessary.  Otherwise use make_unibyte_string.
(Finsert_file_contents): Use make_unibyte_string.
(double_dollars): Use make_uninit_multibyte_string.

26 years ago(main): Pass new arg to message_dolog.
Richard M. Stallman [Fri, 9 Jan 1998 23:10:20 +0000 (23:10 +0000)]
(main): Pass new arg to message_dolog.

26 years agoInclude charset.h.
Richard M. Stallman [Fri, 9 Jan 1998 23:08:46 +0000 (23:08 +0000)]
Include charset.h.
(Fsubstitute_command_keys): Scan by bytes.

26 years ago(Fsend_string_to_terminal): Use size_byte.
Richard M. Stallman [Fri, 9 Jan 1998 23:07:47 +0000 (23:07 +0000)]
(Fsend_string_to_terminal): Use size_byte.

26 years ago(Fmultibyte_string_p): New function.
Richard M. Stallman [Fri, 9 Jan 1998 23:06:13 +0000 (23:06 +0000)]
(Fmultibyte_string_p): New function.
(Faref): Index string by chars.
(Faset): Index multibyte string by chars.

26 years ago(code_convert_string): Maybe use make_unibyte_string.
Richard M. Stallman [Fri, 9 Jan 1998 23:05:12 +0000 (23:05 +0000)]
(code_convert_string): Maybe use make_unibyte_string.

26 years ago(internal_self_insert): Simplify handling of c2;
Richard M. Stallman [Fri, 9 Jan 1998 23:04:20 +0000 (23:04 +0000)]
(internal_self_insert): Simplify handling of c2;
avoid testing enable-multibyte-characters.
(internal_self_insert): Use make_multibyte_string.

26 years ago(multibyte_chars_in_text): New function.
Richard M. Stallman [Fri, 9 Jan 1998 23:03:25 +0000 (23:03 +0000)]
(multibyte_chars_in_text): New function.
(Fstring): Use make_multibyte_string.
(Fcompose_string): Likewise.
(Ffind_charset_string): Handle bytes vs chars in string.
Special case for single-byte strings.
(Fchars_in_string): Function deleted.
(Fstring): Renamed from Fconcat_chars.
Handle bytes vs chars in string.
(syms_of_charset): Corresponding changes.

26 years ago(Fccl_execute_on_string): Use size_byte.
Richard M. Stallman [Fri, 9 Jan 1998 23:00:30 +0000 (23:00 +0000)]
(Fccl_execute_on_string): Use size_byte.