1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-28 16:21:07 -08:00
Commit graph

1705 commits

Author SHA1 Message Date
Jim Blandy
7d385b0569 * alloc.c (Fgarbage_collect): If the minibuffer is active, don't
display the "...done" message; allow the minibuffer to show again.
1993-06-21 00:25:57 +00:00
Jim Blandy
b38f9ff319 * config.h.in (HAVE_LONG_FILE_NAMES): Add an #undef, for autoconf
to chew on.  Re-arrange macros to reflect the ordering of the
	corresponding macros in configure.in, to facilitate this kind of
	checking.
1993-06-20 20:18:32 +00:00
Richard M. Stallman
7c92db56e0 (verify_interval_modification): Don't just test
Qread_only prop; use INTERVAL_WRITABLE_P.
1993-06-20 08:48:58 +00:00
Jim Blandy
9f2ccd7bc1 * puresize.h (PURESIZE): Up this to 20500 for MULTI_FRAME Emaces,
and 190000 for non-MULTI_FRAME Emaces.
1993-06-19 22:58:35 +00:00
Jim Blandy
254a1b6640 * xfaces.c (recompute_basic_faces): This shouldn't be declared static. 1993-06-19 21:28:56 +00:00
Jim Blandy
19c7afdf57 * sysdep.c (rename): Make arguments const. autoconf #defines
const away on systems which don't have it; any system with
	prototypes will declare the arguments const (the ones to which I
	have access do); and systems without prototypes won't notice.
1993-06-19 21:07:02 +00:00
Jim Blandy
a1b4b084b1 * minibuf.c (Fread_minibuffer): Add missing semicolon after
CHECK_STRING macro.
1993-06-19 21:06:18 +00:00
Jim Blandy
64a0721980 * xterm.c (XTread_socket): Never treat a modifier key as a
non_ascii_keystroke.
1993-06-19 21:01:38 +00:00
Jim Blandy
d0068e2530 * emacs.c (Fkill_emacs): Pass third argument to shut_down_emacs.
* lisp.h (shut_down_emacs): Doc fix.
1993-06-19 20:26:11 +00:00
Jim Blandy
fc25d15df0 * frame.c (Fmake_frame_visible): Make this interactively callable;
frames can accept input while iconified, so it makes sense to put
	this on a key.
1993-06-19 01:47:40 +00:00
Jim Blandy
415445e2ba * xfaces.c: Add forward declaration for recompute_basic_faces. 1993-06-19 01:08:14 +00:00
Jim Blandy
76c881b015 * fileio.c (Fset_visited_file_modtime): We're only passing two
arguments to the file name handler; use call2, not call3.
1993-06-19 01:04:50 +00:00
Jim Blandy
5a570e3721 Changes for Irix 4.0, tested this time:
* s/irix4-0.h: Get rid of our fake definitions for setpgrp and
	getpgrp.
	* callproc.c (Fcall_process): Go ahead and use the USG calling
	convention for setpgrp.
	* ymakefile (pre-crt0.o): Add rule for this.  Perhaps it will help
	separate-source-directory compilation.
	* emacs.c (shut_down_emacs): Some USG systems #define
	EMACS_HAVE_TTY_PGRP; call getpgrp as appropriate for such systems.
	* sysdep.c (sys_suspend): Call getpgrp as appropriate for USG and
	non-USG.
	* process.c [IRIX] (create_process): Don't put child in process
	group zero before opening the tty; Irix is like USG in this
	regard.
1993-06-18 23:33:20 +00:00
Jim Blandy
b7c0f208a3 Remove #definition of HAVE_CLOSEDIR; autoconf figures this out. 1993-06-18 18:58:46 +00:00
Jim Blandy
0505a74033 * xfns.c: Always #include "bitmaps/gray.xbm"; the bitmaps seem to
be missing on some systems, and there's no point in having
	configure check; it should work fine to always use our copy.
1993-06-18 16:33:12 +00:00
Jim Blandy
40166bf181 Typo. 1993-06-18 15:48:31 +00:00
Jim Blandy
1319549a9a * m/iris4d.h (LIB_STANDARD): Do *not* include -lbsd. We are
now calling the BSD[sg]etpgrp functions directly, so this library
	is not needed; it just provides the BSD[sg]etpgrp functions under
	the [sg]etpgrp names.
	* callproc.c [IRIX] (child_setup): Don't call setpgrp this time.
	It's already been called up in Fcall_process, and create_process.
1993-06-17 23:25:37 +00:00
Jim Blandy
582080c149 * xfaces.c (compute_base_face): Initialize the face's stipple.
Although we don't use this feature now, face_eql notices it.

	* xfaces.c (compute_base_face): Set cached_index to an invalid
	index, to avoid an unnecessary comparison.
1993-06-17 22:03:40 +00:00
Jim Blandy
b5aaed99d0 * callproc.c (Fcall_process, child_setup): If IRIX is #defined,
call setpgrp with arguments, even if USG is #defined.
	* process.c [IRIX] (create_process): Don't call setpgrp before
	opening the pty.  Call it after doing the TIOCNOTTY ioctl.
1993-06-17 22:03:06 +00:00
Jim Blandy
cca310dacf * keyboard.c (read_key_sequence): Don't confuse mock input with
function-key-map expansion, and continue reading mock events when
	the current sequence is unbound.

	* keyboard.c (read_key_sequence): After providing a prefix symbol
	for a mouse event, modify the mouse event to indicate that that
	won't need to be done again, by putting the event's position
	symbol in a list.

	* keyboard.c (read_key_sequence): When returning mock input which
	has run off the end of the current maps, make sure the events get
	echoed, and make it into this-command-keys.

	* keyboard.c (read_key_sequence): When re-reading a previously
	read mouse click which requires a prefix symbol, make sure to set
	last_real_key_start appropriately, so we can properly drop
	button-down events.
1993-06-17 21:23:29 +00:00
Jim Blandy
1bc981d2b5 Don't let the 'B' interactive spec default to buffers viewed in
any visible frame.
	* buffer.c (Fother_buffer): Pass Qt as the second argument
	to Fget_buffer_window.
	* window.c (window_loop): In GET_BUFFER_WINDOW case, ignore
	non-visible frames.
	(Fget_buffer_window): Change doc string to mention that passing Qt
	for the FRAME argument returns windows on visible frames only.
	(Qvisible): Removed.
1993-06-17 05:06:36 +00:00
Jim Blandy
db732e5a3d Don't let the 'B' interactive spec default to buffers viewed in
any visible frame.
	* buffer.c (Fother_buffer): Pass Qt as the second argument
	to Fget_buffer_window.
	* window.c (window_loop): In GET_BUFFER_WINDOW case, ignore
	non-visible frames.
	(Fget_buffer_window): Change doc string to mention that passing Qt
	for the FRAME argument returns windows on visible frames only.
1993-06-17 05:05:53 +00:00
Jim Blandy
856a73b38b Changes for correct pgrp behavior; approach suggested by Bob
Glickstein <bobg@zindigo.z-code.com>:
	* m/iris4d.h (LIB_STANDARD): Do list -lbsd here.
	* s/irix4-0.h (getpgrp, setpgrp): #define these to call BSDgetpgrp
	and BSDsetpgrp.
	(GETPGRP_NO_ARG): Don't #define this.
	* emacs.c (main): Don't test GETPGRP_NO_ARG.
	* sysdep.c (sys_suspend): Don't test GETPGRP_NO_ARG.
1993-06-17 05:04:57 +00:00
Jim Blandy
afd0d2375a Remove decl for Qvisible. 1993-06-17 05:03:45 +00:00
Jim Blandy
07f76a1466 * keyboard.c (read_key_sequence): If we add events to a key
sequence that didn't come from the input stream (e.g. `mode-line'
	prefixing a mouse click, or an expansion from function-key-map),
	and end up with a sequence that runs off the end of the current
	maps, return the entire key sequence, not just the initial portion
	which was bound or unbound.
1993-06-17 04:59:35 +00:00
Jim Blandy
5925bf38e1 * config.h.in (HAVE_CLOSEDIR): Add an #undef for autoconf to
change.
	* sysdep.c (closedir): Only define this if autoconf can't find
	HAVE_CLOSEDIR.  If we're running under solaris (defined (sun) &&
	defined (USG5_4)), then don't free the buffer separately.
1993-06-17 04:59:01 +00:00
Jim Blandy
65aa44ac9b Changes for correct pgrp behavior; approach suggested by Bob
Glickstein <bobg@zindigo.z-code.com>:
	* m/iris4d.h (LIB_STANDARD): Do list -lbsd here.
	* s/irix4-0.h (getpgrp, setpgrp): #define these to call BSDgetpgrp
	and BSDsetpgrp.
	(GETPGRP_NO_ARG): Don't #define this.
	* emacs.c (main): Don't test GETPGRP_NO_ARG.
	* sysdep.c (sys_suspend): Don't test GETPGRP_NO_ARG.

	* config.h.in (HAVE_CLOSEDIR): Add an #undef for autoconf to
	change.
	* sysdep.c (closedir): Only define this if autoconf can't find
	HAVE_CLOSEDIR.  If we're running under solaris (defined (sun) &&
	defined (USG5_4)), then don't free the buffer separately.
1993-06-17 04:58:27 +00:00
Richard M. Stallman
8f9dc2ed1c (scan_lists, Fforward_comment): #if 0 the code
to treat two-character comment enders with a special shortcut.

(scan_sexps_forward): Set state.comstart to before the
comment starter, not after.
1993-06-17 04:09:15 +00:00
Jim Blandy
2ad18bfd26 * lisp.h (CHECK_LIST, CHECK_STRING, CHECK_CONS, CHECK_SYMBOL,
CHECK_VECTOR, CHECK_BUFFER, CHECK_WINDOW, CHECK_LIVE_WINDOW,
	CHECK_PROCESS, CHECK_NUMBER, CHECK_NATNUM, CHECK_MARKER,
	CHECK_NUMBER_COERCE_MARKER, CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT,
	CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY): Wrap a do
	... while (0) around these compound statements to make them
	syntactically equivalent to a single statement.
1993-06-17 02:59:54 +00:00
Jim Blandy
7eb9ba4137 * xdisp.c (redisplay_window): No need to subtract one from start
before passing it to the set_vertical_scroll_bar_hook.
1993-06-17 02:41:40 +00:00
Jim Blandy
7fded6909e * fileio.c (Finsert_file_contents): Two new args, BEG and END. 1993-06-17 02:28:19 +00:00
Jim Blandy
75d8f6686c Don't let the 'B' interactive spec default to buffers viewed in
any visible frame.
	* buffer.c (Fother_buffer): Pass Qvisible as the second argument
	to Fget_buffer_window.
	* window.c (Qvisible): New symbol.
	(window_loop): In GET_BUFFER_WINDOW case, if frames is Qvisible,
	ignore non-visible frames.
	(Fget_buffer_window): Expand doc string to mention that Qvisible
	is an interesting value for FRAME argument.
	(syms_of_window): Init and staticpro Qvisible.
	* lisp.h (Qvisible): New declaration.
1993-06-17 00:39:37 +00:00
Jim Blandy
a84281e724 * Makefile.in (CPP): New variable, set by the top-level Makefile. 1993-06-16 23:50:05 +00:00
Jim Blandy
e1c9dcf883 Changes for correct pgrp behavior from Bob Glickstein
<bobg@zindigo.z-code.com>:
	* m/iris4d.h (LIB_STANDARD): Do include -lbsd here.
	* s/irix4-0.h (USE_IRIX_BSDPGRP): #define this.
	(GETPGRP_NO_ARG): Don't #define this.
	* callproc.c [USE_IRIX_BSDPGRP] (Fcall_process): Call BSDsetpgrp
	instead of plain setpgrp.
	[USE_IRIX_BSDPGRP] (child_setup): Same.
	* emacs.c [GETPGRP_NO_ARG] (main, shut_down_emacs): CPP clauses
	deleted; this flag isn't needed anymore.
	[USE_IRIX_BSDPGRP] (main, shut_down_emacs): Call BSDsetpgrp and
	BSDgetpgrp instead of plain setpgrp and getpgrp.
	* process.c [USE_IRIX_BSDPGRP] (create_process): Don't call
	setpgrp before opening the tty.  Call BSDsetpgrp instead of
	setpgrp, after opening the tty.
	* sysdep.c [USE_IRIX_BSDPGRP] (sys_suspend,
	narrow_foreground_group, widen_foreground_group): Call BSDgetpgrp
	and BSDsetpgrp instead of getpgrp and setpgrp.
1993-06-16 23:49:54 +00:00
Roland McGrath
83ea6fc2b1 (Finsert_buffer_substring): Doc fix. 1993-06-16 22:37:24 +00:00
Jim Blandy
bbe6a8e991 (LIBS_SYSTEM): Don't attempt to #define this if we already have a
definition of LIB_SYSTEM from s/usg5-4.h.
1993-06-16 22:09:24 +00:00
Jim Blandy
73d615812f * m/delta88k.h (HAVE_GETTIMEOFDAY): Don't #define this; autoconf
takes care of that.
1993-06-16 22:07:28 +00:00
Jim Blandy
83cb209c0d * unexec.c [HPUX] (sbrk): This returns a void *. 1993-06-16 21:42:25 +00:00
Jim Blandy
74da500751 *** empty log message *** 1993-06-16 21:28:28 +00:00
Jim Blandy
79f92720d1 * window.c (check_frame_size): Allow minibuffer-only frames to be
one line high.
1993-06-16 21:26:47 +00:00
Jim Blandy
1fb2d074d6 * frame.c (store_frame_param): Fix error message punctuation. 1993-06-16 21:19:06 +00:00
Jim Blandy
b1e920c900 * s/isc3-0.h (memmove): #define this to call safe_bcopy. 1993-06-16 20:52:40 +00:00
Jim Blandy
1b929d2579 * sysdep.c (closedir): Don't free directory buffer if it looks
like it and the DIR were malloced together.
1993-06-16 20:31:01 +00:00
Jim Blandy
37fd7901b2 * sysdep.c [ultrix] (init_sys_modes): Don't set LLITOUT; it
disables the meta key.
1993-06-16 20:02:58 +00:00
Jim Blandy
bfb7b57017 Bring mumbleclean targets into conformance with GNU coding standards.
* Makefile.in (mostlyclean): New target.
	(clean): Just call mostlyclean.  Get rid of ../etc/DOC too.
	(distclean): Use clean to do most of the work.
	Get rid of ../etc/DOC-* too.
	(realclean): New target.
1993-06-16 16:32:32 +00:00
Jim Blandy
e87f38ef9d * buffer.c (list_buffers_1): Return the desired point.
(Flist_buffers): Put point there in the buffer summary.
1993-06-16 16:29:40 +00:00
Jim Blandy
eebae3dd5c * xdisp.c (redisplay_window): No need to subtract BEGV to compute
the scroll bar handle's end.
1993-06-16 14:13:15 +00:00
Richard M. Stallman
e74fbc701a Calls to access_keymap updated. 1993-06-16 06:46:27 +00:00
Richard M. Stallman
07a675b77b (xmenu_show): Store 0 in *ERROR at the beginning.
(Fx_popup_menu): Call keymap_panes right in one-keymap case.
1993-06-15 23:17:10 +00:00
Richard M. Stallman
eebaeadde2 (adjust_intervals_for_insertion): By default, copy
properties from before the insertion.
1993-06-15 07:48:27 +00:00