1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-18 18:05:07 +00:00
Commit Graph

28609 Commits

Author SHA1 Message Date
Kenichi Handa
adee4f912a (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.
2000-05-22 00:19:43 +00:00
Kenichi Handa
d7e00792f2 *** empty log message *** 2000-05-22 00:19:18 +00:00
Stefan Monnier
e4da9c1c34 (remove-hook): Don't turn the hook's value into a list. 2000-05-21 23:24:18 +00:00
Dave Love
ac2665815a (edmacro-parse-keys): Return vector if any elements are invalid
characters.
2000-05-21 19:51:14 +00:00
Dave Love
cb7216a79a (detect-coding-with-priority): Use mapc. Remove redundant lambda. 2000-05-21 17:48:48 +00:00
Dave Love
45377ab444 (list-non-iso-charset-chars, describe-fontset): Remove redundant
lambda.
2000-05-21 17:41:51 +00:00
Dave Love
4e96834374 (brief-mode): New alias. 2000-05-21 17:33:05 +00:00
Dave Love
6a475c9955 (ring-elements): New function. 2000-05-21 17:29:50 +00:00
Dave Love
b9f5db901f (easy-menu-create-menu, easy-menu-do-add-item): Use keywordp. 2000-05-21 17:26:47 +00:00
Dave Love
049a65a311 Update side-effect free function lists. 2000-05-21 17:24:19 +00:00
Dave Love
7e722af32a Change header line. 2000-05-21 17:21:24 +00:00
Dave Love
e730be7fbb Doc and error message fixes.
(replace-highlight): Use facep, not internal-find-face.
2000-05-21 17:04:47 +00:00
Dave Love
84469aeb4f (facemenu-set-face): Fix interactive prompt. 2000-05-21 16:56:47 +00:00
Dave Love
f8bdd51999 fix @sc use 2000-05-21 11:42:50 +00:00
Dave Love
5bf244f1c6 (ERROR_MAX): Increase to 160. 2000-05-21 11:07:47 +00:00
Dave Love
752fb47256 Include config.h, not ../src/config.h.
(Errmsg): Bump length.
2000-05-21 11:02:50 +00:00
Stefan Monnier
b2d2cf58b1 *** empty log message *** 2000-05-21 02:32:09 +00:00
Stefan Monnier
93694f60cd (ccl-compile-map-multiple): Don't quote lambda. 2000-05-21 02:25:59 +00:00
Stefan Monnier
ffe7dc64f5 (log-edit-done): Cleanup trailing empty lines.
(log-edit-insert-changelog): Drop `:' as well.
2000-05-21 02:14:07 +00:00
Stefan Monnier
e57a1038ed 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.
2000-05-21 02:12:34 +00:00
Stefan Monnier
c8c21615b8 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).
2000-05-21 01:44:08 +00:00
Stefan Monnier
9b0d1d6e8d (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.
2000-05-21 00:27:53 +00:00
Gerd Moellmann
087121cc2f *** empty log message *** 2000-05-20 15:55:53 +00:00
Gerd Moellmann
f22ac298de (toplevel) [UNIX98_PTYS]: Include stdlib.h. 2000-05-20 15:54:05 +00:00
Gerd Moellmann
c4c9e136e8 (HAVE_GRANDPT, HAVE_GETPT): New defines. 2000-05-20 15:51:46 +00:00
Gerd Moellmann
e20caf05ae (setup_pty): Treat case that UNIX98_PTYS is defined
like SYSV_PTYS.
2000-05-20 15:51:35 +00:00
Gerd Moellmann
71125fb836 (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.
2000-05-20 15:51:13 +00:00
Gerd Moellmann
40ccc4c770 Check for grandpt and getpt. 2000-05-20 15:50:35 +00:00
Kenichi Handa
b07929cd7f (ccl-compile-write-string): Make STR unibyte.
(ccl-compile-write-repeat): If ARG is string, make it unibyte.
2000-05-20 02:23:35 +00:00
Kenichi Handa
f5ee6d0f90 *** empty log message *** 2000-05-20 02:23:03 +00:00
Kenichi Handa
c9671f819a *** empty log message *** 2000-05-20 00:23:52 +00:00
Kenichi Handa
14333e317b (find-multibyte-characters): Never
exclude charsets eight-bit-control and eight-bit-graphic.
2000-05-20 00:11:06 +00:00
Kenichi Handa
7d584ec4df (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.
2000-05-20 00:10:32 +00:00
Kenichi Handa
d17f2b920b (rmail-decode-quoted-printable): Use delete-region
and insert, not subst-char-in-region.
2000-05-20 00:09:21 +00:00
Kenichi Handa
9846d9dbcf (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.
2000-05-20 00:08:10 +00:00
Kenichi Handa
c5924f47e9 (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.
2000-05-20 00:07:43 +00:00
Kenichi Handa
69ebbf81b1 (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.
2000-05-20 00:07:08 +00:00
Kenichi Handa
aab5ac4409 (w32_to_x_font): Setup members src_multibyte and
dst_multibyte of coding.
(x_to_w32_font): Likewise.
2000-05-20 00:06:41 +00:00
Kenichi Handa
b34cf36ca8 (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.
2000-05-20 00:05:51 +00:00
Kenichi Handa
68526af594 (produce_special_glyphs): Use CHAR_BYTES instead of
CHAR_LEN.
2000-05-20 00:05:26 +00:00
Kenichi Handa
eb99a8dd64 (wordify): Use FETCH_STRING_CHAR_ADVANCE
unconditionally.
(Freplace_match): Use FETCH_STRING_CHAR_ADVANCE and
FETCH_STRING_CHAR_ADVANCE_NO_CHECK appropriately.
2000-05-20 00:05:02 +00:00
Kenichi Handa
a4a37e652d (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.
2000-05-20 00:04:37 +00:00
Kenichi Handa
eba90784ce (print_object): Use FETCH_STRING_CHAR_ADVANCE
unconditionally.
2000-05-20 00:04:05 +00:00
Stefan Monnier
1426aa5c93 *** empty log message *** 2000-05-20 00:03:54 +00:00
Kenichi Handa
f0354c0337 (read1): On reading multibyte string, be sure to make
all 8-bit chararacters in valid multibyte form.
(readchar): Use FETCH_STRING_CHAR_ADVANCE unconditionally.
2000-05-20 00:03:42 +00:00
Kenichi Handa
54e03a4ac4 (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.
2000-05-20 00:03:16 +00:00
Kenichi Handa
b16afa45bb (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.
2000-05-20 00:01:34 +00:00
Kenichi Handa
f55d03b19b (fontset_ref): Use SPLIT_CHAR instead of
SPLIT_NON_ASCII_CHAR.
(fontset_ref_via_base, fontset_set): Likewise
2000-05-20 00:00:49 +00:00
Kenichi Handa
2efdd1b92e (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.
2000-05-19 23:59:50 +00:00
Kenichi Handa
8c3b944144 (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).
2000-05-19 23:59:27 +00:00