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

248 Commits

Author SHA1 Message Date
Gerd Moellmann
030de92f84 (info-menu-5): Doc fix. 2000-11-19 22:11:34 +00:00
ShengHuo ZHU
42121c2309 Revoke the change. 2000-11-05 03:49:38 +00:00
ShengHuo ZHU
ad88b950fe * calendar/calendar.el (diary-face, holiday-face): Fix typo.
* info.el (info-menu-header): Fix typo.
2000-11-04 17:02:02 +00:00
Stefan Monnier
b7aeabeb89 (Info-mode): Don't both with make-local-hook. 2000-11-03 22:22:24 +00:00
Miles Bader
973a3104fd (info-menu-header): New face.
(Info-fontify-menu-headers): New function.
(Info-fontify-node, Info-insert-dir): Call `Info-fontify-menu-headers'.
2000-11-02 02:14:07 +00:00
Miles Bader
fb163355a4 (Info-insert-dir): Don't include blank lines at beginning of additional
dir files (one is added automatically).
2000-11-02 01:21:11 +00:00
Dave Love
f7902bdcc9 (Info-fontify-node): Add help-echo for menu items. 2000-10-28 18:56:05 +00:00
Eli Zaretskii
379b70e730 (Info-file-list-for-emacs): Add an entry for Eshell. 2000-10-23 15:50:51 +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
Eli Zaretskii
b6ef48981a (Info-file-list-for-emacs): Add an entry for Speedbar. 2000-10-21 19:54:53 +00:00
Miles Bader
a8b883c2c8 (Info-fontify-node):
Add support for @subsubsection titles, which use `Info-title-4-face'.
(Info-title-4-face):
  New face.
(Info-title-3-face):
  Inherit from Info-title-4-face instead of variable-pitch.
2000-10-20 02:58:00 +00:00
Eli Zaretskii
b250866f9f (Info-title-{1,2,3}-face): Change tty colors as suggested by Miles Bader. 2000-10-19 06:59:00 +00:00
Eli Zaretskii
4ad6e379ed (info-header-node): Remove unneded tty-specific definition. 2000-10-17 07:48:48 +00:00
Eli Zaretskii
333cd59eeb (Info-title-1-face, Info-title-2-face, Info-title-3-face): Define
colors for tty's.
2000-10-17 06:53:48 +00:00
Miles Bader
313fe58a89 (Info-set-mode-line): Tweak string. 2000-10-16 15:25:21 +00:00
Miles Bader
918e364ae4 (Info-set-mode-line): Use `%b' instead of hardwired string "*Info*".
Call propertized-buffer-identification to spruce up the result.
2000-10-16 13:59:49 +00:00
Dave Love
d1268e529b (Info-mouse-follow-nearest-node): Use mouse-set-point.
(Info-fontify-node, Info-goto-node, Info-mode-menu)
(Info-fontify-node): `Goto' goes to `Go to'.
(Info-fontify-node): Add help-echo to xref links.
2000-10-15 16:46:09 +00:00
Dave Love
ec03f31ef8 (Info-mode-menu): Fix some help.
(info-tool-bar-map): Add entry for Info-last.
2000-10-11 18:23:46 +00:00
Dave Love
7210b6f54d (Info-goto-node, Info-menu): Doc fix.
(Info-mode-menu): Bind beginning-of-buffer, Info-edit
(info-tool-bar-map): New variable.
(Info-mode): Use it.
(Info-edit-map): Define all in defvar.
(speedbar-attached-frame): Avoid compiler warning.
2000-10-08 15:44:36 +00:00
Miles Bader
0cb39153b7 Tweak whitespace 2000-09-29 14:14:33 +00:00
Stefan Monnier
c169928274 (Info-extract-pointer): Undo last change.
Instead, fix the position of the `bound' arg to re-search-backward.
2000-09-28 14:33:56 +00:00
Stefan Monnier
983dfbf8ce (Info-extract-pointer):
Widen more carefully, to avoid finding pointers in other nodes.
(Info-index): Use push.
2000-09-27 21:55:54 +00:00
Miles Bader
68bc119c51 Use the correct capitalization when making Info-mode and Info-edit-mode
`special' modes.
2000-09-21 04:43:28 +00:00
Miles Bader
8cc4cac197 (info-header-node): Tweak for color ttys. 2000-09-20 08:44:46 +00:00
Miles Bader
8ec8f673fa (Info-title-3-face, Info-title-2-face, Info-title-1-face):
Use face inheritance and relative sizes instead of hard-wiring things.
2000-09-18 05:55:03 +00:00
Miles Bader
52cbdfbd0a (info-node, info-xref): Add dark-background variants.
(info-header-xref, info-header-node): Change to inherit from non-header faces.
2000-09-17 17:03:20 +00:00
Miles Bader
50ac70af8a (Info-fontify-node):
Make a few cleanups.
  Add extra `help-echo' and `local-map' props to node xrefs.
  Use header-specific faces for node-names & xrefs.
(Info-use-header-line, Info-header-line):
  New variables.
(info-header, info-header-xref, info-header-node):
  New faces.
(Info-setup-header-line):
  New function.
(Info-select-node):
  Call Info-setup-header-line when enabled.
(Info-extract-pointer):
  Work even if the header line is hidden.
2000-09-17 16:21:42 +00:00
Eli Zaretskii
778911b922 (Info-directory-list): Doc fix. 2000-09-01 21:41:22 +00:00
Eli Zaretskii
218c2cc7ca (Info-find-emacs-command-nodes): Rewrite to use
technique similar to Info-index, instead of relying on specific
names of relevant Index nodes.
(Info-goto-emacs-command-node): Bind Info-history to nil when
going to the first node found by Info-find-emacs-command-nodes.
2000-08-11 13:10:55 +00:00
Eli Zaretskii
af71853819 (Info-file-list-for-emacs): More elements for the
autotype, vip, ebrowse, cl, idlwave, reftex, widget, pcl-cvs,
and woman manuals.
2000-08-10 12:56:50 +00:00
Gerd Moellmann
dd31e4e8c3 (Info-insert-dir): Use Info-additional-directory-list if
non-nil.
(Info-file-list-for-emacs): Remove "info" from the list because
that leads to trying to use the documentation from file `info'
in various situations where it isn't appropriate, for instance
C-h C-k C-h i.
2000-08-08 18:29:49 +00:00
Eli Zaretskii
ea33749b79 (Info-goto-emacs-key-command-node): Leave a space after
the prompt.
2000-07-24 15:20:37 +00:00
Gerd Moellmann
cc6c844361 (Info-title-face-alist): Removed. 2000-07-18 12:59:17 +00:00
Dave Love
d4af987a94 (Info-mode-menu): Fix use of :help, :enable. 2000-07-14 14:39:34 +00:00
Gerd Moellmann
2c80a61870 (Info-last-search): Variable removed.
(Info-search-history): New variable.
(Info-search): New Info-search-history.
2000-07-07 13:01:16 +00:00
Miles Bader
78e7e8a045 (info-initialize): Use prune-directory-list to remove non-existant
directories from Info-directory-list.
2000-07-04 04:50:20 +00:00
Gerd Moellmann
357d11dea1 (Info-find-in-tag-table-1, Info-find-in-tag-table)
(Info-find-node-in-buffer-1, Info-find-node-in-buffer): New
functions.
(Info-find-node-2): Try a case-sensitive search first, then
do a case-insensitive search.
2000-06-15 19:49:11 +00:00
Gerd Moellmann
e27c25aebc (Info-set-mode-line): Show file name in mode line,
use `*Info*' instead of `Info:'.
2000-06-15 14:42:48 +00:00
Dave Love
fdf4b680f7 Doc fixes.
(Info-build-node-completions): Match Ref tags.
2000-06-13 14:46:08 +00:00
Stefan Monnier
b461e32d05 (Info-insert-dir): Don't quote lambda. 2000-06-12 05:16:04 +00:00
Gerd Moellmann
760d5cb38e Bind case-fold-search to t when searching in case
a user sets it to nil in a hook.
2000-06-05 19:22:40 +00:00
Stefan Monnier
75296efc8c (Info-on-current-buffer): Initialize info. 2000-06-04 23:07:45 +00:00
Dave Love
8217260645 (Info-find-node-2): Restructure [following "Vadim S. Solomin"
<sovs@uic.nnov.ru>].
2000-05-24 17:19:51 +00:00
Sam Steingold
0e8c11d821 (Info-fontify-node): fixed the call to add-text-properties 2000-05-22 18:15:56 +00:00
Dave Love
a198aa548e (Info-fontify-node): Add intangible property as well as
invisible.
2000-05-18 13:07:26 +00:00
Sam Steingold
399c88ad20 (debug-ignored-errors): more errors to ignore. 2000-05-16 16:24:25 +00:00
Dave Love
3d30065dc2 Copyright up-date. 2000-04-12 18:30:39 +00:00
Dave Love
48e5b4711d Add debug-ignored-errors.
(Info-mode-menu): Add some items.
(Info-directory): Add autoload cookie.
2000-04-12 18:28:40 +00:00
Gerd Moellmann
88ef7f629b (Info-fontify-maximum-menu-size): Increase to 100000. 2000-03-16 16:29:52 +00:00
Gerd Moellmann
bbed5c3f02 (Info-title-face-alist): Removed.
(Info-title-1-face, Info-title-2-face, Info-title-3-face): New
faces.
(Info-fontify-node): Use these faces.
2000-01-31 19:46:04 +00:00