1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-21 12:03:55 -08:00
Commit graph

1652 commits

Author SHA1 Message Date
Jim Blandy
fd482be5a7 * 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.
1992-12-12 15:38:45 +00:00
Jim Blandy
c1dc99a185 * search.c (Fskip_chars_forward, Fskip_chars_backward): Return the
distance traveled.
	(skip_chars): Return the distance traveled, as a Lisp_Object.
1992-12-12 15:37:30 +00:00
Jim Blandy
1e30af705a 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.
1992-12-12 15:36:50 +00:00
Jim Blandy
e86f81cc46 * 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.
1992-12-12 15:35:41 +00:00
Jim Blandy
997bf68d0a * 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.
1992-12-12 15:35:12 +00:00
Jim Blandy
4a88b3b0fe * 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.
1992-12-12 15:34:44 +00:00
Jim Blandy
642ef2454b 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.
1992-12-12 15:32:51 +00:00
Jim Blandy
58616e6755 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.
1992-12-12 15:31:32 +00:00
Jim Blandy
9e012fc3b7 * 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}.
1992-12-12 15:29:40 +00:00
Jim Blandy
84128dee7b * 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.
1992-12-12 15:25:18 +00:00
Jim Blandy
c71beb7551 * 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.
1992-12-12 15:24:50 +00:00
Jim Blandy
315e49edd0 * vc.el (vc-do-command): Set the default directory of the *vc*
buffer to the directory containing FILE.
1992-12-12 15:22:26 +00:00
Jim Blandy
898221e332 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.
1992-12-12 15:22:04 +00:00
Jim Blandy
5dbfdacd20 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.
1992-12-12 15:21:45 +00:00
Jim Blandy
7114f404be * lpr.el (lpr-switches, lpr-command): Make these defvars, not
defconsts.
1992-12-12 15:21:21 +00:00
Jim Blandy
9ca74466e3 * ange-ftp.el (ange-ftp-unhandled-file-name-directory): New
function.  Set ange-ftp's `unhandled-file-name-property' to its
	name.
1992-12-12 15:19:13 +00:00
Jim Blandy
71715da973 *** empty log message *** 1992-12-12 14:44:09 +00:00
Jim Meyering
c6b4078874 *** empty log message *** 1992-12-12 02:55:16 +00:00
Roland McGrath
82a4c0084e (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.
1992-12-09 17:30:20 +00:00
Roland McGrath
e38e736708 (Info-{first,second,third,fourth,fifth}-menu-item): Removed.
(Info-nth-menu-item): New function; bound to 1..9.
1992-12-09 17:28:25 +00:00
Jim Blandy
168e32e6e0 *** empty log message *** 1992-12-08 00:39:49 +00:00
Jim Blandy
92e0f87a1f * 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.
1992-12-06 22:42:10 +00:00
Jim Blandy
84df0b376f 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.
1992-12-06 22:41:11 +00:00
Jim Blandy
bc254115cc 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.
1992-12-06 22:40:25 +00:00
Eric S. Raymond
ce4b7b0246 * c-mode.el (c-style-alist): Add quotes around C++ style name. 1992-12-06 22:32:20 +00:00
Jim Blandy
4aa1632a5f * make-path.c (touchy_mkdir): Remove debugging output. 1992-12-06 22:27:37 +00:00
Jim Blandy
ecc798b0dc * Makefile.in (make-path): New target. 1992-12-06 22:25:31 +00:00
Jim Blandy
3a88c23802 * 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.
1992-12-06 22:22:09 +00:00
Jim Blandy
d7a803df18 * xfns.c (Fx_create_frame): Initialize f->async_visible too. 1992-12-06 22:21:21 +00:00
Jim Blandy
d724d9896d * 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.
1992-12-06 22:20:47 +00:00
Jim Blandy
016899c07c Tue Dec 1 23:42:25 1992 Jim Blandy (jimb@totoro.cs.oberlin.edu)
* process.c (wait_reading_process_input): Doc fix.
1992-12-06 22:19:47 +00:00
Jim Blandy
ff0b5f4c67 * 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.
1992-12-06 22:18:02 +00:00
Jim Blandy
a46595273a * 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.
1992-12-06 22:17:30 +00:00
Jim Blandy
323405deb6 * frame.c (make_frame): Initialize async_visible and
async_iconified properly.
1992-12-06 22:16:57 +00:00
Jim Blandy
283e1184f3 * 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.
1992-12-06 22:16:26 +00:00
Jim Blandy
f76e7178ee * dispnew.c: Remove dyked-out copy of safe_bcopy. 1992-12-06 22:16:01 +00:00
Jim Blandy
8f607ef0e3 * dispextern.h (struct frame_glyphs): Doc fix. 1992-12-06 22:15:29 +00:00
Jim Blandy
a293299024 src/ * data.c (indirect_function): Delete unused argument ERROR. 1992-12-06 22:13:53 +00:00
Jim Blandy
0c22fbcab4 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.
1992-12-06 22:12:37 +00:00
Jim Blandy
d95ba5f0be Initial revision 1992-12-04 19:59:59 +00:00
David J. MacKenzie
a8cfc9f7e0 *** empty log message *** 1992-12-01 18:28:07 +00:00
Richard M. Stallman
e12d0df704 (add-change-log-entry): Expand file-name again after chasing links. 1992-11-27 22:55:31 +00:00
Richard M. Stallman
a22b53407d 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.
1992-11-26 18:32:45 +00:00
David J. MacKenzie
d9088577ea *** empty log message *** 1992-11-26 04:42:40 +00:00
David J. MacKenzie
18ec5b0525 *** empty log message *** 1992-11-24 14:17:32 +00:00
Jim Blandy
c530bcbb96 Finish previous change. 1992-11-24 02:40:36 +00:00
Jim Blandy
e684648e8f * Makefile.in (clean): Remove prefix-args. 1992-11-24 02:33:31 +00:00
Richard M. Stallman
7fe7fd40d2 (LD_SWITCH_SYSTEM): Make alternate version for GCC. 1992-11-21 22:12:53 +00:00
Karl Berry
9114e2792f *** empty log message *** 1992-11-21 01:51:33 +00:00
Richard M. Stallman
9549c46d0b (vc-next-action): Undo previous change. 1992-11-20 19:33:38 +00:00