1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-31 17:30:54 -08:00
Commit graph

40988 commits

Author SHA1 Message Date
Kenichi Handa
97a0441301 *** empty log message *** 2002-07-25 11:12:30 +00:00
Kenichi Handa
48468dac87 (Ffind_coding_systems_region_internal): Detect an
ASCII only string correctly.
2002-07-25 02:01:39 +00:00
Kenichi Handa
ab2a47e1cc (Fload): Don't load with Qload_force_doc_strings t if
version is 0.
2002-07-25 01:30:27 +00:00
Kenichi Handa
2503aa19cb *** empty log message *** 2002-07-25 01:29:57 +00:00
Kenichi Handa
8792be6679 Include "coding.h".
(Qget_emacs_mule_file_char, Qload_force_doc_strings,
load_each_byte, unread_char): New variables.
(readchar_backlog): This variable deleted.
(readchar): Return a character unless load_each_byte is nonzero.
Handle the case that readcharfun is Qget_emacs_mule_file_char or a
cons.  If unread_char is not -1, simply return it.
(unreadchar): Handle the case that readcharfun is
Qget_emacs_mule_file_char or a cons.  Set unread_char if
necessary.
(read_multibyte): This function deleted.
(readbyte_for_lambda, readbyte_from_file, readbyte_from_string)
(read_emacs_mule_char): New functions.
(Fload): Even if the file doesn't have the extention ".elc", if
safe_to_load_p returns a positive version number, assume that the
file contains bytecompiled code.  If the version is less than 22,
load the file while decoding multibyte sequences by emacs-mule.
(readevalloop): Don't use readchar_backlog.
(Fread): Likewise.  Pay attention to the case that STREAM is a
cons.
(Fread_from_string): Pay attention to the case that STREAM is a
cons.
(read_escape): The arg BYTEREP deleted.
(read1): Set load_each_byte to 1 temporarily while handling
#@NUMBER.  Don't call read_multibyte.
(read_vector): Call Fread with a cons.  If readcharfun is
Qget_emacs_mule_file_char, decode the read string by emacs-mule.
(read_list): If doc_reference is 2, make the cdr part string as
unibyte.
(syms_of_lread): Intern and staticpro Qget_emacs_mule_file_char
and Qload_force_doc_strings.
2002-07-24 10:51:15 +00:00
Kenichi Handa
571407d6e0 *** empty log message *** 2002-07-24 10:50:53 +00:00
Dave Love
8cfdb48d4a *** empty log message *** 2002-07-23 19:07:04 +00:00
Kenichi Handa
c688e5b7a4 (face_before_or_after_it_pos): Call
FETCH_MULTIBYTE_CHAR with byte postion, not char position.
2002-07-23 02:58:07 +00:00
Kenichi Handa
0007299296 *** empty log message *** 2002-07-23 02:57:49 +00:00
Kenichi Handa
970b7474fd (Fmap_charset_chars): Fix handling of default value for FROM_CODE
and TO_CODE.
2002-07-22 12:28:14 +00:00
Kenichi Handa
95d6ca4046 *** empty log message *** 2002-07-22 12:27:56 +00:00
Kenichi Handa
15843e6fa9 (Vscript_alist): New variable.
(string_char_with_unification): Add `const' to local variables.
(str_as_unibyte): Likewise.
(string_escape_byte8): Likewise.
(syms_of_character): Declare script-alist as a Lisp variable.
2002-07-22 06:46:17 +00:00
Kenichi Handa
7c78e5423a (LEADING_CODE_PRIVATE_11, LEADING_CODE_PRIVATE_12,
LEADING_CODE_PRIVATE_21, LEADING_CODE_PRIVATE_22): Macros
deleted.  Callers changes to use
EMACS_MULE_LEADING_CODE_PRIVATE_11, etc.
(decode_coding_ccl): Add `const' to local variables.
(consume_chars): Likewise.
(Ffind_coding_systems_region_internal): Likewise.
(Fcheck_coding_systems_region): Likewise.
2002-07-22 06:40:36 +00:00
Kenichi Handa
39d992af9b (Vcharset_ordered_list): Extern it.
(charset_ordered_list_tick): Extern it.
(EMACS_MULE_LEADING_CODE_PRIVATE_11,
EMACS_MULE_LEADING_CODE_PRIVATE_12,
EMACS_MULE_LEADING_CODE_PRIVATE_21,
EMACS_MULE_LEADING_CODE_PRIVATE_22): New macros
(Funify_charset): Adjusted for the change of Funify_charset.
2002-07-22 06:36:50 +00:00
Kenichi Handa
dbbb237db8 (charset_ordered_list_tick): New variable.
(Fdefine_charset_internal): Increment charset_ordered_list_tick.
(Funify_charset): New optional arg DEUNIFY.  If it is non-nil,
deunify intead of unify a charset.
(string_xstring_p): Add `const' to local variables.
(find_charsets_in_text): Add `const' to arguemnts and local
variables.
(encode_char): Adjusted for the change of Funify_charset.  Fix
detecting of invalid code.
(Fset_charset_priority): Increment charset_ordered_list_tick.
2002-07-22 06:35:00 +00:00
Kenichi Handa
b5c7dbe655 (TRAILING_CODE_P): New macro.
(MAYBE_UNIFY_CHAR): Adjusted for the change of Funify_charset.
(string_char_with_unification): Fix prototype.
(Vscript_alist): Extern it.
2002-07-22 06:30:30 +00:00
Kenichi Handa
b2d2821515 (print_object): Use octal form for printing the
contents of a bool vector.
2002-07-22 06:27:09 +00:00
Dave Love
20df757007 (Fload) <!load_dangerous_libraries>: Don't leak fd.
<version == 20>: Refuse to load.
2002-07-18 16:30:48 +00:00
Dave Love
1de0ddd35b (fancy-splash-head): Warn about status.
(fancy-splash-tail): Copyright up-date.
2002-07-18 11:09:38 +00:00
Kenichi Handa
3aad804510 (detect-coding-with-priority): Fix the place of using `,' marker in
backguote form.
2002-07-17 11:33:09 +00:00
Kenichi Handa
bd552f3fd7 *** empty log message *** 2002-07-17 11:32:51 +00:00
Dave Love
98a3e97637 Move coding.h.
(Qcodeset, Qdays, Qmonths): New.
(concat): Use CHARACTERP instead of INTERGERP.
(Flocale_codeset): Deleted.
(Flanginfo): New function.
(syms_of_fns): Changed accordingly.
2002-07-17 10:29:18 +00:00
Dave Love
6f197c07d0 (adjust_coding_eol_type): Fix eol_type/eol_seen mixup. 2002-07-17 10:21:01 +00:00
Dave Love
fd3aa3e1b9 (print_string): Remove CHAR_VALID_P test. 2002-07-16 22:30:36 +00:00
Dave Love
28c026cdc9 Comments. 2002-07-16 21:58:25 +00:00
Dave Love
92331ddb21 *** empty log message *** 2002-07-16 15:22:12 +00:00
Dave Love
b4a12c674b Include "...h", not <...h> in some cases. 2002-07-16 15:14:22 +00:00
Dave Love
9dba850d59 (fontset_ref, fontset_set, fs_load_font)
(Ffontset_info): Convert Lisp types.
2002-07-16 15:10:44 +00:00
Dave Love
c197f19176 (ENCODE_DESIGNATION, decode_eol)
(make_conversion_work_buffer, code_conversion_restore)
(Fdefine_coding_system_internal): Convert Lisp types.
(code_conversion_restore): Use EQ, not ==.
(Fencode_coding_string): Fix code_convert_string call.
2002-07-16 15:10:13 +00:00
Dave Love
16fed1fc86 (Fmap_charset_chars): Check args. Convert Lisp types.
(load_charset_map, Fdeclare_equiv_charset, Fencode_char)
(Fset_charset_priority, syms_of_charset): Convert Lisp types.
2002-07-16 15:08:53 +00:00
Dave Love
73e92b8cc0 (CHECK_CHARSET_GET_ID): Use XINT on AREF result. 2002-07-16 15:00:58 +00:00
Dave Love
6cc0e1cacb (syms_of_character): Fix CHAR_TABLE_SET call. 2002-07-16 14:59:03 +00:00
Dave Love
501d7ac6bb (SYNTAX_ENTRY_INT): Don't use make_number. 2002-07-16 14:58:26 +00:00
Dave Love
4732abfced (init_casetab_once, init_casetab_once): Fix
CHAR_TABLE_SET call.
2002-07-16 14:56:55 +00:00
Dave Love
0b261f5979 (Fmodify_category_entry): Fix CATEGORY_MEMBER call. 2002-07-16 14:56:33 +00:00
Dave Love
b1fe143d16 (note_mouse_movement): Fix call of window_from_coordinates. 2002-07-16 14:35:32 +00:00
Dave Love
511dd8e757 (code_convert_region): Fix prototype. 2002-07-16 13:57:41 +00:00
Dave Love
538a25d61b (display_mode_element): Fix call of Fset_text_properties. 2002-07-16 13:57:00 +00:00
Dave Love
3a5231505d *** empty log message *** 2002-07-11 23:16:17 +00:00
Dave Love
a3f6ee6d06 (Fset_coding_system_priority): Allow null arg list. 2002-07-11 23:15:52 +00:00
Dave Love
1f32125f94 (set-coding-priority): Fix obsolete spec. 2002-07-11 23:08:18 +00:00
Dave Love
e08255bb7b (mule-unicode-e000-ffff): Set
:max-code.
2002-07-11 23:05:47 +00:00
Dave Love
0a999a5e9f (with-coding-priority): Fix. 2002-07-11 22:59:06 +00:00
Dave Love
f615c3bbea (mm-find-mime-charset-region): Fix :mime-charset
part.
2002-07-09 22:35:42 +00:00
Dave Love
7619dee9f1 Comments. 2002-07-06 16:47:15 +00:00
Dave Love
139a6f13b4 *** empty log message *** 2002-07-05 22:18:13 +00:00
Dave Love
cfd8f3ed49 (leim-list-header): Add coding tag. 2002-07-05 21:59:41 +00:00
Dave Love
63d6cc6221 *** empty log message *** 2002-07-05 18:41:43 +00:00
Dave Love
a4cc68f6fc (find-coding-systems-region)
(language-info-alist, reset-language-environment, princ-list): Doc
fix.
(input-method-verbose-flag): Fix :type.
(set-locale-environment): Revert last change.
2002-07-04 23:05:18 +00:00
Dave Love
cf8ba5800c *** empty log message *** 2002-07-03 22:47:08 +00:00