]> code.delx.au - gnu-emacs/log
gnu-emacs
24 years ago(encode_terminal_code): Set coding->src_multibyte properly.
Kenichi Handa [Tue, 23 May 2000 01:33:40 +0000 (01:33 +0000)]
(encode_terminal_code): Set coding->src_multibyte properly.

24 years ago*** empty log message ***
Kenichi Handa [Tue, 23 May 2000 01:33:11 +0000 (01:33 +0000)]
*** empty log message ***

24 years agoFix previous change (typo).
Kenichi Handa [Tue, 23 May 2000 00:47:54 +0000 (00:47 +0000)]
Fix previous change (typo).

24 years agoFix comment for find_charset_in_text.
Kenichi Handa [Tue, 23 May 2000 00:46:13 +0000 (00:46 +0000)]
Fix comment for find_charset_in_text.

24 years ago(encode_eol): Fix a bug of DOS style EOL encoding.
Kenichi Handa [Tue, 23 May 2000 00:17:27 +0000 (00:17 +0000)]
(encode_eol): Fix a bug of DOS style EOL encoding.

24 years ago*** empty log message ***
Kenichi Handa [Tue, 23 May 2000 00:15:39 +0000 (00:15 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Dave Love [Mon, 22 May 2000 19:53:14 +0000 (19:53 +0000)]
*** empty log message ***

24 years ago(feature-symbols, file-provides, file-requires): Use mapc.
Dave Love [Mon, 22 May 2000 19:35:34 +0000 (19:35 +0000)]
(feature-symbols, file-provides, file-requires): Use mapc.
(feature-file): Avoid calling symbol-name.  Doc fix.
(file-set-intersect, file-dependents): Use dolist, not mapcar.
(loadhist-hook-functions): Add mouse-position-function.
(unload-feature): Change uses of mapcar.

24 years ago(parse-colon-path): Doc fix.
Dave Love [Mon, 22 May 2000 19:29:04 +0000 (19:29 +0000)]
(parse-colon-path): Doc fix.
(auto-mode-alist, interpreter-mode-alist): Purecopy the cars.
(set-auto-mode): Use mapc.

24 years ago(PC-look-for-include-file): Use :alnum: character class.
Dave Love [Mon, 22 May 2000 19:14:50 +0000 (19:14 +0000)]
(PC-look-for-include-file): Use :alnum: character class.
(partial-completion-mode): Add autoload cookie.

24 years agoFix boilerplate comments.
Dave Love [Mon, 22 May 2000 19:00:13 +0000 (19:00 +0000)]
Fix boilerplate comments.

24 years agoFix last change.
Dave Love [Mon, 22 May 2000 18:19:55 +0000 (18:19 +0000)]
Fix last change.

24 years ago(Info-fontify-node): fixed the call to add-text-properties
Sam Steingold [Mon, 22 May 2000 18:15:56 +0000 (18:15 +0000)]
(Info-fontify-node): fixed the call to add-text-properties

24 years agoImenu addition
Dave Love [Mon, 22 May 2000 18:15:33 +0000 (18:15 +0000)]
Imenu addition

24 years agoSaveplace
Dave Love [Mon, 22 May 2000 18:14:08 +0000 (18:14 +0000)]
Saveplace

24 years agoRemove debug-ignored-errors set in other files.
Dave Love [Mon, 22 May 2000 18:09:30 +0000 (18:09 +0000)]
Remove debug-ignored-errors set in other files.

24 years agoAdd to debug-ignored-errors.
Dave Love [Mon, 22 May 2000 18:03:36 +0000 (18:03 +0000)]
Add to debug-ignored-errors.
(visit-tags-table-buffer): Clear out buffers holding old tables when
making a new list.
(etags-recognize-tags-table, tags-recognize-empty-tags-table): Use mapc.
(tags-with-face): Use make-symbol, not gensym.

24 years agoDoc fixes. Add to debug-ignored-errors. Don't quote keywords.
Dave Love [Mon, 22 May 2000 17:53:15 +0000 (17:53 +0000)]
Doc fixes.  Add to debug-ignored-errors.  Don't quote keywords.
(cmpl-string-case-type): Use character classes.

24 years agoAdd to debug-ignored-errors.
Dave Love [Mon, 22 May 2000 17:41:53 +0000 (17:41 +0000)]
Add to debug-ignored-errors.

24 years agoAdd debug-ignored-errors.
Dave Love [Mon, 22 May 2000 17:30:42 +0000 (17:30 +0000)]
Add debug-ignored-errors.
(dabbrev-completion): Use mapc.

24 years ago*** empty log message ***
Gerd Moellmann [Mon, 22 May 2000 11:30:12 +0000 (11:30 +0000)]
*** empty log message ***

24 years ago(From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
Eli Zaretskii [Mon, 22 May 2000 07:01:17 +0000 (07:01 +0000)]
(From Francis J. Wright <F.J.Wright@Maths.QMW.ac.uk)
(woman-mapcan, woman-parse-man.conf)
(woman-toggle-use-extended-font, woman-toggle-use-symbol-font)
(woman-reset-emulation): New functions.
(woman-parse-colon-path): Call woman-mapcan.  Recognize Cygwin
path syntax better.
(woman-man.conf-path, woman-use-own-frame): New defcustoms.
(woman-manpath): Call woman-parse-man.conf.
(woman-emulation): New defcustom, defaults to nroff.
(woman-font-support): New defconst.
(woman-select-symbol-fonts): New function.
(woman-use-symbol-font): New defcustom.
(woman-menu): Add new menu items: "Colored/BW", "Advanced",
"Emulation".
Many functions: Doc fix.

24 years ago(quail-simple-translation-keymap): Map
Kenichi Handa [Mon, 22 May 2000 04:40:49 +0000 (04:40 +0000)]
(quail-simple-translation-keymap): Map
128..255 to quail-self-insert-command.
(quail-keyboard-layout-alist): Add definition for "pc102-de".

24 years ago*** empty log message ***
Kenichi Handa [Mon, 22 May 2000 04:40:00 +0000 (04:40 +0000)]
*** empty log message ***

24 years ago(help-manyarg-func-alist): Typo.
Stefan Monnier [Mon, 22 May 2000 04:31:04 +0000 (04:31 +0000)]
(help-manyarg-func-alist): Typo.

24 years agoRewritten to take advantage of shy-groups and
Stefan Monnier [Mon, 22 May 2000 04:29:52 +0000 (04:29 +0000)]
Rewritten to take advantage of shy-groups and
intervals which makes it heaps simpler.

24 years ago(read_char): Allow character codes 128..255 to be
Kenichi Handa [Mon, 22 May 2000 04:26:47 +0000 (04:26 +0000)]
(read_char): Allow character codes 128..255 to be
handled by input-method-function.

24 years ago(comment-region-internal): Go back to BEG after quoting
Stefan Monnier [Mon, 22 May 2000 04:24:01 +0000 (04:24 +0000)]
(comment-region-internal): Go back to BEG after quoting
the nested comment markers.

24 years ago(adjust_markers_for_replace): Fix previous change.
Kenichi Handa [Mon, 22 May 2000 00:19:43 +0000 (00:19 +0000)]
(adjust_markers_for_replace): Fix previous change.
(adjust_after_replace): If PREV_TEXT is nil, call
adjust_markers_for_insert, not adjust_markers_for_replace.

24 years ago*** empty log message ***
Kenichi Handa [Mon, 22 May 2000 00:19:18 +0000 (00:19 +0000)]
*** empty log message ***

24 years ago(remove-hook): Don't turn the hook's value into a list.
Stefan Monnier [Sun, 21 May 2000 23:24:18 +0000 (23:24 +0000)]
(remove-hook): Don't turn the hook's value into a list.

24 years ago(edmacro-parse-keys): Return vector if any elements are invalid
Dave Love [Sun, 21 May 2000 19:51:14 +0000 (19:51 +0000)]
(edmacro-parse-keys): Return vector if any elements are invalid
characters.

24 years ago(detect-coding-with-priority): Use mapc. Remove redundant lambda.
Dave Love [Sun, 21 May 2000 17:48:48 +0000 (17:48 +0000)]
(detect-coding-with-priority): Use mapc.  Remove redundant lambda.

24 years ago(list-non-iso-charset-chars, describe-fontset): Remove redundant
Dave Love [Sun, 21 May 2000 17:41:51 +0000 (17:41 +0000)]
(list-non-iso-charset-chars, describe-fontset): Remove redundant
lambda.

24 years ago(brief-mode): New alias.
Dave Love [Sun, 21 May 2000 17:33:05 +0000 (17:33 +0000)]
(brief-mode): New alias.

24 years ago(ring-elements): New function.
Dave Love [Sun, 21 May 2000 17:29:50 +0000 (17:29 +0000)]
(ring-elements): New function.

24 years ago(easy-menu-create-menu, easy-menu-do-add-item): Use keywordp.
Dave Love [Sun, 21 May 2000 17:26:47 +0000 (17:26 +0000)]
(easy-menu-create-menu, easy-menu-do-add-item): Use keywordp.

24 years agoUpdate side-effect free function lists.
Dave Love [Sun, 21 May 2000 17:24:19 +0000 (17:24 +0000)]
Update side-effect free function lists.

24 years agoChange header line.
Dave Love [Sun, 21 May 2000 17:21:24 +0000 (17:21 +0000)]
Change header line.

24 years agoDoc and error message fixes.
Dave Love [Sun, 21 May 2000 17:04:47 +0000 (17:04 +0000)]
Doc and error message fixes.
(replace-highlight): Use facep, not internal-find-face.

24 years ago(facemenu-set-face): Fix interactive prompt.
Dave Love [Sun, 21 May 2000 16:56:47 +0000 (16:56 +0000)]
(facemenu-set-face): Fix interactive prompt.

24 years agofix @sc use
Dave Love [Sun, 21 May 2000 11:42:50 +0000 (11:42 +0000)]
fix @sc use

24 years ago(ERROR_MAX): Increase to 160.
Dave Love [Sun, 21 May 2000 11:07:47 +0000 (11:07 +0000)]
(ERROR_MAX): Increase to 160.

24 years agoInclude config.h, not ../src/config.h.
Dave Love [Sun, 21 May 2000 11:02:50 +0000 (11:02 +0000)]
Include config.h, not ../src/config.h.
(Errmsg): Bump length.

24 years ago*** empty log message ***
Stefan Monnier [Sun, 21 May 2000 02:32:09 +0000 (02:32 +0000)]
*** empty log message ***

24 years ago(ccl-compile-map-multiple): Don't quote lambda.
Stefan Monnier [Sun, 21 May 2000 02:25:59 +0000 (02:25 +0000)]
(ccl-compile-map-multiple): Don't quote lambda.

24 years ago(log-edit-done): Cleanup trailing empty lines.
Stefan Monnier [Sun, 21 May 2000 02:14:07 +0000 (02:14 +0000)]
(log-edit-done): Cleanup trailing empty lines.
(log-edit-insert-changelog): Drop `:' as well.

24 years agoFix file description.
Stefan Monnier [Sun, 21 May 2000 02:12:34 +0000 (02:12 +0000)]
Fix file description.
(log-view-mode-map): Unsatisfying fix for when cvs-mode-map is not
available.
(log-view-font-lock-keywords): Only use cvs-filename-face if present.
(log-view-current-file): Only use cvs-pcl-cvs-dirchange-re if present.

24 years agoUpdate copyright and commentary.
Stefan Monnier [Sun, 21 May 2000 01:44:08 +0000 (01:44 +0000)]
Update copyright and commentary.
(easy-mmode-define-toggle): Deprecate the use of *-(on|off)-hook.
Print a status message if the toggle is called interactively.
(define-minor-mode): Allow INIT-VALUE to be (global . INIT-VALUE)
for global minor modes and use `defcustom' for them.
Use add-minor-mode.
(easy-mmode-define-derived-mode): Remove.
(define-derived-mode): Fancier default docstring.
(easy-mmode-define-navigation): Signal an error rather than (ding).

24 years ago(comment-styles): New `box-multi'.
Stefan Monnier [Sun, 21 May 2000 00:27:53 +0000 (00:27 +0000)]
(comment-styles): New `box-multi'.
(comment-normalize-vars): Better default for comment-continue to
avoid whitespace-only continuations.
(comment-search-forward): Always move even in the no-syntax case.
(comment-padright): Only obey N if it's only obeyed for padleft.
(comment-make-extra-lines): Better handling of empty continuations.
Use `=' for the filler if comment-start has only one character.
(uncomment-region): Try handling the special `=' filler.
(comment-region): Allow LINES even if MULTI is nil.
(comment-box): Choose box style based on comment-style.

24 years ago*** empty log message ***
Gerd Moellmann [Sat, 20 May 2000 15:55:53 +0000 (15:55 +0000)]
*** empty log message ***

24 years ago(toplevel) [UNIX98_PTYS]: Include stdlib.h.
Gerd Moellmann [Sat, 20 May 2000 15:54:05 +0000 (15:54 +0000)]
(toplevel) [UNIX98_PTYS]: Include stdlib.h.

24 years ago(HAVE_GRANDPT, HAVE_GETPT): New defines.
Gerd Moellmann [Sat, 20 May 2000 15:51:46 +0000 (15:51 +0000)]
(HAVE_GRANDPT, HAVE_GETPT): New defines.

24 years ago(setup_pty): Treat case that UNIX98_PTYS is defined
Gerd Moellmann [Sat, 20 May 2000 15:51:35 +0000 (15:51 +0000)]
(setup_pty): Treat case that UNIX98_PTYS is defined
like SYSV_PTYS.

24 years ago(UNIX98_PTYS) [HAVE_GRANDPT]: Define.
Gerd Moellmann [Sat, 20 May 2000 15:51:13 +0000 (15:51 +0000)]
(UNIX98_PTYS) [HAVE_GRANDPT]: Define.
(PTY_ITERATION, PTY_NAME_SPRINTF, PTY_OPEN, PTY_TTY_NAME_SPRINTF)
[HAVE_GRANDPT]: Define.
(C_SWITCH_SYSTEM): Add -D_XOPEN_SOURCE.

24 years agoCheck for grandpt and getpt.
Gerd Moellmann [Sat, 20 May 2000 15:50:35 +0000 (15:50 +0000)]
Check for grandpt and getpt.

24 years ago(ccl-compile-write-string): Make STR unibyte.
Kenichi Handa [Sat, 20 May 2000 02:23:35 +0000 (02:23 +0000)]
(ccl-compile-write-string): Make STR unibyte.
(ccl-compile-write-repeat): If ARG is string, make it unibyte.

24 years ago*** empty log message ***
Kenichi Handa [Sat, 20 May 2000 02:23:03 +0000 (02:23 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Kenichi Handa [Sat, 20 May 2000 00:23:52 +0000 (00:23 +0000)]
*** empty log message ***

24 years ago(find-multibyte-characters): Never
Kenichi Handa [Sat, 20 May 2000 00:11:06 +0000 (00:11 +0000)]
(find-multibyte-characters): Never
exclude charsets eight-bit-control and eight-bit-graphic.

24 years ago(list-character-sets-1): Handle
Kenichi Handa [Sat, 20 May 2000 00:10:32 +0000 (00:10 +0000)]
(list-character-sets-1): Handle
charsets eight-bit-control and eight-bit-graphic.
(list-iso-charset-chars): Likewise.
(list-block-of-chars): If CHARSET is not chat-table, insert 8-bit
charactes as is.  Use indent-to to align characters.

24 years ago(rmail-decode-quoted-printable): Use delete-region
Kenichi Handa [Sat, 20 May 2000 00:09:21 +0000 (00:09 +0000)]
(rmail-decode-quoted-printable): Use delete-region
and insert, not subst-char-in-region.

24 years ago(selection_data_to_lisp_data): Setup members
Kenichi Handa [Sat, 20 May 2000 00:08:10 +0000 (00:08 +0000)]
(selection_data_to_lisp_data): Setup members
src_multibyte and dst_multibyte of coding.  Adjusted for the
change for find_charset_in_str.
(lisp_data_to_selection_data): Likewise.

24 years ago(get_next_display_element): Handle 8-bit characters
Kenichi Handa [Sat, 20 May 2000 00:07:43 +0000 (00:07 +0000)]
(get_next_display_element): Handle 8-bit characters
correctly.
(next_element_from_display_vector): Use CHAR_BYTES instead of
CHAR_LEN.
(disp_char_vector): Use SPLIT_CHAR instead of
SPLIT_NON_ASCII_CHAR.

24 years ago(Fw32_set_clipboard_data): Setup members
Kenichi Handa [Sat, 20 May 2000 00:07:08 +0000 (00:07 +0000)]
(Fw32_set_clipboard_data): Setup members
src_multibyte and dst_multibyte of coding.  Adjusted for the
change for find_charset_in_str.
(Fw32_get_clipboard_data): Likewise.

24 years ago(w32_to_x_font): Setup members src_multibyte and
Kenichi Handa [Sat, 20 May 2000 00:06:41 +0000 (00:06 +0000)]
(w32_to_x_font): Setup members src_multibyte and
dst_multibyte of coding.
(x_to_w32_font): Likewise.

24 years ago(Fw16_set_clipboard_data): Setup members
Kenichi Handa [Sat, 20 May 2000 00:05:51 +0000 (00:05 +0000)]
(Fw16_set_clipboard_data): Setup members
src_multibyte and dst_multibyte of coding.  Adjusted for the
change for find_charset_in_str.
(Fw16_get_clipboard_data): Likewise.

24 years ago(produce_special_glyphs): Use CHAR_BYTES instead of
Kenichi Handa [Sat, 20 May 2000 00:05:26 +0000 (00:05 +0000)]
(produce_special_glyphs): Use CHAR_BYTES instead of
CHAR_LEN.

24 years ago(wordify): Use FETCH_STRING_CHAR_ADVANCE
Kenichi Handa [Sat, 20 May 2000 00:05:02 +0000 (00:05 +0000)]
(wordify): Use FETCH_STRING_CHAR_ADVANCE
unconditionally.
(Freplace_match): Use FETCH_STRING_CHAR_ADVANCE and
FETCH_STRING_CHAR_ADVANCE_NO_CHECK appropriately.

24 years ago(Fstart_process): GCPRO current_dir before calling
Kenichi Handa [Sat, 20 May 2000 00:04:37 +0000 (00:04 +0000)]
(Fstart_process): GCPRO current_dir before calling
Ffind_operation_coding_system.  Encode arguments here.
(create_process): Don't encode arguments here.  Setup
src_multibyte and dst_multibyte members of struct coding.
(read_process_output): Setup src_multibyte and dst_multibyte
members of struct coding.  If the output is to multibyte buffer,
always decode the output of the process.  Adjust the
representation of 8-bit characters to the multibyteness of the
output.
(send_process): Setup coding->src_multibyte according to the
multibyteness of the source.

24 years ago(print_object): Use FETCH_STRING_CHAR_ADVANCE
Kenichi Handa [Sat, 20 May 2000 00:04:05 +0000 (00:04 +0000)]
(print_object): Use FETCH_STRING_CHAR_ADVANCE
unconditionally.

24 years ago*** empty log message ***
Stefan Monnier [Sat, 20 May 2000 00:03:54 +0000 (00:03 +0000)]
*** empty log message ***

24 years ago(read1): On reading multibyte string, be sure to make
Kenichi Handa [Sat, 20 May 2000 00:03:42 +0000 (00:03 +0000)]
(read1): On reading multibyte string, be sure to make
all 8-bit chararacters in valid multibyte form.
(readchar): Use FETCH_STRING_CHAR_ADVANCE unconditionally.

24 years ago(Fsingle_key_description): Use SPLIT_CHAR instead of
Kenichi Handa [Sat, 20 May 2000 00:03:16 +0000 (00:03 +0000)]
(Fsingle_key_description): Use SPLIT_CHAR instead of
SPLIT_NON_ASCII_CHAR.
(describe_vector): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR.
(Faccessible_keymaps): Use FETCH_STRING_CHAR_ADVANCE
unconditionally.
(Fkey_description): Likewise.

24 years ago(adjust_markers_for_record_delete): Deleted.
Kenichi Handa [Sat, 20 May 2000 00:01:34 +0000 (00:01 +0000)]
(adjust_markers_for_record_delete): Deleted.
(adjust_markers_for_insert): Argument changed.  Caller changed.
(adjust_markers_for_replace): Likewise.
(ADJUST_CHAR_POS, combine_bytes, byte_combining_error,
CHECK_BYTE_COMBINING_FOR_INSERT): Deleted.
(copy_text): Delete unused local varialbe c_save.  For converting
to multibyte, be sure to make all 8-bit characters in valid
multibyte form.
(count_size_as_multibyte): Handle 8-bit characters correctly.
(insert_1_both, insert_from_string_1, insert_from_buffer_1,
adjust_after_replace, replace_range, del_range_2)
[BYTE_COMBINING_DEBUG]: Abort if byte combining occurs.
(insert_1_both, insert_from_string_1, insert_from_buffer_1,
adjust_after_replace, replace_range, del_range_2) Delete codes for
handling byte combining.
(adjust_before_replace): Deleted.

24 years ago(fontset_ref): Use SPLIT_CHAR instead of
Kenichi Handa [Sat, 20 May 2000 00:00:49 +0000 (00:00 +0000)]
(fontset_ref): Use SPLIT_CHAR instead of
SPLIT_NON_ASCII_CHAR.
(fontset_ref_via_base, fontset_set): Likewise

24 years ago(concat): Handle 8-bit characters correctly.
Kenichi Handa [Fri, 19 May 2000 23:59:50 +0000 (23:59 +0000)]
(concat): Handle 8-bit characters correctly.
(Fstring_as_unibyte): Be sure to make all 8-bit characters in
unibyte in the result.
(Fstring_as_multibyte): Be sure to make all 8-bit characters in
valid multibyte form in the result.
(map_char_table): Use MAKE_CHAR instead of MAKE_NON_ASCII_CHAR.
(Fbase64_encode_region, Fbase64_encode_string): If base64_encode_1
return -1, signal an error.
(base64_encode_1): New arg MULTIBYTE.  Get each character by
CHAR_STRING_AND_LENGTH if MULTIBYTE is nonzero.  If a multibyte
character is found, return -1.
(Fbase64_decode_region): Delete codes for handling byte-combining.
Treat each decoded byte as a unibyte character.
(Fbase64_decode_string): Return unibyte string.
(Fcompare_strings, concat, string_byte_to_char): Use
FETCH_STRING_CHAR_ADVANCE_NO_CHECK instead off
FETCH_STRING_CHAR_ADVANCE.
(Fstring_lessp): Use FETCH_STRING_CHAR_ADVANCE unconditionally.
(mapcar1): If SEQ is string, always use FETCH_STRING_CHAR_ADVANCE.

24 years ago(Finsert_file_contents): Setup src_multibyte and
Kenichi Handa [Fri, 19 May 2000 23:59:27 +0000 (23:59 +0000)]
(Finsert_file_contents): Setup src_multibyte and
dst_multibyte members of coding.  On handling REPLACE on unibyte
buffer, convert the result of decode_coding to unibyte.  On
inserting into a mutibyte buffer, always call code_convert_region.
(e_write): Setup cdoing->src_multibyte according to the
multibyteness of the source (buffer or string).

24 years ago(Fformat): Be sure to convert 8-bit characters to
Kenichi Handa [Fri, 19 May 2000 23:59:04 +0000 (23:59 +0000)]
(Fformat): Be sure to convert 8-bit characters to
multibyte form.
(Ftranspose_region) [BYTE_COMBINING_DEBUG]: Abort if byte
combining occurs.
(Ftranspose_region): Delete codes for handling byte combining.

24 years ago(Faref): Use SPLIT_CHAR instead of SPLIT_NON_ASCII_CHAR.
Kenichi Handa [Fri, 19 May 2000 23:58:37 +0000 (23:58 +0000)]
(Faref): Use SPLIT_CHAR instead of SPLIT_NON_ASCII_CHAR.
(Faset): Likewise.

24 years ago(enum iso_code_class_type): Member ISO_control_code is
Kenichi Handa [Fri, 19 May 2000 23:56:15 +0000 (23:56 +0000)]
(enum iso_code_class_type): Member ISO_control_code is
devided into ISO_control_0 and ISO_control_1.
(struct coding_system): New members src_multibyte, dst_multibyte,
errors, and result.  Delete member fake_multibyte.
(CODING_REQUIRE_DECODING): Return 1 if coding->dst_multibyte is
nonzero.
(CODING_REQUIRE_ENCODING): Return 1 if coding->src_multibyte is
nonzero.

24 years ago(ONE_MORE_BYTE, TWO_MORE_BYTES): Set coding->resutl to
Kenichi Handa [Fri, 19 May 2000 23:54:56 +0000 (23:54 +0000)]
(ONE_MORE_BYTE, TWO_MORE_BYTES): Set coding->resutl to
CODING_FINISH_INSUFFICIENT_SRC if there's not enough source.
(ONE_MORE_CHAR, EMIT_CHAR, EMIT_ONE_BYTE, EMIT_TWO_BYTE,
EMIT_BYTES): New macros.
(THREE_MORE_BYTES, DECODE_CHARACTER_ASCII,
DECODE_CHARACTER_DIMENSION1, DECODE_CHARACTER_DIMENSION2): These
macros deleted.
(CHECK_CODE_RANGE_A0_FF): This macro deleted.
(detect_coding_emacs_mule): Use UNIBYTE_STR_AS_MULTIBYTE_P to
check the validity of multibyte sequence.
(decode_coding_emacs_mule): New function.
(encode_coding_emacs_mule): New macro.
(detect_coding_iso2022): Use ONE_MORE_BYTE to fetch a byte from
the source.
(DECODE_ISO_CHARACTER): Just return a character code.
(DECODE_COMPOSITION_START): Set coding->result instead of result.
(decode_coding_iso2022, decode_coding_sjis_big5, decode_eol): Use
EMIT_CHAR to produced decoded characters.  Exit the loop only by
macros ONE_MORE_BYTE or EMIT_CHAR.  Don't handle the case of last
block here.
(ENCODE_ISO_CHARACTER): Don't translate character here.  Produce
only position codes for an invalid character.
(encode_designation_at_bol): Return new destination pointer.  5th
arg DSTP is changed to DST.
(encode_coding_iso2022, decode_coding_sjis_big5): Get a character
from the source by ONE_MORE_CHAR.  Don't handle the case of last
block here.
(DECODE_SJIS_BIG5_CHARACTER, ENCODE_SJIS_BIG5_CHARACTER): These
macros deleted.
(detect_coding_sjis, detect_coding_big5, detect_coding_utf_8,
detect_coding_utf_16, detect_coding_ccl): Use ONE_MORE_BYTE and
TWO_MORE_BYTES to fetch a byte from the source.
(encode_eol): Pay attention to coding->src_multibyte.
(detect_coding, detect_eol): Preserve members src_multibyte and
dst_multibyte.
(DECODING_BUFFER_MAG): Return 2 even for coding_type_raw_text.
(encoding_buffer_size): Set magnification to 3 for all coding
systems that require encoding.
(ccl_coding_driver): For decoding, be sure that the result is
valid multibyte sequence.
(decode_coding): Initialize coding->errors and coding->result.
For emacs-mule, call decode_coding_emacs_mule.  For no-conversion
and raw-text, always call decode_eol.  Handle the case of last
block here.  If not coding->dst_multibyte, convert the resulting
sequence to unibyte.
(encode_coding): Initialize coding->errors and coding->result.
For emacs-mule, call encode_coding_emacs_mule.  For no-conversion
and raw-text, always call encode_eol.  Handle the case of last
block here.
(shrink_decoding_region, shrink_encoding_region): Detect cases
that we can't skip data more rigidly.
(code_convert_region): Setup src_multibyte and dst_multibyte
members of coding.  For decoding, if the buffer is multibyte,
convert the source sequence to unibyte in advance.  For encoding,
if the buffer is multibyte, convert the resulting sequence to
multibyte afterward.
(run_pre_post_conversion_on_str): New function.
(code_convert_string): Deleted and divided into the following two.
(decode_coding_string, encode_coding_string): New functions.
(code_convert_string1, code_convert_string_norecord): Call one of
above.
(Fdecode_sjis_char, Fdecode_big5_char): Use MAKE_CHAR instead of
MAKE_NON_ASCII_CHAR.
(Fset_terminal_coding_system_internal,
Fset_safe_terminal_coding_system_internal): Setup src_multibyte
and dst_multibyte members.
(init_coding_once): Initialize iso_code_class with new enum
ISO_control_0 and ISO_control_1.

24 years ago(LEADING_CODE_8_BIT_CONTROL, CHARSET_8_BIT_CONTROL,
Kenichi Handa [Fri, 19 May 2000 23:54:05 +0000 (23:54 +0000)]
(LEADING_CODE_8_BIT_CONTROL, CHARSET_8_BIT_CONTROL,
CHARSET_8_BIT_GRAPHIC): New macros.
(SINGLE_BYTE_CHAR_P): Make it faster by using casting.
(CHARSET_ISO_GRAPHIC_PLANE): Use XINT instead of XFASTINT.
(CHARSET_REVERSE_CHARSET): Likewise.
(CHARSET_VALID_P): Handle new charsets; eight-bit-control and
eight-bit-graphic.
(BYTES_BY_CHAR_HEAD, WIDTH_BY_CHAR_HEAD): Optimize for ASCII.
(CHAR_CHARSET, MAKE_CHAR, SPLIT_CHAR, CHAR_BYTES): Likewise.
(PARSE_MULTIBYTE_SEQ) [BYTE_COMBINING_DEBUG]: Abort if we
encounter an invalid multibyte sequence.
(PARSE_MULTIBYTE_SEQ) [not BYTE_COMBINING_DEBUG]: Assume multibyte
sequence is always valid.
(MAKE_NON_ASCII_CHAR, SPLIT_NON_ASCII_CHAR): These macros Deleted.
(UNIBYTE_STR_AS_MULTIBYTE_P, MULTIBYTE_STR_AS_UNIBYTE_P): New
macros.
(CHAR_STRING): For 8-bit characters, call char_to_string.
(INC_POS) [not BYTE_COMBINING_DEBUG]: Faster version.  Assume
multibyte sequence is always valid.
(BUF_INC_POS) [not BYTE_COMBINING_DEBUG]: Likewise.
(parse_str_as_multibyte, str_as_multibyte, str_to_multibyte,
str_as_unibyte): Extern them.
(BCOPY_SHORT): Fix a bug.
(CHAR_LEN): This macro deleted.  Callers changed to use
CHAR_BYTES.
(FETCH_STRING_CHAR_ADVANCE): Check multibyteness of STRING.
(FETCH_STRING_CHAR_ADVANCE_NO_CHECK): New macro.
(FETCH_CHAR_ADVANCE): Check multibyteness of the current buffer.

24 years ago(Qeight_bit_control, Qeight_bit_graphic): New
Kenichi Handa [Fri, 19 May 2000 23:52:27 +0000 (23:52 +0000)]
(Qeight_bit_control, Qeight_bit_graphic): New
variables.
(SPLIT_CHARACTER_SEQ): This macro deleted.
(SPLIT_MULTIBYTE_SEQ): Assume that multibyte sequence at STR is
valid.
(CHAR_COMPONENTS_VALID_P): Handle new charsets; eight-bit-control
and eight-bit-graphic.
(char_to_string): Likewise.  Signal an error for too large
character code.
(char_printable_p): Return 0 for 8-bit characters.
(update_charset_table): Update iso_charset_table only when a final
character is non-negative.
(find_charset_in_text): Renamed from find_charset_in_str.
Arguments and return value changed.  Callers changed.
(Fdefine_charset): Args ISO-FINAL-CHAR and ISO-GRAPHIC-PLANE can
be -1 if CHARSET is used only internally.
(Fmake_char_internal): Handle new charsets; eight-bit-control and
eight-bit-graphic.
(Fcharset_after): Simplified.
(char_valid_p): Use SPLIT_CHAR, not SPLIT_NON_ASCII_CHAR.
(char_bytes): Return 2 for chars of the range 0xA0..0xFF.
(multibyte_chars_in_text): Simplified by assuming there's no
invalid multibyte sequence.
(parse_str_as_multibyte, str_as_multibyte, str_to_multibyte,
str_as_unibyte): New functions.
(Fstring): Simpified by assuming that byte combining never
happens.
(init_charset_once): Initialization for
LEADING_CODE_8_BIT_CONTROL.
(syms_of_charset): Intern and staticpro Qeight_bit_control and
Qeight_bit_graphic.  Include them in Vcharset_list.  Make charsets
eight-bit-control and eight-bit-graphic.

24 years ago(CCL_WRITE_CHAR): Be sure to write single byte characters
Kenichi Handa [Fri, 19 May 2000 23:51:55 +0000 (23:51 +0000)]
(CCL_WRITE_CHAR): Be sure to write single byte characters
as is.
(CCL_MAKE_CHAR): Use MAKE_CHAR, not MAKE_NON_ASCII_CHAR.

24 years ago(Fmodify_category_entry): Use SPLIT_CHAR, not
Kenichi Handa [Fri, 19 May 2000 23:51:29 +0000 (23:51 +0000)]
(Fmodify_category_entry): Use SPLIT_CHAR, not
SPLIT_NON_ASCII_CHAR.

24 years ago(Fcall_process): Always encode an argument string if
Kenichi Handa [Fri, 19 May 2000 23:51:10 +0000 (23:51 +0000)]
(Fcall_process): Always encode an argument string if
it is multibyte.  Setup src_multibyte and dst_multibyte members of
process_coding properly.

24 years ago(Fbyte_code): If arg BYTESTR is multibyte, convert it
Kenichi Handa [Fri, 19 May 2000 23:50:52 +0000 (23:50 +0000)]
(Fbyte_code): If arg BYTESTR is multibyte, convert it
to unibyte.

24 years ago(advance_to_char_boundary): Don't use DEC_POS to find a
Kenichi Handa [Fri, 19 May 2000 23:50:26 +0000 (23:50 +0000)]
(advance_to_char_boundary): Don't use DEC_POS to find a
apparent char boundary.
(Fset_buffer_multibyte): Convert 8-bit characters in the range
0x80..0x9F to/from multibyte form.

24 years ago(Fmake_byte_code): If BYTECODE-STRING is multibyte,
Kenichi Handa [Fri, 19 May 2000 23:49:35 +0000 (23:49 +0000)]
(Fmake_byte_code): If BYTECODE-STRING is multibyte,
convert it to unibyte.
(make_string): Use parse_str_as_multibyte, not chars_in_text.

24 years ago(fns.o): Depend on charset.h.
Kenichi Handa [Fri, 19 May 2000 23:48:03 +0000 (23:48 +0000)]
(fns.o): Depend on charset.h.

24 years ago(ada-mode, ada-create-case-exception): Don't quote lambdas.
Stefan Monnier [Fri, 19 May 2000 21:40:45 +0000 (21:40 +0000)]
(ada-mode, ada-create-case-exception): Don't quote lambdas.

24 years ago(lisp-mode-variables): Set comment-add.
Stefan Monnier [Fri, 19 May 2000 21:36:14 +0000 (21:36 +0000)]
(lisp-mode-variables): Set comment-add.

24 years ago*** empty log message ***
Gerd Moellmann [Fri, 19 May 2000 20:37:34 +0000 (20:37 +0000)]
*** empty log message ***

24 years ago(gud-jdb-directories): Doc fix.
Gerd Moellmann [Fri, 19 May 2000 20:35:18 +0000 (20:35 +0000)]
(gud-jdb-directories): Doc fix.

24 years ago(Fbury_buffer): Avoid trouble from burying a killed buffer.
Gerd Moellmann [Fri, 19 May 2000 20:33:58 +0000 (20:33 +0000)]
(Fbury_buffer): Avoid trouble from burying a killed buffer.

24 years agoFix license text and author.
Stefan Monnier [Fri, 19 May 2000 15:37:41 +0000 (15:37 +0000)]
Fix license text and author.
Move aliases (indent-for-comment, set-comment-column, kill-comment
and indent-new-comment-line) to the beginning of the file.
Get rid of the last few CLisms.
(comment-forward): Avoid decf.
(comment-make-extra-lines): Comment-out asserts.
(comment-with-narrowing): Properly create uninterned symbol.
(comment-region-internal): Comment-out asserts.  Avoid incf and decf.
(comment-indent-new-line): Fix bug where compt could be set but
not comstart.  Set comment-column more carefully.

24 years ago*** empty log message ***
Stefan Monnier [Fri, 19 May 2000 14:50:26 +0000 (14:50 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Gerd Moellmann [Fri, 19 May 2000 11:58:45 +0000 (11:58 +0000)]
*** empty log message ***

24 years ago(auto-mode-alist): Add pattern for `.shrc'.
Gerd Moellmann [Fri, 19 May 2000 11:55:50 +0000 (11:55 +0000)]
(auto-mode-alist): Add pattern for `.shrc'.