Commit graph

2242 commits

Author SHA1 Message Date
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
Richard M. Stallman
088aaa2d2c (bcopy, bzero, bcmp): If HAVE_BCOPY, don't #define. 1993-11-25 09:38:56 +00:00
Richard M. Stallman
b5f37d3f7c (merge_properties_sticky): Declared. 1993-11-25 07:47:14 +00:00
Richard M. Stallman
84386599ec (Fhandle_switch_frame, Fredirect_frame_focus): Declared. 1993-11-25 07:42:27 +00:00
Richard M. Stallman
7819b9be12 (HAVE_RANDOM, HAVE_XSCREENNUMBEROFSCREEN, BROKEN_FIONREAD): Add definitions.
(LIB_X11_LIB, LIBX11_SYSTEM): Add override definitions.
(USG_SHARED_LIBRARIES): Add #undef.
1993-11-25 06:47:28 +00:00
Richard M. Stallman
0b79989fc4 (graft_intervals_into_buffer): New arg LENGTH.
If source has no intervals, set dest properties to nil.
1993-11-25 06:28:03 +00:00
Richard M. Stallman
af9015f93d (insert_from_string): Pass new arg to graft_intervals_into_buffer. 1993-11-25 06:26:39 +00:00
Richard M. Stallman
71f06467fd (init_baud_rate): Avoid referring to sg uninitialized. 1993-11-25 05:41:47 +00:00
Richard M. Stallman
bbc2998f3e (Fmove_to_column): Increments for control characters
were too low by 1.
1993-11-24 23:41:42 +00:00
Richard M. Stallman
6c955bcb52 (Fdelete_process): Fix paren error. 1993-11-24 22:42:25 +00:00
Richard M. Stallman
cfdc57af95 (closedir): Pass on the value from sys_closedir.
Do use this definition, if INTERRUPTIBLE_CLOSE.
1993-11-24 08:02:26 +00:00
Richard M. Stallman
1fb20991bf (XTread_socket): Really handle Xatom_wm_window_moved events.
(XTread_socket): Generate delete_window_event's.
1993-11-24 06:39:54 +00:00
Richard M. Stallman
7928f0b5a2 (main): Call init_callproc and init_callproc_1. 1993-11-24 06:37:51 +00:00
Richard M. Stallman
8de15d6981 (init_callproc): Maybe add ../lib-src to exec-path
and maybe store it in exec-directory.
Maybe put ../etc into data-directory.
(init_callproc_1): Part of init_callproc is split out.
1993-11-24 06:37:13 +00:00
Richard M. Stallman
ec9d0f508c (LIBX11_SYSTEM): Override the definition. 1993-11-24 01:03:12 +00:00
Richard M. Stallman
77fb57d809 (SIGNALS_VIA_CHARACTERS): Defined. 1993-11-23 22:03:23 +00:00
Richard M. Stallman
f4a7e5bd47 (getwd): If getcwd returns 0, we return 0.
(getwd for VMS): Likewise.

(read_input_waiting): read_socket_hook
delivers events, not characters.  Make buf smaller
in the case where we actually call read itself.
1993-11-23 11:06:13 +00:00
Richard M. Stallman
a9f2c8845b (wait_reading_process_input):
Use -1 to mean wait_channel is empty.
Start process loop with descriptor 0 if keyboard_descriptor is not 0.
(make_process): Initialize descriptors to -1.
(Fdelete_process): -1 means empty, in infd.
(deactivate_process): Likewise.
(process_send_signal): Likewise.
(kill_buffer_processes): Likewise.
(sigchld_handler): Likewise.
(status_notify): Likewise.
(close_process_descs): Likewise.
(create_process): Likewise.
(Fopen_network_stream): Likewise.
(send_process): Likewise.
(Fprocess_send_eof): Likewise.  Use XINT when closing outfd.
(Fset_process_filter): Use XINT to get infd value.
(wait_reading_process_input): Likewise.

(wait_reading_process_input): When bypassing select, clear Available.
1993-11-23 10:57:16 +00:00
Richard M. Stallman
990acea371 (kbd_buffer_get_event): Handle delete_window_event's. 1993-11-23 10:44:10 +00:00
Richard M. Stallman
75bb67502d (EMACS_GET_TTY_PGRP, EMACS_SET_TTY_PGRP):
If HAVE_TERMIOS and BSD_TERMIOS, don't use tc[sg]etpgrp.
1993-11-23 10:41:27 +00:00
Richard M. Stallman
8d47f8c474 (Fx_disown_selection_internal): When making the fake
event for x_handle_selection_clear, use SELECTION_EVENT_... macros.
1993-11-23 10:40:17 +00:00
Richard M. Stallman
60b96ee7a3 (make_buffer_string): Don't copy intervals
if we don't really have any properties.

(Finsert_buffer_substring):
Pass graft_intervals_into_buffer the current buffer.
Pass it the extra arg LENGTH.

(Fsubst_char_in_region): Call modify_region only if
a change has to be made.  Call signal_after_change just once, at end.
1993-11-23 10:38:59 +00:00
Richard M. Stallman
d2cad97da6 (Finsert_file_contents): Don't call signal_after_change
if we did not call prepare_to_modify_buffer.
1993-11-23 10:09:44 +00:00
Richard M. Stallman
5525395793 Declare Fnext_single_property_change and Fnext_property_change. 1993-11-23 09:57:33 +00:00
Richard M. Stallman
cd23c8dbd2 (HAVE_GETTIMEOFDAY): Define only if HAVE_SOCKETS.
Fix up conditionals changed recently.
1993-11-23 08:56:03 +00:00
Richard M. Stallman
5e88a39e2c (OBARRAY_SIZE): Increase from 509. 1993-11-23 03:33:33 +00:00
Richard M. Stallman
05be3f1a8a (search_magic_path): Fix colon-colon case. 1993-11-23 03:23:05 +00:00
Richard M. Stallman
916a311917 (Ftext_property_not_all): For trivial yes, return start, not Qt. 1993-11-22 19:47:26 +00:00
Richard M. Stallman
1f11a5cab2 (x_set_frame_parameters): Call check_frame_size
before Fset_frame_size and Fset_frame_position.
1993-11-22 04:33:26 +00:00
Richard M. Stallman
3a6b074b35 (delete_window_event): New event kind. 1993-11-22 04:04:46 +00:00
Richard M. Stallman
02ff9dd574 (Fmake_frame_visible): Use FRAME_SAMPLE_VISIBILITY. Doc fix. 1993-11-22 03:08:40 +00:00
Richard M. Stallman
2f5d268106 [HAVE_SOCKETS] (HAVE_XSCREENNUMBEROFSCREEN): Defined. 1993-11-22 00:20:36 +00:00
Richard M. Stallman
c818754bc1 Doc fix. 1993-11-21 22:43:09 +00:00
Richard M. Stallman
f39f5da303 (hftctl.o): New rule. 1993-11-21 22:20:51 +00:00
Richard M. Stallman
85be9133b9 Include config.h. Include sys/signal.h before config.h.
(sav_alrm): Use SIGTYPE.
(FUNC): Typedef deleted.
1993-11-21 22:19:51 +00:00
Richard M. Stallman
d895abb0ba (window_loop, case DELETE_BUFFER_WINDOWS):
Select a new buffer only if w is selected window.
1993-11-21 22:15:04 +00:00
Richard M. Stallman
4ba131170f (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF):
Defined to use all the available PTYs in an ELF environment which
uses the SVR4 mechanisms; grantpt(), unlockpt() and ptsname().
(FIRST_PTY_LETTER): Deleted.
1993-11-21 09:04:48 +00:00
Richard M. Stallman
94b90846e4 entered into RCS 1993-11-20 22:31:12 +00:00
Richard M. Stallman
111b637db6 (Ftext_property_not_all): Swap t and nil values in
the case where there are no intervals.
(Fprevious_single_property_change, Fprevious_property_change)
Extra arg LIMIT.  Return value was off by 1.
(Fnext_single_property_change, Fnext_property_change):
Extra arg LIMIT.
(Fnext_single_property_change): Require at least 2 args.
1993-11-20 09:44:27 +00:00
Richard M. Stallman
f75c0f8aae (compute_motion): Pass new arg to Fnext_single_property_change. 1993-11-20 09:44:09 +00:00
Richard M. Stallman
b349f4fb74 (compute_char_face): Accept new arg LIMIT.
Pass Fnext_single_property_change its new arg LIMIT.
1993-11-20 09:43:41 +00:00
Richard M. Stallman
90b5299acd (direct_output_for_insert): Pass new arg to compute_char_face. 1993-11-20 09:43:03 +00:00
Richard M. Stallman
dfabd9a094 (display_text_line): Pass new arg to compute_char_face
and to Fnext_single_property_change.
1993-11-20 09:42:16 +00:00
Richard M. Stallman
398b666f47 (follow_key): When downcasing, downcase just the
basic part of the character, and preserve the modifier bits.
1993-11-20 05:17:44 +00:00
Richard M. Stallman
3b9189f831 (read_key_sequence): If we get a quit, and current buffer
has changed, replay it to get proper keymap.
(quit_throw_to_read_char): Switch frames to the frame the quit was in.
1993-11-20 04:14:34 +00:00
Karl Heuer
6b528f2f18 *** empty log message *** 1993-11-20 04:05:45 +00:00
Roland McGrath
c059b5eaa1 (Frename_buffer): When the current buffer is already named NAME, don't
short-circuit and just return unless UNIQUE is nil.  This makes passing
UNIQUE=t equivalent to (rename-buffer (generate-new-buffer-name NAME)).
This is useful way to rename the buffer automatically so you can create
another with the original name.
1993-11-20 01:41:51 +00:00
Roland McGrath
4c7e5f092d Undo last change. SPC feeping at you is too annoying. 1993-11-20 01:31:19 +00:00
Roland McGrath
6a22587982 (Frename_buffer): Change s to B in interactive spec to give buffer-name
completion.  Buffers are often renamed to a name similar to the name of an
existing buffer.
1993-11-20 01:28:24 +00:00
Richard M. Stallman
4eeddc6608 (HAVE_UNISTD_H): No need to define here. 1993-11-19 18:26:10 +00:00
Richard M. Stallman
fd2dab90e1 (Flist_buffers): Always return a value. 1993-11-19 17:48:44 +00:00
Richard M. Stallman
60b73b2585 (read_minibuf): History list always gets strings,
not Lisp objects made by read.
1993-11-19 17:44:23 +00:00
Richard M. Stallman
38f6438b72 (read_avail_input): Don't set nread to -1
if we loop around in the loop that calls read.
1993-11-18 09:45:27 +00:00
Richard M. Stallman
0e93a7cf3f (r_alloc_init): Explicitly use real_morecore
to allocate the entire incomplete page.
1993-11-18 09:26:05 +00:00
Richard M. Stallman
9afa5873c4 (FIRST_PTY_LETTER): Defined. 1993-11-18 06:05:12 +00:00
Richard M. Stallman
d831234ba2 (Fkey_binding): Doc fix. 1993-11-17 11:25:53 +00:00
Richard M. Stallman
94748cb937 (keys_of_cmds): Make 0377 self-inserting. 1993-11-17 11:01:21 +00:00
Richard M. Stallman
91098d38b0 (doprnt): Cast the value alloca returns. 1993-11-16 16:21:26 +00:00
Richard M. Stallman
4880982682 (distclean): Do delete Makefile and Makefile.in. 1993-11-16 08:39:13 +00:00
Richard M. Stallman
25d16451c8 (Foverlay_put): Don't call redisplay_region if overlay has no buffer. 1993-11-16 07:09:11 +00:00
Richard M. Stallman
ddbb28f4a7 (GNU_MALLOC, REL_ALLOC): Don't define if already defined. 1993-11-16 06:21:12 +00:00
Richard M. Stallman
dd0a39d664 (LD_SWITCH_SYSTEM) [hp9000s700]: Add -L/lib/pa1.1. 1993-11-16 06:08:33 +00:00
Richard M. Stallman
6d291527af Include config.h. 1993-11-16 05:45:11 +00:00
Richard M. Stallman
22e5421fad (extraclean): Prevent wildcard from starting comment. 1993-11-16 05:38:15 +00:00
Richard M. Stallman
1727083501 (read_avail_input): Make cbuf 1 char shorter. 1993-11-15 12:28:01 +00:00
Richard M. Stallman
5f5783ceb2 (HAVE_GETTIMEOFDAY): Don't define if already defined. 1993-11-15 12:27:45 +00:00
Richard M. Stallman
644ab5899f Delete spurious CFLAGS=-g. 1993-11-15 11:25:17 +00:00
Richard M. Stallman
7f6d476fb9 [BSD_TERMIOS]: Under NL0, NL1..., ECHO, NOFLSH, TOSTOP,
FLUSHO and PENDIN.
1993-11-15 09:25:17 +00:00
Richard M. Stallman
da625a3c9b (Fnext_single_property_change): Fix missing \n\. 1993-11-15 06:41:45 +00:00
Richard M. Stallman
222fce2bc5 *** empty log message *** 1993-11-15 06:35:18 +00:00
Richard M. Stallman
bf6d8fb9b1 (XTread_socket): Increase length of copy_buffer to 81. 1993-11-15 06:30:31 +00:00
Richard M. Stallman
481c63363c (read1): If token has a \, don't treat it as a number. 1993-11-15 06:29:24 +00:00
Richard M. Stallman
368481a538 *** empty log message *** 1993-11-15 04:04:59 +00:00
Richard M. Stallman
085a9cd86f (INTERRUPT_INPUT): Undefined.
(BROKEN_FIONREAD): Defined to work around a problem in DGUX
whereby emacs will stop on a background write when invoked from a
job control shell for the first time in a session.
(FIRST_PTY_LETTER): Undefined.
(PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF): Defined
to use all the available PTYs in a COFF environment.
(LINKER): Removed "-nostdlib" from to be compatible with a prior
mod removing "/lib/crt0.o" from the LIBS_SYSTEM define.
(LIBS_SYSTEM): Delete /lib/crt0.o.

(SYSTEM_MALLOC): Turned off.
(NO_TERMIO): Defined.
(BROKEN_FASYNC): Turned off.
1993-11-14 22:06:13 +00:00
Richard M. Stallman
79967d5e93 (IN_ADDR, NUMERIC_ADDR_ERROR): New macros (two versions).
(Fopen_network_stream): Use them.
1993-11-13 09:31:34 +00:00
Richard M. Stallman
482952ef03 (read_avail_input) [no FIONREAD]: On DGUX, as on USG,
read input with O_NDELAY.
1993-11-13 07:50:17 +00:00
Richard M. Stallman
bb292747ca (SYSTEM_MALLOC): Turn off. 1993-11-13 06:27:28 +00:00
Richard M. Stallman
77b221b15d (get_process): Add `static' to definition. 1993-11-13 02:37:58 +00:00
Richard M. Stallman
246cfea5cc (syms_of_fileio): Fix missing \n\'s. 1993-11-12 21:17:43 +00:00
Richard M. Stallman
ede41463ee (Fread_key_sequence): Split the doc string with "". 1993-11-12 21:16:38 +00:00
Richard M. Stallman
93fda17869 (Fprevious_single_property_change): Fix missing \n\. 1993-11-12 20:38:30 +00:00
Richard M. Stallman
5c03767e4f (Fcall_process): Clear synch_process_death and
synch_process_retcode before the vfork.
1993-11-11 04:36:02 +00:00
Richard M. Stallman
472895ad89 (XTmouse_position): Undo roland's change.
Fix bug in bfox change.
1993-11-11 02:33:43 +00:00
Roland McGrath
f31fe4725c [! HPUX]: Don't declare sbrk at all, so as not to conflict with headers. 1993-11-11 00:41:15 +00:00
Roland McGrath
e5074ca4b1 (XTmouse_position): First arg is FRAME_PTR, not FRAME_PTR *. 1993-11-10 22:56:45 +00:00
Richard M. Stallman
449c2677c3 Initial revision 1993-11-10 21:03:53 +00:00
Richard M. Stallman
240d522211 (intervals.o): Depend on puresize.h. 1993-11-10 20:12:45 +00:00
Richard M. Stallman
328c0f1fe5 Include puresize.h.
(create_root_interval): Check to see if PARENT is in
pure memory.  If so, we cannot write it.
1993-11-10 20:11:44 +00:00
Richard M. Stallman
8a981af5bb (Fraise_frame): Do like the documentation says, and make
the frame visible first.
1993-11-10 20:09:54 +00:00
Richard M. Stallman
4dea6d905e (Tmouse_position): If the passed in frame is not an
Xwindow frame, don't do anything.
1993-11-10 20:07:07 +00:00
Richard M. Stallman
727b007cb2 (EMACS_GETPGRP): New macro hides argument passing to
system getpgrp.  Reinstate some semblance of control over this
macros behaviour by paying attention to GETPGRP_NO_ARG.
1993-11-10 20:03:25 +00:00
Richard M. Stallman
e89a2cd50e (sys_suspend): Use EMACS_GETPGRP macro. 1993-11-10 20:02:50 +00:00