Paul Eggert [Mon, 3 May 1993 17:55:22 +0000 (17:55 +0000)]
mawk, SunOS 4.1.3 nawk, and Ultrix/MKS nawk all barf on /[/]/, so change
it to /[\/]/. This should work on all Posix-compliant awks.
It's slightly wrong with traditional (Unix version 7) awk, since it
also allows \, but that's a minor problem compared to awk syntax errors.
Jim Blandy [Mon, 3 May 1993 03:37:22 +0000 (03:37 +0000)]
* files.el (insert-directory): Undo change of March 23;
dereferencing links is inappropriate for dired.
* files.el (abbreviate-file-name): If abbreviated-home-dir ends
with a slash, don't remove the corresponding slash from filename
when we collapse the home directory to ~.
Jim Blandy [Mon, 3 May 1993 03:36:19 +0000 (03:36 +0000)]
* edebug.el (edebug-display): Call the `mark' function with the
FORCE argument non-nil, so that we don't get an error if the mark
isn't set yet.
* edebug.el (global-edebug-prefix, global-edebug-map): Add
autoload cookies for these, so they are present when Emacs starts
up.
* edebug.el (global-edebug-map): Bind `C-x X d' to edebug-defun in
this map; we can't bind it to `C-x x', as the installation
instructions suggest, because that conflicts with
copy-to-register.
Jim Blandy [Mon, 3 May 1993 03:35:53 +0000 (03:35 +0000)]
* disp-table.el (describe-display-table): Don't use the term
"rope"; we're using vectors of characters now.
(standard-display-8bit, standard-display-ascii): Set the element
of the display table to a vector, not an integer; the latter
doesn't mean anything.
Jim Blandy [Mon, 3 May 1993 03:35:01 +0000 (03:35 +0000)]
* comint.el (comint-match-partial-pathname): Move "---" range in
character class in regular expressions to the end of the character
class; this way, it meets the POSIX regexp specs.
Jim Blandy [Mon, 3 May 1993 02:07:41 +0000 (02:07 +0000)]
* configure.in: Use the AC_PROG_CPP macro, and then use the CPP
variable to scan the machine and system description files.
* configure.in: Use the AC_HAVE_HEADERS to check for sys/timeb.h,
so that getdate.y builds correctly.
* configure.in (tempcname): Change this to "conftest.c", so it will
work properly on systems with short filenames; this is the name
autoconf uses.
* configure.in: Also detect the availability of dup2 and
gethostname.
* configure.in: Use the AC_ALLOCA test.
* Makefile.in (ALLOCA): New variable, to be set by ./configure.
(lib-src/Makefile): Edit the value of ALLOCA into lib-src/Makefile.
* Makefile.in: Add autoconf cookies so that the configure
script can comment out sections of path variable definitions to
choose between the installable configuration and the run-in-place
configuration.
* configure.in: Add new option `--run-in-place', to select the
run-in-place path definitions.
* configure.in: Add a clause to the big configuration name case
for the NeXT machine.
Jim Blandy [Mon, 3 May 1993 02:06:16 +0000 (02:06 +0000)]
* configure.in: Use the AC_ALLOCA test.
* Makefile.in (ALLOCA): New variable, to be set by ./configure.
(lib-src/Makefile): Edit the value of ALLOCA into lib-src/Makefile.
* Makefile.in (install): Print out the name of the directory we're
copying, so people can have some idea of whether we're making
progress.
* Makefile.in (install.aix, install.xenix, install.sysv, install):
Don't forget to re-create the COPYDESTS directories after we clear
them out.
* Makefile.in: Add autoconf cookies so that the configure
script can comment out sections of path variable definitions to
choose between the installable configuration and the run-in-place
configuration.
* configure.in: Add new option `--run-in-place', to select the
run-in-place path definitions.
* Makefile.in (install, install.sysv, install.xenix, install.aix):
Make sure that each source directory exists, and is different from
the destination directory; then, delete the destination before
copying over the source.
Roland McGrath [Wed, 28 Apr 1993 22:44:29 +0000 (22:44 +0000)]
Add compilation-minor-mode to minor-mode-alist and minor-mode-map-alist.
(compilation-minor-mode): New defvar.
(compilation-minor-mode-map): New defvar; keymap with the bindings
from compilation-mode-map except SPC and DEL.
(compilation-mode-map): Construct this keymap to inherit from
compilation-minor-mode-map.
(compilation-setup): New function, code broken out of compilation-mode.
(compilation-mode): Call it.
(compilation-minor-mode): New function to toggle
compilation-minor-mode; if setting it, call compilation-setup.
Eric S. Raymond [Tue, 27 Apr 1993 22:01:32 +0000 (22:01 +0000)]
(hscroll-step): New variable.
(hscroll-point-visible): New function.
(left-arrow, right-arrow): These use hscroll-point-visible for better auto-
scrolling behavior.
Eric S. Raymond [Tue, 27 Apr 1993 21:59:59 +0000 (21:59 +0000)]
(un_autoload): Don't try to save old autoload forms when we load something
in. Something about the code now conditioned out by UNLOAD was screwing
up ordinary autoloads, notably of picture.el. When I figure out what, I'll
fix and re-enable this code.
Eric S. Raymond [Tue, 27 Apr 1993 21:59:55 +0000 (21:59 +0000)]
Completed the package entry point's name change from edit-picture to
picture-mode.
(move-to-column-force, picture-end-of-line): When movement is completed,
scroll horizontally if necessary to make point visible.
(picture-beginning-of-line): New function. Exists to force horizontal
scrolling if the buffer is wide.
(picture-mode-map): Instead of rebinding common keystrokes, use
substitute-key-definition to remap all keystrokes attached to the
corresponding commands.
Roland McGrath [Mon, 26 Apr 1993 19:21:01 +0000 (19:21 +0000)]
(find-tag-interactive): New function to read args for find-tag et al.
(find-tag-noselect, find-tag, find-tag-other-window, find-tag-other-frame,
find-tag-regexp): Use it.
(find-tag, find-tag-other-window): Take new arg REGEXP-P, pass to
find-tag-noselect.
(find-tag-regexp): Call either find-tag-other-window or find-tag, rather
than find-tag-noselect and switch-to-buffer[-other-window].
(tags-location-stack): New defvar.
(find-tag-noselect): If NEXT-P is '-, pop location off tags-location-stack.
Eric S. Raymond [Mon, 26 Apr 1993 05:15:04 +0000 (05:15 +0000)]
I started to clean this up and make it work under System V, until I hit a wall.
Discussion with Jim Blandy reveals that it can no longer be made to work
properly at all due to changes in Emacs's terminal-control interface. So
it's getting deep-sixed, but these cleanups go in on the outside chance that
we want to revive it someday.
Eric S. Raymond [Mon, 26 Apr 1993 05:15:01 +0000 (05:15 +0000)]
(global-map): Dyke out the last two event-to-function bindings. These belong
in loaddefs.el or the user's .emacs, not in a terminal support package. Also
do the right thing and transplant all suspend-emacs bindings to iconify-frame,
rather than just C-z.
Eric S. Raymond [Sun, 25 Apr 1993 22:26:48 +0000 (22:26 +0000)]
Rewritten. A poor choice of representation made the old code excessively
complex. The new version is smaller and faster. The interface is
unchanged, except that ring-remove now accepts an optional numeric argument
specifying the element to remove.
Eric S. Raymond [Sun, 25 Apr 1993 22:26:45 +0000 (22:26 +0000)]
Set no-byte-compile local variable t to work around a byte-compiler bug.
(gud-def, global-map): Move C-x C-a commands to global map. Restore
original C-x SPC global binding.
Eric S. Raymond [Sun, 25 Apr 1993 06:14:13 +0000 (06:14 +0000)]
(down-arrow): New function. Uses next-line-add-newlines to suppress
addition of new lines at end of buffer.
(up-arrow): Alias of previous-line, added for consistency.
These changes complete terminal-type-independent support for arrow keys.
Eric S. Raymond [Sun, 25 Apr 1993 06:14:10 +0000 (06:14 +0000)]
(tex-compilation-parse-errors): Added. At the moment, this would have
to be applied manually. It's not worth trying to integrate this with
the rest of the mode more tightly until we decide whether and how
compile's interface is going to change away from a closed subsystem.
Eric S. Raymond [Sun, 25 Apr 1993 06:14:06 +0000 (06:14 +0000)]
(cd): Changed to use to resolve relative cd calls.
(cd-absolute): Added. This is actually the old cd code with a changed
doc string.
(parse-colon-path): Added. Path-to-string exploder --- may be useful elsewhere.
Eric S. Raymond [Sun, 25 Apr 1993 06:14:03 +0000 (06:14 +0000)]
Added and fixed documentation.
(ring-rotate): Nuked. It was (a) unused, and (b) totally broken (as in,
any attempt to use it died with a type error, and when I patched it to fix
that I found its algorithm was broken).
(ring-ref): Added doc string.
Eric S. Raymond [Fri, 23 Apr 1993 06:50:37 +0000 (06:50 +0000)]
All fsets changed to defaliases.
(kill-forward-chars, kill-backward-chars): Deleted. These were
internal subroutines used by delete-char and delete-backward-char
before those functions were moved into the C kernel. Now nothing uses
them.
(kill-line): Added kill-whole-line variable. Defaults to nil; a
non-nil value causes a kill-line at the beginning of a line to kill
the newline as well as the line. I find it very convenient. Emulates
Unipress' &kill-lines-magic variable.
(next-line): Added next-line-add-newlines variable. If nil, next-line will not
insert newlines when invoked at the end of a buffer. This obviates three LCD
packages.
(left-arrow, right-arrow): New functions. These do backward-char and
forward-char first. If line truncation is on, they then scroll left or
right as necessary to make sure point is visible.
Eric S. Raymond [Fri, 23 Apr 1993 02:20:59 +0000 (02:20 +0000)]
Commentary added.
(telnet): Doc fix.
(rsh): Added entry point for rsh to remote host, per suggestion by
Michael McNamara <mac@ardent.com>. No change to any other code.
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.