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

10633 commits

Author SHA1 Message Date
Richard M. Stallman
08b0527265 (graft_intervals_into_buffer): If SOURCE is null
and TREE is null, no need to call Fset_text_properties.
1993-12-23 01:58:56 +00:00
Richard M. Stallman
9aa1e75280 (HAVE_XSETWMPROTOCOLS): Add #undef. 1993-12-23 01:57:54 +00:00
Richard M. Stallman
b6c537745e (Fsubstitute_command_keys): Ignore menu bar bindings.
(Fdocumentation_property): 3 args is maximum.
1993-12-23 01:56:43 +00:00
Richard M. Stallman
5b8bcf48ed (Fbuffer_disable_undo): Make arg optional. 1993-12-23 01:55:14 +00:00
Richard M. Stallman
b8d584f66f (Fwhere_is_internal): Doc fix. 1993-12-23 01:54:13 +00:00
Richard M. Stallman
d9bc1c99c0 (Fmake_symbolic_link): Do expand FILENAME if starts with ~.
(Fread_file_name): If defalt is nil and user tries to use it, signal an error.
1993-12-23 01:53:11 +00:00
Richard M. Stallman
7c6b2ea4a6 (x_get_foreign_selection): Use x_catch_errors.
(x_handle_selection_clear): Call prepare_menu_bars.
1993-12-23 01:43:11 +00:00
Richard M. Stallman
7c79a68415 Line breaking change. 1993-12-23 01:31:39 +00:00
Richard M. Stallman
7653d03099 (Fmessage): Use message2.
(Fsubst_char_in_region): Move the NOUNDO hacking code
after the modify_region call.
1993-12-23 01:28:34 +00:00
Richard M. Stallman
c451d7b1a3 Use WORDS_BIG_ENDIAN, not BIG_ENDIAN.
(Qmenu_bar): Declared.

(DEFUN_ARGS_MANY, DEFUN_ARGS_UNEVALLED, DEFUN_ARGS_0,...): New macros.
(DEFUN) [__STDC__]: Use those macros.
1993-12-23 01:26:50 +00:00
Richard M. Stallman
99e3d726dc (Fprocess_status): Use get_process, not Fget_process.
[BROKEN_O_NONBLOCK]: Undefine O_NONBLOCK.

(create_process): Delete SYSV4_PTYS code.
(deactivate_process): Likewise.

(create_process) [SET_CHILD_PTY_PGRP]: Do ioctls
to set the pgrp of the pty.

(wait_reading_process_input): Call prepare_menu_bars.
1993-12-23 01:24:18 +00:00
Richard M. Stallman
53b6ab286b (deactivate_process) [SVR4_PTYS]: If subtty is not nil, close it. 1993-12-23 01:22:23 +00:00
Richard M. Stallman
6a9ee000dd (minibuffer_auto_raise): Really define it.
(minibuffer_auto_raise): New variable.
(syms_of_minibuf): Set up Lisp var.
(read_minibuf): Maybe raise the minibuffer's frame.
1993-12-23 01:20:50 +00:00
Richard M. Stallman
83010cd6e2 (del_range): Second argument in call to
offset_intervals is 'from', not 'point'.

(modify_region): Call record_first_change if necessary.

(insert_from_string): Pass LENGTH arg to graft_intervals_into_buffer.
1993-12-23 01:19:25 +00:00
Richard M. Stallman
271c7b7cc9 (syms_of_emacs): Define Lisp var system-configuration.
(memory_warning_signal): New function.
(main): Handle SIGDANGER, if defined.
1993-12-23 01:15:13 +00:00
Richard M. Stallman
7f434d8e60 (echo_area_glyphs_length): Declared. 1993-12-23 01:13:02 +00:00
Richard M. Stallman
ab8fbbf707 (configuration): New variable.
(emacs.o): Define macro CONFIGURATION.

[__GNUC__ > 1]: Maybe define LINKER_WAS_SPECIFIED.
[LINKER_WAS_SPECIFIED] (YMF_PASS_LDFLAGS): Define as identity.
1993-12-23 01:11:33 +00:00
Richard M. Stallman
708d172af2 (printchar, strout): Set echo_area_glyphs_length. 1993-12-23 01:09:51 +00:00
Richard M. Stallman
5141b90115 (Fdisplay_buffer): If pop_up_frames, pass t to Fget_buffer_window. 1993-12-23 01:07:58 +00:00
Richard M. Stallman
d063751a97 (make_terminal_frame): Add frame to Vframe_list.
(make_frame): Don't add to frame list here.
1993-12-23 01:05:51 +00:00
Richard M. Stallman
90adcf2077 (message): Use message2, not message1.
(display_string): Fix truncation-criterion after main loop
for termination due to LENGTH.

(echo_area_glyphs_length): New variable.
(message1): Set it.
(message2): New function.
(display_string): New arg LENGTH.
(echo_area_display): Pass new arg to display_string.
(redisplay_window): Likewise.
(display_text_line): Likewise.
(display_menu_bar): Likewise.
(display_mode_element): Likewise.

(update_menu_bar, update_menu_bars): New functions.
(prepare_menu_bars): New function.
(redisplay_window): Don't update menu bar here.
(display_menu_bar): Assume item list already updated.

(redisplay_window): Don't alter lpoint when w is
selected window in a non-selected frame.
1993-12-23 01:04:26 +00:00
Richard M. Stallman
f58534a3fa (Fx_list_fonts): Handle BROKEN_XLISTFONTSWITHINFO.
(Fx_create_frame): Add frame to Vframe_list.

(Fx_create_frame): Fix order of arguments of
x_wm_set_size_hint call.  This corrects handling of +x-y and -x+y
geometry specifications.

(XSetWMProtocols): New function, defined conditionally.
1993-12-23 01:00:49 +00:00
Richard M. Stallman
6938823812 (XTread_socket): Don't offset keysym here.
Special handling for "dead accent" keysyms.

(construct_mouse_click, x_scroll_bar_handle_click)
(XTread_socket): `code' of an event is now an int.

(pixel_to_glyph_coords): New arg NOCLIP.  Callers changed.

(XTread_socket): For MotionNotify, if x_mouse_grabbed, use last_mouse_frame.
(construct_mouse_click): Set last_mouse_frame.
(XTmouse_position): If x_mouse_grabbed, use last_mouse_frame.

(x_calc_absolute_position): Borderwidth must be doubled
before subtracting from width to get correct value.
1993-12-23 00:57:11 +00:00
Richard M. Stallman
5c40edb4bf Initial revision 1993-12-23 00:55:25 +00:00
Richard M. Stallman
653dfe6490 (struct input_event): `code' is now an int. 1993-12-23 00:54:23 +00:00
Richard M. Stallman
e9bf89a0ba (make_lispy_event): Offset the event code here.
Special handling for "dead accent" keysyms.
(lispy_accent_codes, lispy_accent_keys): New variables.

(quit_throw_to_read_char): Don't switch frames if
internal_last_event_frame is not a frame.

(kbd_buffer_store_event, make_lispy_event)
(stuff_buffered_input): `code' of an event is now an int.

(make_lispy_movement): If we have a frame but pos is not
in a window, return an event with the frame.

(read_key_sequence): Don't return if in middle
of possible function-key-map sequence, if the bindings were all
found by case conversion.

(set_waiting_for_input): Code testing echo_flag deleted.
(echo_flag, echo_now): Vars deleted.

(read_key_sequence): Bind case_converted at top level.
Clear it at replay_sequence.
(follow_key): Never clear *CASE_CONVERTED.

(syms_of_keyboard): Define Lisp var track-mouse.

(follow_key): New arg case_converted.
(read_key_sequence): Pass the new arg.
If key has a binding via case-conversion, that does not prevent
use of function_key_map.

(read_char): Call prepare_menu_bars.
(tracking_off): Call prepare_menu_bars.
1993-12-23 00:52:50 +00:00
Richard M. Stallman
58f6c8ab02 (kbd_buffer_get_event): For delete-window-event, do count iconified frames. 1993-12-23 00:39:25 +00:00
Richard M. Stallman
ea0d86af5b (Fsit_for): Call prepare_menu_bars.
(direct_output_forward_char):
Give up if in truncated text at end of line.
1993-12-23 00:22:10 +00:00
Francesco Potortì
c56a586eb5 * m/delta.h (BROKEN_CLOSEDIR): added because closedir is interruptible.
(HAVE_UNISTD_H): deleted because configure takes care of it.
	(C_SWITCH_MACHINE): added optimisation options for gnu cc.
1993-12-22 17:18:49 +00:00
Roland McGrath
4d9c0ca4d6 (update_frame): Only call sleep (outq / baud_rate) if baud_rate >= OUTQ.
Calling sleep (0) causes a gratuitous delay on some systems.
1993-12-15 01:59:43 +00:00
Roland McGrath
3b95c869b1 [! MAP_FILE] (MAP_FILE): Define to zero.
(unexec): Remove unused variable BUF.
Use MAP_FILE bit in mmap call.
(run_time_remap): Use MAP_FILE bit in mmap call.
1993-12-11 22:26:14 +00:00
Roland McGrath
e3271ae5f6 (PENDING_OUTPUT_COUNT) [__GNU_LIBRARY__]: Alternate definition for the GNU
C library.  I changed this in version 18 in 1991, but the change never got
propagated.
1993-12-08 23:49:24 +00:00
Richard M. Stallman
cabfafdc13 (NO_MODE_T): Defined. 1993-11-28 11:33:43 +00:00
Richard M. Stallman
e19e176ab9 [!SYSTEM_MALLOC] (MEMMOVE_MISSING): Defined. 1993-11-28 11:32:00 +00:00
Richard M. Stallman
0952210a1a (LIBS_SYSTEM): Always define this one way or another.
Include -lPW in it.
1993-11-28 11:30:23 +00:00
Richard M. Stallman
f9d78f50cf Properly install previous change. 1993-11-27 19:37:46 +00:00
Richard M. Stallman
86fb06ae8e (main) [AIX]: Don't handle signals 23, SIGAIO, SIGPTY. 1993-11-27 06:37:16 +00:00
Richard M. Stallman
854f3a54d2 (kbd_buffer_get_event): If user destroys the last frame,
exit before calling Fdelete_frame.

(read_avail_input): Undo Nov 18 change.
1993-11-26 21:54:39 +00:00
Richard M. Stallman
dcce9abd1c (x_window): Call XSetWMProtocols. 1993-11-26 21:50:57 +00:00
Richard M. Stallman
0c98c57239 (SYSTEM_TYPE): Make it "irix". 1993-11-26 20:14:14 +00:00
Richard M. Stallman
1db6401ccd (closedir): Test BROKEN_CLOSEDIR, not INTERRUPTIBLE_CLOSE. 1993-11-26 10:40:27 +00:00
Richard M. Stallman
49cf7ff498 (readevalloop): Get error if buffer being eval'd is killed. 1993-11-26 02:18:54 +00:00
Richard M. Stallman
5325ce514d (SETPGRP_RELEASES_CTTY): Defined. 1993-11-25 21:40:15 +00:00
Richard M. Stallman
aa7244809d (IRIX5, SETPGRP_RELEASES_CTTY): Defined. 1993-11-25 21:37:54 +00:00
Richard M. Stallman
c14e53a442 (create_process): Do setpgrp for USG regardless of IRIX.
(process_send_signal) [IRIX5]: For SIGTSTP, use VSUSP, not VSWTCH.
1993-11-25 21:36:51 +00:00
Richard M. Stallman
b16375c25d Comment changes. 1993-11-25 21:35:08 +00:00
Richard M. Stallman
fdba859084 (child_setup): Test SETPGRP_RELEASES_CTTY, not IRIX.
(init_callproc): Fix previous change.
1993-11-25 21:33:31 +00:00
Richard M. Stallman
0dfcc832b8 (quit_throw_to_read_char):
Look at internal_last_event_frame only if MULTI_FRAME.
1993-11-25 19:38:14 +00:00
Richard M. Stallman
5ad717ada5 (HAVE_FTIME): Deleted (autoconf does it). 1993-11-25 11:48:28 +00:00
Richard M. Stallman
63840efa03 Comment change. 1993-11-25 11:43:58 +00:00