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

1918 commits

Author SHA1 Message Date
Richard M. Stallman
b26c217c09 (vc-find-file-hook): Discard vc status of file
if we will actually have to create the buffer.
1993-02-24 18:07:12 +00:00
Richard M. Stallman
09dd7e7e41 Formerly PROBLEMS.~3~ 1993-02-24 18:02:05 +00:00
Richard M. Stallman
9ea7cec1f3 Formerly PROBLEMS.~2~ 1993-02-24 17:56:09 +00:00
Richard M. Stallman
e686c647fd (syms_of_cmds): New var `overwrite-binary-mode'.
(internal_self_insert): Handle that var.
1993-02-24 08:59:25 +00:00
Richard M. Stallman
e453528878 (read_avail_input): Args to `kill' were backwards. 1993-02-23 18:49:33 +00:00
Jim Blandy
39d6eb8e8a Fix the fix. 1993-02-23 14:23:06 +00:00
Jim Blandy
8090eb098e * emacs.c (fatal_error_signal): Unblock the signal before we try
to deliver it to ourselves. #include "syssignal.h" to get the
	right definitions.
1993-02-23 14:18:00 +00:00
Jim Blandy
2471a2815b * abbrev.c (Fexpand_abbrev): Only copy the text we're going to
expand - from wordstart to wordend, not from wordstart to point -
	into the buffer.  There might be non-word text between wordend and
	point.
1993-02-23 14:17:11 +00:00
Jim Blandy
8dd926cab5 * .gdbinit (xprocess): New command. 1993-02-23 14:14:19 +00:00
Jim Blandy
5e808bc0d3 * make-dist: Only copy gmalloc.c if we couldn't link it.
Don't try to copy man/{README,Makefile} unless they actually exist.
1993-02-23 14:13:27 +00:00
Jim Blandy
1de6a9711d Removed assigment to foo in byte-compile-lambda. 1993-02-23 13:21:13 +00:00
Jim Blandy
ab8478d1f1 * Makefile.in (lisppath): Don't include externallispdir in this.
We're not sure whether we're even going to distribute the
	directory yet.
1993-02-23 11:55:05 +00:00
Jim Blandy
6d19f28ad1 * alloc.c (make_pure_float): Assure that PUREBEG + pureptr is
aligned, not pureptr itself.
1993-02-23 11:49:39 +00:00
Richard M. Stallman
57e83cfeff (C_entries): Don't reset definedef when a newline inside a comment is met. 1993-02-23 07:27:39 +00:00
Richard M. Stallman
1ba3de0010 (Fforward_comment): New function.
(adjust_lnnoptrs): Handle symentry.n_type == 0x2400.
(make_hdr) [USG_SHARED_LIBRARIES]: Set bias using bss_start.
1993-02-23 05:49:12 +00:00
Jim Blandy
fe90ad9766 * alloc.c (make_pure_float): Align pureptr according to __alignof,
if it's available, or sizeof (struct Lisp_Float) if it's not.
1993-02-22 16:21:17 +00:00
Jim Blandy
b10fd412fc * xterm.c (XTread_socket): Pass the proper number of arguments to
construct_mouse_click.
1993-02-22 15:10:46 +00:00
Jim Blandy
3d5d61aef4 * xrdb.c (getuid): Remove declaration. 1993-02-22 15:10:16 +00:00
Jim Blandy
f1b2821874 * minibuf.c (Fdisplay_completion_list): Pass the proper number of
arguments to Flength.
	* xmenu.c (list_of_items): Same.
1993-02-22 15:09:33 +00:00
Jim Blandy
f111a131b4 * xfns.c (x_set_icon_type): Pass the proper number of arguments to
x_bitmap_icon.
1993-02-22 15:08:57 +00:00
Jim Blandy
f4e7b2c2ea * keyboard.c (recursive_edit_1, command_loop_1): Pass the proper
number of arguments to unbind_to.
	* lread.c (Feval_buffer): Same.
	* window.c (Fscroll_other_window): Same.

	* window.c (Fset_window_configuration): Pass the proper number of
	arguments to Fselect_frame.
1993-02-22 14:53:13 +00:00
Jim Blandy
0df58c91cf * textprop.c (Fget_text_property): Fix typo in function's declaration.
* keyboard.c (Fread_key_sequence): Backslash the newlines in this
	docstring.
	* textprop.c (Fget_text_property): Same.
1993-02-22 14:52:32 +00:00
Jim Blandy
1aaaff21ef * systty.h [HAVE_TERMIOS]: Include fcntl.h. 1993-02-22 14:51:39 +00:00
Jim Blandy
98f7775387 * systime.h [_AIX]: Move test outside of previous #if.
(EMACS_GET_TZ_OFFSET) [USG]: Don't declare twice.  Prefer tzset.
1993-02-22 14:51:13 +00:00
Jim Blandy
31be8d2467 * sysdep.c (child_setup_tty): Recognize HAVE_TERMIOS as well as
HAVE_TERMIO.
1993-02-22 14:50:42 +00:00
Jim Blandy
b37902c85c * callint.c (Fcall_interactively): Pass the correct number of
arguments to wrong_type_argument.
	* casefiddle.c (caseify_object): Same.
	* casetab.c (check_case_table): Same.
	* search.c (Fstore_match_data): Same.
	* syntax.c (check_syntax_table): Same.
1993-02-22 14:48:45 +00:00
Jim Blandy
6be429b169 * process.c: Make sure we don't miss processes exiting, by having
the sigchld handler clear *input_available_clear_time.
	(wait_reading_process_input): Check for process activity after
	setting the timeout and calling set_waiting_for_input.
	(sigchld_handler): If the process which has exited is one we care
	about, clear *input_available_clear_time.

	* process.c (process_send_signal): Use TERMIOS functions in
	preference to BSD ioctls.  Some systems attempt to provide the BSD
	functions for backward compatibility, and get it wrong.
1993-02-22 14:47:53 +00:00
Jim Blandy
cb09ab7ae1 * keyboard.c (recursive_edit_1, command_loop_1): Pass the proper
number of arguments to unbind_to.
	* lread.c (Feval_buffer): Same.
	* window.c (Fscroll_other_window): Same.
1993-02-22 14:46:31 +00:00
Jim Blandy
c6cd5420d3 * data.c (Fstring_to_int): Rename this to Fstring_to_number, since
it parses floats as well as integers.  Fix docstring.
	(syms_of_data): Fix defsubr.
	(wrong_type_argument): Change use.
	(Fint_to_string): Doc fix.
	* lisp.h (Fstring_to_int): Change extern declaration.
1993-02-22 14:45:23 +00:00
Jim Blandy
92cc37e8ce * keymap.c (Fdescribe_vector): Pass the proper number of arguments
to describe_vector.
	* syntax.c (describe_syntax_1): Same.
1993-02-22 14:44:52 +00:00
Jim Blandy
cb5df6ae17 * keyboard.c (init_keyboard): Recognize HAVE_TERMIOS as well as
HAVE_TERMIO.

	* keyboard.c (echo_char): Apply XINT to c before passing it to
	push_key_description.

	* keyboard.c (recursive_edit_1, command_loop_1): Pass the proper
	number of arguments to unbind_to.
	* lread.c (Feval_buffer): Same.
	* window.c (Fscroll_other_window): Same.

	* keyboard.c (command_loop_1): Apply XINT to c before passing it
	to internal_self_insert and direct_output_for_insert.

	* keyboard.c (make_lispy_movement): Rename the variable `part'
	declared in the block handling scrollbar movement to `part_sym',
	to avoid potential conflicts with the argument named `part'.
	Apparently the semantics of expressions like this are unclear.

	* keyboard.c (Fread_key_sequence): Backslash the newlines in this
	docstring.
	* textprop.c (Fget_text_property): Same.
1993-02-22 14:43:44 +00:00
Jim Blandy
074577b8ff * frame.c (Fselect_frame): Set Vlast_event_frame to Qnil after
switching frames, to make sure we'll get a switch-frame event.
	(Vlast_event_frame): Add external declaration for this here.

	* frame.c (Fdelete_frame): If FRAME is a dead frame, return Qnil,
	not nothing.
1993-02-22 14:42:38 +00:00
Jim Blandy
7b8f3b2953 * fns.c (Fequal): Call internal_equal to recurse on elements of
lists and vectors, not Fequal.
1993-02-22 14:41:57 +00:00
Jim Blandy
f8d830994a * floatfns.c (Flogb): Always implement this by calling Flog, even
on non-USG systems, which supposedly have a logb function.
	(Fround): Always implement this by calling floor, even on systems
	that have rint.

	* floatfns.c (IN_FLOAT): Make this work properly when SIGTYPE is void.
1993-02-22 14:41:26 +00:00
Jim Blandy
0e95600962 * callproc.c (init_callproc): Move the initialization of
Vprocess_environment to its own function.
	(set_process_environment): This is that.
	* emacs.c (main): Call set_process_environment earlier than
	init_callproc.
1993-02-22 14:40:34 +00:00
Jim Blandy
f0250249f9 * editfns.c (Fmessage): Don't forget to return a value when
args[0] == Qnil.
1993-02-22 14:38:43 +00:00
Jim Blandy
8fc798e913 * dispnew.c (sit_for): Pass the correct number of arguments to
gobble_input.
1993-02-22 14:38:10 +00:00
Jim Blandy
25e40a4bb9 * data.c (Fstring_to_number): Skip initial spaces, to make Emacs
lisp parse consistently on different operating systems.
#include <ctype.h> to help with this.

* data.c (Fstring_to_int): Rename this to Fstring_to_number, since
it parses floats as well as integers.  Fix docstring.
(syms_of_data): Fix defsubr.
(wrong_type_argument): Change use.
(Fint_to_string): Doc fix.
* lisp.h (Fstring_to_int): Change extern declaration.

* data.c (wrong_type_argument): Pass the correct number of
arguments to Fstring_to_int.

* data.c (arithcompare): Add a default case which aborts, just to
make me happy.
1993-02-22 14:27:14 +00:00
Jim Blandy
1dc4f30a69 * config.h.in: #define USE_TEXT_PROPERTIES by default.
* config.h.in (HAVE_CONST): New macro.  If it's not #defined, #define
	const to be the empty string.

	* config.h.in: If we're not __STDC__, define volatile to be the
	empty string.
1993-02-22 14:26:51 +00:00
Jim Blandy
9fefd2bacb * callproc.c (delete_temp_file): Declare this to return
Lisp_Object, to smooth type-checking.

	* callproc.c (init_callproc): Move the initialization of
	Vprocess_environment to its own function.
	(set_process_environment): This is that.
	* emacs.c (main): Call set_process_environment earlier than
	init_callproc.
1993-02-22 14:24:42 +00:00
Jim Blandy
f054132a4d * bytecode.c (Fbyte_code): Pass the correct number of arguments to
temp_output_buffer_show.
1993-02-22 14:23:26 +00:00
Jim Blandy
9efa1bc61e * buffer.h: Remove code which #includes "undo.h" if lint is
defined.  undo.h no longer exists.
1993-02-22 14:23:02 +00:00
Jim Blandy
5fcd022dab * buffer.c (Fswitch_to_buffer): Pass the correct number of
arguments to Fnext_window.

	* buffer.c (Fbury_buffer): Pass the correct number of arguments to
	Fother_buffer.

	* buffer.c (buffer_slot_type_mismatch): Make symbol_name an
	unsigned char *, to match the type of a string's data.
1993-02-22 14:22:37 +00:00
Jim Blandy
1a4f1e2c64 * alloc.c (make_pure_float): Align pureptr on a sizeof (double)
boundary before allocating the float.

	* alloc.c: Add description lines to the top of each page.

	* alloc.c (mark_interval_tree): Remove spurious & in front of
	function name.

	* alloc.c (UNMARK_BALANCE_INTERVALS): Fix to accomodate compilers
	other than GCC, which do not allow casts on the LHS of an
	assignment.

	* alloc.c (mark_object, mark_buffer): Remove some unused
	variables.
1993-02-22 14:22:03 +00:00
Jim Blandy
beb593aa15 * aix3-1.h: Changes from 18.58.
(HAVE_TERMIOS): Changed from HAVE_TERMIO.
	(unix): Define.
1993-02-22 14:21:19 +00:00
Jim Blandy
067cd4a40b * ibmrs6000.h (C_ALLOCA, STACK_DIRECTION): Only define if HAVE_ALLOCA
is not defined.
	(X_DEFAULT_FONT): Change to `fixed', as `Rom14.500' only works on the
	console.
1993-02-22 14:20:51 +00:00
Jim Blandy
1ab31687d4 * files.el (revert-buffer): Reverse the sense of the first
argument, but leave interactive usage the same.
	* vc.el (vc-resynch-window): Call vc-revert-buffer1 with the newly
	appropriate arguments.  This seems to be the only file which was
	adjusted for the new meaning of the revert-buffer arguments.
1993-02-22 14:17:16 +00:00
Jim Blandy
6f5191a247 * two-column.el: Add autoloads for the functions defined in
tc-mode-map.
1993-02-22 14:16:48 +00:00
Jim Blandy
37f6661a60 * subr.el (string-to-int): Make this an alias for
string-to-number.
1993-02-22 14:16:25 +00:00
Jim Blandy
ad196291b4 * gud.el (gud-break): With a prefix argument, set a temporary
breakpoint.
	(gud-apply-from-source): New argument ARGS, to pass to FUNC.  Now
	it's really like `apply'.
	(gud-set-break): Add another argument to this method.
	Document it in the section describing how the methods are supposed
	to be used.
	(gud-gdb-set-break): New argument TEMP; if non-nil, set a
	temporary breakpoint.
	(gud-sdb-set-break, gud-dbx-set-break): New argument TEMP.  Ignore
	it, since I don't know how to set a temporary breakpoint in these
	debuggers.

	* gud.el (gud-break): With a prefix argument, set a temporary
	breakpoint.
	(gud-apply-from-source): New argument ARGS, to pass to FUNC.  Now
	it's really like `apply'.
	(gud-set-break): Add another argument to this method.
	Document it in the section describing how the methods are supposed
	to be used.
	(gud-gdb-set-break): New argument TEMP; if non-nil, set a
	temporary breakpoint.
	(gud-sdb-set-break, gud-dbx-set-break): New argument TEMP.  Ignore
	it, since I don't know how to set a temporary breakpoint in these
	debuggers.
1993-02-22 14:15:34 +00:00