Richard M. Stallman
f5abdb044b
(unexec): Find the old data section.
...
New variable new_offsets_shift used instead of new_data2_size
since they are not always the same. Simplify logic for copying
the headers and inserting new ones.
1995-10-15 00:59:48 +00:00
Richard M. Stallman
26fb39b5ef
(Finsert_file_contents): If replacing,
...
set selected_window->start_at_line_beg.
1995-10-14 20:42:26 +00:00
Richard M. Stallman
9cda4f7cdd
(Qdisplay_table): New variable.
...
(syms_of_display): Initialize it.
1995-10-14 05:54:16 +00:00
Richard M. Stallman
a59de17baf
(Qchar_table_extra_slots): New variable.
...
(syms_of_alloc): Initialize it.
(Fmake_char_table): Take new arg PURPOSE and get N from a property.
1995-10-14 05:53:31 +00:00
Richard M. Stallman
5ebaddf5f9
(Qsyntax_table): New variable.
...
(init_syntax_once): Call Fmake_char_table the new way.
Set up Qsyntax_table.
(Fsyntax_table_p): Check the `purpose' field.
1995-10-14 05:52:39 +00:00
Richard M. Stallman
f9e24cb917
(x_connection_signal_1): New function.
...
(x_connection_signal): Try all the server connections
to see which one was lost.
(XTcondemn_scroll_bars): No error if
FRAME_CONDEMNED_SCROLL_BARS is non-nil already.
Just move all the scroll bars into there.
1995-10-12 22:58:04 +00:00
Richard M. Stallman
7f73dc9db3
(struct Lisp_Char_Table): New slot `purpose'.
...
(CHAR_TABLE_STANDARD_SLOTS): Add one.
(CHECK_VECTOR_OR_CHAR_TABLE): New macro.
1995-10-12 21:19:49 +00:00
Richard M. Stallman
352e5dea1e
(describe_vector): Support nested char-tables.
1995-10-12 21:18:42 +00:00
Richard M. Stallman
7f0edce714
(Qvector_or_char_table_p): New variable.
...
(Fvector_or_char_table_p): New function.
(syms_of_data): Set up Lisp var and function.
1995-10-12 19:17:05 +00:00
Richard M. Stallman
80622eecc9
(Fdelete_other_windows): Set w->force_start.
1995-10-12 18:00:00 +00:00
Richard M. Stallman
8d9583b0bc
(syms_of_xdisp): Doc fix.
1995-10-12 15:44:45 +00:00
Richard M. Stallman
2ee250ec15
(make_lispy_event) [!USE_X_TOOLKIT]: Dragging
...
the mouse into the menu-bar and releasing it there did
not create a drag-mouse event.
(set-input-mode) [MSDOS]: Do not call reset_sys_modes and init_sys_modes.
1995-10-11 17:24:37 +00:00
Richard M. Stallman
51ad8a6883
(command_loop_1): Access display tables as char-tables.
1995-10-11 17:18:51 +00:00
Richard M. Stallman
f908610f0a
(redisplay_window, redisplay_window, display_text_line):
...
Fix up calls to window_display_table. Access display tables as char-tables.
1995-10-11 17:17:32 +00:00
Richard M. Stallman
319315f1c5
(window_display_table): Use DISP_TABLE_P. Return type
...
struct Lisp_Char_Table * since display tables are now char-tables.
1995-10-11 17:15:10 +00:00
Richard M. Stallman
d44f12b46b
(buffer_display_table): Use DISP_TABLE_P.
...
Return type is now struct Lisp_Char_Table *
since display tables are now char-tables.
(character_width, disptab_matches_widthtab, recompute_width_table)
(current_column, Fmove_to_column, compute_motion):
Corresponding changes.
1995-10-11 17:12:59 +00:00
Richard M. Stallman
c8640abf7e
(Fcopy_sequence): Call Fmake_char_table the new way.
...
(map_char_table): No longer static. New arg C_FUNCTION.
(Fmap_char_table): Call to map_char_table changed.
(Fset_char_table_parent): Allow nil s new parent.
Fix the code that checks for a loop in parents.
1995-10-11 17:11:32 +00:00
Richard M. Stallman
80af4e5053
(DISP_TABLE_P): Check the `purpose' slot.
...
(Qdisplay_table): Declared.
(DISP_TABLE_EXTRA_SLOTS, DISP_TABLE_P): New macros.
(DISP_TRUNC_GLYPH, DISP_CONTINUE_GLYPH, DISP_ESCAPE_GLYPH)
(DISP_CTRL_GLYPH, DISP_INVIS_VECTOR, DISP_BORDER_GLYPH):
Use the `extras' field.
(window_display_table, buffer_display_table): Change return type.
1995-10-11 17:07:03 +00:00
Kim F. Storm
03d50ea516
(dos_timezone_offset, dos_display_scancodes,
...
dos_menubar_clock, dos_hyper_key, dos_super_key, dos_keypad_mode,
dos_keyboard_layout, dos_decimal_point): New variables.
1995-10-11 15:17:44 +00:00
Kim F. Storm
5f08dc787a
(insert-startup-screen): New function.
...
(msdos-memget, msdos-memput): New functions.
(msdos-set-keyboard, insert-startup-screen): New functions.
(dos-timezone-offset, dos-display-scancodes, dos-menubar-clock,
dos-hyper-key, dos-super-key, dos-keypad-mode, dos-keyboard-layout,
dos-decimal-point): New variables.
1995-10-11 15:12:35 +00:00
Kim F. Storm
f32d40914e
[!HAVE_X_WINDOWS]:
...
Reworked display code to perform immediate screen output.
Added menu-bar clock.
Reworked keyboard code to support international keyboards.
Improved keypad handling (see dos-keypad-mode).
Properly distinguish between C-end and C-kp-1 etc.
Corrected M-return & M-kp-enter.
Added support for hyper and super keys.
Reworked mouse code to avoid mouse flicker.
Saves and restores DOS-screen prior to emacs startup.
(sys_select): Would abort if rfds = NULL.
(dos_direct_output): New function.
(dos_dump_scancodes): New variable.
1995-10-11 15:08:15 +00:00
Kim F. Storm
8a7b170025
(internal_flush): Removed
...
(mouse_init1, mouse_check_moved, mouse_pressed, mouse_released): Removed.
(dos_get_saved_screen, dos_set_keyboard): New functions.
1995-10-11 15:00:58 +00:00
Kim F. Storm
920b97abd6
Check that DJGPP v. 1 is used.
...
Define __DJGPP__ to 1.
Simplified INTERNAL_TERMINAL termcap definition.
Removed #define fflush internal_flush.
1995-10-11 14:55:17 +00:00
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