bpt/emacs.git
31 years ago* fileio.c (find_file_handler): Rename this to
Jim Blandy [Sat, 12 Dec 1992 15:35:12 +0000 (15:35 +0000)]
* fileio.c (find_file_handler): Rename this to
Ffind_file_name_handler, and make it visible to lisp.  Add a QUIT
to the loop which scans file-name-handler-alist.  All uses
changed.
(syms_of_fileio): Mention this new function in the docstring for
Vfile_name_handler_alist.  defsubr Sfind_file_name_handler.
* lisp.h (Ffind_file_name_handler): Added extern declaration.
* dired.c: All uses of find_file_handler changed here too.

31 years ago* frame.c (Fdelete_frame): Delete all the windows in the frame's
Jim Blandy [Sat, 12 Dec 1992 15:34:44 +0000 (15:34 +0000)]
* frame.c (Fdelete_frame): Delete all the windows in the frame's
window tree, using delete_all_subwindows.
* window.c (delete_all_subwindows): Don't make this static
anymore.

31 years agoGive subprocess creation a way to find a valid current directory
Jim Blandy [Sat, 12 Dec 1992 15:32:51 +0000 (15:32 +0000)]
Give subprocess creation a way to find a valid current directory
for subprocesses when the buffer's default-directory is a handled
name.
* fileio.c (Funhandled_file_name_directory): New function.
(Qunhandled_file_name_directory): New file-name-handler operation.
(syms_of_fileio): Defsubr Sunhandled_file_name_directory, and
initialize and staticpro Qunhandled_file_name_directory.
* callproc.c (Fcall_process): Call Funhandled_file_name_directory
on the buffer's default directory.  Do it earlier in the function
so there's less to GCPRO.
* process.c (create_process): Don't check the validity of the
buffer's default directory here...
(Fstart_process): Instead, do it here; if we call
Funhandled_file_name_directory here, there's less GCPROing to do.

* fileio.c (find_file_handler): Rename this to
Ffind_file_name_handler, and make it visible to lisp.  Add a QUIT
to the loop which scans file-name-handler-alist.  All uses
changed.
(syms_of_fileio): Mention this new function in the docstring for
Vfile_name_handler_alist.  defsubr Sfind_file_name_handler.
* lisp.h (Ffind_file_name_handler): Added extern declaration.
* dired.c: All uses of find_file_handler changed here too.

* fileio.c (syms_of_fileio): Add staticpros for Qexpand_file_name,
Qdirectory_file_name, Qfile_name_directory,
Qfile_name_nondirectory, Qfile_name_as_directory.

31 years agoGive subprocess creation a way to find a valid current directory
Jim Blandy [Sat, 12 Dec 1992 15:31:32 +0000 (15:31 +0000)]
Give subprocess creation a way to find a valid current directory
for subprocesses when the buffer's default-directory is a handled
name.
* fileio.c (Funhandled_file_name_directory): New function.
(Qunhandled_file_name_directory): New file-name-handler operation.
(syms_of_fileio): Defsubr Sunhandled_file_name_directory, and
initialize and staticpro Qunhandled_file_name_directory.
* callproc.c (Fcall_process): Call Funhandled_file_name_directory
on the buffer's default directory.  Do it earlier in the function
so there's less to GCPRO.
* process.c (create_process): Don't check the validity of the
buffer's default directory here...
(Fstart_process): Instead, do it here; if we call
Funhandled_file_name_directory here, there's less GCPROing to do.

* callproc.c (Fcall_process_region): Return the value returned by
Fcall_process.

31 years ago* Makefile.in (distclean): Don't delete machine.h or system.h;
Jim Blandy [Sat, 12 Dec 1992 15:29:40 +0000 (15:29 +0000)]
* Makefile.in (distclean): Don't delete machine.h or system.h;
they don't exist anymore.

* Makefile.in (distclean): Don't delete autosave or backup files.
(extraclean): New target; like distclean, but delete autosave
and backup files too.

* Makefile.in (srcdir): New variable, not fully implemented.
(xmakefile): Turn -g and -O in CFLAGS into C_DEBUG_SWITCH and
C_OPTIMIZE_SWITCH in C_SWITCH_SITE's definition.  Delete junk.cpp
when done.
* ymakefile (archlib): Variable definition deleted.  Run programs
from ../lib-src directly, or use ${archlibdir}.
(${etc}DOC): Run make-docfile from ${libsrc}, not ${archlib}.
(${archlib}make-docfile, ${archlib}emacstool): Use ${libsrc}, not
${archlib}.

31 years ago* make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
Jim Blandy [Sat, 12 Dec 1992 15:25:18 +0000 (15:25 +0000)]
* make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes
a different number of arguments than other DEFVARs, recognize it
specially, and expect the right number of commas.

31 years ago* Makefile.in (exec_prefix): New variable.
Jim Blandy [Sat, 12 Dec 1992 15:24:50 +0000 (15:24 +0000)]
* Makefile.in (exec_prefix): New variable.
(bindir, libdir): Use it instead of `prefix'.

* Makefile.in (CFLAGS): #define HAVE_CONFIG_H, too.

* Makefile.in (libdir): Default to ${prefix}/lib.
(archlibdir): Adjusted to match.

* Makefile.in (distclean): Don't delete backup or autosave files.
(extraclean): Like realclean, but does delete backup and autosave
files.

* Makefile.in (realclean): Ignore errors from rm.

* Makefile.in (distclean): Don't bother to delete ../arch-lib;
that doesn't exist anymore.

* Makefile.in (prefix, bindir, libdir, srcdir): New variables, as
described in the top-level Makefile.
(UTILITIES): Add make-path to the list of utility programs.
(../arch-lib): Replaced by the ${archlibdir} target, which places
the executables in their permanent home.
(install, install.sysv, install.xenix): Consolidated into one
target which should work under all circumstances, modulo a few
ignored error messages.

31 years ago* vc.el (vc-do-command): Set the default directory of the *vc*
Jim Blandy [Sat, 12 Dec 1992 15:22:26 +0000 (15:22 +0000)]
* vc.el (vc-do-command): Set the default directory of the *vc*
buffer to the directory containing FILE.

31 years agoSat Dec 12 03:22:57 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy [Sat, 12 Dec 1992 15:22:04 +0000 (15:22 +0000)]
Sat Dec 12 03:22:57 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

* paths.el (Info-default-directory-list): The info files are
supposed to be in /usr/local/info these days.  Add it to the list
of directories to search.

31 years agoThe find-file-name-handler function in ../src/fileio.c is now
Jim Blandy [Sat, 12 Dec 1992 15:21:45 +0000 (15:21 +0000)]
The find-file-name-handler function in ../src/fileio.c is now
callable from lisp; use it instead of writing out its code.
* dired-aux.el (dired-compress-file): Just that.
* dired.el (dired-uncache): Just that.
* files.el (file-local-copy, file-truename,
file-name-sans-versions, make-directory, save-buffers-kill-emacs):
Just that.
* ls-lisp.el (insert-directory): Just that.

31 years ago* lpr.el (lpr-switches, lpr-command): Make these defvars, not
Jim Blandy [Sat, 12 Dec 1992 15:21:21 +0000 (15:21 +0000)]
* lpr.el (lpr-switches, lpr-command): Make these defvars, not
defconsts.

31 years ago* ange-ftp.el (ange-ftp-unhandled-file-name-directory): New
Jim Blandy [Sat, 12 Dec 1992 15:19:13 +0000 (15:19 +0000)]
* ange-ftp.el (ange-ftp-unhandled-file-name-directory): New
function.  Set ange-ftp's `unhandled-file-name-property' to its
name.

31 years ago*** empty log message ***
Jim Blandy [Sat, 12 Dec 1992 14:44:09 +0000 (14:44 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
Jim Meyering [Sat, 12 Dec 1992 02:55:16 +0000 (02:55 +0000)]
*** empty log message ***

31 years ago(Info-{first,second,third,fourth,fifth}-menu-item): Removed.
Roland McGrath [Wed, 9 Dec 1992 17:30:20 +0000 (17:30 +0000)]
(Info-{first,second,third,fourth,fifth}-menu-item): Removed.
(Info-nth-menu-item): New function; bound to 1..9.
Bind 0 to undefined, not to Info-nth-menu-item.

31 years ago(Info-{first,second,third,fourth,fifth}-menu-item): Removed.
Roland McGrath [Wed, 9 Dec 1992 17:28:25 +0000 (17:28 +0000)]
(Info-{first,second,third,fourth,fifth}-menu-item): Removed.
(Info-nth-menu-item): New function; bound to 1..9.

31 years ago*** empty log message ***
Jim Blandy [Tue, 8 Dec 1992 00:39:49 +0000 (00:39 +0000)]
*** empty log message ***

31 years ago* sendmail.el (mail-self-blind, mail-interactive,
Jim Blandy [Sun, 6 Dec 1992 22:42:10 +0000 (22:42 +0000)]
* sendmail.el (mail-self-blind, mail-interactive,
mail-yank-ignored-headers): Make these defvars, not defconsts.
Otherwise, they wipe out the user's customizations when we
autoload sendmail.el.

31 years agoTue Dec 1 22:34:42 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy [Sun, 6 Dec 1992 22:41:11 +0000 (22:41 +0000)]
Tue Dec  1 22:34:42 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

* hanoi.el (hanoi): If pole-spacing is odd, round down, not up.
To see if the window is wide enough, just check if one half of a
ring will fit inside pole-spacing.

31 years agoFri Dec 4 00:31:30 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy [Sun, 6 Dec 1992 22:40:25 +0000 (22:40 +0000)]
Fri Dec  4 00:31:30 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

* c-mode.el (c-fill-paragraph): When trying to make sure that the
comment ender isn't on its own line, don't signal an error if
there is no comment ender.

31 years ago* c-mode.el (c-style-alist): Add quotes around C++ style name.
Eric S. Raymond [Sun, 6 Dec 1992 22:32:20 +0000 (22:32 +0000)]
* c-mode.el (c-style-alist): Add quotes around C++ style name.

31 years ago* make-path.c (touchy_mkdir): Remove debugging output.
Jim Blandy [Sun, 6 Dec 1992 22:27:37 +0000 (22:27 +0000)]
* make-path.c (touchy_mkdir): Remove debugging output.

31 years ago* Makefile.in (make-path): New target.
Jim Blandy [Sun, 6 Dec 1992 22:25:31 +0000 (22:25 +0000)]
* Makefile.in (make-path): New target.

31 years ago* xterm.c (XTread_socket): When we get MapNotify, UnmapNotify,
Jim Blandy [Sun, 6 Dec 1992 22:22:09 +0000 (22:22 +0000)]
* xterm.c (XTread_socket): When we get MapNotify, UnmapNotify,
Expose, ExposeWindow, or UnmapWindow, set f->async_visible, not
f->visible.
(x_do_pending_expose, x_raise_frame, x_lower_frame,
x_make_frame_invisible, x_make_frame_visible, x_iconify_frame):
Test and set f->async_visible and f->async_iconified, not
f->visible or f->async_iconified.

31 years ago* xfns.c (Fx_create_frame): Initialize f->async_visible too.
Jim Blandy [Sun, 6 Dec 1992 22:21:21 +0000 (22:21 +0000)]
* xfns.c (Fx_create_frame): Initialize f->async_visible too.

31 years ago* xdisp.c (redisplay): Call FRAME_SAMPLE_VISIBILITY to set the
Jim Blandy [Sun, 6 Dec 1992 22:20:47 +0000 (22:20 +0000)]
* xdisp.c (redisplay): Call FRAME_SAMPLE_VISIBILITY to set the
visible and iconified flags appropriately for each frame.
(message1): Call FRAME_SAMPLE_VISIBILITY to set the visible and
iconified flags for the minibuffer frame.

* xdisp.c (redisplay): Use FOR_EACH_FRAME to apply
redisplay_windows to the root window of each frame.  This makes a
#ifdef MULTI_FRAME unneeded, but it also means we recompute
buffer_shared from scratch even on non-MULTI_FRAME configurations.
Don't skip elements of Vframe_list that aren't frames; go ahead
and crash here.

* xdisp.c (redisplay): Remove #ifdef MULTI_FRAME around the code
which updates separate minibuffer frames specially; there's
nothing there that won't work on a single-frame configuration.

31 years agoTue Dec 1 23:42:25 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy [Sun, 6 Dec 1992 22:19:47 +0000 (22:19 +0000)]
Tue Dec  1 23:42:25 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

* process.c (wait_reading_process_input): Doc fix.

31 years ago* keyboard.c (kbd_store_ptr): Declare this to be volatile, if
Jim Blandy [Sun, 6 Dec 1992 22:18:02 +0000 (22:18 +0000)]
* keyboard.c (kbd_store_ptr): Declare this to be volatile, if
__STDC__ is #defined.
(Fdiscard_input): Use cast to keep GCC from complaining about the
assignment of kbd_store_ptr to kbd_fetch_ptr.

31 years ago* frame.h (struct frame): New fields called async_visible and
Jim Blandy [Sun, 6 Dec 1992 22:17:30 +0000 (22:17 +0000)]
* frame.h (struct frame): New fields called async_visible and
async_iconified.
(FRAME_SAMPLE_VISIBILITY): New macro, with MULTI_FRAME and
non-MULTI_FRAME definitions.

31 years ago* frame.c (make_frame): Initialize async_visible and
Jim Blandy [Sun, 6 Dec 1992 22:16:57 +0000 (22:16 +0000)]
* frame.c (make_frame): Initialize async_visible and
async_iconified properly.

31 years ago* doc.c (store_function_docstring): New function, made from part
Jim Blandy [Sun, 6 Dec 1992 22:16:26 +0000 (22:16 +0000)]
* doc.c (store_function_docstring): New function, made from part
of Fsnarf_documentation, which handles docstrings for macros
properly.
(Fsnarf_documentation): Call store_function_docstring.

31 years ago* dispnew.c: Remove dyked-out copy of safe_bcopy.
Jim Blandy [Sun, 6 Dec 1992 22:16:01 +0000 (22:16 +0000)]
* dispnew.c: Remove dyked-out copy of safe_bcopy.

31 years ago* dispextern.h (struct frame_glyphs): Doc fix.
Jim Blandy [Sun, 6 Dec 1992 22:15:29 +0000 (22:15 +0000)]
* dispextern.h (struct frame_glyphs): Doc fix.

31 years agosrc/\f * data.c (indirect_function): Delete unused argument ERROR.
Jim Blandy [Sun, 6 Dec 1992 22:13:53 +0000 (22:13 +0000)]
src/\f * data.c (indirect_function): Delete unused argument ERROR.

31 years agoNow partially conforms with GNU coding standards. I'm only checking
Jim Blandy [Sun, 6 Dec 1992 22:12:37 +0000 (22:12 +0000)]
Now partially conforms with GNU coding standards.  I'm only checking
it in to RCS so I can check my changes in with FSF Cambridge.

31 years agoInitial revision
Jim Blandy [Fri, 4 Dec 1992 19:59:59 +0000 (19:59 +0000)]
Initial revision

31 years ago*** empty log message ***
David J. MacKenzie [Tue, 1 Dec 1992 18:28:07 +0000 (18:28 +0000)]
*** empty log message ***

31 years ago(add-change-log-entry): Expand file-name again after chasing links.
Richard M. Stallman [Fri, 27 Nov 1992 22:55:31 +0000 (22:55 +0000)]
(add-change-log-entry): Expand file-name again after chasing links.

31 years agoCopy changes from 18.59:
Richard M. Stallman [Thu, 26 Nov 1992 18:32:45 +0000 (18:32 +0000)]
Copy changes from 18.59:
(NeXT): Defined.
(BIG_ENDIAN): Define only if __BIG_ENDIAN__.
(m68000, COMPILER_REGISTER_BUG): Defs deleted.
(SIGN_EXTEND_CHAR, LIB_X11_LIB, NO_T_CHARS_DEFINES, UNEXEC): Defined.
(LIBS_DEBUG, LIB_GCC, C_SWITCH_MACHINE, ORDINARY_LINK): Defined.
(TEXT_START, TEXT_END, DATA_END, LD_SWITCH_MACHINE): Defined.
(KERNEL_FILE): #undef it.
(environ): Define as _environ.

31 years ago*** empty log message ***
David J. MacKenzie [Thu, 26 Nov 1992 04:42:40 +0000 (04:42 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
David J. MacKenzie [Tue, 24 Nov 1992 14:17:32 +0000 (14:17 +0000)]
*** empty log message ***

31 years agoFinish previous change.
Jim Blandy [Tue, 24 Nov 1992 02:40:36 +0000 (02:40 +0000)]
Finish previous change.

31 years ago* Makefile.in (clean): Remove prefix-args.
Jim Blandy [Tue, 24 Nov 1992 02:33:31 +0000 (02:33 +0000)]
* Makefile.in (clean): Remove prefix-args.

31 years ago(LD_SWITCH_SYSTEM): Make alternate version for GCC.
Richard M. Stallman [Sat, 21 Nov 1992 22:12:53 +0000 (22:12 +0000)]
(LD_SWITCH_SYSTEM): Make alternate version for GCC.

31 years ago*** empty log message ***
Karl Berry [Sat, 21 Nov 1992 01:51:33 +0000 (01:51 +0000)]
*** empty log message ***

31 years ago(vc-next-action): Undo previous change.
Richard M. Stallman [Fri, 20 Nov 1992 19:33:38 +0000 (19:33 +0000)]
(vc-next-action): Undo previous change.

31 years agoThu Nov 19 16:44:24 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy [Fri, 20 Nov 1992 17:23:45 +0000 (17:23 +0000)]
Thu Nov 19 16:44:24 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

* vc.el (vc-next-action): Pass t as NOQUERY argument to
vc-resynch-window here too.  This means that all uses of
vc-resynch-window pass t; I'm going to wait until I understand the
situation better before I rip out the NOQUERY argument
altogether.

* vc.el (vc-revert-buffer1): Try to preserve the position of mark
as well as point.
(vc-position-context, vc-find-position-by-context): New functions
to help with that, made out of the old innards of vc-revert-buffer1.

31 years ago* subr.el (lambda): Doc fix.
Jim Blandy [Fri, 20 Nov 1992 17:22:56 +0000 (17:22 +0000)]
* subr.el (lambda): Doc fix.

31 years ago* fortran.el: New version of version 1.30 (!) from Stephen A. Wood
Jim Blandy [Fri, 20 Nov 1992 17:22:24 +0000 (17:22 +0000)]
* fortran.el: New version of version 1.30 (!) from Stephen A. Wood
<saw@hallc1.cebaf.gov>

* fortran.el: New version (1.30) from "Stephen A. Wood"
<saw@hallc1.cebaf.gov>

31 years ago* m/sparc.h: Don't include <sys/param.h> here; that screws up the
Jim Blandy [Fri, 20 Nov 1992 17:21:38 +0000 (17:21 +0000)]
* m/sparc.h: Don't include <sys/param.h> here; that screws up the
xmakefile.  Instead, include it in getloadavg.c, which is the only
place that uses LOAD_AVE_CVT, which is the only reason
<sys/param.h> was here in the first place.

31 years agoFri Nov 20 05:24:16 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
Jim Blandy [Fri, 20 Nov 1992 17:14:50 +0000 (17:14 +0000)]
Fri Nov 20 05:24:16 1992  Jim Blandy  (jimb@totoro.cs.oberlin.edu)

* config.sub: Added machines and operating systems for Emacs
ports, since Emacs now uses config.sub for its configuration.
New manufacturers recognized not to be operating systems: High
Level Hardware (highlevel, defaults to using BSD), Gould
(gould, defaults to System V), Commodore (cbm, defaults to
amigados), National Semiconductor (ns, defaults to Genix), and
Masscomp (masscomp, defaults to RTU).
Recognize the NS1600 (ns16k) and the Clipper (clipper) as
processors.
Recognize these processors with default manufacturers: the
Cydra (cydra) from Cydrome (cydrome), the XPS100 (xps100) from
Honeywell (honeywell), and the Orion (orion) and Orion 1/05
(orion105) from High Level Hardware (highlevel).
If the ISC operating system is given with a version number,
don't kill it and set it to 2.2; just have it default to 2.2
if omitted.
Make Irix SGI's default operating system, not SYSV.
Make BSD Encore's default, so it applies for all Encore
machines, not just the umax and mmax abbreviations.
All of Encore's machines use BSD, not just the ns32k-based
ones.  Make it the manufacturer's default.
Make it possible to specify an operating system for a Gould
machine.  Make sysv the manufacturer's default, so it applies
when we specify the manufacturer as well as when we omit it.
Add Uniplus (uniplus), Iris (iris), Xenix (xenix), and RTU
(rtu) as recognized operating system names.

31 years ago*** empty log message ***
Jim Blandy [Fri, 20 Nov 1992 17:11:40 +0000 (17:11 +0000)]
*** empty log message ***

31 years ago* configure: Use GCC-style configuration names, using config.sub.
Jim Blandy [Fri, 20 Nov 1992 17:08:32 +0000 (17:08 +0000)]
* configure: Use GCC-style configuration names, using config.sub.
Change the usage and help messages.

* configure: Initialize window_system, not indow_system.

* configure: Report which window system, compiler, and signal
handler return type we decide to use.

31 years ago* make-dist: Explain what's going on if config.sub and gmalloc.c
Jim Blandy [Fri, 20 Nov 1992 17:08:05 +0000 (17:08 +0000)]
* make-dist: Explain what's going on if config.sub and gmalloc.c
can't be linked.  Place the code which copies them near the code
which links the rest of the files around them.

31 years ago* config.sub: Added Xenix operating system.
Jim Blandy [Wed, 18 Nov 1992 06:28:11 +0000 (06:28 +0000)]
* config.sub: Added Xenix operating system.

31 years ago* make-dist: Don't bother to distribute src/*.com, or
Jim Blandy [Mon, 16 Nov 1992 02:00:38 +0000 (02:00 +0000)]
* make-dist: Don't bother to distribute src/*.com, or
src/vmsbuild; those have all been moved to `../vms'.

31 years ago* bytecomp.el: Declare unread-command-char an obsolete variable.
Jim Blandy [Mon, 16 Nov 1992 01:44:33 +0000 (01:44 +0000)]
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.

* vip.el (vip-delete-char, vip-delete-backward-char, ex-delete):
Don't pass nil as a fourth argument to vip-append-to-register; it
takes only three.
(vip-mark-point, ex-mark): Pass required second argument to
point-to-register.

31 years ago* bytecomp.el: Declare unread-command-char an obsolete variable.
Jim Blandy [Mon, 16 Nov 1992 01:43:53 +0000 (01:43 +0000)]
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* terminal.el (te-escape-extended-command-unread): Same.

31 years ago* bytecomp.el: Declare unread-command-char an obsolete variable.
Jim Blandy [Mon, 16 Nov 1992 01:43:35 +0000 (01:43 +0000)]
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* sun-mouse.el (mouse-second-hit): Same.

31 years ago* subr.el (lambda): Don't use backquotes in lambda's definition.
Jim Blandy [Mon, 16 Nov 1992 01:43:07 +0000 (01:43 +0000)]
* subr.el (lambda): Don't use backquotes in lambda's definition.

* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* subr.el (read-quoted-char, momentary-string-display): Same.

31 years ago* bytecomp.el: Declare unread-command-char an obsolete variable.
Jim Blandy [Mon, 16 Nov 1992 01:42:04 +0000 (01:42 +0000)]
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* simula.el (simula-electric-label): Same.

* simula.el (simula-calculate-indent): Call backward-word with the
appropriate argument.

31 years ago* bytecomp.el: Declare unread-command-char an obsolete variable.
Jim Blandy [Mon, 16 Nov 1992 01:40:51 +0000 (01:40 +0000)]
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* replace.el (perform-replace): Same.

31 years ago* rect.el (operate-on-rectangle): Use move-to-column's FORCE
Jim Blandy [Mon, 16 Nov 1992 01:40:15 +0000 (01:40 +0000)]
* rect.el (operate-on-rectangle): Use move-to-column's FORCE
argument instead of implementing it ourselves.
(rectangle-coerce-tab): No longer used; deleted.

* rect.el (open-rectangle): Leave point at the upper corner of the
rectangle just opened, in imitation of open-line.  Fix doc typo.
(open-rectangle-line): Use skip-chars-backward's LIM argument to
leave spaces before the line segment's beginning undisturbed.

* rect.el: Provide 'rect.

31 years ago* paths.el (rmail-spool-directory): Add dgux-unix to the list of
Jim Blandy [Mon, 16 Nov 1992 01:39:23 +0000 (01:39 +0000)]
* paths.el (rmail-spool-directory): Add dgux-unix to the list of
systems which put their mail in "/usr/mail".

31 years ago* bytecomp.el: Declare unread-command-char an obsolete variable.
Jim Blandy [Mon, 16 Nov 1992 01:38:47 +0000 (01:38 +0000)]
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* mlsupport.el (push-back-character): Same.

31 years ago* bytecomp.el: Declare unread-command-char an obsolete variable.
Jim Blandy [Mon, 16 Nov 1992 01:38:22 +0000 (01:38 +0000)]
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* map-ynp.el (map-y-or-n-p): Same.

31 years ago* lpr.el (lpr-command, lpr-switches): Removed strings starting
Jim Blandy [Mon, 16 Nov 1992 01:37:46 +0000 (01:37 +0000)]
* lpr.el (lpr-command, lpr-switches): Removed strings starting
with \newline; this file is loaded in loaddefs.el, and doesn't
need to follow that convention.

* lpr.el (lpr-command): Add dgux-unix to the list of systems which
want "lp".

31 years ago* bytecomp.el: Declare unread-command-char an obsolete variable.
Jim Blandy [Mon, 16 Nov 1992 01:37:06 +0000 (01:37 +0000)]
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* isearch-mode.el (isearch-update, isearch-unread): Same.

31 years ago* bytecomp.el: Declare unread-command-char an obsolete variable.
Jim Blandy [Mon, 16 Nov 1992 01:36:46 +0000 (01:36 +0000)]
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* info.el (Info-summary): Same.

31 years ago* bytecomp.el: Declare unread-command-char an obsolete variable.
Jim Blandy [Mon, 16 Nov 1992 01:35:55 +0000 (01:35 +0000)]
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* gnus.el (gnus-Subject-next-article): Same.

31 years ago* bytecomp.el: Declare unread-command-char an obsolete variable.
Jim Blandy [Mon, 16 Nov 1992 01:34:30 +0000 (01:34 +0000)]
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* fortran.el (fortran-abbrev-start, fortran-window-create-momentarily):
Same.

31 years ago* bytecomp.el: Declare unread-command-char an obsolete variable.
Jim Blandy [Mon, 16 Nov 1992 01:33:17 +0000 (01:33 +0000)]
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* emerge.el (emerge-show-file-name): Same.

31 years ago* bytecomp.el: Declare unread-command-char an obsolete variable.
Jim Blandy [Mon, 16 Nov 1992 01:31:33 +0000 (01:31 +0000)]
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* electric.el (Electric-command-loop): Same.

31 years ago* bytecomp.el: Declare unread-command-char an obsolete variable.
Jim Blandy [Mon, 16 Nov 1992 01:30:45 +0000 (01:30 +0000)]
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* ehelp.el (electric-help-command-loop): Same.

31 years ago* bytecomp.el: Declare unread-command-char an obsolete variable.
Jim Blandy [Mon, 16 Nov 1992 01:29:47 +0000 (01:29 +0000)]
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* ebuff-menu.el (electric-buffer-list, Electric-buffer-menu-exit):
Same.

31 years ago* disass.el (byte-compile): Specify that the 'byte-compile feature
Jim Blandy [Mon, 16 Nov 1992 01:28:48 +0000 (01:28 +0000)]
* disass.el (byte-compile): Specify that the 'byte-compile feature
is provided in the file "bytecomp".

31 years ago* bytecomp.el: Declare unread-command-char an obsolete variable.
Jim Blandy [Mon, 16 Nov 1992 01:28:14 +0000 (01:28 +0000)]
* bytecomp.el: Declare unread-command-char an obsolete variable.
* vip.el (vip-escape-to-emacs, vip-prefix-arg-value,
vip-prefix-arg-com): Use unread-command-event instead of
unread-command-char; respect its new semantics.
* comint.el (comint-dynamic-list-completions): Same.

31 years ago* bytecomp.el: Declare unread-command-char an obsolete variable.
Jim Blandy [Mon, 16 Nov 1992 01:21:50 +0000 (01:21 +0000)]
* bytecomp.el: Declare unread-command-char an obsolete variable.

* bytecomp.el: (require 'backquote).

31 years ago* ange-ftp.el (ange-ftp-repaint-buffer): Give this a non-hacky
Jim Blandy [Mon, 16 Nov 1992 01:20:29 +0000 (01:20 +0000)]
* ange-ftp.el (ange-ftp-repaint-buffer): Give this a non-hacky
definition using (message nil).
(ange-ftp-read-passwd, ange-ftp-process-filter): Uncomment out the
calls to ange-ftp-repaint-buffer.

31 years ago* xselect.c (Fx_get_cut_buffer): Correct check for buf_num in
Jim Blandy [Mon, 16 Nov 1992 01:04:24 +0000 (01:04 +0000)]
* xselect.c (Fx_get_cut_buffer): Correct check for buf_num in
range.

* xselect.c (Fx_get_cut_buffer, Fx_set_cut_buffer): Fix error
message format; use NUM_CUT_BUFFERS instead of literal 7.

31 years ago* xfns.c (unread_command_char): Change name in extern declaration
Jim Blandy [Mon, 16 Nov 1992 01:03:16 +0000 (01:03 +0000)]
* xfns.c (unread_command_char): Change name in extern declaration
to unread_command_event.

31 years ago* xdisp.c (display_string): Use w's buffer's value of
Jim Blandy [Mon, 16 Nov 1992 00:58:49 +0000 (00:58 +0000)]
* xdisp.c (display_string): Use w's buffer's value of
tab-width to display the string, instead of the current buffer's,
which could be anything.

31 years ago* vmspaths.h: New version from Roland Roberts.
Jim Blandy [Mon, 16 Nov 1992 00:58:28 +0000 (00:58 +0000)]
* vmspaths.h: New version from Roland Roberts.

31 years ago* undo.c (Fprimitive_undo): Remove whitespace in front of #ifdef
Jim Blandy [Mon, 16 Nov 1992 00:57:54 +0000 (00:57 +0000)]
* undo.c (Fprimitive_undo): Remove whitespace in front of #ifdef
and #endif.

31 years ago* systty.h: Doc fix.
Jim Blandy [Mon, 16 Nov 1992 00:55:34 +0000 (00:55 +0000)]
* systty.h: Doc fix.

* systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c:
Added VMS changes from Roland Roberts.

31 years ago* systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c:
Jim Blandy [Mon, 16 Nov 1992 00:54:53 +0000 (00:54 +0000)]
* systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c:
Added VMS changes from Roland Roberts.

31 years ago* ralloc.c (relocate_some_blocs): Handle BLOC == NIL_BLOC.
Jim Blandy [Mon, 16 Nov 1992 00:54:08 +0000 (00:54 +0000)]
* ralloc.c (relocate_some_blocs): Handle BLOC == NIL_BLOC.
(free_bloc): This can now be simplified.

* ralloc.c (r_alloc_sbrk): When we allocate new space for the
malloc heap, zero it out even if we don't have any blocs in the
free list.

31 years ago* systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c:
Jim Blandy [Mon, 16 Nov 1992 00:53:26 +0000 (00:53 +0000)]
* systty.h, process.c, buffer.h, callproc.c, sysdep.c, dired.c:
Added VMS changes from Roland Roberts.

* process.c (read_process_output): Save, widen, insert the process
output, and then restore the restriction if inserting text outside
the visible region.

* process.c (Fstart_process): Establish an unwind-protect to
remove PROC from the process list if an error occurs while
starting it.
(start_process_unwind): New function to help with that.
(create_process): There's no need to explicitly call
remove_process if the fork fails; the record_unwind_protect in
Fstart_process will take care of it.

* process.c (wait_reading_process_input): Test the C preprocessor
symbol "ultrix", not "__ultrix__" to see if we should ignore
ENOMEM errors from select.

* process.c (process_send_signal): On systems which have both
the TIOCGETC and TCGETA ioctls, just use the former.

* s/bsd4-2.h, s/bsd4-3.h: #define SIGNALS_VIA_CHARACTERS.
* process.c (process_send_signal): Put all the code for sending
signals via characters in a #ifdef SIGNALS_VIA_CHARACTERS.  Decide
whether to use the Berkeley-style or SYSV-style ioctls by seeing
which ioctl commands are #defined.

* process.c (process_send_signal): Doc fix.

31 years ago* minibuf.c (temp_echo_area_glyphs): Change reference to
Jim Blandy [Mon, 16 Nov 1992 00:46:19 +0000 (00:46 +0000)]
* minibuf.c (temp_echo_area_glyphs): Change reference to
unread_command_char to unread_command_event.

* minibuf.c (read_minibuf): If get_minibuffer gives the
new minibuffer a nil default directory, find another buffer with a
better default directory and use that one's instead.

31 years ago* mem-limits.h [DATA_SEG_BITS] (EXCEEDS_LISP_PTR): Remember to
Jim Blandy [Mon, 16 Nov 1992 00:45:34 +0000 (00:45 +0000)]
* mem-limits.h [DATA_SEG_BITS] (EXCEEDS_LISP_PTR): Remember to
remove DATA_SEG_BITS from the pointer before testing if the
pointer fits in VALBITS.

31 years ago* lread.c: #include "keyboard.h".
Jim Blandy [Mon, 16 Nov 1992 00:45:02 +0000 (00:45 +0000)]
* lread.c: #include "keyboard.h".
(Fread_char, Fread_char_exclusive): Don't signal an
error for or throw away switch-frame events; instead, put them off
until after we've found a character we can respond to.

Rename unread_command_char to unread_command_event; it has
subtly different semantics now, and we should use
`make-obsolete-variable' to warn people.
* lread.c (Fread_char): Change reference.

31 years ago* keyboard.c (unread_switch_frame): Don't declare this static.
Jim Blandy [Mon, 16 Nov 1992 00:44:13 +0000 (00:44 +0000)]
* keyboard.c (unread_switch_frame): Don't declare this static.

* keyboard.c (Vlast_event_frame): Doc fix.

* keyboard.c (read_char): Write composite events to the dribble
file properly.

* keyboard.c (init_keyboard): Initialize Vlast_event_frame to
Qnil, rather than the selected frame.

* keyboard.c (lispy_modifier_list): Added sanity check before
indexing into modifier_symbols.

* keyboard.c (add_command_key): When copying the contents of the
old this_command_keys to new_keys, remember to multiply size by
sizeof (Lisp_Object) to get the amount we really need to copy.

Rename unread_command_char to unread_command_event; it has
subtly different semantics now, and we should use
`make-obsolete-variable' to warn people.
* keyboard.c (unread_command_char): Rename.
(command_loop_1, read_char, Finput_pending, Fdiscard_input,
quit_throw_to_read_char, init_keyboard, syms_of_keyboard): Change
references.

* keyboard.c (read_key_sequence): Don't use
save_excursion_{save,restore} to protect the caller against buffer
switches; use Fset_buffer and Fcurrent_buffer; redisplay might
change point, and we don't want to undo that.

* keyboard.c (kbd_buffer_get_event): When checking a mouse
movement for a frame switch, don't assume Vlast_event_frame
contains a Lisp_Frame object.

31 years ago* fileio.c (Fexpand_file_name): Don't fiddle with "/." if it's the
Jim Blandy [Mon, 16 Nov 1992 00:42:52 +0000 (00:42 +0000)]
* fileio.c (Fexpand_file_name): Don't fiddle with "/." if it's the
entire string.

31 years ago* dispnew.c [not MULTI_FRAME] (Fredraw_display): Pass the correct
Jim Blandy [Mon, 16 Nov 1992 00:42:24 +0000 (00:42 +0000)]
* dispnew.c [not MULTI_FRAME] (Fredraw_display): Pass the correct
number of arguments to mark_window_display_accurate.

* dispnew.c (safe_bcopy): Use the right terminating condition in
the loop which uses multiple bcopy calls to transfer a block to an
overlapping higher block.

31 years ago* commands.h (unread_command_event): Doc fix.
Jim Blandy [Mon, 16 Nov 1992 00:41:30 +0000 (00:41 +0000)]
* commands.h (unread_command_event): Doc fix.

* commands.h (unread_switch_frame): Declare this extern.

31 years ago* buffer.c (Ferase_buffer): Doc fix.
Jim Blandy [Mon, 16 Nov 1992 00:33:17 +0000 (00:33 +0000)]
* buffer.c (Ferase_buffer): Doc fix.
* buffer.c (Fbury_buffer): Make this behave as in 18.59, although
that behavior is very odd - only remove the buffer from the
selected window if BUFFER was nil or omitted.

31 years ago* Makefile.in (doxemacs, dotemacs): Explicitly pass along the CC
Jim Blandy [Mon, 16 Nov 1992 00:32:56 +0000 (00:32 +0000)]
* Makefile.in (doxemacs, dotemacs): Explicitly pass along the CC
variable in these rules, just as in the `doall' rule.

31 years ago* s/sol2.h (LD_SWITCH_SYSTEM): Add -R option.
Jim Blandy [Mon, 16 Nov 1992 00:31:04 +0000 (00:31 +0000)]
* s/sol2.h (LD_SWITCH_SYSTEM): Add -R option.

31 years ago* s/bsd4-2.h, s/bsd4-3.h: #define SIGNALS_VIA_CHARACTERS.
Jim Blandy [Mon, 16 Nov 1992 00:30:10 +0000 (00:30 +0000)]
* s/bsd4-2.h, s/bsd4-3.h: #define SIGNALS_VIA_CHARACTERS.
* process.c (process_send_signal): Put all the code for sending
signals via characters in a #ifdef SIGNALS_VIA_CHARACTERS.  Decide
whether to use the Berkeley-style or SYSV-style ioctls by seeing
which ioctl commands are #defined.

31 years ago* m/pmax.h: Don't define SYSTEM_MALLOC; this was only necessary
Jim Blandy [Mon, 16 Nov 1992 00:27:51 +0000 (00:27 +0000)]
* m/pmax.h: Don't define SYSTEM_MALLOC; this was only necessary
for Ultrix version 4.1, and the current version is 4.3.