Commit graph

426 commits

Author SHA1 Message Date
Eli Zaretskii
906b3163a2 (Info-file-list-for-emacs): Add elements for ada-mode, ccmode,
emacs-mime, and eudc manuals.
2001-09-20 15:31:28 +00:00
Eli Zaretskii
cfc697a2be (Info-goto-node): Doc fix. 2001-09-09 20:09:35 +00:00
Gerd Moellmann
b8fa4e8742 (info-insert-file-contents): Use info-file-exists-p
instread of file-exists-p.
2001-08-03 12:33:14 +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
Stefan Monnier
07b1b9126d (Info-build-node-completions): Make Info-current-file-completions buffer local. 2001-07-13 18:34:08 +00:00
Stefan Monnier
4ce5c22387 (Info-clone-buffer-hook): Really unconditionally copy marker. 2001-07-02 19:20:25 +00:00
Stefan Monnier
15533ae2bf (Info-clone-buffer-hook): Unconditionally copy marker. 2001-06-28 21:17:27 +00:00
Richard M. Stallman
b0e52598a5 (Info-read-subfile): Widen before finding the
desired node in the subfile.
2001-05-20 17:03:12 +00:00
Eli Zaretskii
4645bb6838 (Info-additional-directory-list): Doc fix. 2001-04-25 17:17:01 +00:00
Eli Zaretskii
5d5845dc5e (Info-menu-update): When there are no menus and/or no
cross references in the node, make the respective items of the
Info menu-bar menu inactive.
2001-04-17 20:31:29 +00:00
Eli Zaretskii
6032216329 (Info-additional-directory-list): Doc fix. Suggested by
Kai Grossjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE>.
2001-04-15 06:10:05 +00:00
Eli Zaretskii
560ea2d586 (Info-file-list-for-emacs): Add an entry for the "info" manual. 2001-04-14 11:45:31 +00:00
Gerd Moellmann
7afe24e3cb (Info-scroll-down): Add missing WINDOW arg for
pos-visible-in-window-p.
2001-03-20 14:22:50 +00:00
Richard M. Stallman
d0f803d3f8 (Info-scroll-down): Fix previous change. 2001-03-07 23:05:10 +00:00
Gerd Moellmann
5b3ebb4432 (Info-scroll-down): Call pos-visible-in-window-p with
second arg t.
2001-03-07 16:55:17 +00:00
Eli Zaretskii
e0c1e774d4 (info-insert-file-contents-1): Accept an additional
argument `lfn': if it is non-nil, concatenate `filename' and
`suffix'; otherwise use the complicated MS-DOS code.  All callers
changed.
(info-insert-file-contents, Info-find-node): If the MS-DOS port
can access long file names, try the long file-name version of
`info-insert-file-contents-1', then the short file-name version.
2001-03-01 14:14:09 +00:00
Miles Bader
126f5d4d57 (Info-copy-current-node-name): New function.
(Info-mode-menu): Add it to the menu.
2001-02-15 05:00:37 +00:00
Eli Zaretskii
fecd556a3b (info-initialize): Remove the test for system-type when
invocation-directory is non-nil.
2001-02-06 17:15:39 +00:00
Eli Zaretskii
2c366083cd (info-initialize): If installation-directory is nil, for
DOS/Windows systems try looking in a sibling of
invocation-directory.
2001-02-02 18:10:41 +00:00
Eli Zaretskii
6e961dcde2 (Info-setup-header-line): If the node header includes
either Next: or Prev: links, don't show the File: and Node: parts
in the header line.
2001-01-11 16:41:38 +00:00
Eli Zaretskii
bbc96600a7 (Info-search): Print the default as part of the prompt. 2001-01-08 16:59:54 +00:00
Eli Zaretskii
30db89f9d7 (Info-goto-emacs-key-command-node): Doc fix.
(Info-goto-emacs-command-node): Doc fix.
2001-01-07 09:56:59 +00:00
Gerd Moellmann
3828218c96 (Info-fontify-node): Mark one more char as intangible. 2001-01-05 12:23:11 +00:00
Eli Zaretskii
b24e84ab41 (Info-forward-node): If the node has an
Info-header-line, widen the buffer before searching for "next:"
and "up:" pointers, and set the search limit to stay in the
current node.
2000-12-15 22:03:05 +00:00
Eli Zaretskii
4dddb0b795 (Info-directory-list): Change doc string to reflect the
change in Info-default-directory-list.
2000-12-14 17:14:32 +00:00
Kenichi Handa
544e210f7a (Info-suffix-list): Change format for a command that
requires arguments.
(info-insert-file-contents): Adjusted for the above change.
2000-12-13 00:14:52 +00:00
Miles Bader
c2def7a092 (Info-last-preorder): Don't barf on nodes without a prev.
(Info-scroll-down): Respect `Info-scroll-prefer-subnodes'.
2000-12-12 07:15:52 +00:00
Eli Zaretskii
7a53d8c859 (Info-scroll-prefer-subnodes): New defcustom.
(Info-scroll-up): If Info-scroll-prefer-subnodes is nil, don't
visit the first subnode until the bottom of the current node is
visible.
2000-12-04 16:38:22 +00:00
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