Eric S. Raymond [Wed, 21 Apr 1993 03:47:05 +0000 (03:47 +0000)]
Rewritten and simplified, commentary added. It now will usually
detect when the makefile target or macro lists need to be rebuilt and do it
automatically; in particular, this means you no longer have to deal
with an annoying wait at find-time.
Roland McGrath [Mon, 19 Apr 1993 21:19:10 +0000 (21:19 +0000)]
(vc-comment-to-change-log): Restored interactive spec. Why was it
removed? Why does the only log entry mentioning this function contain
no actual information?
Richard M. Stallman [Sat, 17 Apr 1993 01:28:10 +0000 (01:28 +0000)]
(defun, defmacro, defvar, defconst):
Attach symbol argument to the list of globals for the input source.
(do_autoload): Save the old autoloads, in case we ever unload.
Richard M. Stallman [Sat, 17 Apr 1993 01:27:37 +0000 (01:27 +0000)]
(readevalloop): New argument is the source file name (or nil if none).
All calls changed. Do the two-step
necessary to call build_load_history with the correct current-globals
list for the current recursion.
(build_load_history): New function.
(eval_region, eval_buffer): Call readevalloop with new arg.
(load_history): New variable.
Richard M. Stallman [Sat, 17 Apr 1993 01:26:24 +0000 (01:26 +0000)]
(byte-compile, byte-compile-keep-pending)
(byte-compile-file-form-defmumble): Generate define-function
rather than fset, to install definitions for defun, defmacro, etc.
Eric S. Raymond [Wed, 14 Apr 1993 03:34:44 +0000 (03:34 +0000)]
(shrink-window-if-larger-than-buffer): Moved from electric.el to windows.el,
minor bug fix. This is to avoid code duplication between vc.el,
electric.el, and finder.el.
(ctl-x-map): Added C-x - and C-x + as bindings for
shrink-window-if-larger-than-buffer and balance-windows respectively.
Since shrink-window-if-larger-than-buffer has to live here anyhow, let
users use it to manage screen space.
Jim Blandy [Sat, 10 Apr 1993 08:05:07 +0000 (08:05 +0000)]
long_to_cons and cons_to_long are generally useful things; they're
needed whether or not X is defined.
* xselect.c (long_to_cons, cons_to_long): Moved from here...
* data.c (long_to_cons, cons_to_long): ... to here.
* lisp.h (long_to_cons, cons_to_long): Add extern declaration.
Jim Blandy [Sat, 10 Apr 1993 08:04:27 +0000 (08:04 +0000)]
Since Qmenu_enable is used by non-X-specific code, it shouldn't be
defined in an X-only source file.
* xmenu.c (Qmenu_enable): Definition moved...
(syms_of_xmenu): ... along with initialization ...
* keyboard.c (Qmenu_enable): ... to here ...
(syms_of_keyboard): ... and here.
Jim Blandy [Sat, 10 Apr 1993 08:02:22 +0000 (08:02 +0000)]
* keyboard.c (command_loop_1): Rebuild menu bar if
update_mode_lines is set.
Since Qmenu_enable is used by non-X-specific code, it shouldn't be
defined in an X-only source file.
* xmenu.c (Qmenu_enable): Definition moved...
(syms_of_xmenu): ... along with initialization ...
* keyboard.c (Qmenu_enable): ... to here ...
(syms_of_keyboard): ... and here.
* keyboard.c (kbd_buffer_get_event): If we get a selection clear
or selection request event, but we were compiled without the
window-system-specific code to handle it, abort. Don't try to
call a function which doesn't exist.
* keyboard.c (make_lispy_event): In the code which processes mouse
clicks, declare f to be a FRAME_PTR, not a struct frame *; this
works when MULTI_FRAME is not #defined.
Jim Blandy [Sat, 10 Apr 1993 07:59:02 +0000 (07:59 +0000)]
Adjust for autoconf merger.
* config.h.in: Add extra line to top, in case autoconf gets fixed
and decides not to add Makefile-style comments to the top of the
files it generates which we are forced to lop off.
Indicate that the boolean macros here get their definitions via
the DEFS Makefile variable.
Adjust the operating system and machine #includes to use
autoload's @cookies@.
(RETSIGTYPE): Give this a default value.
(SIGTYPE): Set this from RETSIGTYPE.
(LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Get values via @cookies@.
* Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
(xmakefile): Pass CFLAGS to ${CPP}.
Jim Blandy [Sat, 10 Apr 1993 07:57:57 +0000 (07:57 +0000)]
* buffer.c (Fmake_overlay, Fmove_overlay): New optional BUFFER
arguments.
(recenter_overlay_lists): New argument BUF, to use instead of the
current buffer.
(Foverlay_recenter): Pass the appropriate arguments to
recenter_overlay_lists.
* buffer.c (Fdelete_overlay): Don't assume that overlay is in the
current buffer. Don't forget to declare the argument a Lisp_Object.
Jim Blandy [Sat, 10 Apr 1993 07:53:50 +0000 (07:53 +0000)]
Adjust for autoconf merger.
* config.h.in: Add extra line to top, in case autoconf gets fixed
and decides not to add Makefile-style comments to the top of the
files it generates which we are forced to lop off.
Indicate that the boolean macros here get their definitions via
the DEFS Makefile variable.
Adjust the operating system and machine #includes to use
autoload's @cookies@.
(RETSIGTYPE): Give this a default value.
(SIGTYPE): Set this from RETSIGTYPE.
(LD_SWITCH_X_SITE, C_SWITCH_X_SITE): Get values via @cookies@.
* Makefile.in (DEFS): Renamed from CONFIG_CFLAGS.
(xmakefile): Pass CFLAGS to ${CPP}.
* Makefile.in (tagsfiles): Remove external-lisp from this list of
files; we're not distributing it, so the normal build process
shouldn't depend on it.
Jim Blandy [Sat, 10 Apr 1993 06:20:55 +0000 (06:20 +0000)]
* finder.el (finder-by-keyword): Build an alist to pass to
completing-read, instead of building an invalid obarray.
* finder.el (finder-by-keyword): If the user quits or enters the
empty string in response to the keyword prompt, restore the old
window configuration properly.
Jim Blandy [Sat, 10 Apr 1993 06:02:36 +0000 (06:02 +0000)]
* configure.in: When checking for X windows, search for an X11
subdirectory of ${x_includes}.
* configure.in: Check for gettimeofday function, for getdate.y.
Change `configure' to a mixture of custom code and autoconf stuff.
autoconf can't derive all the information we need, but we'd really
like to be able to take advantage of some of its tests, and its
file-editing facilities.
* configure.in: Renamed from configure.
Quote the sections of shell script we want copied literally to
the configure script.
(compile): Initialize this to make the autoconf macros' code happy.
Use AC_PROG_CC, AC_CONST, and AC_RETSIGTYPE instead of writing out
code to do their jobs.
Use autoconf to produce Makefile and src/config.h.
Remove the Makefile-style comment that autoconf places at the top
of src/config.h.
(config_h_opts): Removed - no longer necessary.
* Makefile.in (configname): Renamed to configuration.
(CONFIG_CFLAGS): Renamed to DEFS.
(CC, DEFS, C_SWITCH_SYSTEM, version, configuration): Adjusted to
get values via autoload @cookies@.
(libsrc_libs): Get this from autoconf. We used to do nothing
about this.
(${SUBDIR}): Pass DEFS to submakes instead of CONFIG_CFLAGS.
Jim Blandy [Sat, 10 Apr 1993 06:01:49 +0000 (06:01 +0000)]
* Makefile.in (clean mostlyclean): Missing right paren.
Change `configure' to a mixture of custom code and autoconf stuff.
autoconf can't derive all the information we need, but we'd really
like to be able to take advantage of some of its tests, and its
file-editing facilities.
* configure.in: Renamed from configure.
Quote the sections of shell script we want copied literally to
the configure script.
(compile): Initialize this to make the autoconf macros' code happy.
Use AC_PROG_CC, AC_CONST, and AC_RETSIGTYPE instead of writing out
code to do their jobs.
Use autoconf to produce Makefile and src/config.h.
Remove the Makefile-style comment that autoconf places at the top
of src/config.h.
(config_h_opts): Removed - no longer necessary.
* Makefile.in (configname): Renamed to configuration.
(CONFIG_CFLAGS): Renamed to DEFS.
(CC, DEFS, C_SWITCH_SYSTEM, version, configuration): Adjusted to
get values via autoload @cookies@.
(libsrc_libs): Get this from autoconf. We used to do nothing
about this.
(${SUBDIR}): Pass DEFS to submakes instead of CONFIG_CFLAGS.
* Makefile.in (src/paths.h, lib-src/Makefile, src/Makefile): Don't
echo the move-if-change command.
Eric S. Raymond [Fri, 9 Apr 1993 23:17:05 +0000 (23:17 +0000)]
(emerge-with-ancestor): Applied Donald Erway's fix patch, which
included the following explanatory comment: "D.Erway - This used to
just do emerge-get-diff3-group on 2, then on 3. This was incorrect,
since the file 3 info for a diff can preceed the file 2 info for that
same diff. So we save and restore point to overcome this.
Eric S. Raymond [Thu, 8 Apr 1993 16:35:59 +0000 (16:35 +0000)]
dired-noselect, dired-internal-noselect, dired-insert-directory:
Enhancements to support passing dired a DIRNAME argument consisting
of a directory-name car and a list-of-files cdr. This is needed to
support VC's augmented dired, which wants a filtered file display
that recurses (showing all version-controlled files in subdirectories
as well as the top-level ones).
Eric S. Raymond [Thu, 8 Apr 1993 16:35:52 +0000 (16:35 +0000)]
(vc-directory. vc-start-entry, vc-next-action, vc-next-action-on-file):
The vc-directory listing is now in an augmented Dired mode that supports
vc-next-action on all marked files.
Eric S. Raymond [Thu, 8 Apr 1993 16:35:48 +0000 (16:35 +0000)]
Massive changes, amounting nearly to a rewrite. The new features
include auto-configuring support for SVr4, more commands, and a full minor-mode
implementation that binds all GUD commands not just in the GUD interaction
mode, but in C buffers visited by GUD. The common prefix of GUD commands is
now C-x X, like electric-debug mode.
Jim Blandy [Thu, 8 Apr 1993 09:32:50 +0000 (09:32 +0000)]
* make-dist: It's oldXMenu/compile.com, not oldXMenu/compile.mms.
Don't try to make links to the RCS or Old subdirectories.
Use the appropriate extension for the compression type in use.
Create the tar file in the shell's initial default directory, not
in ${tempparent}.
Erase the whole ${tempparent} tree, not just ${tempdir}.
Roland McGrath [Wed, 7 Apr 1993 18:26:27 +0000 (18:26 +0000)]
(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.
Jim Blandy [Wed, 7 Apr 1993 16:36:59 +0000 (16:36 +0000)]
* 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.
Jim Blandy [Wed, 7 Apr 1993 14:57:22 +0000 (14:57 +0000)]
* 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.
Roland McGrath [Mon, 5 Apr 1993 23:52:16 +0000 (23:52 +0000)]
(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.
Roland McGrath [Mon, 5 Apr 1993 22:35:50 +0000 (22:35 +0000)]
(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.