1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00
Commit Graph

353 Commits

Author SHA1 Message Date
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
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
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
Dave Love
110d4e8060 (Info-build-node-completions, Info-search, Info-follow-reference)
(Info-complete-menu-item, Info-menu, Info-index, Info-get-token)
(Info-find-emacs-command-nodes): Avoid properties on matched text which
may appear in minibuffer.
1999-11-24 19:53:56 +00:00
Gerd Moellmann
87d2b5a22c (Info-build-node-completions): Add '("*") to the
completion list.
1999-10-25 13:31:08 +00:00
Stefan Monnier
4fceda3c2f (Info-on-current-buffer): new entry point.
(Info-find-node): split into two for Info-on-current-buffer to
  hook into it.
(Info-current-file, Info-set-mode-line, Info-up):
  Info-current-file can now be t.
(Info-clone-buffer-hook): new function for `clone-buffer'.
(Info-goto-node, Info-menu, Info-mode-map, Info-mode): make
  `clone-buffer' available in various ways to the user.
1999-10-13 14:48:57 +00:00
Dave Love
76dc74a28b (Info-suffix-list): Add bzip2 for ms-dos. 1999-10-06 18:38:41 +00:00
Dave Love
bc6262c850 Require jka-compr when compiling.
(Info-suffix-list): Add bzip2 files (non-ms-dos only).
1999-10-05 11:47:35 +00:00
Phillip Rulon
9eb535910f (info-initialize): Don't test existence of ALTERNATIVE
if we know for some other reason it should not be used.
1999-09-24 13:58:46 +00:00
Richard M. Stallman
55f9feda4f (Info-find-node): Cope better if guesspos is too large. 1999-09-14 06:44:55 +00:00
Dave Love
83d5c7724f (info): Doc fix. 1999-08-17 18:51:25 +00:00
Dave Love
d0e41cba40 (Info-find-node): Call info-initialize here.
(info): Not here.
(Info-file-list-for-emacs): Add message, dired-x, c, viper.
1999-08-04 18:55:22 +00:00
Richard M. Stallman
7d3766a84c (info-initialize): New function.
(info): Call info-initialize.
(Info-directory-list): Initialize to nil,
so info-initialize will set it up for real.
1999-08-01 12:17:46 +00:00
Dave Love
c47b5bbea9 (Info-search): Don't lose with empty regexp. 1999-07-19 22:21:44 +00:00
Karl Heuer
8bdf4b20dd (Info-find-node): Position properly after finding anchor. 1999-04-26 05:58:59 +00:00
Richard M. Stallman
635173de4a (Info-find-node): Check for an anchor at the
proper place, before reading an indirect file.
1999-04-06 23:23:23 +00:00
Dave Love
f601cd3e35 (Info-directory-list): Revert change to re-writing
Info-default-directory-list, but put `alternative' first.
(Info-insert-dir): Modify selecting the top dir file as a
consequence.
1999-03-24 14:25:58 +00:00
Dave Love
5b907c5e20 (Info-directory-list): Don't set path-separator now
we're not shipped with Texinfo.  Simplify path definition.
Substitute all occurrences of instdir in
Info-default-directory-list.
1999-01-26 18:54:57 +00:00
Richard M. Stallman
76af32d5f7 (Info-insert-dir): Chase symlinks for file-attributes. 1999-01-03 01:56:31 +00:00
Eli Zaretskii
11638562e4 (Info-node-at-bob-matching): New function.
(Info-find-node, Info-build-node-completions): Call it.
1998-12-21 11:18:29 +00:00
Eli Zaretskii
ba42ce1405 (Info-find-node): Add 1 to the position read from the
tag table.  Don't fail if the node delimiter ^_ is the first
character in the file.
(Info-insert-dir): Don't fail when the node delimiter ^_ is the
first character in the file.
(Info-read-subfile): Likewise.
(Info-select-node): Likewise.
(Info-build-node-completions): Likewise.
1998-12-16 14:01:45 +00:00
Markus Rost
4fc14e5ad0 (Info-menu): Don't return error if point is between menu header and
first menu item.
1998-12-04 23:05:46 +00:00
Richard M. Stallman
fadfb77f9b (Info-next-menu-item): Stay on top of node. 1998-10-22 01:35:03 +00:00
Richard M. Stallman
4fba3b2c06 (Info-insert-dir): Detect and report problems
in input files, such as "No Top node".  Return with point
at the beginning of the text.
(Info-find-node): Reinsert the code to handle files
with no tags table; it was deleted by mistake.
1998-10-11 22:44:46 +00:00
Karl Heuer
c613e27e59 (info): Don't add parens if FILE already has them. 1998-09-04 19:50:26 +00:00
Richard M. Stallman
ebf8f7e14a (Info-follow-reference): Nice error msg if there was no arg. 1998-08-16 02:10:25 +00:00
Richard M. Stallman
631ba13e27 (Info-try-follow-nearest-node): Get the node name
directly out of the menu item pointed at.
1998-08-14 08:46:22 +00:00
Richard M. Stallman
1bcedb3b6b Bind case-fold-search to t in many functions. 1998-08-08 21:27:22 +00:00
Richard M. Stallman
fabcd845a0 (Info-find-node): Once again, use byte-to-position. 1998-08-04 09:40:04 +00:00
Eric M. Ludlam
5fdc799747 (Info-speedbar-hierarchy-buttons): Improved the speedbar frame management. 1998-08-03 17:54:35 +00:00
Richard M. Stallman
9d499629f9 (Info-find-node): Position at the beginning of the node
after calling Info-select-node.

(Info-insert-dir): Catch errors in insert-file-contents.
1998-08-01 19:03:50 +00:00
Richard M. Stallman
6356e646f5 (Info-complete-menu-buffer): Add defvar. 1998-07-15 00:09:43 +00:00
Richard M. Stallman
ddf8921158 (Info-read-node-name-1, Info-read-node-name):
Rename completion-table to Info-read-node-completion-table.
(Info-read-node-completion-table): Add defvar.
1998-07-15 00:07:49 +00:00
Karl Heuer
96ee3f292f No longer depends on speedbspec for byte compile.
(Info-speedbar-key-map) New key map.
(Info-install-speedbar-variables) New function.
(Info-speedbar-menu-items) Update to new functions.
Install speedbar keymap only when speedbar is loaded.
(Info-speedbar-browser) New command.
(Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node,
Info-speedbar-expand-node, Info-speedbar-fetch-file-nodes) New function
(Info-speedbar-buttons) Handle new node button commands.
1998-07-10 16:46:59 +00:00
Richard M. Stallman
37a3ff5b0b (Info-find-node): Handle cross references to an @anchor. 1998-07-05 23:57:45 +00:00
Richard M. Stallman
e994526483 (Info-find-node): Use byte-to-position. 1998-06-29 18:34:24 +00:00
Richard M. Stallman
a6e4564e8e (info-other-window): New function. 1998-06-13 06:00:00 +00:00
Karl Heuer
4643e92f8f (Info-exit): Use quit-window. 1998-06-02 06:55:39 +00:00
Richard M. Stallman
9c7924d512 (Info-find-node): Use info-file-exists-p
(info-insert-file-contents): Use info-file-exists-p.
(info-file-exists-p): New function.
1998-05-15 04:05:56 +00:00
Richard M. Stallman
5dab2fb4c9 (Info-up): New arg SAME-FILE: don't move to different file.
(Info-next-preorder): Pass new arg to Info-up.
(Info-last-preorder): Likewise.
(Info-last-preorder): Don't follow the Prev if it's same as the Up.
Instead, follow it as the Up.
1998-05-03 00:02:10 +00:00
Dave Love
6b136ab938 (Info-mode): Doc fix. 1998-04-28 18:13:00 +00:00
Richard M. Stallman
35d2d24155 (Info-fontify-node): For menu items, use info-xref font.
Use info-node font for the node's own name,
and do not make it mouse-sensitive.

(Info-find-node): Update Info-history after switching buffer.
(info): If no arg, and *info* buffer exists, just go to it and don't alter it.
1998-04-22 03:19:43 +00:00
Richard M. Stallman
b37daea4a7 (Info-menu): Allow extra spaces at start of menu item.
(Info-extract-menu-item): Likewise.
(Info-insert-dir, Info-complete-menu-item, Info-index): Likewise.
(Info-try-follow-nearest-node, Info-find-emacs-command-nodes): Likewise
(Info-fontify-node, Info-speedbar-buttons): Likewise.
1998-04-18 01:57:45 +00:00
Richard M. Stallman
6d2c8e3eb7 (Info-menu-update): Set Info-menu-last-node
to (FILE NODENAME), and test it that way too.
1998-03-17 06:29:50 +00:00
Richard M. Stallman
f21fef3c9f (info): Always switch to buffer *info* even if
current buffer is in Info mode.
1998-02-27 23:30:11 +00:00
Richard M. Stallman
881c84c72a (Info-summary): Clear buffer-read-only. 1998-02-17 03:56:42 +00:00
Eric M. Ludlam
3cb6768fd7 Added speedbar support function `Info-speedbar-buttons',
`Info-speedbar-button', and `Info-speedbar-menu'
1998-01-22 23:50:25 +00:00
Richard M. Stallman
177c354919 (Info-mode): Doc fix. 1997-12-22 22:28:11 +00:00
Karl Heuer
2d41cf5993 (Info-insert-dir): Use leading space in buffer name. 1997-12-05 08:04:59 +00:00
Richard M. Stallman
3c19e6c145 (Info-suffix-list): Add suffixes for MS-DOS version
running on Windows 95 with long file name support.
(info-insert-file-contents): When the Info file is to be
uncompressed, insert it literally.
1997-09-15 19:48:11 +00:00
Richard M. Stallman
67053274b5 (info-insert-file-contents): Bind
coding-system-for-write to no-conversion.
1997-09-08 18:26:41 +00:00
Richard M. Stallman
93480d7063 (info-node, info-xref, info-menu-5):
Define faces with defface.
(Info-mode): Don't define faces here, and don't alter Info-fontify.
Locally set line-move-ignore-invisible.
(Info-fontify-node): Test type of frame here.
1997-07-30 18:15:19 +00:00
Richard M. Stallman
ffc437583c (Info-exit): Use bury-buffer simply. 1997-05-27 05:02:45 +00:00
Richard M. Stallman
a70dc410be (Info-suffix-list): Accept -info as suffix;
also accept a subdir with a file called `index'.
1997-05-24 21:27:29 +00:00
Richard M. Stallman
a580e88443 (Info-set-mode-line): Add some spaces at the beginning. 1997-05-17 18:39:23 +00:00
Richard M. Stallman
ded3e3d816 Add defgroup; use defcustom for user vars. 1997-04-13 03:09:23 +00:00
Karl Heuer
3ec18f3f45 Re-fix copyright dates. 1997-03-12 20:03:49 +00:00
Joel Ray Holveck
93515b3a66 Fixed copyright dates 1997-03-12 18:40:06 +00:00
Karl Heuer
b6d61ffa7a (Info-read-node-name): Caused completing-read to force
the input read to match a valid entry
1997-03-08 19:19:51 +00:00
Richard M. Stallman
c5fe2ff17b Handle multiple Info buffers.
(Info-tag-table-marker): Initialize to nil.
(Info-tag-table-buffer): New variable.
(Info-find-node): Don't switch buffers if already in Info mode.
Use Info-tag-table-buffer to support multiple Info buffers.
(Info-read-subfile): Don't switch to *info* buffer.
(Info-build-node-completions): Handle buffer local bindings for
Info-tag-table-marker.
(Info-search): Add a save-excursion.
(Info-mode): Make Info-tag-table-buffer buffer-local.
Make a different marker in Info-tag-table-marker for each buffer.
(Info-kill-buffer): New function, on kill-buffer-hook.
1997-02-08 18:34:21 +00:00
Richard M. Stallman
882e61bf04 (Info-find-node): Don't clear Info-index-alternatives.
(Info-index-next): Fix error message.
1996-12-30 20:44:24 +00:00
Richard M. Stallman
f73299f360 (Info-mode): Default for `tab-width'. 1996-12-12 23:00:31 +00:00
Richard M. Stallman
345d9d7376 (Info-get-token): Find tokens where START matches 1996-12-08 07:37:55 +00:00
Karl Heuer
ec6d29af5e (Info-follow-reference): Add each cross-reference to
completions list just once, case-insensitively.
1996-12-05 19:53:00 +00:00
Geoff Voelker
b86b9918dd Use w32 instead of ms-windows for window-system symbol 1996-11-19 06:59:17 +00:00
Richard M. Stallman
280d11ed0e (Info-scroll-up): Doc fix. 1996-11-02 07:39:07 +00:00
Karl Heuer
3296453b8b (Info-insert-dir): Ensure directory ends with slash. 1996-10-25 04:43:06 +00:00
Richard M. Stallman
a361deba75 (Info-read-subfile): Allow a file name as arg.
(Info-search): Restore previous subfile correctly.
1996-10-06 22:50:07 +00:00
Richard M. Stallman
36cef1b759 (Info-mode): Do fontify, if ms-windows. 1996-09-15 02:18:43 +00:00
Richard M. Stallman
75a209d4bc Add menu items and xrefs to the menu bar menu.
(Info-check-pointer): New function.
(Info-mode-menu): New menu.
(Info-menu-last-node): New variable.
(Info-menu-update): New function.
(Info-mode): Add `Info-menu-update' to `activate-menubar-hook'.
1996-09-01 20:43:10 +00:00
Richard M. Stallman
53c6392633 (Info-find-node): Use pop-to-buffer. 1996-08-03 21:27:03 +00:00
Richard M. Stallman
b54d0f0ec8 (Info-next-preorder): After we move up, move forward again.
(Info-last-preorder): After we move down or to the prev,
move down again.
1996-06-30 08:12:17 +00:00
Karl Heuer
debcea0c5c (Info-insert-dir): Fix default directory. 1996-05-30 19:46:24 +00:00
Richard M. Stallman
67f445d78b (Info-enable-active-nodes): Default to nil. Mark it risky. 1996-05-07 00:51:23 +00:00
Richard M. Stallman
f0e1cd3354 (Info-find-node): Don't treat file name `dir' specially
if it comes with a directory name.
1996-05-02 06:08:40 +00:00
Richard M. Stallman
56cda6f5c1 (Info-next-reference, Info-prev-reference): Add optional
argument RECUR to avoid infinite recursion on malformed nodes.
1996-04-21 01:47:02 +00:00
Richard M. Stallman
81e14cb260 (Info-index): If fail, go back to original node.
(Info-find-node): Make error messages consistent.
(Info-insert-dir): Fix error message.
1996-02-25 18:31:16 +00:00
Karl Heuer
1583fe94fc (info-insert-file-contents-1) [MSDOS]: Remove leading
dot only from non-empty suffixes.
1996-02-16 00:58:07 +00:00
Richard M. Stallman
920bdaabcc (Info-find-index-name): New subroutine, from Info-index-next.
Match any type of definition, not just Function and Command.
(Info-index-next): Use Info-find-index-name.
(Info-find-node, Info-index, Info-index-next): Use `...' in err msgs.
1996-02-12 20:57:39 +00:00
Richard M. Stallman
e341dab2b3 (info): Doc fix. 1996-02-09 19:12:10 +00:00
Karl Heuer
ce35dad9dd (Info-extract-pointer): Fix error format string. 1996-01-29 23:16:36 +00:00
Karl Heuer
e9b81433a2 (Info-goto-emacs-command-node): Fix error text. 1996-01-25 06:05:40 +00:00
Karl Heuer
8ab3e50b34 (Info-edit, Info-goto-emacs-command-node): Pass proper format string to message. 1996-01-25 00:54:59 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
90a715f070 (Info-get-token): Doc fix. 1996-01-04 23:42:04 +00:00
Richard M. Stallman
0bf659193d (Info-directory-list): Use source-directory. 1995-11-21 21:11:16 +00:00
Richard M. Stallman
763da090cc (Info-complete-menu-item): Don't treat `* Menu:' as a menu item. 1995-11-16 16:33:04 +00:00
Richard M. Stallman
c8e9dd5444 (info-insert-file-contents-1): Various rewrites.
Compute EXT-LEFT after removing the dot from SUFFIX.
1995-11-15 23:17:18 +00:00
Richard M. Stallman
70d78eb6ea (Info-following-node-name, Info-extract-menu-node-name)
(Info-select-node): Use buffer-substring-no-properties.
1995-10-24 16:36:52 +00:00
Karl Heuer
2e518b7db6 (Info-fontify-node): Fix previous change. 1995-09-25 19:50:22 +00:00
Karl Heuer
98d8273c2c (Info-title-face-alist): New var.
(Info-fontify-node): Check for headings that are `underlined' with
characters on the following line.
1995-09-25 18:58:51 +00:00
Richard M. Stallman
9b842cab49 (Info-suffix-list): Add .inf to MSDOS list.
(info-insert-file-contents): Use info-insert-file-contents-1
to set FULLNAME.  Use call-process-region to run the decode program.
(Info-find-node): Use info-insert-file-contents-1.
(info-insert-file-contents-1) [MSDOS]: Don't use the dot in SUFFIX
if FILENAME already has one.
1995-09-06 18:04:02 +00:00
Richard M. Stallman
033fc52dc8 (Info-default-directory-list): Duplicate defvar deleted. 1995-08-26 20:25:23 +00:00
Richard M. Stallman
bd0c916883 (Info-suffix-list): For MS-DOS, use gunzip as the only uncompressor,
and don't include .info as suffix.
(info-insert-file-contents-1): New function.
(info-insert-file-contents): Use info-insert-file-contents-1.
1995-08-22 18:51:46 +00:00
Richard M. Stallman
f57b2cd858 (Info-find-emacs-command-nodes): Fix previous change. 1995-08-19 16:54:27 +00:00
Richard M. Stallman
f88ab1c917 (Info-file-list-for-emacs): New variable.
(Info-find-emacs-command-nodes): Look in those files, if appropriate.
1995-08-19 05:03:12 +00:00
Richard M. Stallman
03524be63a (Info-read-node-name-1): New function.
(Info-read-node-name): Use Info-read-node-name-1
to avoid getting confused by spaces when text starts with (FILENAME).
1995-08-05 20:56:23 +00:00