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
Richard M. Stallman
143cb9a977
(Fset_time_zone_rule): New function.
...
(syms_of_editfns): defsubr it.
1995-09-10 04:37:21 +00:00
Richard M. Stallman
cdadf745b2
(LOCALTIME_CACHE): Remove; now configured automatically.
1995-09-10 04:23:38 +00:00
Richard M. Stallman
e7536cff15
(main): Call tzset only if LOCALTIME_CACHE is defined;
...
not all Suns have this bug.
1995-09-10 04:20:44 +00:00
Richard M. Stallman
d7437ef689
(command_loop_1): Set this_command to nil before reading a command.
1995-09-10 01:23:14 +00:00
Richard M. Stallman
145b0681a7
(Fdecode_time): Doc fix.
1995-09-09 19:31:29 +00:00
Richard M. Stallman
6ef5c4bdda
(Fmake_marker): Initialize insertion_type to 0.
1995-09-08 16:59:25 +00:00
Richard M. Stallman
4a722d6c53
(HAVE_UNISTD_H): Add #undef.
1995-09-08 16:24:48 +00:00
Richard M. Stallman
fc299663f4
(Fcopy_marker): New arg TYPE.
...
(Fmarker_insertion_type, Fset_marker_insertion_type): New functions.
(syms_of_marker): defsubr them.
1995-09-03 18:53:58 +00:00
Richard M. Stallman
26d84681fa
(Fmake_indirect_buffer): Set the insertion_type of the zv_marker markers to 1.
1995-09-03 18:52:37 +00:00
Richard M. Stallman
beecb55b9e
(adjust_markers_for_insert): New function.
...
(insert_from_buffer_1, insert_from_string_1, insert_1): Call it.
1995-09-03 18:51:47 +00:00
Richard M. Stallman
aee8173001
(putchar): Call internal_flush instead of _flsbuf.
...
(DO_TERMSCRIPT): New macro to support open-termscript.
(internal_flush): Corrected handling of flush in middle of
escape sequences. Handle screen width > 127.
(flush_escape): New function for use by internal_flush.
(sys_select): New MS-DOS specific version with us timing.
(EMACSCOLORS): New environment variable.
(IT_clear_end_of_line): Set default face.
(run_msdos_command): Restore mouse position after command.
Close "backup fd"s.
Corrected switch to cooked mode while running command.
(mouse_on, mouse_off): Now checks have_mouse > 0.
Note: "have_mouse < 0" means that a mouse is present, but
it has been disabled via msdos-mouse-disable.
(IT_write_glyphs): Allow esc-character itself to be printed.
(event_timestamp): New function to make reliable times stamps.
(sys_chdir): Skip drive letter before calling chdir.
(sleep_or_kbd_hit): Handle 60 seconds time wrap.
(mouse_get_pos): Return event_timestamp.
1995-09-03 17:32:58 +00:00
David J. MacKenzie
c70c27055d
Don't assume that HAVE_CONFIG_H implies emacs.
1995-09-02 23:47:41 +00:00
Richard M. Stallman
ac3b02794f
(Fmsdos_mouse_enable, Fmsdos_mouse_disable)
...
(Fmsdos_mouse_init): New functions.
(syms_of_dosfns): defsubr them.
(Fmode25, Fmode4350): Call mouse_off unconditionally.
(Fset_mouse_position): Return nil.
1995-09-02 16:23:53 +00:00
Richard M. Stallman
39238ce758
(sleep_or_kbd_init): Delete declaration.
1995-09-02 16:23:03 +00:00
Richard M. Stallman
7964ba9e07
(sys_subshell) [MSDOS]: Handle SUSPEND env var.
...
Disable error report from subshell if system returns non-zero.
Don't call vfork before calling system.
Don't call wait_for_termination.
(sys_select): Turn it off if MSDOS.
(reset_sys_modes): Support EMACSCOLORS env var.
1995-09-02 16:22:17 +00:00
Richard M. Stallman
91b0b37e2a
[!MULTI_FRAME] (Factive_minibuffer_window): New function.
...
[!MULTI_FRAME] (syms_of_frame): defsubr it.
1995-09-02 16:20:15 +00:00
Richard M. Stallman
64aba29c64
(SITELOAD_PURESIZE_EXTRA): New macro.
...
(BASE_PURESIZE): Use SITELOAD_PURESIZE_EXTRA.
1995-09-02 16:18:26 +00:00
Richard M. Stallman
adc6741c3f
(Fmake_symbolic_link, Fadd_name_to_file):
...
Look for handler for the new name as well as for the target.
1995-09-02 01:21:55 +00:00
Richard M. Stallman
8436e23177
(Ffile_name_all_completions, Ffile_name_completion):
...
Look for handler for FILE as well as for DIRNAME.
1995-09-02 01:19:53 +00:00
Richard M. Stallman
ae4788a82b
(re_search_2): If pattern starts with \=, optimize search.
1995-09-01 18:43:30 +00:00
Richard M. Stallman
aea4a109af
(save_excursion_save): Pass the new arg to Fcopy_marker.
1995-09-01 02:02:17 +00:00
Richard M. Stallman
eeb82665b2
(save_window_save): Pass the new arg to Fcopy_marker.
1995-09-01 02:01:29 +00:00
Richard M. Stallman
b78ce8fbdb
(Fcommand_execute): Ignore `disabled' property on
...
commands if `disable-command-hook' is nil.
(read_key_sequence): Validate the event position
before calling get_local_map.
1995-08-31 23:09:39 +00:00