1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-25 07:28:20 +00:00
Commit Graph

4153 Commits

Author SHA1 Message Date
Richard M. Stallman
93fe0a356f (ange-ftp-completion-hook-function): New function. 1993-07-20 07:12:30 +00:00
Richard M. Stallman
0628c764af (file-name-handler-alist): Have two separate regexps with different hooks. 1993-07-20 07:12:00 +00:00
Richard M. Stallman
96099e29a3 Initial revision 1993-07-20 06:07:58 +00:00
Richard M. Stallman
30322a2736 (show-paren-face): New variable.
(show-paren-command-hook): Use it.
Call set-face-background properly.
1993-07-20 05:59:51 +00:00
Richard M. Stallman
f5d7a8f2f8 (reposition-window): Don't forward-char if eobp. 1993-07-20 05:55:31 +00:00
Richard M. Stallman
00aa7e1cdf (normal-top-level): Call abbreviate-file-name again after calling command-line. 1993-07-20 05:46:10 +00:00
Richard M. Stallman
73ba415ae2 (memmove): Delete extra parens in the safe_bcopy call. 1993-07-20 05:24:34 +00:00
Richard M. Stallman
9a4cc6bd8d (rmail-edit-map): Inherit properly from text-mode-map;
use the whole thing, not its cdr.
1993-07-20 05:21:25 +00:00
Richard M. Stallman
908d6b8719 Include types.h before file.h. 1993-07-20 05:16:51 +00:00
Richard M. Stallman
8258ca538e Comment change. 1993-07-20 05:10:02 +00:00
Richard M. Stallman
301b4551f6 (LD_SWITCH_MACHINE): Add -bI:/usr/lpp/X11/bin/smt.exp. 1993-07-20 05:09:02 +00:00
Richard M. Stallman
0322056b57 (Man-getpage-in-background): Copy process-environment
so we only alter the copy.
1993-07-20 05:05:48 +00:00
Richard M. Stallman
2aefa7fb46 (mh-read-msg-list): Add space to message-number regexp. 1993-07-20 04:35:00 +00:00
Richard M. Stallman
44cdca98f7 (gnus-emacs-version): New variable.
(gnus-version): Updated to 4.1.
(gnus-newsrc-to-gnus-format): Use different regexp in 18 and 19.
(gnus-group-startup-message): Use gnus-emacs-version.
1993-07-20 04:25:28 +00:00
Richard M. Stallman
9723a15c97 (gnus-current-time-zone): Fix typo.
(gnus-inews-organization): Fix zero length string operation bug.
1993-07-20 04:25:04 +00:00
Richard M. Stallman
9ed9f36f4b entered into RCS 1993-07-20 03:02:12 +00:00
Paul Eggert
f5baea11cb (vc-rcs-status): Use "-", not " ", to separate locks, so that the RCS
minor mode doesn't contain internal spaces.
1993-07-20 02:25:19 +00:00
Richard M. Stallman
b1ecd9c6d2 (dired-unmark-all-files-no-query): New command.
(dired-mode-map): Use that for the Unmark All item.
Fix typo that made the Flag Backup Files item not show up.
1993-07-20 01:11:28 +00:00
Richard M. Stallman
0d12284471 Include src/gnu-hp300 in the dist. 1993-07-19 22:46:54 +00:00
Richard M. Stallman
e3c24a741e (Fwhile): If mocklisp, test for nonzeroness. 1993-07-19 22:09:41 +00:00
Richard M. Stallman
b3f77ca2b8 (while): Comment out converter. 1993-07-19 22:08:21 +00:00
Richard M. Stallman
562378c0c0 (SYSTEM_MALLOC): Add #undef.
(GNU_MALLOC, REL_ALLOC): Defined.
1993-07-19 21:16:07 +00:00
Richard M. Stallman
7e39a592c3 (testing x_includes and x_libraries): Use =, not ==. 1993-07-19 19:42:58 +00:00
Richard M. Stallman
279271bab8 (canonical): New variable holds the canonicalized
configuration.  Don't alter `configuration'.  Use `configuration'
for Makefile.in for file naming.
1993-07-19 19:25:46 +00:00
Richard M. Stallman
103d21491f (install): Use .n, not .new, for temporary filenames. 1993-07-19 19:11:09 +00:00
Richard M. Stallman
97344751da (hebrew-holidays): Split into 4 sub-variables. 1993-07-19 18:57:59 +00:00
Roland McGrath
e936d39981 (mouse-menu-bar-buffers): Add Frames pane if there are multiple panes. 1993-07-19 05:44:27 +00:00
Paul Eggert
b0c901a35e (vc-rcs-status): Omit "LOCKER:" if you are the locker. 1993-07-19 04:03:52 +00:00
Roland McGrath
43cea1ab61 (vc-comment-to-change-log): Copy interactive spec from
add-change-log-entry-other-window.  Call add-change-log-entry instead of
add-change-log-entry-other-window; pass it t for OTHER-WINDOW and NEW-ENTRY
args.  Go to bol before filling.
1993-07-19 01:01:17 +00:00
Roland McGrath
287d149f6d (prompt-for-change-log-name): Autoload this (for vc-comment-to-change-log).
(add-change-log-entry): Take optional fourth arg NEW-ENTRY.  If non-nil,
never append to an existing entry.
(change-log-fill-paragraph): New function.
It might be nice to have a general feature to replace this.  The idea I
have is a variable giving a regexp matching text which should not be
moved from bol by filling.  change-log-mode would set this to "^\\s *\\s(".
But I don't feel up to implementing that today.
(change-log-mode-map): New defvar for keymap.  Bind M-q to
change-log-fill-paragraph in it.
(change-log-mode): Use that as local map.
1993-07-19 00:39:21 +00:00
Roland McGrath
c124b1b47a (vc-comment-to-change-log): Canonicalize following whitespace after
filling, not before.  Set END to point at end of indentation.
Skip whitespace chars up to END before skipping back to delete.
1993-07-19 00:06:14 +00:00
Roland McGrath
3b4dd9a931 (vc-comment-to-change-log): Complete rewrite. Do not use
vc-update-change-log.  Instead, snarf last comment from vc-comment-ring and
insert it with add-change-log-entry-other-window.
1993-07-18 23:54:45 +00:00
Roland McGrath
6258d3afe1 (add-log-current-defun-function): New defvar.
(add-change-log-entry): Call its value if non-nil instead of
add-log-current-defun.
(add-change-log-entry-other-window): Doc fix.
1993-07-18 22:23:44 +00:00
Roland McGrath
fc0094d7bf (compilation-error-list): An elt's cdr's car is again a cons (DIRECTORY .
FILE) if it's not a marker.  The conversion to using a string containing an
expanded file name was never finished, and anyway it utterly broke
compilation-search-path and few other things.
(next-error): Expect them that way.
(compilation-parse-errors): Make them that way.
(compile-file-of-error): Function removed.
(compilation-error-filedata, compilation-error-filedata-file-name): New
defsubsts.
(compilation-next-file): Use them instead of compile-file-of-error.
1993-07-18 20:41:08 +00:00
Roland McGrath
811eaa609c (update-file-autoloads): Go to the beginning of FILE before searching it
for generate-autoload-cookie.
1993-07-18 20:01:03 +00:00
Roland McGrath
f58c6f7023 (cookie, cookie-insert, cookie-snarf, shuffle-vector): Autoload these. 1993-07-18 19:56:35 +00:00
Jim Blandy
6817eab405 * xfns.c (Fx_create_frame): Block input around call to
x_new_font.  Test if the return value is a string, not if it's
	nil; x_new_font can return things besides nil and strings, to
	indicate error conditions.
1993-07-18 08:07:18 +00:00
Jim Blandy
431e6a264b * makeinfo.el: Don't (require 'texinfmt) - that file doesn't exist
any more; all its functions have been moved into other files.
1993-07-18 07:50:11 +00:00
Jim Blandy
a18b7c814d * files.el (insert-directory): Doc fix.
* files.el (insert-directory): If FULL-DIRECTORY-P is non-nil,
	add "." component to the end of the path, so that if file is a
	symlink, we get the contents of the directory, not the symlink
	itself.
1993-07-18 06:40:09 +00:00
Jim Blandy
041b69acff * xterm.c (x_term_init): Adjust message printed when we can't
connect to the X server.

	* xterm.c (XTread_socket, UnmapNotify case): Add missing comment
	terminator.

	* xterm.c, sysdep.c (F_SETOWN_BUG): Defined.
	* m/dpx2.h: New file.
1993-07-18 06:29:55 +00:00
Jim Blandy
d387c9605b * xfns.c (Fx_open_connection): Don't trust HAVE_XRMSETDATABASE;
use XrmSetDatabase only when HAVE_X11R5 is defined.

	* xfns.c (Vx_resource_name): Renamed from Vxrdb_name, and made a
	lisp-visible variable, so lisp/term/x-win.el can set it.  Doc it
	for "internal use only"; no need for NEWS entry.
	(validate_x_resource_name): New function.
	(Fx_get_resource): Doc fix.  References to Vxrdb_name renamed.  Call
	validate_x_resource_name.
	(x_window): References to Vxrdb_name renamed.  Call
	validate_x_resource_name.
	(Fx_open_connection): References to Vxrdb_name renamed.  Instead
	of setting and validating its value here, just call
	validate_x_resource_name.
	(syms_of_xfns): Add DEFVAR_LISP for Vx_resource_name.

	* xfns.c (x_set_frame_parameters): Don't set the frame's size and
	position unless those parameters are actually specified in ALIST.

	* xrdb.c: Implement search for app-defaults directory and
	localized default databases, along with some other functionality
	provided by Xt.
	#include <stdio.h>, since we call sprintf.
	[emacs] (malloc, realloc, free): #define these to xmalloc,
	xrealloc, and xfree.
	(x_get_string_resource, file_p): Add forward declarations for
	these.
	(x_customization_string): New variable.
	(x_get_customization_string): New function.
	(gethomedir): Return malloc'ed space of the right size, instead of
	writing into a fixed-size buffer; this means that our callers do
	not impose an arbitrary limit on file name length.
	(magic_file_p): Rewrite of decode_magic; actually do the
	substitutions, instead of expanding all %-escapes to "".  Support
	the customization string.  Return 0 or the expanded file name,
	instead of just zero or one.  Allocate the space for the expanded
	file name ourselves, instead of writing into a fixed-size buffer
	passed to us; this removes an arbitrary limit.
	(search_magic_path): Rewrite of magic_searchpath_decoder.  Return
	0 or the expanded file name, instead of just zero or one.
	Allocate the space for the expanded file name ourselves, instead
	of writing into a fixed-size buffer passed to us; this means that
	our callers do not impose an arbitrary limit on file name length.
	(get_system_app): Changed to work with search_magic_path.
	(get_user_app): Rewritten to work with search_magic_path, and not
	to assume that the values of XAPPLRESDIR is a single directory.
	(get_user_db): Properly use the new version of gethomedir.
	(get_environ_db): Remove arbitrary limit on length of host name.
	(x_load_resources): Take a new argument, myname.  Call get_user_db
	early to obtain the customization string.
	Changes to stand-alone testing code.
	* xfns.c (Fx_open_connection): Set Vxrdb_name early, and pass it
	to x_load_resources.
1993-07-18 06:29:19 +00:00
Jim Blandy
26f6279de1 * window.c [not MULTI_FRAME] (Fdelete_windows_on): Set FRAME
argument to Qt, instead of trying to typecheck it.

	* window.c (Fdelete_windows_on): New optional argument FRAME; if
	nil, delete windows on all frames.  If t, delete windows on the
	selected frame only.  If a frame, delete windows on that frame
	only.

	* window.c (Fnext_window, Fprevious_window): Put these docstrings
	in comments; the strings are too long for some C compilers.
1993-07-18 06:28:40 +00:00
Jim Blandy
ad9c19400f * intervals.c (split_interval_left, split_interval_right): Change
OFFSET argument of these functions to be origin 0, not origin 1.
	This is what all the callers currently want.
	* intervals.c, textprop.c: All callers changed.

	* textprop.c (Ftext_property_not_all): Renamed from
	Ftext_property_all, and changed sense of return value, so that it
	returns useful information if not all characters have properties
	EQ to value.  Now all the existential and universal questions can
	be asked.

	* textprop.c (syms_of_textprop): Don't forget defsubr for
	Stext_property_all.

	* textprop.c (Ftext_property_any, Ftext_property_all): Use EQ to
	compare property values, not Fequal.

	* textprop.c (Ftext_property_any, Ftext_property_all): New
	functions, from David Gillespie.
	* intervals.h (Ftext_property_any, Ftext_property_all): Declare them.
1993-07-18 06:28:12 +00:00
Jim Blandy
23c6349cdd * termhooks.h: In order to avoid declaring struct input_event
(which contains Lisp_Objects) in those .c files which need access
	to the terminal hooks but don't #include lisp.h (like cm.c), test
	to see if the macro CONSP is #defined.  We used to test XINT, but
	config.h will #define that everywhere on systems that use tailored
	tagging schemes.
1993-07-18 06:27:38 +00:00
Jim Blandy
46f2fdac02 * xterm.c, sysdep.c (F_SETOWN_BUG): Defined.
* m/dpx2.h: New file.
1993-07-18 06:27:15 +00:00
Jim Blandy
2fcea188d6 * syntax.c (Fmodify_syntax_entry): Doc fix. 1993-07-18 06:26:51 +00:00
Jim Blandy
c7b1427704 * print.c (float_to_string): Distinguish between a precision of
zero and an omitted precision.  Do allow %.0f to produce strings
	containing no decimal point or exponent.
	(syms_of_print): Doc fix for float-output-format.
1993-07-18 06:26:28 +00:00
Jim Blandy
e872064401 Consistently use the mark bit of the root interval's parent field
to say whether or not the interval tree has been visited (and skip
	it when revisited), and the mark bit of the plist field to say
	whether or not that interval has been visited (and abort if
	revisited); don't try to use the plist mark bit for both
	meanings.
	* alloc.c (mark_interval_tree): Don't test if the interval tree
	has already been visited here; let the MARK_INTERVAL_TREE macro do
	that; avoid function call overhead.  Mark the interval tree as
	having been visited by setting TREE->parent's mark bit.
	(MARK_INTERVAL_TREE): If the tree has been visited (according to
	I->parent's mark bit), don't call mark_interval_tree.
	(gc_sweep): Rebalance the interval trees of those large strings
	which are still alive.  This also clears the mark bits of those
	trees' root intervals' parent fields.
	(compact_strings): Rebalance the interval tree of each small
	strings which is still alive.  This also clears the mark bits of
	that tree's root interval's parent field.  Since the string has
	moved, update the root interval's parent pointer to contain the
	new address.
	* lisp.h (struct interval): Doc fix; explain the roles of the mark
	bits of the parent and plist members.
1993-07-18 06:26:10 +00:00
Jim Blandy
718ca51e40 * keyboard.c (read_key_sequence): Accept both strings and vectors
as bindings in function-key-map.
    	* keymap.c (Vfunction_key_map in syms_of_keymap): Doc fix.

	* keymap.c (syms_of_keymap): Doc fix.
1993-07-18 06:25:40 +00:00
Jim Blandy
f5ea616372 * keyboard.c (read_key_sequence): Accept both strings and vectors
as bindings in function-key-map.
    	* keymap.c (Vfunction_key_map in syms_of_keymap): Doc fix.

	* keyboard.c (Fsuspend_emacs): Pass selected_frame as the first
	argument to change_frame_size, not 0.  This function may be called
	in an Emacs compiled with multi-frame support.
1993-07-18 06:25:09 +00:00