1. 24 Dec, 1992 10 commits
  2. 21 Dec, 1992 5 commits
  3. 19 Dec, 1992 1 commit
  4. 18 Dec, 1992 1 commit
  5. 15 Dec, 1992 1 commit
  6. 14 Dec, 1992 1 commit
  7. 12 Dec, 1992 21 commits
    • Jim Blandy's avatar
      * make-dist: Don't bother creating an arch-lib directory; that's · 1d650ff1
      Jim Blandy authored
      	only for installation now.
      1d650ff1
    • Jim Blandy's avatar
      * configure: Don't make the top-level Makefile read-only - people · e94740ce
      Jim Blandy authored
      	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.
      e94740ce
    • Jim Blandy's avatar
      * Makefile.in (install, install.sysv, install.xenix, install.aix): · 78008d14
      Jim Blandy authored
      	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.
      78008d14
    • Jim Blandy's avatar
      * window.c (Fset_window_configuration): If we're restoring the · fd482be5
      Jim Blandy authored
      	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.
      fd482be5
    • Jim Blandy's avatar
      * search.c (Fskip_chars_forward, Fskip_chars_backward): Return the · c1dc99a1
      Jim Blandy authored
      	distance traveled.
      	(skip_chars): Return the distance traveled, as a Lisp_Object.
      c1dc99a1
    • Jim Blandy's avatar
      Give subprocess creation a way to find a valid current directory · 1e30af70
      Jim Blandy authored
      	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.
      1e30af70
    • Jim Blandy's avatar
      * macros.c (Fend_kbd_macro): Don't use XFASTINT to check if arg is · e86f81cc
      Jim Blandy authored
      	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.
      e86f81cc
    • Jim Blandy's avatar
      * fileio.c (find_file_handler): Rename this to · 997bf68d
      Jim Blandy authored
      	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.
      997bf68d
    • Jim Blandy's avatar
      * frame.c (Fdelete_frame): Delete all the windows in the frame's · 4a88b3b0
      Jim Blandy authored
      	window tree, using delete_all_subwindows.
      	* window.c (delete_all_subwindows): Don't make this static
      	anymore.
      4a88b3b0
    • Jim Blandy's avatar
      Give subprocess creation a way to find a valid current directory · 642ef245
      Jim Blandy authored
      	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.
      642ef245
    • Jim Blandy's avatar
      Give subprocess creation a way to find a valid current directory · 58616e67
      Jim Blandy authored
      	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.
      58616e67
    • Jim Blandy's avatar
      * Makefile.in (distclean): Don't delete machine.h or system.h; · 9e012fc3
      Jim Blandy authored
      	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}.
      9e012fc3
    • Jim Blandy's avatar
      * make-docfile.c (scan_c_file): Since DEFVAR_PER_BUFFER now takes · 84128dee
      Jim Blandy authored
      	a different number of arguments than other DEFVARs, recognize it
      	specially, and expect the right number of commas.
      84128dee
    • Jim Blandy's avatar
      * Makefile.in (exec_prefix): New variable. · c71beb75
      Jim Blandy authored
      	(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.
      c71beb75
    • Jim Blandy's avatar
      * vc.el (vc-do-command): Set the default directory of the *vc* · 315e49ed
      Jim Blandy authored
      	buffer to the directory containing FILE.
      315e49ed
    • Jim Blandy's avatar
      Sat Dec 12 03:22:57 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu) · 898221e3
      Jim Blandy authored
      	* 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.
      898221e3
    • Jim Blandy's avatar
      The find-file-name-handler function in ../src/fileio.c is now · 5dbfdacd
      Jim Blandy authored
      	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.
      5dbfdacd
    • Jim Blandy's avatar
      * lpr.el (lpr-switches, lpr-command): Make these defvars, not · 7114f404
      Jim Blandy authored
      	defconsts.
      7114f404
    • Jim Blandy's avatar
      * ange-ftp.el (ange-ftp-unhandled-file-name-directory): New · 9ca74466
      Jim Blandy authored
      	function.  Set ange-ftp's `unhandled-file-name-property' to its
      	name.
      9ca74466
    • Jim Blandy's avatar
      *** empty log message *** · 71715da9
      Jim Blandy authored
      71715da9
    • Jim Meyering's avatar
      *** empty log message *** · c6b40788
      Jim Meyering authored
      c6b40788