]> code.delx.au - gnu-emacs/log
gnu-emacs
26 years agoAdjusted for the change of make-coding-system. Register
Kenichi Handa [Thu, 22 Jan 1998 01:46:28 +0000 (01:46 +0000)]
Adjusted for the change of make-coding-system.  Register
coding-priority key in language-info-alist.

26 years agoIn setup-LANGUAGE-environment functions,
Kenichi Handa [Thu, 22 Jan 1998 01:45:51 +0000 (01:45 +0000)]
In setup-LANGUAGE-environment functions,
call set-language-environment-coding-systems.

26 years agoIn setup-LANGUAGE-environment functions, adjust for the change of
Kenichi Handa [Thu, 22 Jan 1998 01:45:17 +0000 (01:45 +0000)]
In setup-LANGUAGE-environment functions, adjust for the change of
setup-8-bit-environment.

26 years ago(skkdic-jbytes): Variable deleted.
Kenichi Handa [Thu, 22 Jan 1998 01:42:20 +0000 (01:42 +0000)]
(skkdic-jbytes): Variable deleted.
All codes using this variable adjusted.

26 years agoComment about CCL syntax modified.
Kenichi Handa [Thu, 22 Jan 1998 01:42:20 +0000 (01:42 +0000)]
Comment about CCL syntax modified.
(ccl-command-table): Add read-multibyte-character,
write-multibyte-character, and unify-character.
(ccl-code-table): Add ex-cmd.
(ccl-extended-code-table): New variable.
(ccl-embed-extended-command): New function.
(ccl-compile-read-multibyte-character,
ccl-compile-write-multibyte-character,
ccl-compile-unify-character, ccl-compile-iterate-multiple-map,
ccl-compile-translate-multiple-map,
ccl-compile-translate-single-map,
ccl-compile-multiple-map-function) New functions.
(ccl-dump-ex-cmd, ccl-dump-read-multibyte-character,
ccl-dump-write-multibyte-character, ccl-dump-unify-character,
ccl-dump-unify-character-const-tbl, ccl-dump-iterate-multiple-map,
ccl-dump-translate-multiple-map, ccl-dump-translate-single-map):
New functions.

26 years agoPut `prefered-coding-system'
Kenichi Handa [Thu, 22 Jan 1998 01:42:20 +0000 (01:42 +0000)]
Put `prefered-coding-system'
property to each character set.

26 years ago(set-language-info): Doc-string
Kenichi Handa [Thu, 22 Jan 1998 01:42:20 +0000 (01:42 +0000)]
(set-language-info): Doc-string
describes `coding-priority' KEY.
(set-language-environment-coding-systems): New function.
(list-subset-p): New function.
(select-safe-coding-system): New function.
(set-language-info): New optional args DESCRIBE-MAP and SETUP-MAP.
(set-language-info-alist): New optionla arg PARENTS.  Call
set-language-info with apropriate DESCRIBE-MAP and SETUP-MAP args.
(set-language-environment-coding-systems): New function.

(prefer-coding-system): Call update-iso-coding-systems.

26 years agoAdjusted for the change of the
Kenichi Handa [Thu, 22 Jan 1998 01:42:20 +0000 (01:42 +0000)]
Adjusted for the change of the
format of make-coding-system's 6th argument.  Initialize
coding-category-iso-7-tight to iso-2022-jp.
(oldjis-newjis-jisroman-ascii): New character unification table.
(standarad-character-unification-table-for-decode): Initialize to
`unification-table' property of `oldjis-newjis-jisroman-ascii'.

26 years ago(describe-coding-system): Change the
Kenichi Handa [Thu, 22 Jan 1998 01:42:20 +0000 (01:42 +0000)]
(describe-coding-system): Change the
format of showing safe charsets.

26 years ago(find-safe-coding-system): Moved to
Kenichi Handa [Thu, 22 Jan 1998 01:42:20 +0000 (01:42 +0000)]
(find-safe-coding-system): Moved to
mule-cmds.el.
(detect-coding-with-priority): New macro.
(detect-coding-with-language-environment): New function.

(string-to-sequence): Adjusted for the change of
multibyte-form handling (byte-base to char-base).
(store-substring): Likewise.
(truncate-string-to-width): Likewise.
(decompose-region): Likewise.
(decompose-string): Likewise.
(decompose-composite-char): Call string instead of concat-chars.

26 years ago(define-character-unification-table): New
Kenichi Handa [Thu, 22 Jan 1998 01:42:20 +0000 (01:42 +0000)]
(define-character-unification-table): New
function.
(coding-system-base): Doc-string modified.
(make-coding-system): The 6th optional arg is changed to
PROPERTIES.
(set-buffer-file-coding-system): Show "(default, nil)" in prompt.
(set-coding-priority): Code tuned.

26 years ago(quail-show-kbd-layout): Bug fix for the
Kenichi Handa [Thu, 22 Jan 1998 01:42:20 +0000 (01:42 +0000)]
(quail-show-kbd-layout): Bug fix for the
case that TRANSLATION is a cons.

26 years ago(sendmail-coding-system): Doc-string modified.
Kenichi Handa [Thu, 22 Jan 1998 01:41:59 +0000 (01:41 +0000)]
(sendmail-coding-system): Doc-string modified.
(sendmail-send-it): Select a safe coding system to encode an
outgoing mail.

26 years agoCall update-iso-coding-systems after loading files
Kenichi Handa [Thu, 22 Jan 1998 01:41:18 +0000 (01:41 +0000)]
Call update-iso-coding-systems after loading files
under language subdir.

26 years ago(adjust_before_replace, adjust_after_replace): New
Kenichi Handa [Thu, 22 Jan 1998 01:26:45 +0000 (01:26 +0000)]
(adjust_before_replace, adjust_after_replace): New
functions.

26 years ago(Fcall_process): Use raw-text instead of emacs-mule
Kenichi Handa [Thu, 22 Jan 1998 01:26:45 +0000 (01:26 +0000)]
(Fcall_process): Use raw-text instead of emacs-mule
when enable-multibyte-characters is nil.  Adjusted for the change
of encode_coding and decode_coding.

26 years ago(detect_coding_system): Extern it.
Kenichi Handa [Thu, 22 Jan 1998 01:26:45 +0000 (01:26 +0000)]
(detect_coding_system): Extern it.

26 years ago(Vccl_translation_table_vector, Qccl_program,
Kenichi Handa [Thu, 22 Jan 1998 01:26:45 +0000 (01:26 +0000)]
(Vccl_translation_table_vector, Qccl_program,
Qccl_translation_table, Qccl_translation_table_id): New variables.
append new symbols.  Qccl_translation_table and
Qccl_translation_table_id.
(CCL_Call): Fix the comment.
(CCL_ReadMultibyteCharacter, CCL_WriteMultibyteCharacter,
CCL_UnifyCharacter, CCL_UnifyCharacterConstTbl,
CCL_IterateMultipleMap, CCL_TranslateMultipleMap): New macros for
CCL Commands.
(EXCMD): New macro.
(ccl_driver): New case lable `CCL_Extention'.
(setup_ccl_program): Initialize the member `private_state' of CCL.
(Fregister_ccl_program): Delete unused variable IDX.
(Fregister_ccl_translation_table): New function.
(syms_of_ccl): Intern and staticpro Qccl_program,
Qccl_translation_table, and Qccl_translation_table_id.  Declare
`ccl-translation-table-vector' as a Lisp variable.  Declare
register-ccl-translation-table as a Lisp function.

26 years agoDefinition of macros CCL_STAT_XXX are moved from ccl.c to here.
Kenichi Handa [Thu, 22 Jan 1998 01:26:45 +0000 (01:26 +0000)]
Definition of macros CCL_STAT_XXX are moved from ccl.c to here.
(struct ccl_program): New member private_state.

26 years ago(min_composite_char): New variable.
Kenichi Handa [Thu, 22 Jan 1998 01:26:45 +0000 (01:26 +0000)]
(min_composite_char): New variable.
(Vcharacter_unification_table_vector): New variable.
(syms_of_charset): Declare it as a Lisp symbol.  Declare a Lisp
variable min-composite-char.
(unify_char): Delete unnecessary codes.

26 years ago(BCOPY_SHORT): New macro.
Kenichi Handa [Thu, 22 Jan 1998 01:26:45 +0000 (01:26 +0000)]
(BCOPY_SHORT): New macro.
(MAX_CHAR_COMPOSITION): New macro.
(CHAR_CHARSET): Check more strictly.
(CODING_FLAG_ISO_DESIGNATION): New macro.
(Vcharacter_unification_table_vector): Extern it.
(UNIFICATION_ID_TABLE): New macro.

26 years agoVselect_safe_coding_system_function): New variable.
Kenichi Handa [Thu, 22 Jan 1998 01:26:45 +0000 (01:26 +0000)]
Vselect_safe_coding_system_function): New variable.
(coding_category_table): This variable deleted.
(Vcoding_category_table): New variable.
(coding_category_name): Add "coding-category-iso-7-tight".
(detect_coding_iso2022): Check the mask
CODING_FLAG_ISO_DESIGNATION in CODING->FLAGS.  Check a new coding
category coding-category-iso-7-tight.
(DECODE_DESIGNATION): Decode only such designations that CODING
can handle.
(check_composing_code): New function.
(decode_coding_iso2022): Decode only such characters that CODING
can handle.
(encode_coding_iso2022): Before and after encoding composite
characters, reset designation and invocation status.
(detect_coding_sjis): Delete unnecessary check.
(detect_coding_big5): Likewise.
(encode_designation_at_bol): Check the validity of requested
designation register.
(setup_coding_system): Set requested designation registers for
non-supported charsets to
CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION.  Set mask
CODING_FLAG_ISO_DESIGNATION in CODING->FLAGS.  Code tuned for
no-conversion and undecided.
(detect_coding): Adjusted for the new variable
Vcoding_category_table.
(syms_of_coding): Initialize Vcoding_category_table and staticpro
it.  Register select-safe-coding-system as a Lisp variable.

(DECODE_CHARACTER_ASCII): Update coding->produced_char;
(DECODE_CHARACTER_DIMENSION1): Likewise.
(Qraw_text, Qcoding_category): New variables.
(syms_of_coding): Intern and staticpro them.
(coding_system_table): New variable.
(CHARSET_OK, SHIFT_OUT_OK): New macros.
(detect_coding_iso2022): Detection algorithm improved.
(decode_coding_iso2022): Arg CONSUMED deleted, and the meaning of
return value changed.  Update members produced, produced_char,
consumed, consumed_char of the struct *coding.  Pay attention to
CODING_MODE_INHIBIT_INCONSISTENT_EOL.
(encode_coding_iso2022): Likewise.
(decode_coding_sjis_big5, encode_coding_sjis_big5): Likewise.
(decode_eol, encode_eol): Likewise.
(ENCODE_ISO_CHARACTER): Update coding->consumed_char.
(DECODE_SJIS_BIG5_CHARACTER): Update coding->produced_char.
(ENCODE_SJIS_BIG5_CHARACTER): Update coding->consumed_char.
(detect_coding(detect_coding(detect_ITIES and SKIP.
(detect_coding): Adjusted for the change of detect_coding_mask.
Update coding->heading_ascii.
(detect_eol_type): New arg SKIP.
(detect_eol): Adjusted for the change of detect_eol_type.
(ccl_codign_driver): New function.
(decode_coding): Arg CONSUMED deleted, and the meaning of return
value changed.  Update members produced, produced_char, consumed,
consumed_char of the struct *coding.
(encode_coding): Likewise.
(shrink_decoding_region, shrink_encoding_region): New function.
(code_convert_region, code_convert_string): Completely rewritten.
(detect_coding_sy(detect_coding_sy(detect_coding_sy(detect_coding_sy(detect_codiT.
(Fdetect_coding_string): New function.
(Fdecode_coding_region, Fencode_coding_region): Adjusted for the
change of code_convert_region.
(Fdecode_coding_string, Fencode_coding_string): Adjusted for the
change of code_convert_string.
(Fupdate_iso_coding_systems): New function.
(init_coding_once): Initialize coding_system_table.

26 years ago(CODING_FLAG_ISO_DESIGNATION): New macro.
Kenichi Handa [Thu, 22 Jan 1998 01:26:45 +0000 (01:26 +0000)]
(CODING_FLAG_ISO_DESIGNATION): New macro.
(struct iso2022_spec): New member.
last_invalid_designation_register.
(struct coding_system): New member inhibit_inconsistent_eol_type.
(CODING_CATEGORY_IDX_ISO_7_TIGHT,
CODING_CATEGORY_MASK_ISO_7_TIGHT): New macros.
(CODING_CATEGORY_MASK_ANY): Include
CODING_CATEGORY_MASK_ISO_7_TIGHT.
(coding_category_table, coding_category_name): Extern deleted.
(Vselect_safe_coding_system_function): Extern it.

(CODING_FINISH_XXX): New macros.
(CODING_MODE_XXX): New macros.
(struct coding_system): New member mode, category_idx,
heading_ascii.  Deleted members last_block, direction, selective,
carryover, carryover_size.
(CODING_MAY_REQUIRE_DECODING): New macro.
(CODING_CATEGORY_MASK_ISO_7BIT, CODING_CATEGORY_MASK_ISO_8BIT,
CODING_CATEGORY_MASK_ISO_SHIFT, CODING_CATEGORY_MASK_ISO): New
macros.
(Qraw_text): Extern it.

26 years ago(Faset): Allow setting a multibyte character in a
Kenichi Handa [Thu, 22 Jan 1998 01:26:45 +0000 (01:26 +0000)]
(Faset): Allow setting a multibyte character in a
multibyte string as far as it doesn't change the size_byte of the
string.

26 years ago(Fstart_process): Use raw-text instead of emacs-mule
Kenichi Handa [Thu, 22 Jan 1998 01:26:45 +0000 (01:26 +0000)]
(Fstart_process): Use raw-text instead of emacs-mule
if enable-multibyte-characters is nil.  Initialize members
decoding_carryover and encoding_carryover of PROC.
(create_process): Adjusted for the change of encode_coding.
(Fopen_network_stream): Initialize members decoding_carryover and
encoding_carryover of PROC.
(read_process_output): Adjusted for the change of decode_coding.
(send_process): Adjusted for the change of encode_coding.

26 years ago(struct Lisp_Process): New members decoding_carryover
Kenichi Handa [Thu, 22 Jan 1998 01:26:45 +0000 (01:26 +0000)]
(struct Lisp_Process): New members decoding_carryover
and encoding_carryover.

26 years ago(Finsert_file_contents): Even if
Kenichi Handa [Thu, 22 Jan 1998 01:26:45 +0000 (01:26 +0000)]
(Finsert_file_contents): Even if
enable-multibyte-characters is nil, we must check `coding:' tag
and `file-coding-system-alist' to handle eol-conversion.

(Finsert_file_contents): Adjusted for the change of
struct coding_system and function decode_coding.  For normail file
reading, use code_convert_region.
(Fwrite_region): Adjusted for the change of struct coding_system.
(e_write): Adjusted for the change of encode_coding.

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.