1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-14 23:40:39 -08:00
Commit graph

7576 commits

Author SHA1 Message Date
Richard M. Stallman
1c0707fd10 (wait_reading_process_input): Fix previous change. 1997-06-17 04:15:18 +00:00
Richard M. Stallman
1b335d2908 (Fdo_auto_save): Use stdio to write the save-list file.
(Finsert_file_contents): Don't give up on the fast replace method
if the coding remains undecided.
1997-06-16 07:31:56 +00:00
Richard M. Stallman
203cb91615 Change copyright notices. 1997-06-16 07:29:16 +00:00
Richard M. Stallman
7ce63188c9 (wait_reading_process_input): When exiting because
the process WAIT_PROC has terminated, first read all its output.
1997-06-16 06:24:22 +00:00
Richard M. Stallman
00049484b8 Fix previous change. 1997-06-15 19:43:01 +00:00
Richard M. Stallman
25fe55afa6 Fix up whitespace. 1997-06-15 19:05:59 +00:00
Richard M. Stallman
766ff6275b (struct re_pattern_buffer): New member multibyte.
(re_match_object): New variable.
1997-06-15 19:02:27 +00:00
Richard M. Stallman
b18215fce4 (PTR_TO_OFFSET): New macro.
(POS_AS_IN_BUFFER): New macro.
(SYNTAX_ENTRY_VIA_PROPERTY): Set to take `syntax-table' text
property into account when doing SYNTAX (c).
(re_compile_fastmap): disable fastmap if any of wordbound
notwordbound wordbeg wordend notsyntaxspec syntaxspec are seen.
(re_search_2): SETUP_SYNTAX_TABLE_FOR_OBJECT at the start.
(re_match_object): New variable.
(re_match_2): SETUP_SYNTAX_TABLE_FOR_OBJECT at the start.
(re_match_2_internal): For any of wordbound notwordbound wordbeg
wordend notsyntaxspec syntaxspec call UPDATE_SYNTAX_TABLE before
doing SYNTAX (c).


[emacs]: Include charset.h and category.h

[!emacs] (BASE_LEADING_CODE_P, WORD_BOUNDARY_P,	CHAR_HEAD_P,
SINGLE_BYTE_CHAR_P, SAME_CHARSET_P, MULTIBYTE_FORM_LENGTH,
STRING_CHAR_AND_LENGTH, GET_CHAR_AFTER_2, GET_CHAR_BEFORE_2):
New dummy macros.

(enum re_opcode_t): New member categoryspec and notcategoryspec.

(STORE_CHARACTER_AND_INCR, EXTRACT_CHARACTER,
CHARSET_LOOKUP_RANGE_TABLE_WITH_COUNT,
CHARSET_LOOKUP_RANGE_TABLE, CHARSET_BITMAP_SIZE,
CHARSET_RANGE_TABLE_EXISTS_P, CHARSET_RANGE_TABLE
CHARSET_PAST_RANGE_TABLE): New macros.

(TRANSLATE): Cast return value to unsigned char, not char.

(struct range_table_work_area): New structure.

(EXTEND_RANGE_TABLE_WORK_AREA, SET_RANGE_TABLE_WORK_AREA,
FREE_RANGE_TABLE_WORK_AREA, CLEAR_RANGE_TABLE_WORK_USED,
RANGE_TABLE_WORK_USED, RANGE_TABLE_WORK_ELT): New macros.

(FREE_STACK_RETURN): Call FREE_RANGE_TABLE_WORK_AREA.

(regex_compile): Declare `c' and `c1' as int to store multibyte characters.
Declare range_table_work and initialize	it.
Initialize bufp->multibyte to 0 if not emacs.
For case '[' and `default', code re-written to handle multibyte characters.
Add code for case 'c' and 'C' to handle category spec.

(re_compile_fastmap): New local variables k, simple_char_max,
and match_any_multibyte_characters.
Use macro CHARSET_BITMAP_SIZE.
Handle multibyte characters in cases charset, charset_not,
wordchar, notwordchar, anychar, syntaxspec, notsyntaxspec,
categoryspec, notcategoryspec.

(STOP_ADDR_VSTRING, POS_ADDR_VSTRING): New macros.

(re_search_2): Code re-written to handle multibyte characters.

(AT_WORD_BOUNDARY): Macro disabled.

(re_match_2_internal): New local variable multibyte.  `d' is
incremented while paying attention to multibyte characters if necessary.
For case charset, charsetnot, wordbound, notwordbound,
wordbeg, wordend, matchsyntax, and matchnotsyntax, code
re-written to handle multibyte characters.
Add code for case categoryspec and notcategoryspec.
Declare c, c1 as unsigned int, not unsigned char.
1997-06-15 19:00:12 +00:00
Richard M. Stallman
fa1d3816e9 (Fchar_after, Fchar_before): Make arg optional. 1997-06-15 02:41:59 +00:00
Richard M. Stallman
80402f2518 (Bread_char): Deleted.
(Bsave_current_buffer_1): New byte code.
(Fbyte_code): Delete handling Bread_char.
Handle Bsave_current_buffer_1 like Bsave_current_buffer.
1997-06-14 17:08:59 +00:00
Karl Heuer
f00ed1332d (point): Obsolete macro deleted in favor of PT. 1997-06-14 04:53:00 +00:00
Karl Heuer
c71d37d59d (Fprevious_char): Use PT, not point. 1997-06-14 04:51:21 +00:00
Karl Heuer
5bfb66e31d (internal_self_insert): Use PT, not point. 1997-06-14 04:50:37 +00:00
Richard M. Stallman
1e7963c7f9 (Fcall_process): Use setsid to disconnect child
process from controlling terminal.
1997-06-13 05:49:57 +00:00
Richard M. Stallman
ac567c9517 (init_sys_modes): Enable VSTART and VSTOP if flow_control. 1997-06-13 00:49:50 +00:00
Richard M. Stallman
303b5b3f0f (kbd_buffer_get_event): When wait_reading_process_input
returns, check Vunread_command_events.
1997-06-13 00:46:33 +00:00
Richard M. Stallman
69645afc53 (wait_reading_process_input): Return if unread events appear. 1997-06-13 00:45:19 +00:00
Richard M. Stallman
54dfb86c80 (unexec): Call update_dynamic_symbols unconditionally.
(update_dynamic_symbols): Define unconditionally, but do nothing
if __linux__or __NetBSD__.
1997-06-11 01:13:32 +00:00
Erik Naggum
8b68aae754 (Fwrite_region): Fix previous doc change. 1997-06-10 11:58:57 +00:00
Richard M. Stallman
54e42e2dbd (Finsert_char): Check QUIT. 1997-06-09 18:21:52 +00:00
Richard M. Stallman
b4577c63a7 (fast_c_string_match_ignore_case):
Renamed from fast_string_match_ignore_case.  Set re_match_object.
1997-06-09 18:01:02 +00:00
Richard M. Stallman
dacc955ce6 (list_fontsets, fs_load_font): fast_c_string_match_ignore_case renamed. 1997-06-09 18:00:36 +00:00
Richard M. Stallman
f39db7eaf4 (x_list_fonts): fast_c_string_match_ignore_case renamed. 1997-06-09 17:58:49 +00:00
Kenichi Handa
97210f4e3f (dumpglyph): Shift baseline for such a font that is
shorter but ascent or descent exceed the line height.
For a larger font, draw a small hook at right-bottom edge instead
of a rectangle.
1997-06-09 13:00:24 +00:00
Kenichi Handa
569e0c76bd (selection_data_to_lisp_data): Change coding system
name to iso-latin-1.
(lisp_data_to_selection_data): Likewise.
1997-06-09 13:00:16 +00:00
Kenichi Handa
c8823c61e4 (Faset): Inherit default value correctly while creating
sub char table.
1997-06-09 13:00:07 +00:00
Kenichi Handa
115af12793 (Fwrite_region): Cancel the 7th argument CODING_SYSTEM
added by the previous change.
(auto_save_1): Adjusted for the above change.
1997-06-09 12:59:52 +00:00
Kenichi Handa
2e0a2a9cfd (decode_mode_spec): Access the value of
buffer-file-coding-system by b->buffer_file_coding_system.
1997-06-09 12:59:38 +00:00
Kenichi Handa
83502605be (Fstart_process):Pay attention to
Vdefault_process_coding_system.
(Fopen_network_stream): Likewise.
1997-06-09 12:59:28 +00:00
Kenichi Handa
776b95cb48 (Fcall_process): Pay attention to
Vdefault_process_coding_system.
(Fcall_process_region): Likewise.
1997-06-09 12:59:22 +00:00
Kenichi Handa
a5825a24c3 (Vdefault_process_coding_system): Extern it. 1997-06-09 12:59:20 +00:00
Kenichi Handa
02ba47237b (Vcoding_system_alist): Deleted.
(Qcoding_system_spec): Renamed from Qcoding_system_vector.
(Vdefault_process_coding_system, Vfile_coding_system_alist,
Vprocess_coding_system_alist, Vnetwork_coding_system_alist): New
variables.
(Ffind_coding_system): Adjusted for the above change.
(syms_of_coding): Declare them as lisp variables.
(Fcheck_coding_system): Pass list as DATA argument to Fsignal.
1997-06-09 12:59:12 +00:00
Kenichi Handa
c204d14f43 (struct buffer): New member buffer_file_coding_system. 1997-06-09 12:59:11 +00:00
Kenichi Handa
c71b5d9b49 (init_buffer_once): Inititialize the member
buffer_file_coding_system.
(syms_of_buffer): Declare Lisp variables
default-buffer-file-coding-system and buffer-file-coding-system.
1997-06-09 12:58:58 +00:00
Richard M. Stallman
7cc0629653 (Fcopy_keymap): After copying a sub-char-table, do store the copy. 1997-06-04 21:21:53 +00:00
Richard M. Stallman
4e7c142c7f (stamp-oldxmenu): Always define this one way or another. 1997-06-04 19:45:17 +00:00
Kenichi Handa
5dd4d40aaf (casify_object): Fix bug on handling a character
arguement.
1997-06-04 00:56:08 +00:00
Richard M. Stallman
1863bbf894 (find_interval): No longer inline. 1997-06-02 18:30:21 +00:00
Richard M. Stallman
8d808a65ec (Freplace_match): If opoint is 0, that's relative to ZV. 1997-06-02 18:30:09 +00:00
Richard M. Stallman
ea224d5b33 (NO_SHARED_LIBS): Test __alpha__ && ! __ELF__. 1997-06-02 06:34:28 +00:00
Richard M. Stallman
779b34dfaa (syms_of_keyboard): Doc fix. 1997-06-02 05:05:47 +00:00
Richard M. Stallman
1c5ca8b608 (VALMASK, GCTYPEMASK, MARKBIT, ARRAY_MARK_FLAG)
(PSEUDOVECTOR_FLAG, enum pvec_type, PSEUDOVECTOR_SIZE_MASK):
Define regardless of NO_UNION_TYPE.
1997-06-02 02:34:00 +00:00
Richard M. Stallman
e8d0501f72 (Fx_create_frame): Use XINT to access parent. 1997-06-02 02:25:15 +00:00
Richard M. Stallman
e704cb4bc6 (Fsyntax_table_p, check_syntax_table): Use EQ.
(Fmodify_syntax_entry): Use XINT to access c.
(describe_syntax): Use XINT to access first.
1997-06-02 02:21:48 +00:00
Richard M. Stallman
2fd7a4a4e2 (search_buffer): Use XINT around refs to trt. 1997-06-02 02:19:29 +00:00
Richard M. Stallman
476d47ce09 (concat3, get_truename_buffer): Declare them. 1997-06-02 00:56:23 +00:00
Richard M. Stallman
3fdfceb3aa (read_key_sequence): Change some locals to `int'. 1997-06-02 00:47:07 +00:00
Richard M. Stallman
5db0afb7fb (compute_motion): Use XFASTINT on width_table elts. 1997-06-02 00:45:18 +00:00
Richard M. Stallman
09ee221d20 (map_char_table): Use XSETFASTINT. 1997-06-02 00:33:14 +00:00
Richard M. Stallman
3cf29f61ea (Fwrite_region, build_annotations):
Set start and end using XFASTINT.
1997-06-02 00:32:20 +00:00