1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-14 15:30:29 -08:00
Commit graph

26840 commits

Author SHA1 Message Date
Richard M. Stallman
661d3230fb (emerge-find-difference-diff): Renamed from emerge-find-difference.
(emerge-find-difference): New command.  Now on `.'.
(emerge-diff-ok-lines-regexp): Renamed from emerge-diff-ok-lines.
(emerge-diff3-ok-lines-regexp): Renamed from emerge-diff3-ok-lines.
1993-05-13 20:06:18 +00:00
Richard M. Stallman
adca3f58ff (emerge-setup-fixed-keymaps): Put emerge-abort on C-]. 1993-05-13 19:33:20 +00:00
Richard M. Stallman
737e38923a (emerge-count-matches-string): Renamed from count-matches-string.
(emerge-command-prefix): Now C-c C-c.
emerge-shadow-key-definition): Deleted.
Callers use substitute-key-definition.
(emerge-recursively-substitute-key-definition): Deleted.
Callers use substitute-key-definition.
(emerge-unselect-hook): Renamed from emerge-unselect-hooks.
(emerge-files-internal): Use file-local-copy to handle remote files.
(emerge-files-with-ancestor-internal): Likewise.
(emerge-remote-file-p): Deleted.
(emerge-abort): New command.
(describe-mode): Deleted.
(emerge-hash-string-into-string): Renamed from hash-string-into-string.
(emerge-unslashify-name): Renamed from unslashify-name.
(emerge-write-and-delete): Don't write-file if file-out is nil.
1993-05-13 19:25:37 +00:00
Richard M. Stallman
151e4b9ca8 Install DRW's version 5. 1993-05-13 19:24:38 +00:00
Richard M. Stallman
36bed8bc8c (vc-version-diff): Don't move point in current buffer. 1993-05-13 12:05:52 +00:00
Roland McGrath
41e7816ac5 (tags-table-including): Take new third arg CORE-ONLY. If non-nil,
ignore files without extant buffers.
(visit-tags-table-buffer): Call tags-table-including first with
CORE-ONLY set, and then afterwards with it clear.
1993-05-13 05:28:14 +00:00
Jim Blandy
b6d40e465b * xfaces.c (intern_frame_face): Exchange order of arguments, to
make callers correct.

	* xfaces.c (compute_char_face): Notice the next property change
	location correctly.

	* xfaces.c (face_name_id_number): Return 0 (the default face) if
	the name is undefined.

	* xfaces.c (Fset_face_attribute_internal): Do nothing unless FRAME
	is an X frame.
1993-05-13 04:08:52 +00:00
Jim Blandy
1c2250c26e * xdisp.c (copy_rope, copy_part_of_rope): Add face argument.
(display_text_line): Initialize current_face to zero.   Apply it
	to characters as we write them to the display matrix.
	(display_string): Pass the new argument to copy_rope.

	* xdisp.c (display_text_line): Handle the locations of face
	changes properly.
1993-05-13 04:08:26 +00:00
Richard M. Stallman
bffa5d4d15 Provide 'menu-bar. 1993-05-13 03:34:18 +00:00
Richard M. Stallman
e09c52a8a0 (face-initialize): New function.
All initialization code moved into it.
Call at end of file, if using X frames already.
(x-create-frame-with-faces): Don't use faces if not initialized.
1993-05-13 03:24:09 +00:00
Richard M. Stallman
fc4d4afb41 Don't put frame-initialize and frame-notice-user-settings on hooks.
They are now called directly.
1993-05-13 03:23:40 +00:00
Jim Blandy
6a0486dd89 * textprop.c (Fnext_single_property_change,
Fprevious_single_property_change): Pass arguments to textget in
	the right order.
1993-05-13 03:17:03 +00:00
Richard M. Stallman
c722566c7c (command-line): Call frame-initialize explicitly.
Call face-initialize.
(normal-top-level): Call frame-notice-user-settings explicitly.
1993-05-13 03:14:39 +00:00
Richard M. Stallman
4f6e4ad6cd (Setting minor-mode-map-alist):
Put the map directly in the alist, not a variable name.
1993-05-13 03:14:07 +00:00
Roland McGrath
0e5ad25f6b (main): Don't require that there be input files if -i switches were given. 1993-05-13 03:00:51 +00:00
Jim Blandy
8b4cc189e3 *** empty log message *** 1993-05-13 01:47:22 +00:00
Richard M. Stallman
cd9565badb (child_setup): Omit duplicates from new env array. 1993-05-13 00:21:47 +00:00
Richard M. Stallman
1a40d27fa2 (make_lispy_event): Don't set shift modifier for C-^. 1993-05-13 00:21:23 +00:00
Richard M. Stallman
992984b287 (current_minor_maps): Call Findirect_function, so symbols
can be used in place of actual maps.
1993-05-13 00:20:51 +00:00
Richard M. Stallman
68a37fa8c7 (display_text_line): Use break; to exit loop at eol.
Duplicate the short MAKE_GLYPH loop after the main loop.
If no display table, do obey selective_display_ellipses.
(copy_part_of_rope): Arg FROM is now Lisp_Object *.
1993-05-13 00:19:20 +00:00
Richard M. Stallman
8693344e1f (kbd-macro-query): Fix prompt string. 1993-05-12 23:56:18 +00:00
Richard M. Stallman
db6f9d952e (Faccessible_keymaps): Use whatever size the vector has.
(Fwhere_is_internal): Likewise.
(describe_vector): Likewise.
1993-05-12 21:58:16 +00:00
Richard M. Stallman
8b86c9ebbf (default-menubar): Make initial value nil.
(kill-this-buffer, x-new-frame)
(sensitize-file-and-edit-menus-hook, format-buffers-menu-line)
(buffers-menu-max-size, complex-buffers-menu-p)
(buffers-menu-switch-to-buffer-function, buffer-menu-save-buffer)
(buffer-menu-write-file, build-buffers-menu-internal)
(build-buffers-menu-hook): Functions and variables deleted.
1993-05-12 21:41:56 +00:00
Richard M. Stallman
34291cd2f7 Improve doc strings and prompt strings.
(vc-cancel-version): Ask whether to revert buffer.
1993-05-12 21:30:35 +00:00
Richard M. Stallman
c64cc46775 (comint-filter): Increment opoint only if after insertion point. 1993-05-12 20:32:32 +00:00
Richard M. Stallman
d3f7c8c6e4 (te-pass-through): Handle meta chars and non-char events.
(terminal-map, etc.): Use default bindings, not fillarray.
Make the maps sparse.
(terminal-meta-map): New map; lets us make ESC a prefix key.
(terminal-map): Bind ESC to terminal-meta-map.
(te-more-break-unread): Handle non-char as last-input-char.
(te-filter): Delete code that worked with meta-flag.
(terminal-emulator): Don't look at meta-flag.
(terminal-mode): Don't make meta-flag local.
(te-stty-string): Quote the args that have ^.  Add pass8.

Changes that esr made in the previous version but didn't describe in detail:

Some defvars moved.
Defvars added for many variables.
(te-stty-string): Specify the characters explicitly--not `stty dec'.
1993-05-12 18:41:29 +00:00
Richard M. Stallman
819012f055 (Fx_popup_menu): Add a vector of prefix keys for the panes.
(keymap_panes): Allocate that vector.
(single_keymap_panes): Fill in that vector.
(xmenu_show): Return a list of events, not just one event.
1993-05-12 05:17:47 +00:00
Jim Meyering
9d330ad06a Initial revision 1993-05-11 23:23:34 +00:00
Richard M. Stallman
7ef84cf98f (vc-diff): Report an error if the buffer isn't registered.
(vc-registration-error): New function.
(vc-next-action, vc-diff, vc-print-log, vc-backend-diff): Use it to
make VC's error messages more uniform.

(vc-directory, vc-revert-buffer1): Quote lambdas with (function ...)
for Emacs 18.
(compilation-old-error-list): Set if undefined, for Emacs 18.
1993-05-11 21:15:54 +00:00
Jim Blandy
bdda375433 Re-arranged stuff to put defsubst accessors at the top 1993-05-11 19:14:34 +00:00
Jim Blandy
18004d2b7f * xdisp.c (display_text_line): We can't use the FRAME_DEFAULT_FACE
macro here; that's x-specific.  Just don't pass the second
	argument.
	* xfaces.c (compute_glyph_face): Remove the BASIC_FACE argument;
	use F's default face.
1993-05-11 02:48:07 +00:00
Jim Blandy
9dbd4b48c5 * xdisp.c (display_text_line): Make face-handling code conditional
on HAVE_X_WINDOWS macro.  Perhaps this isn't the best approach,
	but it'll do for now.

	* xdisp.c (display_text_line): We can't use the FRAME_DEFAULT_FACE
	macro here; that's x-specific.  Just don't pass the second
	argument.
	* xfaces.c (compute_glyph_face): Remove the BASIC_FACE argument;
	use F's default face.
1993-05-11 02:47:46 +00:00
Jim Blandy
a253bab22d * fileio.c (ro_fsys) [SOLARIS_BROKEN_ACCESS]: Check for the
filesystem being ro, since Solaris 2.1 doesn't.
        (file-writable-p): Call ro_fsys.
	* s/sol2.h (SOLARIS_BROKEN_ACCESS): Define this.
1993-05-11 01:39:42 +00:00
Jim Blandy
5cbdb35688 * systime.h: Use the strategy from getdate.y to include the proper
combination of <time.h> and <sys/time.h>.
1993-05-11 00:07:51 +00:00
Jim Blandy
942990d1fb Use pushdef and popdef, instead of saving the macro's value in a
variable.
1993-05-10 23:58:36 +00:00
Jim Blandy
ee8f40ccfc * xfns.c (Fx_create_frame): Use an XLFD name for the default font,
instead of "9x15" or whatever it was.
1993-05-10 23:31:01 +00:00
Jim Blandy
0ca2af7c0b * configure.in: Sidestep autoconf's quoting of the second argument
of AC_DEFINE, so we can specify the value to put there.  It would
	be nice if autoconf provided some way to specify computed values
	for macros.
1993-05-10 19:20:56 +00:00
Richard M. Stallman
3ed788ec2c (buffer-menu): Don't save a window config.
(Buffer-menu-select): Don't call Buffer-menu-execute.
Don't restore a window config.
1993-05-10 16:31:21 +00:00
Roland McGrath
0dea0bbe34 (byte-recompile-directory): If ARG is non-nil, set it to its prefix
numeric value.  Test for ARG being zero with eq, not zerop.
1993-05-10 00:49:06 +00:00
Jim Blandy
32de648411 * s/template.h: Explain the relative significance of the SIGIO and
INTERRUPT_INPUT macros.
1993-05-10 00:35:06 +00:00
Jim Blandy
16f7413a03 * s/sunos4shr.h: Apply changes from David J. Mackenzie; this isn't
used by any configuration right now, but he's trying to make it
	work.
	#include "sunos4-1.h" instead of "bsd4-2.h".
	(O_NDELAY): Don't define this.
	(SYSTEM_MALLOC): Don't define this, either.
	(LD_SWITCH_SYSTEM): Remove the definition for this.
1993-05-10 00:34:31 +00:00
Jim Blandy
07e34cb0a9 * xdisp.c (display_text_line): Apply faces to characters
according to overlays and text properties; use
	compute_char_face and compute_glyph_face to figure out what
	face to use, and where a new face starts.
	* xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide
	which frame face to use.  Call GLYPH_FOLLOW_ALIASES to make sure
	we're implementing the glyph table properly.  If we're not using
	the default or mode line face, call intern_face to find a display
	face for the frame face selected by the glyph code.  Implement
	underlining.  Remove the `font' argument; we have to derive this
	from the frame and face anyway.  Change all callers.
	* disptab.h (GLYPH_FOLLOW_ALIASES): New macro.

	* xterm.c (x_destroy_window): Call free_frame_faces.
1993-05-10 00:26:32 +00:00
Jim Blandy
9c7bb45ff3 * xfns.c (x_make_gc): After building the GC's for the frame, call
init_frame_faces to set up the first two faces.
	* xfaces.c (init_frame_faces): Don't just try to copy the default
	and mode line faces from some other random frame; instead, consult
	the normal_gc and reverse_gc members of the frame, and build the
	faces based on their parameters.
1993-05-10 00:25:40 +00:00
Jim Blandy
cb63767871 * xfaces.c (Fmake_face_internal): Do nothing for non-X frames.
* dispextern.h (struct face): Add cached_index member.
	* xfaces.c (get_cached_face): Use it to avoid unnecessary
	searches of face_vector.

	* xfaces.c (intern_face): Renamed from get_display_face.

	* xfns.c (x_make_gc): After building the GC's for the frame, call
	init_frame_faces to set up the first two faces.
	* xfaces.c (init_frame_faces): Don't just try to copy the default
	and mode line faces from some other random frame; instead, consult
	the normal_gc and reverse_gc members of the frame, and build the
	faces based on their parameters.

	Adjust the face computation functions to return frame face ID's,
	not pointers to display faces; since we call these functions
	during display construction, we don't want the display faces yet.
	* xfaces.c (intern_frame_face): New function.
	(compute_char_face, compute_glyph_face): Apply intern_frame_face
	to the computed face, and return the frame face's ID, instead of
	calling intern_face and returning a pointer to a display frame.

	* xfaces.c: Describe the facial data structures.  It took me a
	while to figure them out; perhaps this will save someone else the
	trouble.

	* xfaces.c (get_display_face): Use face_eql instead of writing it out.
1993-05-10 00:25:17 +00:00
Jim Blandy
31b2455197 Arrange to tell redisplay about changes in overlays.
* xdisp.c (redisplay_region): New function.
	* buffer.c (Fmove_overlay): Call redisplay_region on the areas the
	overlay has enclosed or left.
	(Fdelete_overlay): Call redisplay_region on the area the overlay
	used to occupy.
	(Foverlay_put): Call redisplay_region on the area the overlay now
	occupies; we may have put a face property on it.

	* xdisp.c (redisplay): If we're doing a thorough redisplay (all
	windows on all frames involved), go ahead and flush the GC cache -
	call clear_face_vector.

	* xdisp.c (display_text_line): Apply faces to characters
	according to overlays and text properties; use
	compute_char_face and compute_glyph_face to figure out what
	face to use, and where a new face starts.
	* xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide
	which frame face to use.  Call GLYPH_FOLLOW_ALIASES to make sure
	we're implementing the glyph table properly.  If we're not using
	the default or mode line face, call intern_face to find a display
	face for the frame face selected by the glyph code.  Implement
	underlining.  Remove the `font' argument; we have to derive this
	from the frame and face anyway.  Change all callers.
	* disptab.h (GLYPH_FOLLOW_ALIASES): New macro.
1993-05-10 00:23:47 +00:00
Jim Blandy
703f280806 * config.h.in: Remove mention of GLYPH datatype; that shouldn't be
a user option.
	* lisp.h (GLYPH, MAKE_GLYPH, GLYPH_CHAR, GLYPH_FACE): New macros.
1993-05-10 00:17:55 +00:00
Jim Blandy
2fc6697323 * keymap.c (Fwhere_is_internal): If FIRSTONLY is non-nil, avoid
returning a non-ascii key sequence unless FIRSTONLY is the symbol
	`non-ascii'.
1993-05-10 00:17:31 +00:00
Jim Blandy
ad163903cc * blockinput.h (UNBLOCK_INPUT): We cannot assume that SIGIO is
defined everywhere this file is #included; merge the two
	definitions for defined (SIGIO) and ! defined (SIGIO) into one,
	which calls reinvoke_input_signal if interrupt_input_pending is
	set.
	* keyboard.c (reinvoke_input_signal): New function.

	* keyboard.c (syms_of_keyboard): Doc fix for
	extra-keyboard-modifiers.
1993-05-10 00:17:08 +00:00
Jim Blandy
be269961dc * xdisp.c (display_text_line): Apply faces to characters according
to overlays and text properties; use compute_char_face to figure out
	what face to use, and where a new face starts.
	* xterm.c (dumpglyphs): Use the upper bits of the glyphs to decide
	which frame face to use.  Call GLYPH_FOLLOW_ALIASES to make sure
	we're implementing the glyph table properly.  If we're not using
	the default or mode line face, call intern_face to find a display
	face for the frame face selected by the glyph code.  Implement
	underlining.  Remove the `font' argument; we have to derive this
	from the frame and face anyway.  Change all callers.
	* disptab.h (GLYPH_FOLLOW_ALIASES): New macro.
1993-05-10 00:16:34 +00:00
Jim Blandy
88fd275e69 * dispextern.h (struct face): Add cached_index member.
* xfaces.c (get_cached_face): Use it to avoid unnecessary
	searches of face_vector.
1993-05-10 00:15:58 +00:00