1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-19 10:22:27 +00:00
Commit Graph

26568 Commits

Author SHA1 Message Date
Dave Love
13ede7fc4d Fix makeinfo complaints. 1999-12-09 18:22:56 +00:00
Dave Love
83b6d970f1 *** empty log message *** 1999-12-09 17:54:56 +00:00
Dave Love
7870923124 (PIX_TYPE) [! HAVE_X_WINDOWS]: Define PIX_TYPE. 1999-12-09 17:41:58 +00:00
Gerd Moellmann
365e9bce08 (after-find-file): Use auto-save-visited-file-name if set. 1999-12-09 15:23:31 +00:00
Gerd Moellmann
2771a002ef (feedmail-find-eoh): Take
feedmail-queue-alternative-mail-header-separator into account.
1999-12-09 15:15:54 +00:00
Stefan Monnier
3dac25a972 New file. Provides a simple minor-mode for files containing
diff3-style conflict markers, such as generated by RCS
1999-12-09 13:03:41 +00:00
Stefan Monnier
041470d2d9 (font-lock-multiline): New variable.
(font-lock-add-keywords): Rename `major-mode' into `mode'.
(font-lock-remove-keywords): Added a dummy `mode' argument for
potential future support.
(font-lock-fontify-anchored-keywords,
(font-lock-fontify-keywords-region): Only handle multiline strings
if necessary (avoids a pathological behavior in (f.ex) diff-mode).
1999-12-09 12:52:34 +00:00
Richard M. Stallman
74002bdf23 (bookmark-bmenu-mode-map): Bind RET like f. 1999-12-09 04:49:37 +00:00
Richard M. Stallman
72af98670a (dired-insert-subdir): Add autoload cookie. 1999-12-09 02:01:26 +00:00
Richard M. Stallman
77ba49d8a6 *** empty log message *** 1999-12-08 19:01:55 +00:00
Richard M. Stallman
fcad24639f *** empty log message *** 1999-12-08 18:45:56 +00:00
Dave Love
6f8ea2aea3 view-emacs-problems 1999-12-08 15:04:51 +00:00
Dave Love
9888e89039 Mention view-emacs-problems. 1999-12-08 15:04:01 +00:00
Eli Zaretskii
036480cbb9 Oops, forgot to commit the change in dispextern.h together with the
rest of the changes for tty color support.
1999-12-08 14:22:24 +00:00
Gerd Moellmann
3648c84252 (call_debugger): When entering the debugger while redisplaying,
reset redisplaying_p, and go back to the top-level if the debugger
returns.
1999-12-08 12:00:57 +00:00
Stefan Monnier
3e569d228e various fixes and gratuitous movements. 1999-12-08 00:19:51 +00:00
Gerd Moellmann
05e71564d8 (delete_window): Block input for the time window
matrices are being changed.
1999-12-07 20:20:30 +00:00
Dave Love
e77049d486 *** empty log message *** 1999-12-07 20:11:42 +00:00
Gerd Moellmann
15daa94436 (x_set_menu_resources_from_menu_face): Make sure
basic faces are realized before trying to use face `menu'.
1999-12-07 20:06:40 +00:00
Dave Love
2ccd4374be (menu-bar-manuals-menu): Add view-emacs-problems. 1999-12-07 20:02:28 +00:00
Dave Love
4cbff657a7 (view-emacs-problems): New command, bound to C-h P. 1999-12-07 20:01:20 +00:00
Dave Love
b46cd53651 *** empty log message *** 1999-12-07 11:07:41 +00:00
Dave Love
3ccf78e059 (Fintern_soft): Fix newlines in doc string. 1999-12-07 11:06:22 +00:00
Dave Love
d9b5c99090 Remove duplicate entry for arm*-*linux-gnu; my change missing a
ChangeLog entry I couldn't check in.
1999-12-07 10:33:35 +00:00
Dave Love
2edf347fb2 *** empty log message *** 1999-12-07 10:21:20 +00:00
Gerd Moellmann
96acb1f72f (UNEXEC): Use unexelf.o instead of unexsgi.o. 1999-12-07 09:54:52 +00:00
Gerd Moellmann
2bf57b132c (UNEXEC) [USG5_4]: Use unexelf.o instead of
unexsgi.o again.
1999-12-07 09:50:50 +00:00
Gerd Moellmann
52da6a59f1 Include <syms.h>, not <sym.h> on IRIX. Removed
duplicate definition of ElfW.
(find_section): Copied from unexsgi.c.
(unexec): Use find_section.  Adjust whitespace.  Initialize
new_data2_offset based on old_data, not sbss (this fixes a bug on
IRIX6).  Change #ifdef __mips to __sgi, since it's IRIX-specific.
Adjust test for presence of .mdebug section to the new return
value of find_section.

Merge changes from 20.5.
(unexec): Handle .lit4 and .lit8 unconditionally.
1999-12-07 09:50:01 +00:00
Stefan Monnier
0b82e382e3 * diff-mode.el (diff-mode-shared-map): fset'd and doc change.
(diff-minor-mode, diff-minor-mode-prefix, diff-minor-mode-map):
New code to support the minor mode version.
(diff-recenter): New function.
(diff-next-hunk, diff-next-file): Use it.
(diff-remembered-files-alist): New var.
(diff-merge-strings): New function.
(diff-find-file-name): Make it smarter and use the user's input more.
(diff-mode): Cosmetic changes.
1999-12-07 07:04:03 +00:00
Stefan Monnier
01e924b8c7 *** empty log message *** 1999-12-07 06:39:33 +00:00
Stefan Monnier
3708dfe933 (font-lock-default-fontify-region): Fix subtle
off-by-one problem that could force re-fontifying the whole buffer.
(font-lock-remove-keywords): New function.
(font-lock-add-keywords): Use the new function to ensure idempotence.
1999-12-07 06:31:57 +00:00
Stefan Monnier
707ad06002 (save-some-buffers): Turn EXITING into the more general
PRED argument to allow specifying a subset of buffers.
1999-12-07 06:31:32 +00:00
Stefan Monnier
a1eb02bddb (kill-region): Use the new `delete-and-extract-region'
rather than the undo log (which is incorrect with *-change-functions).
1999-12-07 06:30:44 +00:00
Michael Kifer
1da04da19b * viper-cmd.el (viper-minibuffer-standard-hook,
viper-minibuffer-real-start): new functions.
	(viper-read-string-with-history,viper-file-add-suffix,
	viper-trim-replace-chars-to-delete-if-necessary): adapt to the
	change in the status of the minibuffer prompt.
1999-12-07 04:58:54 +00:00
Stefan Monnier
7dae4502b6 * editfns.c (Fdelete_and_extract_region): New function.
(syms_of_editfns): register it.
* insdel.c (del_range): update del_range_1 call.
(del_range_1, del_range_2): Add a ret_string argument to
request that the deleted text be returned.
(del_range_byte, del_range_both): Update del_range_2 call.
* lisp.h (del_range_1, del_range_2): change prototype
* casefiddle.c (casify_region): Update del_range_1 call.
* coding.c (code_convert_region): Update del_range_2 call.
* fileio.c (Finsert_file_contents): Update del_range_2 call.
1999-12-07 04:42:40 +00:00
Gerd Moellmann
397e4fae84 (set_lface_from_font_name): Fix incomplete merge. 1999-12-06 21:23:20 +00:00
Gerd Moellmann
3d973f7115 *** empty log message *** 1999-12-06 19:46:40 +00:00
Eli Zaretskii
7a3abcd829 (info-node, info-menu-5, info-xref): Define colors for Info faces if
the display supports them.
1999-12-06 18:00:33 +00:00
Gerd Moellmann
81da8b3249 Change of intern-soft. 1999-12-06 17:57:17 +00:00
Eli Zaretskii
f795f63364 Changes for automatic remapping of X colors on terminal frames:
* term/pc-win.el (msdos-setup-initial-frame): New function, run by
	term-setup-hook.  Call msdos-remember-default-colors and
	msdos-handle-reverse-video.
	(msdos-face-setup): Parts of code moved to
	msdos-setup-initial-frame.
	(msdos-handle-reverse-video): New function, modeled after
	x-handle-reverse-video.
	(make-msdos-frame): Don't use initial-frame-alist and
	default-frame-alist.  Call msdos-handle-reverse-video.
	(msdos-color-aliases): Remove.
	(msdos-color-translate, msdos-approximate-color): Remove.
	(msdos-color-values): Use 16-bit RGB values.  RGB values updated
	for better approximation of X colors.
	(msdos-face-setup): Call tty-color-clear.  Remove code that sets
	up tty-color-alist (it is now on startup.el).
	(x-display-color-p, x-color-defined-p, x-color-values,
	x-defined-colors, face-color-supported-p, face-color-gray-p):
	Remove.

	* facemenu.el (facemenu-read-color, list-colors-display): Use
	defined-colors for all frame types.
	(facemenu-color-equal): Use color-values for all frame types.

	* faces.el (read-face-attribute): For :foreground and :background
	attributes and frames on character terminals, translate the color
	to the closest supported one before looking it up in the list of
	valid values.
	(face-valid-attribute-values): Call defined-colors for all types
	of frames.
	(defined-colors, color-defined-p, color-values, display-color-p):
	New finctions.
	(x-defined-colors, x-color-defined-p, x-color-values,
	x-display-color-p): Aliases for the above.

	* startup.el (command-line): Register terminal colors for frame
	types other than x and w32, but only if the terminal supports
	colors.  Call tty-color-define instead of face-register-tty-color.

	* term/x-win.el (xw-defined-colors): Renamed from
	x-defined-colors.
	* term/w32-win.el (xw-defined-colors): Likewise.

	* term/tty-colors.el: New file.
	* loadup.el: Load term/tty-colors.
1999-12-06 17:55:00 +00:00
Gerd Moellmann
b55048d4d6 (Fintern_soft): Accept a symbol argument. 1999-12-06 17:52:27 +00:00
Gerd Moellmann
f34a40eff7 (comint-redirect-results-list)
(comint-redirect-results-list-from-process): Remove interactive
spec.
1999-12-06 17:44:17 +00:00
Dave Love
71059bd334 *** empty log message *** 1999-12-06 17:16:30 +00:00
Eli Zaretskii
740e985fb0 (SYSTEM_PURESIZE_EXTRA): Reduce to 40000. 1999-12-06 17:09:21 +00:00
Eli Zaretskii
809f3d5188 (adjust_markers_for_delete): Fix last change. 1999-12-06 17:04:33 +00:00
Eli Zaretskii
89774ec398 (INTERNAL_TERMINAL): Add entries for color support. 1999-12-06 16:55:26 +00:00
Eli Zaretskii
2d764c783d Changes for automatic remapping of X colors on terminal frames:
* xfaces.c (XColor) [!HAVE_X_WINDOWS]: Provide a typedef for non-X
	frames.
	(Vface_tty_color_alist): Remove.
	(tty_defined_color): New function.
	(defined_color): Rewrite to support any type of frame.
	(tty_color_name): New function.
	(face_color_supported_p, Fface_color_gray_p,
	Fface_color_supported_p): Support non-X frames.
	(load_color): Enclose the color name in quotes, in the log
	messages.  Remove DOS-specific version of load_color.
	(realize_tty_face): Take the supported colors from
	tty-color-alist.  Support translation of X colors to the closest
	tty color, for both MSDOS and tty frames.
	[MSDOS]: Don't invert face colors if they were taken from the
	frame colors.
	(Fface_register_tty_color, Fface_clear_tty_colors): Remove.

	* frame.h (struct x_output) [!MSDOS, !WINDOWSNT, !HAVE_X_WINDOWS]:
	Define a mostly empty surrogate.
	(tty_display): Declare.

	* frame.c (make_terminal_frame) [!macintosh]: Don't use
	tty_display.
	(Fframe_parameters): Don't invert colors of non-FRAME_WINDOW_P
	frames when the frame's param_alist includes 'reverse.
	(tty_display): Define.
	(make_terminal_frame) [!MSDOS]: Assign &tty_display to the
	output_data.x member.
	(Fframe_parameters): Return foreground and background color names
	on tty frames as well, in addition to MSDOS frames.

	* msdos.h (DisplayWidth, DisplayHeight): Changes for Lisp_Object
	selected_frame.
	(struct x_output): Remove unused members; document who uses each
	member.
	(FRAME_PARAM_FACES, FRAME_N_PARAM_FACES, FRAME_DEFAULT_PARAM_FACE,
	FRAME_MODE_LINE_PARAM_FACE, FRAME_COMPUTED_FACES,
	FRAME_N_COMPUTED_FACES, FRAME_SIZE_COMPUTED_FACES,
	FRAME_DEFAULT_FACE, FRAME_MODE_LINE_FACE, unload_color): Remove
	unused macro definintions.

	* msdos.c (IT_set_frame_parameters): Don't call
	recompute_basic_faces, the next redisplay will, anyway.
	(x_current_display): Remove unused variable.
	Many functions: changes for Lisp_object selected_frame.
	(IT_set_face): If the tty_reverse_p flag is set for the face,
	reverse the foreground and background colors.
	(Fmsdos_remember_default_colors): New function.
	(syms_of_msdos): Defsubr it.
	(IT_set_frame_parameters): Use initial_screen_colors[] when
	creating a new frame.  If the frame parameters include 'reverse,
	swap the foreground and background colors.
	(internal_terminal_init): Initialize initial_screen_colors to -1.
	(syms_of_msdos): Add DEFVAR_BOOL for x-stretch-cursor, to shut up
	cus-start.el.

	* Makefile.in (lisp, shortlisp): Add lisp/term/tty-colors.elc.

	* xfns.c (x_defined_color): Rename from defined_color.  All
	callers changed.
	(Fxw_color_defined_p): Renamed from Fx_color_defined_p;
	all callers changed.
	(Fxw_color_values): Renamed from Fx_color_values; all callers
	changed.
	(Fxw_display_color_p): Renamed from Fx_display_color_p; all
	callers changed.
	(x_window_to_frame, x_any_window_to_frame,
	x_non_menubar_window_to_frame, x_menubar_window_to_frame,
	x_top_window_to_frame): Use !FRAME_X_P instead of
	f->output_data.nothing.
	* xterm.h (x_defined_color): Rename from defined_color.

	* w32fns.c (x_window_to_frame): Use FRAME_W32_P instead of
	f->output_data.nothing.
	(Fxw_color_defined_p): Renamed from Fx_color_defined_p;
	all callers changed.
	(Fxw_color_values): Renamed from Fx_color_values; all callers
	changed.
	(Fxw_display_color_p): Renamed from Fx_display_color_p; all
	callers changed.

	* dispextern.h (tty_color_name): Add prototype.

	* xmenu.c (menubar_id_to_frame): Use FRAME_WINDOW_P instead of
	f->output_data.nothing.
	* w32menu.c (menubar_id_to_frame): Likewise.
	* w32term.h (w32_output): Declare.

	* dosfns.c (Qmsdos_color_translate): Remove.
	(msdos_stdcolor_name): Now returns a Lisp_Object.
	* dosfns.h (Qmsdos_color_translate): Remove.

	* s/msdos.h (INTERNAL_TERMINAL): Add entries for color support.
1999-12-06 16:54:09 +00:00
Gerd Moellmann
f6737cde3e Etags.el change moved. Add dired-aux change. 1999-12-06 16:46:41 +00:00
Gerd Moellmann
d984dbc116 (dired-do-shell-command): Changed documentation.
(dired-shell-stuff-it): A `?' in COMMAND has now the same
meaning as `*'.
1999-12-06 16:44:28 +00:00
Dave Love
32fd797262 Autoload the ffap alias directly. 1999-12-06 16:26:36 +00:00