]> code.delx.au - gnu-emacs/log
gnu-emacs
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.

26 years ago(Fmake_category_set): Don't allow multibyte string.
Richard M. Stallman [Fri, 9 Jan 1998 22:59:31 +0000 (22:59 +0000)]
(Fmake_category_set): Don't allow multibyte string.
(describe_category): Pass new args to insert_from_string.
(describe_category_1): Likewise.

26 years ago(casify_object): Scan string by bytes and chars.
Richard M. Stallman [Fri, 9 Jan 1998 22:58:16 +0000 (22:58 +0000)]
(casify_object): Scan string by bytes and chars.
Use make_multibyte_string.

26 years ago(BASE_PURESIZE): Increased.
Richard M. Stallman [Fri, 9 Jan 1998 22:55:18 +0000 (22:55 +0000)]
(BASE_PURESIZE): Increased.

26 years ago(read_escape): `\ ' stands for nothing at all.
Richard M. Stallman [Fri, 9 Jan 1998 22:52:08 +0000 (22:52 +0000)]
(read_escape): `\ ' stands for nothing at all.
(oblookup): Take args SIZE and SIZE_BYTE.  Callers changed.
(init_obarray, read1, make_symbol):
Pass new arg to make_pure_string.
(Fintern, oblookup, Fintern_soft, intern): Handle size_byte.
(dir_warning): Pass new arg to message_dolog.
(read1): PCH is now int *.
Declare ch as int.
(read0): Declare c as int.
(read_list): Declare ch as int.
(read0): Use Fmake_string not make_string.
(read1): When reading a string, maybe use make_unibyte_string.
(Fread_from_string): Convert string indices to/from bytes.

26 years ago(count_size_as_multibyte): New function.
Richard M. Stallman [Fri, 9 Jan 1998 22:46:07 +0000 (22:46 +0000)]
(count_size_as_multibyte): New function.
(insert_from_string_1, insert_from_buffer_1): Use it.
(copy_text): New function.
(insert_from_buffer_1): Call copy_text to convert between
single-byte and multibyte text.
(insert_from_string_1): Likewise.
(insert_1_both): New function.
(insert_from_string): New args POS_BYTE, LENGTH.
(insert_from_string_before_markers):
(insert_from_string_1): New arg POS_BYTE.  Swap args NCHARS, NBYTES.
Don't fail to use POS_BYTE!
(insert_from_buffer_1): Get both inschars and insbytes from NEW.

26 years ago(map_char_table): Unconditionally consider non-ASCII charsets.
Richard M. Stallman [Fri, 9 Jan 1998 22:41:43 +0000 (22:41 +0000)]
(map_char_table): Unconditionally consider non-ASCII charsets.
(Fsubstring): Use make_multibyte_string.
(concat, Fsubstring, internal_equal, mapcar1):
Distinguish bytes and chars when indexing strings.
(Fstring_equal, Fstring_lessp): Likewise.
(substring_both): New function.
(string_make_multibyte, string_make_unibyte): New functions.
(string_char_to_byte, string_byte_to_char): New functions.

26 years ago(Fformat): Do all the work directly--don't use doprnt.
Richard M. Stallman [Fri, 9 Jan 1998 22:34:48 +0000 (22:34 +0000)]
(Fformat): Do all the work directly--don't use doprnt.
Calculate the right size the first time, so no need to retry.
Count chars and bytes in the result.
Convert single-byte strings to multibyte as needed.

26 years ago(sref): Defined.
Richard M. Stallman [Fri, 9 Jan 1998 22:13:08 +0000 (22:13 +0000)]
(sref): Defined.

26 years ago(dabbrev-ignored-buffer-names): New variable.
Richard M. Stallman [Fri, 9 Jan 1998 22:12:10 +0000 (22:12 +0000)]
(dabbrev-ignored-buffer-names): New variable.
(dabbrev--find-expansion): Ignore those buffers
unless they get specifically preferred.

26 years agoAdded some more comments in the commentary.
Eric M. Ludlam [Thu, 8 Jan 1998 23:35:34 +0000 (23:35 +0000)]
Added some more comments in the commentary.
You can now `quote' symbols that look like keystrokes
When spell checking, meta variables can end in `th' or `s'.

26 years ago(vc-resynch-window): Behave properly when view-read-only is non-nil.
André Spiegel [Wed, 7 Jan 1998 14:33:37 +0000 (14:33 +0000)]
(vc-resynch-window): Behave properly when view-read-only is non-nil.

26 years agoMove change log comment block so lm-commentary doesn't lose.
Dave Love [Wed, 7 Jan 1998 12:39:59 +0000 (12:39 +0000)]
Move change log comment block so lm-commentary doesn't lose.

26 years ago(custom-browse-visibility): Doc fix.
Andreas Schwab [Wed, 7 Jan 1998 10:45:56 +0000 (10:45 +0000)]
(custom-browse-visibility): Doc fix.

26 years ago(defgroup): Doc fix.
Andreas Schwab [Wed, 7 Jan 1998 10:45:33 +0000 (10:45 +0000)]
(defgroup): Doc fix.

26 years ago(pp-to-string): Greatly simplify by letting the
Andreas Schwab [Wed, 7 Jan 1998 10:40:25 +0000 (10:40 +0000)]
(pp-to-string): Greatly simplify by letting the
Emacs printer do the (quote x) to 'x conversion.  Better handle
the # print syntax in all its forms.

26 years agoCustomized.
Andreas Schwab [Wed, 7 Jan 1998 10:31:09 +0000 (10:31 +0000)]
Customized.

26 years ago(delete-auto-save-files): Say in the doc string that
Eli Zaretskii [Wed, 7 Jan 1998 09:41:30 +0000 (09:41 +0000)]
(delete-auto-save-files): Say in the doc string that
auto-save file will not be deleted if the buffer has unsaved
changes.

26 years ago(Fcall_process): When deciding whether to encode args,
Richard M. Stallman [Mon, 5 Jan 1998 17:39:32 +0000 (17:39 +0000)]
(Fcall_process): When deciding whether to encode args,
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.

26 years ago(read_process_output): Use insert_1_both.
Richard M. Stallman [Mon, 5 Jan 1998 17:33:41 +0000 (17:33 +0000)]
(read_process_output): Use insert_1_both.

(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.

26 years ago(MAKE_LOCK_NAME): Use size_byte.
Richard M. Stallman [Mon, 5 Jan 1998 17:32:08 +0000 (17:32 +0000)]
(MAKE_LOCK_NAME): Use size_byte.

26 years ago(Fbyte_code): Use size_byte.
Richard M. Stallman [Mon, 5 Jan 1998 17:30:19 +0000 (17:30 +0000)]
(Fbyte_code): Use size_byte.

26 years ago(print_string): Now static.
Richard M. Stallman [Mon, 5 Jan 1998 17:29:16 +0000 (17:29 +0000)]
(print_string): Now static.
(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.

26 years ago(Fexpand_abbrev): Pass both kinds of size to oblookup.
Richard M. Stallman [Mon, 5 Jan 1998 17:25:39 +0000 (17:25 +0000)]
(Fexpand_abbrev): Pass both kinds of size to oblookup.

(Fexpand_abbrev): Pass new args to insert_from_string.
(Funexpand_abbrev): Likewise.  Use size_byte.

26 years ago(FETCH_STRING_CHAR_ADVANCE): New macro.
Richard M. Stallman [Mon, 5 Jan 1998 17:23:54 +0000 (17:23 +0000)]
(FETCH_STRING_CHAR_ADVANCE): New macro.

26 years ago(search_buffer): Handle bytes vs chars in non-RE case.
Richard M. Stallman [Mon, 5 Jan 1998 17:22:52 +0000 (17:22 +0000)]
(search_buffer): Handle bytes vs chars in non-RE case.
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.

26 years ago(make_pure_string): New arg length_byte.
Richard M. Stallman [Mon, 5 Jan 1998 17:17:27 +0000 (17:17 +0000)]
(make_pure_string): New arg length_byte.
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.

26 years ago(record_overlay_string): Totalize sizes assuming
Richard M. Stallman [Mon, 5 Jan 1998 17:15:53 +0000 (17:15 +0000)]
(record_overlay_string): Totalize sizes assuming
strings are converted to match buffer in multibyteness.
(overlay_strings): Convert strings to match buffer in multibyteness.

26 years ago(read_minibuf): Handle bytes vs chars
Richard M. Stallman [Mon, 5 Jan 1998 17:14:29 +0000 (17:14 +0000)]
(read_minibuf): Handle bytes vs chars
when checking for junk at end of expression.

26 years ago(test_completion): Pass both kinds of size to oblookup.
Richard M. Stallman [Mon, 5 Jan 1998 06:58:06 +0000 (06:58 +0000)]
(test_completion): Pass both kinds of size to oblookup.

(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.

26 years ago(display-time-mode): Set the variable display-time-mode.
Richard M. Stallman [Mon, 5 Jan 1998 06:04:35 +0000 (06:04 +0000)]
(display-time-mode): Set the variable display-time-mode.

(display-time-mode): New customize variable to
automatically load the package.

26 years ago(xstring): Use size_byte.
Richard M. Stallman [Sun, 4 Jan 1998 20:41:17 +0000 (20:41 +0000)]
(xstring): Use size_byte.

26 years ago(resize-minibuffer-mode): Variable customized to
Richard M. Stallman [Sat, 3 Jan 1998 07:17:25 +0000 (07:17 +0000)]
(resize-minibuffer-mode): Variable customized to
automatically load the package.