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

26840 commits

Author SHA1 Message Date
Roland McGrath
e0446ff70d (compilation-parse-errors): Remove debugging setq. 1993-04-07 19:57:10 +00:00
Roland McGrath
ad62b7f198 (compilation-filter): New function.
(compile-internal): Make it the process's filter.
1993-04-07 18:34:17 +00:00
Roland McGrath
d4035a267d (compilation-error-regexp-alist): Fixed MIPS CC regexp to match file
names longer than one char.
(compilation-parse-errors): Error if compilation-error-regexp-alist is nil.
1993-04-07 18:26:27 +00:00
Jim Blandy
9ffaad2e38 * m/imbrs6000.h: If we're using GCC, define ORDINARY_LINK instead
of defining LINKER to use cc.
	* s/aix3-1.h (LINKER): Don't use cc for linking command if we're
	using GCC.
	* s/aix3-2.h (SYSTEM_MALLOC): Undefine this.
1993-04-07 16:36:59 +00:00
Jim Blandy
b7fc702ec2 Doc fix. 1993-04-07 15:14:21 +00:00
Jim Blandy
d0386f2a50 * xterm.c (updating_frame): Declare this extern instead of static,
so it's the same variable as the updating_frame in term.c.
	(XTupdate_begin, XTupdate_end): Don't bother to set
	updating_frame; the term.c functions take care of that for us.
1993-04-07 14:57:22 +00:00
Richard M. Stallman
5119b4121e (untabify): Don't really change where restriction starts. 1993-04-07 04:27:30 +00:00
Richard M. Stallman
63ea14a5b2 (dired-pop-to-buffer): Adjust count-lines val for last line. 1993-04-06 17:11:57 +00:00
Jim Blandy
a1dd004b3d *** empty log message *** 1993-04-06 02:42:52 +00:00
Roland McGrath
594be62efd (vc-comment-to-change-log): Renamed from vc-comment-to-changelog.
Take optional arg and pass it to find-change-log.
Added docstring and interactive spec.
1993-04-05 23:52:16 +00:00
Roland McGrath
45a13f0da3 (find-change-log): New function.
(add-change-log-entry): FILE-NAME frobnicating code moved there; call it.
1993-04-05 23:48:01 +00:00
Jim Blandy
773c1fd398 * editfns.c (Fcurrent_time_zone): Return a list whose elements are
nil if the time zone information is unavailable, instead of
	signalling an error.
1993-04-05 23:10:10 +00:00
Roland McGrath
7ee790acbd (compilation-error-regexp-alist): Merged HP-UX 7.0 fc regexp with the
GNU format regexp: just allowing blanks to terminate the line number
makes that one handle the HP case.  Merged MIPS RISC CC regexp with
Apollo cc regexp: make "s optional, and don't anchor to bol.
1993-04-05 22:35:50 +00:00
Roland McGrath
7e8d262512 (compilation-error-regexp-alist): Changed MIPS RISC CC regexp (last one) to
be anchored at bol, and to never match multiple lines.
1993-04-05 21:13:43 +00:00
Jim Blandy
8cf0453fbb * s/vms.h (EXEC_SUFFIXES): Add definition for this. 1993-04-05 21:00:51 +00:00
Richard M. Stallman
3585916ff7 (dired-unmark-all-files): Read the arg as just a char. 1993-04-05 06:23:05 +00:00
Eric S. Raymond
0cbe967f85 Added or corrected documentation headers 1993-04-03 23:28:03 +00:00
Eric S. Raymond
465fceed88 Initial revision 1993-04-03 23:28:03 +00:00
Noah Friedman
4be9a25f02 new comint-read-noecho. 1993-04-03 11:00:56 +00:00
Jim Blandy
8b20806d3c *** empty log message *** 1993-04-02 23:17:33 +00:00
Jim Blandy
5745b08698 *** empty log message *** 1993-04-02 22:53:56 +00:00
Eric S. Raymond
dd4e1002eb (repeat-history-command): Bug fix. Someone forgot a car. 1993-04-02 16:41:54 +00:00
Richard M. Stallman
315b23696a (mpuz-try-letter): Use read-char to read digit.
Use message directly also.  Use downcase.
(mpuz-read-map): Deleted.
1993-04-02 08:12:40 +00:00
Richard M. Stallman
efb8f835e5 (eval-defun): Rename argument to avoid collision.
(eval-last-sexp): Likewise.
1993-04-01 22:20:19 +00:00
Noah Friedman
190c70cedc [log entry censored by the NSA] 1993-04-01 05:30:04 +00:00
Roland McGrath
4a92b718e0 (etags-tags-completion-table): Rewritten with a mondo regexp. 1993-04-01 02:11:02 +00:00
Jim Blandy
77328ee1d3 * timer.el (timer-program): New defconst.
(run-at-time): Use timer-program as the name of the program the
	subprocess should run, and search for it in exec-directory, rather
	than checking the entire exec path.
1993-04-01 01:07:38 +00:00
Roland McGrath
9d0f559a4d (indent-for-comment): Use skip-syntax-backward in place of
skip-chars-backward.
Correctly set INDENT to the return value of comment-indent-function.
1993-03-31 23:42:37 +00:00
Roland McGrath
17276ed336 (etags-tags-completion-table): Use skip-syntax-backward instead of
skip-chars-backward.
1993-03-31 23:30:25 +00:00
Roland McGrath
79d0c1e7ab (view-buffer-other-window): Remove spurious backslashes from
interactive spec.
1993-03-31 23:16:10 +00:00
Roland McGrath
54d1c8face (view-exit): Use local map view-old-local-map, not (current-local-map). 1993-03-31 23:12:07 +00:00
Roland McGrath
03329370c2 (map-y-or-n-p): Make bindings of user-defined keys be each a vector
containing the user's binding, rather than 'user.  Check (vectorp DEF)
and call the vector's elt, rather than checking (eq 'user DEF) and
calling something completely random.
1993-03-31 22:20:33 +00:00
Roland McGrath
6c416012fe (enable-command): Remove spurious assignment of free variable `foo'. 1993-03-31 21:25:06 +00:00
Roland McGrath
7f26b1809d (describe-function): For Lisp functions, write a prototype call before
the docstring, instead of an argument description after it.
1993-03-31 21:11:33 +00:00
Jim Blandy
9ac0d9e041 Put interrupt input blocking in a separate file from xterm.h.
This isn't specific to X, and it allows us to avoid #including
	xterm.h in files that don't really have anything to do with X.
	* blockinput.h: New file.
	* xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT,
	UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h.
	(x_input_blocked, x_pending_input): Deleted; there are analogs
	in blockinput.h called interrupt_input_blocked and
	interrupt_input_pending.
	* keyboard.c (interrupt_input_blocked, interrupt_input_pending):
	New variables, used by the macros in blockinput.h.
	* xterm.c: #include blockinput.h.
	(x_input_blocked, x_pending_input): Deleted.
	(XTread_socket): Test and set interrupt_input_blocked and
	interrupt_input_pending instead of the old variables.
	* alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c:
	#include blockinput.h.
	* eval.c: #include blockinput.h instead of xterm.h.
	* keyboard.c: #include blockinput.h.
	(input_poll_signal): Just test
	interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and
	x_input_blocked.

	Block the processing of interrupt input while we're manipulating the
	malloc heap.
	* alloc.c: (xfree): New function, to make it easy to free things
	safely.
	(xmalloc, xrealloc): Block X input while doing the deed.
	(VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree
	instead of free.
	(uninterrupt_malloc): New function, to install input-blocking
	hooks into the GNU malloc routines.
	* emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc
	on startup.
	* alloc.c: (make_interval, make_float, Fcons, Fmake_vector,
	Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect):
	Use xmalloc instead of malloc; don't bother to check if out of
	memory here.
	(Fgarbage_collect): Call xrealloc instead of realloc.
	* buffer.c: Use xmalloc and xfree instead of malloc and free;
	don't bother to check if out of memory here.
	(Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around
	calls to ralloc routines.
	* insdel.c: Same.
	* lisp.h (xfree): New extern declaration.
	* xfaces.c (xfree): Don't #define this to be free; use the
	definition in alloc.c.
	* dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c,
	xmenu.c, xterm.c: Use xfree instead of free.
	* hftctl.c: Use xfree and xmalloc instead of free and malloc.
	* keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc
	and malloc.
	* search.c: Since the regexp routines can malloc, BLOCK_INPUT
	while runing them.  #include blockinput.h.
	* sysdep.c: #include blockinput.h.  Call xfree and xmalloc instead
	of free and malloc.  BLOCK_INPUT around routines which we know
	will call malloc.

	ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o,
	xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that
	these depend on blockinput.h.
1993-03-31 10:55:33 +00:00
Jim Blandy
357f32fcd0 * xfaces.c: Doc fixes.
Put interrupt input blocking in a separate file from xterm.h.
	This isn't specific to X, and it allows us to avoid #including
	xterm.h in files that don't really have anything to do with X.
	* blockinput.h: New file.
	* xterm.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT,
	UNBLOCK_INPUT_RESIGNAL): These are now in blockinput.h.
	(x_input_blocked, x_pending_input): Deleted; there are analogs
	in blockinput.h called interrupt_input_blocked and
	interrupt_input_pending.
	* keyboard.c (interrupt_input_blocked, interrupt_input_pending):
	New variables, used by the macros in blockinput.h.
	* xterm.c: #include blockinput.h.
	(x_input_blocked, x_pending_input): Deleted.
	(XTread_socket): Test and set interrupt_input_blocked and
	interrupt_input_pending instead of the old variables.
	* alloc.c, xfaces.c, xfns.c, xmenu.c, xselect.c, keymap.c:
	#include blockinput.h.
	* eval.c: #include blockinput.h instead of xterm.h.
	* keyboard.c: #include blockinput.h.
	(input_poll_signal): Just test
	interrupt_input_blocked, instead of testing HAVE_X_WINDOWS and
	x_input_blocked.

	Block the processing of interrupt input while we're manipulating the
	malloc heap.
	* alloc.c: (xfree): New function, to make it easy to free things
	safely.
	(xmalloc, xrealloc): Block X input while doing the deed.
	(VALIDATE_LISP_STORAGE, gc_sweep, compact_strings): Use xfree
	instead of free.
	(uninterrupt_malloc): New function, to install input-blocking
	hooks into the GNU malloc routines.
	* emacs.c [not SYSTEM_MALLOC] (main): Call uninterrupt_malloc
	on startup.
	* alloc.c: (make_interval, make_float, Fcons, Fmake_vector,
	Fmake_symbol, Fmake_marker, make_uninit_string, Fgarbage_collect):
	Use xmalloc instead of malloc; don't bother to check if out of
	memory here.
	(Fgarbage_collect): Call xrealloc instead of realloc.
	* buffer.c: Use xmalloc and xfree instead of malloc and free;
	don't bother to check if out of memory here.
	(Fget_buffer_create): Put BLOCK_INPUT/UNBLOCK_INPUT pair around
	calls to ralloc routines.
	* insdel.c: Same.
	* lisp.h (xfree): New extern declaration.
	* xfaces.c (xfree): Don't #define this to be free; use the
	definition in alloc.c.
	* dispnew.c, doc.c, doprnt.c, fileio.c, lread.c, term.c, xfns.c,
	xmenu.c, xterm.c: Use xfree instead of free.
	* hftctl.c: Use xfree and xmalloc instead of free and malloc.
	* keymap.c (current_minor_maps): BLOCK_INPUT while calling realloc
	and malloc.
	* search.c: Since the regexp routines can malloc, BLOCK_INPUT
	while runing them.  #include blockinput.h.
	* sysdep.c: #include blockinput.h.  Call xfree and xmalloc instead
	of free and malloc.  BLOCK_INPUT around routines which we know
	will call malloc.

	ymakefile (keyboard.o, keymap.o, search.o, sysdep.o, xfaces.o,
	xfns.o, xmenu.o, xterm.o, xselect.o, alloc.o, eval.o): Note that
	these depend on blockinput.h.
1993-03-31 10:47:13 +00:00
Jim Blandy
33f9662a64 Initial revision 1993-03-31 08:13:16 +00:00
Jim Blandy
734fef9492 * keyboard.c (parse_modifiers, apply_modifiers): Make sure we're
not trying to create modifier masks using integers which are
	unrepresentable as lisp values.
1993-03-31 07:19:25 +00:00
Richard M. Stallman
e5176baef5 (Fwrite_region): Don't fail to set visit_file. 1993-03-31 07:05:20 +00:00
Richard M. Stallman
04904c29df (read_char): Clear Vquit_flag when we return C-g for it. 1993-03-31 07:04:46 +00:00
Jim Blandy
9cbfb5e4b1 New macros NULL_DEVICE and EXEC_SUFFIXES, to give the name of the
equivalent of /dev/null, and the suffixes used by executable
	files.  This is simple, and helps people porting Emacs to other
	operating systems.
	* process.h (NULL_DEVICE): Give this a default value.
	* process.c (Fstart_process): Pass EXEC_SUFFIXES to openp.
	(Fprocess_send_eof): Use NULL_DEVICE instead of "/dev/null".
	* callproc.c (Fcall_process): Pass EXEC_SUFFIXES to openp.
	Use NULL_DEVICE instead of "/dev/null".
	* s/vms.h (NULL_DEVICE): #define this.
1993-03-30 23:07:47 +00:00
Jim Blandy
5437e9f97e New macros NULL_DEVICE and EXEC_SUFFIXES, to give the name of the
equivalent of /dev/null, and the suffixes used by executable
	files.  This is simple, and helps people porting Emacs to other
	operating systems.
	* process.h (NULL_DEVICE): Give this a default value.
	* process.c (Fstart_process): Pass EXEC_SUFFIXES to openp.
	(Fprocess_send_eof): Use NULL_DEVICE instead of "/dev/null".
	* callproc.c (Fcall_process): Pass EXEC_SUFFIXES to openp.
	Use NULL_DEVICE instead of "/dev/null".
1993-03-30 23:05:56 +00:00
Noah Friedman
9115e9389c (find-backup-file-name): delete nothing if overflow in number of files to keep. 1993-03-30 22:21:03 +00:00
Jim Blandy
7987a1696f lisp/ * Makefile.in (src/paths.h): Don't echo the huge sed command we
use to build paths.h.
	(lib-src/Makefile, src/Makefile): Similarly.
1993-03-30 21:31:15 +00:00
Jim Blandy
f298026408 Rename int-to-string to number-to-string, since it can handle
floating-point as well as integer arguments.  subr.el defines the
	former as an alias for the latter.
	* data.c (Fnumber_to_string): Renamed from Fint_to_string.
	(wrong_type_argument): Adjust caller.
	(syms_of_data): Adjust defsubr.
	* fns.c (concat): Adjust caller.
	* lisp.h (Fnumber_to_string): Adjust extern declaration.
	* mocklisp.c (Finsert_string): Adjust caller.
	* process.c (status_message): Adjust caller.
1993-03-30 21:21:49 +00:00
Jim Blandy
555b2421bb * subr.el (int-to-string): Make this an alias for the subr
number-to-string.
1993-03-30 21:12:44 +00:00
Jim Blandy
13244a040e * configure: Extend test for working `const' keyword to handle AIX
3.2 cc.
1993-03-30 20:33:58 +00:00
Richard M. Stallman
7872ee4d0a (isearch-done): Customize the message about mark. 1993-03-30 19:42:10 +00:00
Richard M. Stallman
58f1634a68 (isearch-mode-map): Delete the binding for C-h. 1993-03-30 19:38:34 +00:00
Eric S. Raymond
0b2974abfe *** empty log message *** 1993-03-30 16:22:39 +00:00