1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-02 02:10:46 -08:00
Commit graph

10633 commits

Author SHA1 Message Date
Jim Blandy
929787e104 * xterm.c (x_scroll_bar_handle_click): Never grab the scroll bar;
that feature requires more support to work correctly.
1993-05-22 09:13:57 +00:00
Jim Blandy
a822d92fb3 *** empty log message *** 1993-05-22 08:30:16 +00:00
Jim Blandy
e18814622b *** empty log message *** 1993-05-22 08:16:25 +00:00
Jim Blandy
faf5e40769 * keyboard.c (make_ctrl_char): New function.
(read_char): Call it.
	(kbd_buffer_store_event): Call it to see if the new character is
	the quit character.
1993-05-22 07:51:26 +00:00
Jim Blandy
e959badab4 *** empty log message *** 1993-05-22 07:25:53 +00:00
Jim Blandy
39a21be6fc * process.c (Fopen_network_stream): Deal with older systems, which
only have the h_addr field in their struct hostent.
1993-05-22 00:12:17 +00:00
Jim Blandy
8243aa4e84 * systty.h [SYSV_PTYS]: #include <sys/types.h>. Francesco
Potorti` <pot@fly.CNUCE.CNR.IT> says it's necessary on his
	machine, and it should be harmless.
1993-05-21 23:47:10 +00:00
Richard M. Stallman
4c8975adc5 (wait_for_termination): Copy code from 18.59 (but sans BSD4_1 alternatives). 1993-05-21 23:42:36 +00:00
Jim Blandy
02a76f8aca *** empty log message *** 1993-05-21 23:39:17 +00:00
Jim Blandy
b49ef4553b * s/linux.h: Remove copyright notices by Michael K. Johnson and
Rik Faith.  They have both sent in papers now which make their
	changes public domain.
1993-05-21 22:52:55 +00:00
Jim Blandy
ffafc79306 * sysdep.c (sys_suspend): Set synch_process_alive, so that
wait_for_termination has something to wait for.
1993-05-21 22:33:45 +00:00
Richard M. Stallman
af01ef2643 (syms_of_xfns): Don't make Lisp vars
x-mode-pointer-shape and x-nontext-pointer-shape.
1993-05-21 20:22:10 +00:00
Jim Blandy
51413f847f *** empty log message *** 1993-05-21 03:22:46 +00:00
Jim Blandy
aec9f5f6dc * dispnew.c (preserve_other_columns): Remember to multiply the
size argument to bcopy by the size of a glyph.
1993-05-20 23:30:21 +00:00
Jim Blandy
8a9311d707 Fix the fix to scrollbar computaaFix the fix to the fix for scrollbar computation. 1993-05-20 23:15:17 +00:00
Roland McGrath
1e5ba5b5f6 Initial revision 1993-05-20 20:22:34 +00:00
Richard M. Stallman
258bf7465d (read_key_sequence): Reexamine this_command
after pre-command-hook runs.
1993-05-20 13:55:09 +00:00
Richard M. Stallman
148c4b70c2 (x_find_modifier_meanings): If some keys are meta and alt,
make them just meta, not alt.
1993-05-20 13:43:48 +00:00
Jim Blandy
b2aaf43a08 Some more changes from Michael K. Johnson for Linux.
* s/template.h: Mention that you should #define HAVE_TERMIO or
	HAVE_TERMIOS, but not both, and that HAVE_TERMIOS is preferred.
	* systty.h (EMACS_SET_TTY_PGRP): Don't assign the return value of
	tcsetpgrp to *pgid; it's just a status value.
	* config.h.in (HAVE_RANDOM): This shouldn't be defined on Linux
	systems using XFree386, and perhaps is inappropriate in general.
	* m/intel386.h: #undefine the integer size macros, since the Linux
	<values.h> file #defines them itself.
	* mem-limits.h (get_lim_data): Linux has the ulimit call; if it
	fails, fall back on ULIMIT_BREAK_VALUE.
	* process.c: Linux needs the WAITTYPE, etc. definitions.
	* unexec.c (hdr, ohdr): Linux has the ordinary `struct exec' type;
	no need to use SYSV names.
	* s/linux.h: New file.
1993-05-20 06:30:20 +00:00
Jim Blandy
e3120ab527 Some time-handling patches from Paul Eggert:
* editfns.c (Fcurrent_time_zone): Take an optional argument specifying
	what (absolute) time should be used to determine the current time zone.
	Yield just offset and name of time zone, including DST correction.
	Yield time zone offset in seconds, not minutes.
	(lisp_time_argument, difftm): New functions.
	(Fcurrent_time_string): Use lisp_time_argument.
	* systime.h (EMACS_CURRENT_TIME_ZONE, EMACS_GET_TZ_OFFSET,
	EMACS_GET_TZ_NAMES): Remove.
	* config.h.in: Add HAVE_TM_ZONE.
1993-05-20 06:29:45 +00:00
Jim Blandy
3e4439ab30 Get the types right, baby. 1993-05-20 02:15:28 +00:00
Jim Blandy
161aa2f8d8 Some more changes from Michael K. Johnson for Linux.
* s/template.h: Mention that you should #define HAVE_TERMIO or
	HAVE_TERMIOS, but not both, and that HAVE_TERMIOS is preferred.
	* systty.h (EMACS_SET_TTY_PGRP): Don't assign the return value of
	tcsetpgrp to *pgid; it's just a status value.
	* config.h.in (HAVE_RANDOM): This shouldn't be defined on Linux
	systems using XFree386, and perhaps is inappropriate in general.
	* m/intel386.h: #undefine the integer size macros, since the Linux
	<values.h> file #defines them itself.
	* mem-limits.h (get_lim_data): Linux has the ulimit call; if it
	fails, fall back on ULIMIT_BREAK_VALUE.
	* process.c: Linux needs the WAITTYPE, etc. definitions.
	* unexec.c (hdr, ohdr): Linux has the ordinary `struct exec' type;
	no need to use SYSV names.
	* s/linux.h: New file.
1993-05-20 02:14:56 +00:00
Jim Blandy
12a07afc12 *** empty log message *** 1993-05-20 02:05:02 +00:00
Jim Blandy
566e35870b Initial revision 1993-05-20 02:04:15 +00:00
Jim Blandy
00eaaa321c Some changes from Michael K. Johnson for Linux.
* sysdep.c (sys_siglist): Don't define this if HAVE_SYS_SIGLIST is
	#defined.  That lets the system provide it, if it has it.
	* syssignal.h (sigmask): Only define this if <signal.h> hasn't
	given us a definition already.
	* syssignal.h (sys_sigpause): Fix argument in prototype.
	* sysdep.c (init_signals): The masks are called empty_mask and
	full_mask, not signal_empty_mask and signal_full_mask.
	(signal_handler_t): Moved ....
	* syssignal.h: ... to here.
	* systty.h (EMACS_SET_TTY_PGRP): Call tcsetpgrp with the correct
	arguments.
	* emacs.c (main): Don't try to establish signal handlers for
	SIGBUS and SIGSYS unless they're actually #defined.
1993-05-19 22:01:35 +00:00
Jim Blandy
0674a1f946 Some changes from Michael K. Johnson for Linux.
* sysdep.c (sys_siglist): Don't define this if HAVE_SYS_SIGLIST is
	#defined.  That lets the system provide it, if it has it.
	* syssignal.h (sigmask): Only define this if <signal.h> hasn't
	given us a definition already.
	* syssignal.h (sys_sigpause): Fix argument in prototype.
	* sysdep.c (init_signals): The masks are called empty_mask and
	full_mask, not signal_empty_mask and signal_full_mask.
	(signal_handler_t): Moved ....
	* syssignal.h: ... to here.
	* systty.h (EMACS_SET_TTY_PGRP): Call tcsetpgrp with the correct
	arguments.
	* emacs.c (main): Don't try to establish signal handlers for
	SIGBUS and SIGSYS unless they're actually #defined.

	* systty.h [HAVE_TERMIO, __DGUX]: #include <sys/ioctl.h>.
1993-05-19 22:01:21 +00:00
Jim Blandy
6887f62301 * xdisp.c (redisplay_window): Compute the scrollbar start and end
properly.
1993-05-19 19:13:31 +00:00
Richard M. Stallman
8a1f153784 (syms_of_lread): Make Vcurrent_load_list ordinary Lisp var.
Set up Qcurrent_load_list.
(readevalloop): Specbind Qcurrent_load_list instead of ad-hoc saving.
(build_load_history): Do nothing when loading pure files.
1993-05-19 16:50:17 +00:00
Richard M. Stallman
a8ee7ef928 (Fcurrent_input_mode): Return META as 3-way flag. 1993-05-19 14:26:34 +00:00
Jim Blandy
4554406a81 Braino. 1993-05-19 06:13:00 +00:00
Jim Blandy
e443209533 * fileio.c (Ffind_file_name_handler): Check that FILENAME is a
string.
1993-05-19 06:01:21 +00:00
Jim Blandy
90ab1a81b9 * process.c (wait_reading_process_input): Undo change of April
29th, since that re-introduces the race condition the comments are
	warning about.  Call clear_waiting_for_input before calling
	status_notify, though.
1993-05-19 05:41:37 +00:00
Jim Blandy
9aa2a7f43e * process.c (wait_reading_process_input): Don't forget to call
clear_waiting_for_input when we exit the loop because process
	input has arrived.
1993-05-19 05:05:46 +00:00
Richard M. Stallman
bb1ef42187 (follow_key): Check char in range before UPPERCASEP. 1993-05-19 04:58:19 +00:00
Jim Blandy
7260e3398a Changes for Silicon Graphics Iris 5D.
* unexelfsgi.c: New file; like unexelf.c, but tolerates program
	segments above BSS.
	* m/iris5d.h: New file.
	* s/irix5-0.h: New file.
	* process.c [__sgi] (allocate_pty): Give up immediately if pty is
	inaccessible.
1993-05-19 04:56:06 +00:00
Jim Blandy
4ef37be461 Initial revision 1993-05-19 04:52:06 +00:00
Jim Blandy
fad97cbed6 * process.c [__sgi] (allocate_pty): Give up immediately if pty is
inaccessible.
1993-05-19 04:38:28 +00:00
Jim Blandy
3d24868836 Doc fix. 1993-05-19 04:27:16 +00:00
Richard M. Stallman
519066d2e0 (x_set_menu_bar_lines): Fix typo in last change. 1993-05-19 03:51:26 +00:00
Jim Blandy
3c5c35c53d * xdisp.c (display_text_line): If the newline (or C-m, in
selective-display) has a non-default face, apply that face to the
	remainder of the line, so that the fill occupies the entire line.
1993-05-19 03:27:53 +00:00
Jim Blandy
68a973351f Make sure that all the display faces use fonts of the
same dimensions as the default face, so as not to confuse the rest
	of the redisplay code.
	* xfaces.c (same_size_fonts): New function.
	(merge_faces): Only merge in a new font from the FROM face if it
	is the same size as the font in the TO face.
1993-05-19 03:07:10 +00:00
Jim Blandy
decb54c690 * xterm.c (x_new_font): Tell the frame display faces about the
newly chosen font.
1993-05-19 03:06:38 +00:00
Jim Blandy
752a043ffa * xterm.c (XTread_socket): Turn off ControlMask for XLookupString.
* keyboard.c (make_lispy_event): Controlify here.
1993-05-19 00:33:58 +00:00
Jim Blandy
f64ba6ea42 * xfns.c (x_set_menu_bar_lines): Minibuffer-only frames can't have
menu bars.
1993-05-19 00:19:16 +00:00
Jim Blandy
714e064b52 Initial revision 1993-05-18 22:59:49 +00:00
Jim Blandy
a785758151 * xfaces.c (free_frame_faces): Don't free the resources from the
first two faces.
1993-05-18 22:46:17 +00:00
Jim Blandy
3505ea7012 * xdisp.c (redisplay_window): Make the scrollbar reflect the
extent of the visible region, not the whole buffer.
1993-05-18 22:45:53 +00:00
Jim Blandy
1334b321d6 * sysdep.c (reset_sys_modes): Test the return value of
EMACS_SET_TTY properly.
	* systty.h (EMACS_GET_TTY, EMACS_SET_TTY): Document the return
	values.
1993-05-18 22:45:29 +00:00
Jim Blandy
339747e438 * lisp.h (malloc, realloc): Declare these to return void *, to
avoid conflicts with ANSI header files.
1993-05-18 22:44:27 +00:00
Jim Blandy
d685741312 * config.h.in (STDC_HEADERS, TIME_WITH_SYS_TIME,
CRAY_STACKSEG_END, STACK_DIRECTION): Add #undef clauses for these,
	since otherwise the autoconf tests in configure.in won't do us
	much good.
1993-05-18 22:44:08 +00:00