Commit graph

5692 commits

Author SHA1 Message Date
Richard M. Stallman
e95a0b39f8 (Fkill_buffer): Don't kill auto save file if not recent. 1995-10-11 14:41:55 +00:00
Kim F. Storm
c429518802 (init_sys_modes) [!HAVE_X_WINDOWS (MSDOS)]: Always call set_terminal_modes.
(reset_sys_modes) [MSDOS]: Do not look at EMACSCOLORS.
1995-10-11 11:48:52 +00:00
Erik Naggum
6fdc249f09 (buffer-display-table): Document new implementation. 1995-10-09 20:52:43 +00:00
Richard M. Stallman
f3273b6707 (temp_echo_area_glyphs): Restore the old point value. 1995-10-09 16:36:59 +00:00
Richard M. Stallman
927e08bef8 (exec_sentinel, read_process_output):
Call record_asynch_buffer_change only if caller is reading kbd input.
1995-10-09 00:31:24 +00:00
Richard M. Stallman
d1c1c3d299 Indentation change. 1995-10-08 19:38:53 +00:00
Richard M. Stallman
5a31e1d01c (write_segment): Write valid data in units of 1<<13,
but write zeros only a page at a time.
1995-10-08 19:29:57 +00:00
Richard M. Stallman
a96621c61e (init_buffer_once): Make file_format always local, not just local when set. 1995-10-08 19:26:07 +00:00
Erik Naggum
c96a008cc9 (Fmake_char_table): Initialize parent to nil. 1995-10-08 02:56:45 +00:00
Richard M. Stallman
608ff985d9 (struct Lisp_Boolvector): New data type.
(struct Lisp_Char_Table): New structure.

(CHAR_TABLE_STANDARD_SLOTS, CHAR_TABLE_ORDINARY_SLOTS): New macros.
(CHAR_TABLE_EXTRA_SLOTS): New macro.

(CHECK_CHAR_TABLE): New macro.

(pvec_type): Add PVEC_CHARTABLE and PVEC_BOOLVECTOR.
Move PVEC_BUFFER to a higher bit.
(CHARTABLEP, GC_CHARTABLEP, XSETCHARTABLE, XCHARTABLE): New macros.
(XBOOLVECTOR, XSETBOOLVECTOR, BOOLVECTORP, GC_BOOLVECTORP): New macros.
1995-10-07 22:07:01 +00:00
Richard M. Stallman
4d27698234 (Fchartablep, Fboolvectorp): New functions.
(syms_of_data): defsubr them.
(Faref, Faset, Fsequencep): Handle chartables and boolvectors.
1995-10-07 22:04:15 +00:00
Richard M. Stallman
ed2c35efda (print): Handle chartables and boolvectors.
(print_boolvector): New function.
1995-10-07 22:02:20 +00:00
Richard M. Stallman
c239093310 (read1): Handle chartables and boolvectors. 1995-10-07 22:01:39 +00:00
Richard M. Stallman
b5585f5c18 (describe_vector): Use Flength to get length of vector. 1995-10-07 22:00:06 +00:00
Richard M. Stallman
8ea151b23b (describe_syntax): Handle new syntax-table data format.
(Fmodify_syntax_entry, init_syntax_once): Use SET_RAW_SYNTAX_ENTRY.
Handle new syntax-table data format.
(check_syntax_table): Use CHECK_CHAR_TABLE.  Now static.
Don't return anything; callers changed.
(Fcopy_syntax_table): Use Fcopy_sequence.
(Fchar_syntax, Fmatching_paren, Fforward_comment): Copy complex args
to SYNTAX into variables before using them.
(Fsyntax_table_p): Accept any char-table.
(syntax_parent_lookup): New function.
(syntax_temp): New variable.
1995-10-07 21:59:28 +00:00
Richard M. Stallman
e46c910e4a Use char tables as syntax tables.
(RAW_SYNTAX, RAW_SYNTAX_MATCH): Macros deleted.
(RAW_SYNTAX_ENTRY, SET_RAW_SYNTAX_ENTRY): New macros.
(SYNTAX, SYNTAX_MATCH): Rewritten.
(SYNTAX_ENTRY, SYNTAX_WITH_FLAGS): New macros.
(SYNTAX_COMSTART_SECOND, SYNTAX_COMEND_FIRST, SYNTAX_COMEND_SECOND)
(SYNTAX_PREFIX, SYNTAX_COMMENT_STYLE): Use SYNTAX_WITH_FLAGS.
1995-10-07 21:55:20 +00:00
Richard M. Stallman
df31bc64f9 (callint_message, callint_message_size): New vars.
(syms_of_callint): Set up new vars.
(Fcall_interactively): Keep the prompt in the heap.
1995-10-07 21:54:29 +00:00
Richard M. Stallman
7b07587bc2 (Fmake_chartable, Fmake_boolvector): New functions.
(syms_of_alloc): defsubr them.
1995-10-07 21:53:27 +00:00
Richard M. Stallman
e03f793362 (Fset_char_table_range): New function.
(make_char_table, Fmap_char_table): New function.
(Fchar_table_extra_slot, Fset_char_table_extra_slot): New functions.

(Fcopy_sequence, Felt, internal_equal, Ffillarray):
Handle chartables and boolvectors.
(Flength, concat): Handle boolvectors as args.
(Flength): Handle chartables as args.
1995-10-07 21:52:15 +00:00
Richard M. Stallman
ce0af8d5e4 (bytecode.o): Depend on syntax.h. 1995-10-07 16:07:24 +00:00
Michael Kifer
730cce4a6c Added ${lispsource}ediff-hook.elc after vc-hooks. 1995-10-06 04:36:30 +00:00
Richard M. Stallman
ff5e95b7c4 (Fset_window_hscroll): Don't reject args > SHORTBITS. 1995-10-05 23:44:20 +00:00
Richard M. Stallman
782d260e52 (Fmove_to_column): Make it interactive. 1995-10-05 23:15:11 +00:00
Richard M. Stallman
ea064aa0d0 (Fmake_indirect_buffer): Was taking marker positions
from current buffer, which is irrelevant.
1995-10-04 17:24:33 +00:00
Richard M. Stallman
597dd755eb (Fmake_overlay): Set end-marker's insertion_type to 1. 1995-10-03 18:43:12 +00:00
Richard M. Stallman
6526ab49f0 (Vsuggest_key_bindings): New variable.
(syms_of_keyboard): Set up Lisp variable.
(Fexecute_extended_command): When enabled, show an equivalent key binding.
1995-10-03 09:17:37 +00:00
Richard M. Stallman
68db017386 (write_segment): Use pagesize as unit of writing instead of 128. 1995-10-03 09:15:49 +00:00
Richard M. Stallman
e05169e2ea (Qmouse_leave_buffer_hook): New variable.
(syms_of_frame_1): Initialize it.
(Fhandle_switch_frame): Run the hooks.
1995-10-03 09:14:54 +00:00
Richard M. Stallman
1c78509be7 (get_display_line): Don't abort if there's text
in the line to the right beyond HPOS.
(quit_error_check): Make this a no-op.
1995-10-03 09:13:55 +00:00
Richard M. Stallman
75c43375f4 (Qwindow_scroll_functions, Vwindow_scroll_functions): New variables.
(syms_of_xdisp): Initialize them.
(redisplay_window): Call the functions when appropriate.
1995-10-03 09:12:50 +00:00
Richard M. Stallman
7d48558fef (run_hook_with_args_2): New function. 1995-10-03 09:11:08 +00:00
Richard M. Stallman
0a1f771ac2 (window_scroll): Always set force_start. 1995-10-03 09:09:30 +00:00
Richard M. Stallman
34597fa951 (re_search_2): Use 0, not -1, as the lower bound
for the match position when we adjust RANGE.
1995-10-01 20:17:02 +00:00
Richard M. Stallman
3ed15d97b1 (barf_or_query_if_file_exists): New arg STATPTR. Callers changed.
(Fcopy_file): Error if input and output are the same file.
1995-10-01 07:14:42 +00:00
Richard M. Stallman
d7d7c1dd1b Add early support for Solaris 2.5 on PowerPCs.
[USG5_4] (CANNOT_DUMP): Define this if USG5_4.
(UNEXEC): Don't define if already defined.
[USG5_4] (DATA_SEG_BITS, LIBS_MACHINE): Alternate definitions.
(C_SWITCH_MACHINE, LD_SWITCH_MACHINE, NLIST_STRUCT, WORDS_BIG_ENDIAN)
(TEXT_START, DATA_START, TEXT_END, DATA_END):
Don't define, if USG5_4.
1995-10-01 03:43:42 +00:00
Richard M. Stallman
79873d5027 (Fx_create_frame): Set up buffer-predicate slot.
(x_decode_color): Get error if color not defined.
1995-09-25 18:46:19 +00:00
Richard M. Stallman
68f297c5d3 (safe_run_hooks): No longer static.
(read_char_x_menu_prompt):
When unreading events generated by a menu,
turn symbols and integers into lists,
for the sake of last_nonmenu_event and thus y-or-n-p.
1995-09-25 18:44:59 +00:00
Richard M. Stallman
060ffec189 (read_minibuf_unwind): Use safe_run_hooks. 1995-09-25 18:42:00 +00:00
Richard M. Stallman
d31d42cc68 (popup_get_selection): Pop menu down if button is pressed
outside the menu.

(xmenu_show): Ignore `quote' when looking up the result.
1995-09-24 23:33:06 +00:00
Paul Eggert
6b8ac9d289 (LOCALTIME_CACHE, tzset): New macros. 1995-09-20 03:27:58 +00:00
Paul Eggert
70b13a6cc9 (gettimeofday, init_gettimeofday, daylight, gmtoffset): Undo previous change.
(init_environment): No need to call tzset and init_gettimeofday,
since `main' now does that for us.
(gettimeofday): Ignore tzp; it's obsolescent.
(init_gettimeofday): Invoke tzset first.
1995-09-20 03:26:43 +00:00
Richard M. Stallman
0745dce924 (Fload): Rename arg STR to FILE. 1995-09-15 16:45:41 +00:00
Karl Heuer
c993e19a73 (BROKEN_SELECT_NON_X): Moved to s/isc2-2.h.
(HAVE_SELECT): Deleted; s/isc2-2.h no longer undefs this.
1995-09-12 17:39:01 +00:00
Karl Heuer
8822538395 (BROKEN_SELECT_NON_X): Define this instead of turning
off HAVE_SELECT.
1995-09-12 17:38:38 +00:00
Richard M. Stallman
40648b6832 (call_mod_hooks, verify_interval_modification):
Functions moved to textprop.c.
1995-09-12 17:37:53 +00:00
Richard M. Stallman
318d2fa869 (call_mod_hooks): Moved from intevals.c
(verify_interval_modification): Moved from intervals.c.
(interval_insert_behind_hooks, interval_insert_in_front_hooks): New variables.
(report_interval_modification): New function.
1995-09-12 17:37:32 +00:00
Richard M. Stallman
c5ca07864e (signal_after_change): Call report_interval_modification. 1995-09-12 17:37:02 +00:00
Paul Eggert
c59b508976 (Fencode_time): Use mktime to do the real work;
this fixes bugs involving out-of-range dates and leap seconds,
and allows date arithmetic via out-of-range values for arguments.
Allow the ZONE parameter to be a TZ-style string.
Doc string fix: `1900' -> `this century'.
(set_time_zone_rule): New function.
(Fset_time_zone_rule): Use it.
(environ, make_time): Add extern declarations.
(days_per_month): Remove.
1995-09-10 19:38:19 +00:00
Richard M. Stallman
dbc9b92ccb (init_gettimeofday): Remove declaration. 1995-09-10 04:38:13 +00:00
Richard M. Stallman
ccc4fdaabe (gettimeofday): Don't bother setting time zone,
since nobody uses it, and our hacks to get it get in the way
of the above fix.  Use simpler method for getting time stamp.
(init_gettimeofday, daylight, gmtoffset): Remove.
1995-09-10 04:37:51 +00:00