bpt/emacs.git
26 years ago(ENCODE_ISO_CHARACTER): Pay attention to
Kenichi Handa [Fri, 30 Jan 1998 11:05:41 +0000 (11:05 +0000)]
(ENCODE_ISO_CHARACTER): Pay attention to
CODING_FLAG_ISO_USE_ROMAN and CODING_FLAG_ISO_USE_OLDJIS.
(code_convert_region1): New function.
(Fdecode_coding_region): Call code_convert_region1.
(Fencode_coding_region): Likewise.
(code_convert_string1): New function.
(Fdecode_coding_string): Call code_convert_string1.
(Fencode_coding_string): Likewise.
/

26 years ago(Fsubstitute_command_keys): Declare length_byte out of
Kenichi Handa [Fri, 30 Jan 1998 11:05:41 +0000 (11:05 +0000)]
(Fsubstitute_command_keys): Declare length_byte out of
internal block.

26 years ago(easy-menu-add-item); The BEFORE argument works
Richard M. Stallman [Fri, 30 Jan 1998 02:15:13 +0000 (02:15 +0000)]
(easy-menu-add-item); The BEFORE argument works
now.  Done by letting `easy-menu-do-add-item' handle it.
(easy-menu-do-add-item): Take argument BEFORE instead of PREV.
Inserts directly in keymap, instead of calling `define-key-after'.
(easy-menu-create-menu): Don't reverse items as
`easy-menu-do-add-item' now puts things at the end of keymaps.

26 years ago(type-break-mode): New customize variable to automatically load the package.
Stephen Eglen [Thu, 29 Jan 1998 09:26:38 +0000 (09:26 +0000)]
(type-break-mode): New customize variable to automatically load the package.
Other variables customized.

26 years ago(find-tag-marker-ring-length): New variable.
Richard M. Stallman [Thu, 29 Jan 1998 09:10:09 +0000 (09:10 +0000)]
(find-tag-marker-ring-length): New variable.
(find-tag-marker-ring): New variable.
(tags-location-ring): New variable replacing tags-location-ring.
(tags-location-stack): Deleted.
(tags-table-format-hooks): Doc fix.
(initialize-new-tags-table): Init find-tag-marker-ring,
tags-location-ring.
(tags-reset-tags-tables): Doc fix.  Set tags-location-ring,
find-tag-marker-ring.
(find-tag-noselect): Doc fix.  Use tags-location-ring,
find-tag-marker-ring.
(find-tag, find-tag-other-window, find-tag-other-frame,
find-tag-regexp): Doc fix.
(pop-tag-mark): New function.
(esc-map): Bind pop-tag-mark.

26 years ago(debug-ignored-errors): Add some elements.
Richard M. Stallman [Thu, 29 Jan 1998 02:23:44 +0000 (02:23 +0000)]
(debug-ignored-errors): Add some elements.

26 years ago(report-emacs-bug-address):
Richard M. Stallman [Wed, 28 Jan 1998 21:02:35 +0000 (21:02 +0000)]
(report-emacs-bug-address):
Variable renamed from bug-gnu-emacs.  Use defcustom.
(report-emacs-bug-pretest-address): Use defcustom.

26 years agoUse ${UNAME_MACHINE} rather than i386 for cygwin32 and mingw32.
Ian Lance Taylor [Wed, 28 Jan 1998 18:01:29 +0000 (18:01 +0000)]
Use ${UNAME_MACHINE} rather than i386 for cygwin32 and mingw32.

26 years ago(titdic-convert): Set
Kenichi Handa [Wed, 28 Jan 1998 12:38:06 +0000 (12:38 +0000)]
(titdic-convert): Set
enable-multibyte-characters to t after inserting TIT file by
no-conversion.
(tit-process-body): Do not bind enable-multibyte-characters to
nil.

26 years ago(DECODE_SJIS_BIG5_CHARACTER): Don't have to increase
Kenichi Handa [Wed, 28 Jan 1998 12:37:25 +0000 (12:37 +0000)]
(DECODE_SJIS_BIG5_CHARACTER): Don't have to increase
coding->produced_char here.
(code_convert_region): Initialize LEN_BYTE correctly.

26 years ago(syms_of_data): Register multibyte-string-p as a Lisp
Kenichi Handa [Wed, 28 Jan 1998 12:37:25 +0000 (12:37 +0000)]
(syms_of_data): Register multibyte-string-p as a Lisp
function.

26 years ago(fast_string_match): Give re_search byte size of
Kenichi Handa [Wed, 28 Jan 1998 12:37:25 +0000 (12:37 +0000)]
(fast_string_match): Give re_search byte size of
STRING.
(trivial_regexp_p): Initialize LEN to byte size of REGEXP.
(search_buffer): Give re_search_2 STARTPOS, RANGE and STOP by
counting them by bytes.

26 years agoeasy-menu-define): Use ` and , read-macros
Richard M. Stallman [Tue, 27 Jan 1998 20:43:57 +0000 (20:43 +0000)]
easy-menu-define): Use ` and , read-macros
instead of (` and (,.  Implement :filter.  Doc fix.
(easy-menu-do-define): Call `easy-menu-create-menu' instead of
`easy-menu-create-keymaps'.
(easy-menu-create-keymaps): Replaced by `easy-menu-create-menu'.
(easy-menu-create-menu): New public function.  Replaces
`easy-menu-create-keymaps', but with large changes.
(easy-menu-button-prefix): New constant.
(easy-menu-do-add-item, easy-menu-make-symbol): New functions.
(easy-menu-update-button): Doc fix.
(easy-menu-change): New optional argument BEFORE.
Now just a call to `easy-menu-add-item'.
(easy-menu-add-item, easy-menu-item-present-p)
(easy-menu-remove-item): New public functions.
(easy-menu-get-map, easy-menu-is-button-p, easy-menu-have-button-p)
(easy-menu-real-binding, easy-menu-change-prefix, easy-menu-filter):
New functions.

26 years ago(file_name_as_directory): For an empty name, return "/".
Richard M. Stallman [Tue, 27 Jan 1998 20:07:30 +0000 (20:07 +0000)]
(file_name_as_directory): For an empty name, return "/".

26 years ago(Fcall_process): Test only args past args[4] for multibyteness.
Richard M. Stallman [Tue, 27 Jan 1998 20:06:51 +0000 (20:06 +0000)]
(Fcall_process): Test only args past args[4] for multibyteness.

26 years ago(getit, Cobol_paragraphs, Pascal_functions,
Richard M. Stallman [Tue, 27 Jan 1998 07:15:03 +0000 (07:15 +0000)]
(getit, Cobol_paragraphs, Pascal_functions,
Postscript_functions, prolog_pred, erlang_func, erlang_attribute):
Always make named tags.
(Fortran_functions): Grok BLOCK DATA.

26 years ago(mldrag-drag-vertical-line): Delete debugging `message'.
Richard M. Stallman [Tue, 27 Jan 1998 04:24:16 +0000 (04:24 +0000)]
(mldrag-drag-vertical-line): Delete debugging `message'.

26 years ago(message_dolog): Cast M to unsigned char * to access bytes.
Richard M. Stallman [Tue, 27 Jan 1998 04:22:43 +0000 (04:22 +0000)]
(message_dolog): Cast M to unsigned char * to access bytes.

26 years agoNew option --no-check.
Richard M. Stallman [Tue, 27 Jan 1998 04:17:53 +0000 (04:17 +0000)]
New option --no-check.

Don't do anything with cpp directory.

26 years ago(rmail): Reinsert the let-binding of enable-local-variables.
Richard M. Stallman [Tue, 27 Jan 1998 02:02:38 +0000 (02:02 +0000)]
(rmail): Reinsert the let-binding of enable-local-variables.

26 years ago(command_loop_1): Run post-command-hook before,
Richard M. Stallman [Tue, 27 Jan 1998 01:45:58 +0000 (01:45 +0000)]
(command_loop_1): Run post-command-hook before,
not after, clearing this-command-keys and updating last-command.

26 years agoInitial revision
Richard M. Stallman [Tue, 27 Jan 1998 00:46:32 +0000 (00:46 +0000)]
Initial revision

26 years agoCustomized.
Andreas Schwab [Mon, 26 Jan 1998 11:29:46 +0000 (11:29 +0000)]
Customized.

26 years ago(byte-optimize-form-code-walker): Fix previous change.
Richard M. Stallman [Mon, 26 Jan 1998 10:29:25 +0000 (10:29 +0000)]
(byte-optimize-form-code-walker): Fix previous change.

26 years agoCustomized.
Richard M. Stallman [Mon, 26 Jan 1998 10:28:01 +0000 (10:28 +0000)]
Customized.

(displaying-byte-compile-warnings):
To avoid error, use (forward-line -1), not previous-line.

26 years ago(byte-compile-inline-expand): Use string-as-unibyte, if it is defined.
Richard M. Stallman [Mon, 26 Jan 1998 09:48:21 +0000 (09:48 +0000)]
(byte-compile-inline-expand): Use string-as-unibyte, if it is defined.

26 years ago(compare_window_configurations): New function.
Richard M. Stallman [Mon, 26 Jan 1998 09:04:27 +0000 (09:04 +0000)]
(compare_window_configurations): New function.

26 years ago(internal_equal): Use compare_window_configurations.
Richard M. Stallman [Mon, 26 Jan 1998 08:47:06 +0000 (08:47 +0000)]
(internal_equal): Use compare_window_configurations.

26 years ago(standard_args): Add "-unibyte" aka "--unibyte".
Richard M. Stallman [Mon, 26 Jan 1998 03:19:54 +0000 (03:19 +0000)]
(standard_args): Add "-unibyte" aka "--unibyte".
(main): Handle --unibyte.

26 years ago(emacsbug): Customized.
Richard M. Stallman [Mon, 26 Jan 1998 03:14:34 +0000 (03:14 +0000)]
(emacsbug): Customized.
(report-emacs-bug-no-confirmation):
Renamed from report-emacs-bug-run-tersely.
(report-emacs-bug-no-explanations): New option.
(report-emacs-bug): Handle that option.

26 years ago(Funintern): Clear the symbol's obarray field.
Richard M. Stallman [Mon, 26 Jan 1998 03:11:22 +0000 (03:11 +0000)]
(Funintern): Clear the symbol's obarray field.

26 years ago(desktop-clear): Don't kill dead buffers.
Richard M. Stallman [Mon, 26 Jan 1998 03:09:01 +0000 (03:09 +0000)]
(desktop-clear): Don't kill dead buffers.

26 years ago(sh-case): Fix paren error.
Richard M. Stallman [Mon, 26 Jan 1998 02:33:48 +0000 (02:33 +0000)]
(sh-case): Fix paren error.

26 years ago(imenu-syntax-alist): New buffer-local variable.
Dave Love [Sun, 25 Jan 1998 23:06:37 +0000 (23:06 +0000)]
(imenu-syntax-alist): New buffer-local variable.
(imenu--generic-function): Use it.
(imenu--split-menu): Don't (setcdr nil) with, say, empty functions
list.

26 years ago(imenu-case-fold-search): New buffer-local variable.
Dave Love [Sun, 25 Jan 1998 22:55:08 +0000 (22:55 +0000)]
(imenu-case-fold-search): New buffer-local variable.

26 years agoComment change.
Richard M. Stallman [Sun, 25 Jan 1998 07:20:49 +0000 (07:20 +0000)]
Comment change.

26 years ago(archive-find-type): Accept d or s after digit, for lzh.
Richard M. Stallman [Sun, 25 Jan 1998 01:57:08 +0000 (01:57 +0000)]
(archive-find-type): Accept d or s after digit, for lzh.
(archive-rename-entry): Likewise.  Parse mode, uid and gid right.
Allow newline in header.
(archive-lzh-summarize): Fix paren error.  Use prname to set `files'.

26 years ago(back_comment): Move the find_defun_start call
Richard M. Stallman [Sun, 25 Jan 1998 01:55:51 +0000 (01:55 +0000)]
(back_comment): Move the find_defun_start call
out of the scan_sexps_forward call.
No need to call find_defun_start
if we found the defun start in the initial scan.

26 years ago(hscroll-global-mode): New customize variable to automatically load the
Stephen Eglen [Sat, 24 Jan 1998 16:13:08 +0000 (16:13 +0000)]
(hscroll-global-mode): New customize variable to automatically load the
package.

26 years agoCustomized.
Stephen Eglen [Sat, 24 Jan 1998 11:35:59 +0000 (11:35 +0000)]
Customized.

26 years ago(calendar-french-single-byteify): Function deleted.
Richard M. Stallman [Sat, 24 Jan 1998 02:47:47 +0000 (02:47 +0000)]
(calendar-french-single-byteify): Function deleted.
(calendar-goto-french-date): Don't call calendar-french-single-byteify.
Delete local var oldval.
(calendar-print-french-date): Don't bind enable-multibyte-characters.

26 years ago(menu-bar-file-menu): Add Recover Session menu item.
Richard M. Stallman [Sat, 24 Jan 1998 02:23:15 +0000 (02:23 +0000)]
(menu-bar-file-menu): Add Recover Session menu item.
(menu-bar-help-menu): Add Getting New Versions, Copying Conditions
and (Non)Warranty menu items.

26 years ago(lisp-font-lock-keywords-1): Correct defmethod addition.
Dave Love [Fri, 23 Jan 1998 16:50:56 +0000 (16:50 +0000)]
(lisp-font-lock-keywords-1): Correct defmethod addition.

26 years ago(main): Fix interwoven brace and cpp conditional nesting.
Andreas Schwab [Fri, 23 Jan 1998 11:06:49 +0000 (11:06 +0000)]
(main): Fix interwoven brace and cpp conditional nesting.

26 years agoDelete garbage line "int use_dialog_box".
Kenichi Handa [Fri, 23 Jan 1998 10:54:49 +0000 (10:54 +0000)]
Delete garbage line "int use_dialog_box".

26 years ago(msb--strip-dir): Use Emacs filename primitives, not regexps.
Richard M. Stallman [Fri, 23 Jan 1998 06:42:27 +0000 (06:42 +0000)]
(msb--strip-dir): Use Emacs filename primitives, not regexps.

26 years agoAdded speedbar support for RMAIL files.
Eric M. Ludlam [Fri, 23 Jan 1998 02:14:02 +0000 (02:14 +0000)]
Added speedbar support for RMAIL files.

26 years agoAdded gud-speedbar-buttons, and support for GDB buttons.
Eric M. Ludlam [Fri, 23 Jan 1998 02:04:20 +0000 (02:04 +0000)]
Added gud-speedbar-buttons, and support for GDB buttons.

26 years agoAdded speedbar support function `Info-speedbar-buttons',
Eric M. Ludlam [Thu, 22 Jan 1998 23:50:25 +0000 (23:50 +0000)]
Added speedbar support function `Info-speedbar-buttons',
`Info-speedbar-button', and `Info-speedbar-menu'

26 years ago(Fread-string): Doc fix.
Stephen Eglen [Thu, 22 Jan 1998 17:28:56 +0000 (17:28 +0000)]
(Fread-string): Doc fix.
(Fread-from-minibuffer): Doc fix.

26 years agoEncoded by new iso-2022-7bit.
Kenichi Handa [Thu, 22 Jan 1998 10:58:45 +0000 (10:58 +0000)]
Encoded by new iso-2022-7bit.

26 years ago(vc-annotate-compcar): Iterate instead of recursing.
Richard M. Stallman [Thu, 22 Jan 1998 09:04:36 +0000 (09:04 +0000)]
(vc-annotate-compcar): Iterate instead of recursing.
(vc-annotate-car-last-cons, vc-annotate-time-span):
Rename arg assoc-list to a-list.

(vc-annotate-display): All support for XEmacs extents removed.
Functions `set-face-*' are called only when a face is created.

26 years ago(SYSTEM_MALLOC): Defined.
Richard M. Stallman [Thu, 22 Jan 1998 04:37:13 +0000 (04:37 +0000)]
(SYSTEM_MALLOC): Defined.

26 years ago(define-compiler-macro): Handle empty arglist.
Richard M. Stallman [Thu, 22 Jan 1998 02:26:48 +0000 (02:26 +0000)]
(define-compiler-macro): Handle empty arglist.

26 years ago(byte-optimize-form-code-walker):
Richard M. Stallman [Thu, 22 Jan 1998 02:23:21 +0000 (02:23 +0000)]
(byte-optimize-form-code-walker):
If compiler-macroexpand is defined, use it.

26 years ago(Finsert_file_contents): Fix previous change.
Kenichi Handa [Thu, 22 Jan 1998 02:15:35 +0000 (02:15 +0000)]
(Finsert_file_contents): Fix previous change.

26 years agoExclude describe-indian-environment-map
Kenichi Handa [Thu, 22 Jan 1998 01:48:25 +0000 (01:48 +0000)]
Exclude describe-indian-environment-map
and setup-indian-environment-map for args of call to
set-language-info-alist.  Adjusted for the change of
make-coding-system.  Register coding-priority key in
language-info-alist.

26 years agoRemove setting up of
Kenichi Handa [Thu, 22 Jan 1998 01:48:25 +0000 (01:48 +0000)]
Remove setting up of
describe-chinese-environment-map and
setup-chinese-environment-map.  Exclude them in args of calls to
set-language-info-alist.  Adjusted for the change of
make-coding-system.  Register coding-priority key in
language-info-alist.
(iso-2022-cn-ext): New coding system.

26 years agoRemove setting up of
Kenichi Handa [Thu, 22 Jan 1998 01:48:25 +0000 (01:48 +0000)]
Remove setting up of
describe-cyrillic-environment-map and
setup-cyrillic-environment-map.  Exclude them in args of calls to
set-language-info-alist.  Adjusted for the change of
make-coding-system.  Register coding-priority key in
language-info-alist.

26 years agoRegister coding-priority key in
Kenichi Handa [Thu, 22 Jan 1998 01:48:25 +0000 (01:48 +0000)]
Register coding-priority key in
language-info-alist.

26 years agoRemove setting up of
Kenichi Handa [Thu, 22 Jan 1998 01:48:25 +0000 (01:48 +0000)]
Remove setting up of
describe-european-environment-map and
setup-european-environment-map.  Exclude them in args of calls to
set-language-info-alist.  Adjusted for the change of
make-coding-system.  Register coding-priority key in
language-info-alist.  Add "German" language env.
(setup-8-bit-environment): Delete CODING-SYSTEM arg.
(iso-latin-1): Make it compatible with MIME-charset "iso-8859-1"
(compound-text): New coding system.  `ctext' is now alias of it.
(setup-german-environment): New function.

26 years agoAdjusted for the change of
Kenichi Handa [Thu, 22 Jan 1998 01:47:27 +0000 (01:47 +0000)]
Adjusted for the change of
make-coding-system and setup-8-bit-environment.
(setup-greek-environment): For Greek lang. env., change default
input method to "greek-postfix".

26 years agoAdjusted for the change of
Kenichi Handa [Thu, 22 Jan 1998 01:47:27 +0000 (01:47 +0000)]
Adjusted for the change of
make-coding-system and setup-8-bit-environment.

26 years agoRemove setting up of
Kenichi Handa [Thu, 22 Jan 1998 01:47:27 +0000 (01:47 +0000)]
Remove setting up of
describe-indian-environment-map and setup-indian-environment-map.

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,