1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-18 10:16:51 +00:00
Commit Graph

200 Commits

Author SHA1 Message Date
Juanma Barranquero
7418081f48 (modify-all-frames-parameters): Deleted. 2003-04-10 16:31:00 +00:00
Juanma Barranquero
f7df88f47a (new-frame): Add obsolescence declaration. 2003-04-09 17:45:20 +00:00
Juanma Barranquero
034ade66e3 (modify-all-frames-parameters): New function to change parameters in all
existing and future frames.
2003-04-09 17:38:47 +00:00
Juanma Barranquero
1cef654128 (set-frame-font): Allow keeping frame size after changing font. 2003-04-09 17:28:30 +00:00
John Paul Wallington
da7829a310 (delete-frame-hook): Variable alias for
`delete-frame-functions'.  Mark obsolete.
2002-10-02 23:53:37 +00:00
Richard M. Stallman
80c39c38bb (select-frame-by-name, select-frame-set-input-focus):
Always call x-focus-frame, if using x.
Use set-mouse-position on all systems, if focus-follows-mouse.
2002-08-24 02:59:27 +00:00
Eli Zaretskii
f29173c984 (frames-on-display-list): Use `equal' to compare the
`display' frame parameter to the argument DISPLAY.
2002-04-12 16:50:54 +00:00
Jason Rumney
fcc6f5cc3e (display-images-p): Do not explicitly check display type. 2002-03-20 21:26:51 +00:00
Eli Zaretskii
968ecc2809 (auto-hscroll-mode): Renamed from automatic-hscrolling.
(automatic-hscrolling): Now a defvaralias for auto-hscroll-mode.
2002-03-03 17:31:45 +00:00
Richard M. Stallman
6527c9b7ac (focus-follows-mouse): Doc fix. 2002-02-26 02:37:58 +00:00
Richard M. Stallman
bb578a72d1 (other-frame): Doc fix. 2002-02-20 22:28:44 +00:00
Eli Zaretskii
a6ab2fcfb3 (display-color-cells): Use tty-display-color-cells. 2002-01-25 13:19:28 +00:00
Sam Steingold
bc5c763a1b (show-trailing-whitespace): Remove :set argument (the
value was essentially identical to the defalt).
2001-11-26 18:28:18 +00:00
Sam Steingold
f39784dd3e comments indented properly 2001-11-26 18:20:20 +00:00
Eli Zaretskii
528e141664 (set-background-color, set-foreground-color): Call
face-set-after-frame-default, to propagate the new colors to the
frame's parameters alist.
2001-11-03 15:55:17 +00:00
Richard M. Stallman
cacf219364 (blink-cursor-mode): Doc fix. 2001-10-30 00:24:12 +00:00
Stefan Monnier
7e573c4a6d (special-display-popup-frame): Obey new specs same-window' and same-frame'. 2001-10-12 20:39:54 +00:00
Eli Zaretskii
563283b1b5 (select-frame-by-name, other-frame): Doc fix. 2001-09-30 10:47:22 +00:00
Eli Zaretskii
eaa600194f (show-trailing-whitespace): Doc fix. 2001-08-14 12:39:53 +00:00
Gerd Moellmann
030f453737 (select-frame-set-input-focus): New function
extracted from other-frame.
(other-frame): Use it.
(next-multiframe-window, previous-multiframe-window): Use it.
2001-08-10 13:47:18 +00:00
Eli Zaretskii
ddc456e4ec (display-images-p): New function. 2001-07-17 12:58:19 +00:00
Pavel Janík
5553563924 Some fixes to follow coding conventions in files maintained by FSF. 2001-07-15 16:15:35 +00:00
Eli Zaretskii
310e9a2152 (automatic-hscrolling): Fix a typo. From Pavel Janik <Pavel@Janik.cz>. 2001-05-20 04:14:49 +00:00
Gerd Moellmann
a2125918a0 (delete-other-frames): Handle minibuffer-only frames. 2001-04-17 12:02:53 +00:00
Gerd Moellmann
c0eb3c1052 (cursor-in-non-selected-windows): Replaces
show-cursor-in-non-selected-windows.
2001-04-02 10:19:52 +00:00
Jason Rumney
5c39a60f1d (frame-notice-user-settings): Only adjust frame height
for no tool-bar case if tool-bar was originally switched on.
2001-02-23 10:23:08 +00:00
Gerd Moellmann
a6c411ffc6 (display-hourglass): Renamed from busy-cursor.
(hourglass-delay): Renamed from busy-cursor-delay-seconds.
(show-cursor-in-non-selected-windows): Doc fix.
2001-02-21 14:08:10 +00:00
Gerd Moellmann
085ef9b398 (frame-notice-user-settings): When resizing the initial
frame because the tool bar is off, also change the frame's top
position if a negative top position was specified.
2001-02-02 13:55:42 +00:00
Gerd Moellmann
de2f5dbec2 (frame-notice-user-settings): Do the tool-bar
stuff only for graphical displays.  Fix a braino.
2001-01-30 15:18:13 +00:00
Gerd Moellmann
9688894d93 (frame-initialize): Create initial frame visible.
(frame-notice-user-settings): When tool-bar has been switched off,
correct the frame size and sync too-bar-mode.
2001-01-30 15:06:47 +00:00
Eli Zaretskii
ff2a1c79f5 (frame-initialize): Doc fix. 2001-01-29 17:01:52 +00:00
Gerd Moellmann
2533b69a03 (frame-initialize): Create the initial frame invisible. 2001-01-24 15:39:00 +00:00
Eli Zaretskii
e9510d0020 (show-cursor-in-non-selected-windows): Doc fix. 2000-12-14 15:16:27 +00:00
Gerd Moellmann
be6bbb55ab (blink-cursor-mode): Doc fix. 2000-11-29 15:28:17 +00:00
Gerd Moellmann
e053c60feb (show-cursor-in-non-selected-windows): Doc fix. 2000-11-22 19:54:36 +00:00
Stefan Monnier
72bf1a8b28 (after-setting-font-hook): Rename hooks -> hook.
(set-frame-font): Use the new name (and the old for compatibility).
2000-11-03 22:15:51 +00:00
Eli Zaretskii
42002db50d (frame-notice-user-settings): Don't apply
default-frame-alist and initial-frame-alist to MS-DOS frames.
Call tty-handle-reverse-video, frame-set-background-mode, and
face-set-after-frame-default for non-MS-DOS frames.
2000-10-28 17:18:21 +00:00
Andrew Choi
1a578e9be2 Initial check-in: changes for building Emacs under Mac OS.
2000-10-23  Andrew Choi  <akochoi@i-cable.com>

	* dispextern.h [macintosh]: Include macgui.h instead of macterm.h.

	* dispnew.c [macintosh]: Include macterm.h.
	(init_display) [macintosh]: initialization for window system.

	* emacs.c (main) [macintosh]: Call syms_of_textprop,
	syms_of_macfns, syms_of_ccl, syms_of_fontset, syms_of_xterm,
	syms_of_search, x_term_init, and init_keyboard before calling
	init_window_once.  Also, call syms_of_xmenu.

	* fontset.c (syms_of_fontset) [macintosh]: Set ASCII font of
	default fontset to Monaco.

	* frame.c [macintosh]: Include macterm.h.  Remove declarations of
	NewMacWindow and DisposeMacWindow.
	(make_terminal_frame) [macintosh]: Call make_mac_terminal_frame
	instead of calling NewMacWindow and setting fields of
	f->output_data.mac directly.  Call init_frame_faces.
	(Fdelete_frame) [macintosh]: Remove unused code.
	(Fmodify_frame_parameters) [macintosh]: Call
	x_set_frame_parameters instead of mac_set_frame_parameters.

	* frame.h [macintosh]: Define menu_bar_lines field in struct
	frame.  Define FRAME_EXTERNAL_MENU_BAR macro.

	* keyboard.c [macintosh]: Include macterm.h.
	(kbd_buffer_get_event) [macintosh]: Generate delete_window_event
	and menu_bar_activate_event type events as for X and NT.
	(make_lispy_event) [macintosh]: Construct lisp events of type
	MENU_BAR_EVENT as for X and NT.

	* sysdep.c [macintosh]: Remove declaration for sys_signal.
	Include stdlib.h.  Remove definition of Vx_bitmap_file_path.
	(sys_subshell) [macintosh]: Remove definition entirely.
	(init_sys_modes) [macintosh]: Do not initialize Vwindow_system and
	Vwindow_system_version here.  Remove initialization of
	Vx_bitmap_file_path.
	(read_input_waiting): Correct the number of parameters passed to
	read_socket_hook.
	Move all Macintosh functions to mac/mac.c.

	* term.c [macintosh]: Include macterm.h.

	* window.c [macintosh]: Include macterm.h.

	* xdisp.c [macintosh]: Include macterm.h.  Declare
	set_frame_menubar and pending_menu_activation.
	(echo_area_display) [macintosh]: Do not return if terminal frame
	is the selected frame.
	(update_menu_bar) [macintosh]: Check FRAME_EXTERNAL_MENU_BAR (f).
	Allow only the selected frame to set menu bar.
	(redisplay_window) [macintosh]: Obtain menu bar to redisplay by
	calling FRAME_EXTERNAL_MENU_BAR (f).
	(display_menu_bar) [macintosh]: Check FRAME_MAC_P (f).

	* xfaces.c [macintosh]: Include macterm.h.  Define x_display_info
	and check_x.  Declare XCreateGC.  Define x_create_gc and
	x_free_gc.  Initialize font_sort_order.
	(x_face_list_fonts) [macintosh]: Use the same code as WINDOWSNT,
	but call x_list_fonts instead of w32_list_fonts.
	(Finternal_face_x_get_resource) [macintosh]: Do not call
	display_x_get_resource.
	(prepare_face_for_display) [macintosh]: Set xgcv.font.
	(realize_x_face) [macintosh]: Load the font if it is specified in
	ATTRS.
	(syms_of_xfaces) [macintosh]: Initialize Vscalable_fonts_allowed
	to Qt.

	* cus-edit.el (custom-button-face): Use 3D look for mac.
	(custom-button-pressed-face): Likewise.

	* faces.el (set-face-attributes-from-resources): Handle mac frames
	in the same way as x and w32 frames.
	(face-valid-attribute-values): Likewise.
	(read-face-attribute): Likewise.
	(defined-colors): Likewise.
	(color-defined-p): Likewise.
	(color-values): Likewise.
	(display-grayscale-p): Likewise.
	(face-set-after-frame-default): Likewise.
	(mode-line): Same default face as for x and w32.
	(tool-bar): Likewise.

	* frame.el: Remove call to frame-notice-user-settings at end of
	the file.

	* info.el (Info-fontify-node): make underlines invisible for mac
	as for x, pc, and w32 frame types.

	* term/mac-win.el: New file.
2000-10-22 16:50:16 +00:00
Gerd Moellmann
c9dc81737c (set-frame-font): Remove call to obsolete function
frame-update-faces.
(set-foreground-color, set-background-color): Likewise for
frame-update-face-colors.
2000-09-27 13:49:21 +00:00
Gerd Moellmann
57ac029847 (frame-notice-user-settings): Don't call
frame-update-faces, which is a no-op now.
2000-09-27 13:23:52 +00:00
Gerd Moellmann
33a33c06cf (frame-notice-user-settings): Don't add a
tool-bar-lines frame parameter to default-frame-alist in batch
mode.
2000-09-26 15:24:08 +00:00
Gerd Moellmann
61f2bcd7d1 (frame-notice-user-settings): Make tool-bar-mode and
default-frame-alist consistent.
2000-09-26 11:52:01 +00:00
Gerd Moellmann
fed72c8d9b (frame-notice-user-settings): Add a last parameter nil
to a call to `append', because the last list passed to `append' is
not copied, and so subsequent calls to assq-delete-all will modify
default-frame-alist.
2000-09-20 16:04:38 +00:00
Gerd Moellmann
047bc928e5 (filtered-frame-list): Reduce consing.
(frames-on-display-list): Call frame-parameter instead of
frame-parameters.
2000-09-07 11:39:07 +00:00
Gerd Moellmann
a2e2aa2c29 (frame-parameter): Move to C code. 2000-09-05 15:54:38 +00:00
Miles Bader
faaf40e434 (set-frame-font): Do completion of font-name for interactive use. 2000-08-30 12:09:58 +00:00
Gerd Moellmann
cae2c28eee (blink-cursor-mode): Don't hide cursor initially. 2000-07-03 19:13:55 +00:00
Gerd Moellmann
e4f98ad3c6 (blink-cursor): Default to nil if not running under
a window-system.
2000-07-03 16:01:31 +00:00
Eli Zaretskii
6693b2791f (display-multi-frame-p, display-multi-font-p): New
defaliases for display-graphic-p.
2000-06-13 13:15:30 +00:00
Stefan Monnier
2598a293ae Update calls to make-obsolete with a WHEN argument. 2000-06-01 05:07:32 +00:00