bpt/emacs.git
31 years ago* buffer.c (Frename_buffer): Set update_mode_lines.
Jim Blandy [Thu, 24 Dec 1992 06:03:20 +0000 (06:03 +0000)]
* buffer.c (Frename_buffer): Set update_mode_lines.

31 years ago* ymakefile (all, xemacs): We build an executable called `emacs' now,
Jim Blandy [Thu, 24 Dec 1992 06:03:04 +0000 (06:03 +0000)]
* ymakefile (all, xemacs): We build an executable called `emacs' now,
not `xemacs'.
* Makefile.in (distclean, xemacs, doxemacs): Same.

31 years ago* sendmail.el (mail-position-on-field): `end' is guaranteed to be
Jim Blandy [Thu, 24 Dec 1992 06:01:33 +0000 (06:01 +0000)]
* sendmail.el (mail-position-on-field): `end' is guaranteed to be
at the beginning of the header separator; don't skip back to the
end of the previous line.

31 years ago* rmail.el (rmail-unix-mail-delimiter): Not all time zone names
Jim Blandy [Thu, 24 Dec 1992 06:01:02 +0000 (06:01 +0000)]
* rmail.el (rmail-unix-mail-delimiter): Not all time zone names
end with "T".  Accept any sequence of three or four alphabetic
characters.

31 years ago* loadup.el: Dump under the name `emacs', not `xemacs'.
Jim Blandy [Thu, 24 Dec 1992 06:00:32 +0000 (06:00 +0000)]
* loadup.el: Dump under the name `emacs', not `xemacs'.

31 years ago* compile.el (compilation-error-regexp-alist): Tightened up
Jim Blandy [Thu, 24 Dec 1992 06:00:03 +0000 (06:00 +0000)]
* compile.el (compilation-error-regexp-alist): Tightened up
BSD/GNU regexp to insist that line number end with a colon or
close-paren.

* compile.el (compilation-error-regexp-alist): Add regexp for the
MIPS CC distributed with Ultrix.

31 years ago* c-mode.el (c-fill-paragraph): Calculating the proper fill-prefix
Jim Blandy [Thu, 24 Dec 1992 05:59:00 +0000 (05:59 +0000)]
* c-mode.el (c-fill-paragraph): Calculating the proper fill-prefix
shouldn't change the buffer text.  Make it not.  If we're in the
blank space before another comment, fill that one as a comment,
not as normal text.

* c-mode.el (c-fill-paragraph): When guessing the fill prefix,
don't ever grab any actual text.

31 years ago* make-dist: Make sure that the COPYING notices in each directory
Jim Blandy [Thu, 24 Dec 1992 05:57:29 +0000 (05:57 +0000)]
* make-dist: Make sure that the COPYING notices in each directory
are copies, not symlinks.

31 years ago* configure: Start with a blank line; this keeps some old CSH's
Jim Blandy [Thu, 24 Dec 1992 05:56:57 +0000 (05:56 +0000)]
* configure: Start with a blank line; this keeps some old CSH's
from thinking it's a CSH script.  Most systems will just use
/bin/sh to run it, which is what we're expecting; the only other
shells which might try to interpret it themselves are probably
Bourne-compatible.

31 years ago* INSTALL: The build process produces an executable called `emacs'
Jim Blandy [Thu, 24 Dec 1992 05:56:33 +0000 (05:56 +0000)]
* INSTALL: The build process produces an executable called `emacs'
now.  Change references.
* Makefile.in: Adjust `install.mumble' targets to install
`src/emacs', not `src/xemacs'.

* Makefile.in (install, install.sysv, install.xenix, install.aix):
Don't try to copy the info files if there aren't any; the
unexpanded globbing pattern disappoints `install'.  Ignore the
return status of that command.

31 years ago(visit-tags-table-buffer): Don't look in list for tags-file-name if nil.
Roland McGrath [Mon, 21 Dec 1992 19:13:11 +0000 (19:13 +0000)]
(visit-tags-table-buffer): Don't look in list for tags-file-name if nil.

31 years agoMany comments added and docstrings fixed.
Roland McGrath [Mon, 21 Dec 1992 19:08:50 +0000 (19:08 +0000)]
Many comments added and docstrings fixed.
(tags-table-list): Elt of nil is not special.
(tags-expand-table-name): Value of nil is not special.
(tags-next-table): Removed arg RESET; no caller used it.
(visit-tags-table-buffer): Don't need to do tags-expand-table-name in or form.
When table is invalid, only set tags-file-name to nil globally if its
global value contained the losing table file name.
(find-tag-tag): Return a string, not a list.
(find-tag-noselect, find-tag, find-tag-other-window, find-tag-other-frame):
Changed callers.
(etags-recognize-tags-table): Call etags-verify-tags-table, rather than
duplicating its functionality.
(visit-tags-table-buffer): When CONT is 'same, set it to nil after the
cond.  We want the normal list frobbing to take place in this case.
(find-tag-other-window): Save and restore window-point around call to
find-tag-noselect.

31 years ago(ignore): Use defun instead of fset to define; the byte compiler is smart
Roland McGrath [Mon, 21 Dec 1992 18:34:22 +0000 (18:34 +0000)]
(ignore): Use defun instead of fset to define; the byte compiler is smart
enough now not to compile this trivial function into slow byte code.

31 years ago(tagsfiles): New variable.
Roland McGrath [Mon, 21 Dec 1992 18:26:29 +0000 (18:26 +0000)]
(tagsfiles): New variable.
(TAGS): Depend on $(tagsfiles); use that in cmds.
(tags): Separate phony rule; depends on TAGS.

31 years ago(Fcall_interactively): For `s', use Fread_string.
Richard M. Stallman [Mon, 21 Dec 1992 05:38:25 +0000 (05:38 +0000)]
(Fcall_interactively): For `s', use Fread_string.

31 years agoDisplay load-path at start.
Richard M. Stallman [Sat, 19 Dec 1992 20:55:16 +0000 (20:55 +0000)]
Display load-path at start.

31 years ago* frame.c (make_terminal_frame): Don't forget to set the
Jim Blandy [Fri, 18 Dec 1992 10:42:10 +0000 (10:42 +0000)]
* frame.c (make_terminal_frame): Don't forget to set the
`async_visible' flag of the new frame.

31 years ago*** empty log message ***
David J. MacKenzie [Tue, 15 Dec 1992 02:35:40 +0000 (02:35 +0000)]
*** empty log message ***

31 years ago*** empty log message ***
Jim Blandy [Mon, 14 Dec 1992 02:28:29 +0000 (02:28 +0000)]
*** empty log message ***

31 years ago* make-dist: Don't bother creating an arch-lib directory; that's
Jim Blandy [Sat, 12 Dec 1992 15:43:12 +0000 (15:43 +0000)]
* make-dist: Don't bother creating an arch-lib directory; that's
only for installation now.

31 years ago* configure: Don't make the top-level Makefile read-only - people
Jim Blandy [Sat, 12 Dec 1992 15:42:53 +0000 (15:42 +0000)]
* configure: Don't make the top-level Makefile read-only - people
may want to edit the values of the path variables.

Make path specification conform to GNU coding standards.
* configure (long_usage): Remove all traces of old arguments from
usage messages, and document the options we do accept in more
detail: -with-x... and --srcdir.
(options, boolean_opts): Deleted; we don't have enough options to
make this worthwhile.
(prefix, bindir, lisppath, datadir, libdir, lockdir): Deleted,
along with the code which supported them; these should be set as
arguments to the top-level make.
(config_h_opts): Since this no longer doubles as a list of option
names, make them upper case; this simplifies the code which uses
them to build the sed command to edit src/config.h.  Change the
code which sets them.
(cc, g, O): Don't allow the user to set these using options; they
should be specified using `CC=' and `CFLAGS=' arguments to the
top-level make.  Just choose reasonable default values for them,
and edit them into Makefile.in's default CC and CONFIG_CFLAGS
values.
(gnu_malloc, rel_alloc): Don't allow the user to set these using
options; use them whenever the configuration files say they're
possible.
Simplify the argument processing loop.  Don't accept abbreviations
for option names; these might conflict with other configuration
options in the future.
Add some support for the `--srcdir' option.  Check for the sources
in . and .. if `--srcdir' is omitted.  If the directories we will
compile in don't exist yet, create them under the current directory.
Note that the rest of the build process doesn't really support
this.
Edit only the top Makefile.  That should edit the others.  Edit
into the makefile: `version', from lisp/version.el, `configname'
and `srcdir' from the configuration arguments, `CC' and
`CONFIG_CFLAGS' as guessed from the presence or absence of GCC in
the user's path, and LOADLIBES as gleaned from the system
description files.
Simplify the report generated; it doesn't need to include any
description of paths now.
Make `config.status' exec configure instead of just calling it, so
there's no harm in overwriting `config.status'.
* Makefile.in (version, configname): New variables, used to choose
the default values for datadir and libdir.
Path variables rearranged into two clearer groups:
- In the first group are the variables specified by the GNU coding
  standards (prefix, bindir, datadir, statedir, libdir, mandir,
  manext, infodir, and srcdir).
- In the second are the variables actually used for Emacs's paths
  (lispdir, locallisppath, lisppath, buildlisppath, etcdir, lockdir,
  archlibdir), which depend on the first category.
datadir and libdir default to directories under
${prefix}/lib/emacs instead of ${prefix}/emacs, by popular
demand.
etcdir and lispdir default to subdirectories of datadir.
archlibdir defaults to libdir.
The new installation tree is a bit deeper than it used to be, so
use the new make-path program in lib-src to build them all.
Always build a new src/paths.h.tmp and then move-if-change it to
src/paths.h, to avoid unnecessary rebuilds while responding to the
right changes.
Remove all mention of arch-lib.  Run utility commands from
lib-src, and let the executables be copied into archlibdir when
Emacs is installed.
Add targets for src/Makefile, lib-src/Makefile, and
oldXMenu/Makefile, editing the values of the path variables into
them.
Let lib-src do its own installation.
(datadir): Default to putting data files under
${prefix}/lib/emacs/${version}, not /usr/local/emacs.
(emacsdir): Variable deleted; it would only be confusing to use.
(lispdir, etcdir): Default to ${datadir}/lisp.
(mkdir): Use make-path for this.
(lockdir): Do this in mkdir.
(Makefile): New target.

* configure (usage_message): Rename to long_usage.

31 years ago* Makefile.in (install, install.sysv, install.xenix, install.aix):
Jim Blandy [Sat, 12 Dec 1992 15:42:14 +0000 (15:42 +0000)]
* Makefile.in (install, install.sysv, install.xenix, install.aix):
Install the info files in ${infodir}.  Install the executable
under both `emacs' and `emacs-VERSION'.

* Makefile.in: Doc fix.

* Makefile.in (exec_prefix): New variable, as per latest version
of coding standards.
(bindir, libdir): Use it, instead of `prefix'.
(lib-src/Makefile): Edit value of exec_prefix into lib-src/Makefile.

* Makefile.in (mandir): Make the default value for this depend on
$(prefix).

* Makefile.in (datadir, statedir, libdir): Make these all default
to ${prefix}/lib.
(lispdir, locallisppath, etcdir, lockdir, archlibdir): Adjusted
to compensate.

* Makefile.in (install, install.sysv, install.xenix, install.aix):
Install the etags and ctags man pages too.

* Makefile.in (distclean): Don't delete backup files; that's the
job of extraclean.
(extraclean): Like distclean, but deletes backup and autosave files.

Make path specification conform to GNU coding standards.
* configure (long_usage): Remove all traces of old arguments from
usage messages, and document the options we do accept in more
detail: -with-x... and --srcdir.
(options, boolean_opts): Deleted; we don't have enough options to
make this worthwhile.
(prefix, bindir, lisppath, datadir, libdir, lockdir): Deleted,
along with the code which supported them; these should be set as
arguments to the top-level make.
(config_h_opts): Since this no longer doubles as a list of option
names, make them upper case; this simplifies the code which uses
them to build the sed command to edit src/config.h.  Change the
code which sets them.
(cc, g, O): Don't allow the user to set these using options; they
should be specified using `CC=' and `CFLAGS=' arguments to the
top-level make.  Just choose reasonable default values for them,
and edit them into Makefile.in's default CC and CONFIG_CFLAGS
values.
(gnu_malloc, rel_alloc): Don't allow the user to set these using
options; use them whenever the configuration files say they're
possible.
Simplify the argument processing loop.  Don't accept abbreviations
for option names; these might conflict with other configuration
options in the future.
Add some support for the `--srcdir' option.  Check for the sources
in . and .. if `--srcdir' is omitted.  If the directories we will
compile in don't exist yet, create them under the current directory.
Note that the rest of the build process doesn't really support
this.
Edit only the top Makefile.  That should edit the others.  Edit
into the makefile: `version', from lisp/version.el, `configname'
and `srcdir' from the configuration arguments, `CC' and
`CONFIG_CFLAGS' as guessed from the presence or absence of GCC in
the user's path, and LOADLIBES as gleaned from the system
description files.
Simplify the report generated; it doesn't need to include any
description of paths now.
Make `config.status' exec configure instead of just calling it, so
there's no harm in overwriting `config.status'.
* Makefile.in (version, configname): New variables, used to choose
the default values for datadir and libdir.
Path variables rearranged into two clearer groups:
- In the first group are the variables specified by the GNU coding
  standards (prefix, bindir, datadir, statedir, libdir, mandir,
  manext, infodir, and srcdir).
- In the second are the variables actually used for Emacs's paths
  (lispdir, locallisppath, lisppath, buildlisppath, etcdir, lockdir,
  archlibdir), which depend on the first category.
datadir and libdir default to directories under
${prefix}/lib/emacs instead of ${prefix}/emacs, by popular
demand.
etcdir and lispdir default to subdirectories of datadir.
archlibdir defaults to libdir.
The new installation tree is a bit deeper than it used to be, so
use the new make-path program in lib-src to build them all.
Always build a new src/paths.h.tmp and then move-if-change it to
src/paths.h, to avoid unnecessary rebuilds while responding to the
right changes.
Remove all mention of arch-lib.  Run utility commands from
lib-src, and let the executables be copied into archlibdir when
Emacs is installed.
Add targets for src/Makefile, lib-src/Makefile, and
oldXMenu/Makefile, editing the values of the path variables into
them.
Let lib-src do its own installation.
(datadir): Default to putting data files under
${prefix}/lib/emacs/${version}, not /usr/local/emacs.
(emacsdir): Variable deleted; it would only be confusing to use.
(lispdir, etcdir): Default to ${datadir}/lisp.
(mkdir): Use make-path for this.
(lockdir): Do this in mkdir.
(Makefile): New target.

31 years ago* window.c (Fset_window_configuration): If we're restoring the
Jim Blandy [Sat, 12 Dec 1992 15:38:45 +0000 (15:38 +0000)]
* window.c (Fset_window_configuration): If we're restoring the
configuration of a dead frame, don't bother rebuilding its window
tree, restoring its focus redirection, or temporarily resizing it
to fit the saved window configuration.  If the frame which was
selected when the configuration was captured is now dead, don't
try to select it.

* 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 ago* search.c (Fskip_chars_forward, Fskip_chars_backward): Return the
Jim Blandy [Sat, 12 Dec 1992 15:37:30 +0000 (15:37 +0000)]
* search.c (Fskip_chars_forward, Fskip_chars_backward): Return the
distance traveled.
(skip_chars): Return the distance traveled, as a Lisp_Object.

31 years agoGive subprocess creation a way to find a valid current directory
Jim Blandy [Sat, 12 Dec 1992 15:36:50 +0000 (15:36 +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.

31 years ago* macros.c (Fend_kbd_macro): Don't use XFASTINT to check if arg is
Jim Blandy [Sat, 12 Dec 1992 15:35:41 +0000 (15:35 +0000)]
* macros.c (Fend_kbd_macro): Don't use XFASTINT to check if arg is
negative; XFASTINT only works on values known to be positive.
(Fexecute_kbd_macro): Check QUIT in the repetition loop.  If the
macro is null, no characters are actually being read, so this
matters.

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.