summaryrefslogtreecommitdiffstats
path: root/contrib/texinfo/info/doc.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/texinfo/info/doc.c')
-rw-r--r--contrib/texinfo/info/doc.c222
1 files changed, 113 insertions, 109 deletions
diff --git a/contrib/texinfo/info/doc.c b/contrib/texinfo/info/doc.c
index e9756e4e..4ca2266 100644
--- a/contrib/texinfo/info/doc.c
+++ b/contrib/texinfo/info/doc.c
@@ -18,125 +18,129 @@
a string which is the user-visible name of the function,
and a string which documents its purpose. */
-#include "doc.h"
+#include "info.h"
#include "funs.h"
FUNCTION_DOC function_doc_array[] = {
/* Commands found in "./session.c". */
- { info_next_line, "next-line", "Move down to the next line" },
- { info_prev_line, "prev-line", "Move up to the previous line" },
- { info_end_of_line, "end-of-line", "Move to the end of the line" },
- { info_beginning_of_line, "beginning-of-line", "Move to the start of the line" },
- { info_forward_char, "forward-char", "Move forward a character" },
- { info_backward_char, "backward-char", "Move backward a character" },
- { info_forward_word, "forward-word", "Move forward a word" },
- { info_backward_word, "backward-word", "Move backward a word" },
- { info_global_next_node, "global-next-node", "Move forwards or down through node structure" },
- { info_global_prev_node, "global-prev-node", "Move backwards or up through node structure" },
- { info_scroll_forward, "scroll-forward", "Scroll forward in this window" },
- { info_scroll_forward_set_window, "scroll-forward-set-window", "Scroll forward in this window and set default window size" },
- { info_scroll_backward, "scroll-backward", "Scroll backward in this window" },
- { info_scroll_backward_set_window, "scroll-backward-set-window", "Scroll backward in this window and set default window size" },
- { info_beginning_of_node, "beginning-of-node", "Move to the start of this node" },
- { info_end_of_node, "end-of-node", "Move to the end of this node" },
- { info_down_line, "down-line", "Scroll down by lines" },
- { info_up_line, "up-line", "Scroll up by lines" },
- { info_scroll_half_screen_down, "scroll-half-screen-down", "Scroll down by half screen size" },
- { info_scroll_half_screen_up, "scroll-half-screen-up", "Scroll up by half screen size" },
- { info_next_window, "next-window", "Select the next window" },
- { info_prev_window, "prev-window", "Select the previous window" },
- { info_split_window, "split-window", "Split the current window" },
- { info_delete_window, "delete-window", "Delete the current window" },
- { info_keep_one_window, "keep-one-window", "Delete all other windows" },
- { info_scroll_other_window, "scroll-other-window", "Scroll the other window" },
- { info_scroll_other_window_backward, "scroll-other-window-backward", "Scroll the other window backward" },
- { info_grow_window, "grow-window", "Grow (or shrink) this window" },
- { info_tile_windows, "tile-windows", "Divide the available screen space among the visible windows" },
- { info_toggle_wrap, "toggle-wrap", "Toggle the state of line wrapping in the current window" },
- { info_next_node, "next-node", "Select the Next node" },
- { info_prev_node, "prev-node", "Select the Prev node" },
- { info_up_node, "up-node", "Select the Up node" },
- { info_last_node, "last-node", "Select the last node in this file" },
- { info_first_node, "first-node", "Select the first node in this file" },
- { info_last_menu_item, "last-menu-item", "Select the last item in this node's menu" },
- { info_menu_digit, "menu-digit", "Select this menu item" },
- { info_menu_item, "menu-item", "Read a menu item and select its node" },
- { info_xref_item, "xref-item", "Read a footnote or cross reference and select its node" },
- { info_find_menu, "find-menu", "Move to the start of this node's menu" },
- { info_visit_menu, "visit-menu", "Visit as many menu items at once as possible" },
- { info_goto_node, "goto-node", "Read a node name and select it" },
- { info_menu_sequence, "menu-sequence", "Read a list of menus starting from dir and follow them" },
- { info_goto_invocation_node, "goto-invocation-node", "Find the node describing program invocation" },
- { info_man, "man", "Read a manpage reference and select it" },
- { info_top_node, "top-node", "Select the node `Top' in this file" },
- { info_dir_node, "dir-node", "Select the node `(dir)'" },
- { info_history_node, "history-node", "Select the most recently selected node" },
- { info_kill_node, "kill-node", "Kill this node" },
- { info_view_file, "view-file", "Read the name of a file and select it" },
- { info_print_node, "print-node", "Pipe the contents of this node through INFO_PRINT_COMMAND" },
- { info_search_case_sensitively, "search-case-sensitively", "Read a string and search for it case-sensitively" },
- { info_search, "search", "Read a string and search for it" },
- { info_search_backward, "search-backward", "Read a string and search backward for it" },
- { info_search_next, "search-next", "Repeat last search in the same direction" },
- { info_search_previous, "search-previous", "Repeat last search in the reverse direction" },
- { isearch_forward, "isearch-forward", "Search interactively for a string as you type it" },
- { isearch_backward, "isearch-backward", "Search interactively for a string as you type it" },
- { info_move_to_prev_xref, "move-to-prev-xref", "Move to the previous cross reference" },
- { info_move_to_next_xref, "move-to-next-xref", "Move to the next cross reference" },
- { info_select_reference_this_line, "select-reference-this-line", "Select reference or menu item appearing on this line" },
- { info_abort_key, "abort-key", "Cancel current operation" },
- { info_move_to_window_line, "move-to-window-line", "Move the cursor to a specific line of the window" },
- { info_redraw_display, "redraw-display", "Redraw the display" },
- { info_quit, "quit", "Quit using Info" },
- { info_do_lowercase_version, "do-lowercase-version", "" },
- { info_add_digit_to_numeric_arg, "add-digit-to-numeric-arg", "Add this digit to the current numeric argument" },
- { info_universal_argument, "universal-argument", "Start (or multiply by 4) the current numeric argument" },
- { info_numeric_arg_digit_loop, "numeric-arg-digit-loop", "Internally used by \\[universal-argument]" },
+ { info_next_line, "next-line", (FUNCTION_KEYSEQ *)0, "Move down to the next line" },
+ { info_prev_line, "prev-line", (FUNCTION_KEYSEQ *)0, "Move up to the previous line" },
+ { info_end_of_line, "end-of-line", (FUNCTION_KEYSEQ *)0, "Move to the end of the line" },
+ { info_beginning_of_line, "beginning-of-line", (FUNCTION_KEYSEQ *)0, "Move to the start of the line" },
+ { info_forward_char, "forward-char", (FUNCTION_KEYSEQ *)0, "Move forward a character" },
+ { info_backward_char, "backward-char", (FUNCTION_KEYSEQ *)0, "Move backward a character" },
+ { info_forward_word, "forward-word", (FUNCTION_KEYSEQ *)0, "Move forward a word" },
+ { info_backward_word, "backward-word", (FUNCTION_KEYSEQ *)0, "Move backward a word" },
+ { info_global_next_node, "global-next-node", (FUNCTION_KEYSEQ *)0, "Move forwards or down through node structure" },
+ { info_global_prev_node, "global-prev-node", (FUNCTION_KEYSEQ *)0, "Move backwards or up through node structure" },
+ { info_scroll_forward, "scroll-forward", (FUNCTION_KEYSEQ *)0, "Scroll forward in this window" },
+ { info_scroll_forward_set_window, "scroll-forward-set-window", (FUNCTION_KEYSEQ *)0, "Scroll forward in this window and set default window size" },
+ { info_scroll_forward_page_only, "scroll-forward-page-only", (FUNCTION_KEYSEQ *)0, "Scroll forward in this window staying within node" },
+ { info_scroll_forward_page_only_set_window, "scroll-forward-page-only-set-window", (FUNCTION_KEYSEQ *)0, "Scroll forward in this window staying within node and set default window size" },
+ { info_scroll_backward, "scroll-backward", (FUNCTION_KEYSEQ *)0, "Scroll backward in this window" },
+ { info_scroll_backward_set_window, "scroll-backward-set-window", (FUNCTION_KEYSEQ *)0, "Scroll backward in this window and set default window size" },
+ { info_scroll_backward_page_only, "scroll-backward-page-only", (FUNCTION_KEYSEQ *)0, "Scroll backward in this window staying within node" },
+ { info_scroll_backward_page_only_set_window, "scroll-backward-page-only-set-window", (FUNCTION_KEYSEQ *)0, "Scroll backward in this window staying within node and set default window size" },
+ { info_beginning_of_node, "beginning-of-node", (FUNCTION_KEYSEQ *)0, "Move to the start of this node" },
+ { info_end_of_node, "end-of-node", (FUNCTION_KEYSEQ *)0, "Move to the end of this node" },
+ { info_down_line, "down-line", (FUNCTION_KEYSEQ *)0, "Scroll down by lines" },
+ { info_up_line, "up-line", (FUNCTION_KEYSEQ *)0, "Scroll up by lines" },
+ { info_scroll_half_screen_down, "scroll-half-screen-down", (FUNCTION_KEYSEQ *)0, "Scroll down by half screen size" },
+ { info_scroll_half_screen_up, "scroll-half-screen-up", (FUNCTION_KEYSEQ *)0, "Scroll up by half screen size" },
+ { info_next_window, "next-window", (FUNCTION_KEYSEQ *)0, "Select the next window" },
+ { info_prev_window, "prev-window", (FUNCTION_KEYSEQ *)0, "Select the previous window" },
+ { info_split_window, "split-window", (FUNCTION_KEYSEQ *)0, "Split the current window" },
+ { info_delete_window, "delete-window", (FUNCTION_KEYSEQ *)0, "Delete the current window" },
+ { info_keep_one_window, "keep-one-window", (FUNCTION_KEYSEQ *)0, "Delete all other windows" },
+ { info_scroll_other_window, "scroll-other-window", (FUNCTION_KEYSEQ *)0, "Scroll the other window" },
+ { info_scroll_other_window_backward, "scroll-other-window-backward", (FUNCTION_KEYSEQ *)0, "Scroll the other window backward" },
+ { info_grow_window, "grow-window", (FUNCTION_KEYSEQ *)0, "Grow (or shrink) this window" },
+ { info_tile_windows, "tile-windows", (FUNCTION_KEYSEQ *)0, "Divide the available screen space among the visible windows" },
+ { info_toggle_wrap, "toggle-wrap", (FUNCTION_KEYSEQ *)0, "Toggle the state of line wrapping in the current window" },
+ { info_next_node, "next-node", (FUNCTION_KEYSEQ *)0, "Select the Next node" },
+ { info_prev_node, "prev-node", (FUNCTION_KEYSEQ *)0, "Select the Prev node" },
+ { info_up_node, "up-node", (FUNCTION_KEYSEQ *)0, "Select the Up node" },
+ { info_last_node, "last-node", (FUNCTION_KEYSEQ *)0, "Select the last node in this file" },
+ { info_first_node, "first-node", (FUNCTION_KEYSEQ *)0, "Select the first node in this file" },
+ { info_last_menu_item, "last-menu-item", (FUNCTION_KEYSEQ *)0, "Select the last item in this node's menu" },
+ { info_menu_digit, "menu-digit", (FUNCTION_KEYSEQ *)0, "Select this menu item" },
+ { info_menu_item, "menu-item", (FUNCTION_KEYSEQ *)0, "Read a menu item and select its node" },
+ { info_xref_item, "xref-item", (FUNCTION_KEYSEQ *)0, "Read a footnote or cross reference and select its node" },
+ { info_find_menu, "find-menu", (FUNCTION_KEYSEQ *)0, "Move to the start of this node's menu" },
+ { info_visit_menu, "visit-menu", (FUNCTION_KEYSEQ *)0, "Visit as many menu items at once as possible" },
+ { info_goto_node, "goto-node", (FUNCTION_KEYSEQ *)0, "Read a node name and select it" },
+ { info_menu_sequence, "menu-sequence", (FUNCTION_KEYSEQ *)0, "Read a list of menus starting from dir and follow them" },
+ { info_goto_invocation_node, "goto-invocation-node", (FUNCTION_KEYSEQ *)0, "Find the node describing program invocation" },
+ { info_man, "man", (FUNCTION_KEYSEQ *)0, "Read a manpage reference and select it" },
+ { info_top_node, "top-node", (FUNCTION_KEYSEQ *)0, "Select the node `Top' in this file" },
+ { info_dir_node, "dir-node", (FUNCTION_KEYSEQ *)0, "Select the node `(dir)'" },
+ { info_history_node, "history-node", (FUNCTION_KEYSEQ *)0, "Select the most recently selected node" },
+ { info_kill_node, "kill-node", (FUNCTION_KEYSEQ *)0, "Kill this node" },
+ { info_view_file, "view-file", (FUNCTION_KEYSEQ *)0, "Read the name of a file and select it" },
+ { info_print_node, "print-node", (FUNCTION_KEYSEQ *)0, "Pipe the contents of this node through INFO_PRINT_COMMAND" },
+ { info_search_case_sensitively, "search-case-sensitively", (FUNCTION_KEYSEQ *)0, "Read a string and search for it case-sensitively" },
+ { info_search, "search", (FUNCTION_KEYSEQ *)0, "Read a string and search for it" },
+ { info_search_backward, "search-backward", (FUNCTION_KEYSEQ *)0, "Read a string and search backward for it" },
+ { info_search_next, "search-next", (FUNCTION_KEYSEQ *)0, "Repeat last search in the same direction" },
+ { info_search_previous, "search-previous", (FUNCTION_KEYSEQ *)0, "Repeat last search in the reverse direction" },
+ { isearch_forward, "isearch-forward", (FUNCTION_KEYSEQ *)0, "Search interactively for a string as you type it" },
+ { isearch_backward, "isearch-backward", (FUNCTION_KEYSEQ *)0, "Search interactively for a string as you type it" },
+ { info_move_to_prev_xref, "move-to-prev-xref", (FUNCTION_KEYSEQ *)0, "Move to the previous cross reference" },
+ { info_move_to_next_xref, "move-to-next-xref", (FUNCTION_KEYSEQ *)0, "Move to the next cross reference" },
+ { info_select_reference_this_line, "select-reference-this-line", (FUNCTION_KEYSEQ *)0, "Select reference or menu item appearing on this line" },
+ { info_abort_key, "abort-key", (FUNCTION_KEYSEQ *)0, "Cancel current operation" },
+ { info_move_to_window_line, "move-to-window-line", (FUNCTION_KEYSEQ *)0, "Move the cursor to a specific line of the window" },
+ { info_redraw_display, "redraw-display", (FUNCTION_KEYSEQ *)0, "Redraw the display" },
+ { info_quit, "quit", (FUNCTION_KEYSEQ *)0, "Quit using Info" },
+ { info_do_lowercase_version, "do-lowercase-version", (FUNCTION_KEYSEQ *)0, "Run command bound to this key's lowercase variant" },
+ { info_add_digit_to_numeric_arg, "add-digit-to-numeric-arg", (FUNCTION_KEYSEQ *)0, "Add this digit to the current numeric argument" },
+ { info_universal_argument, "universal-argument", (FUNCTION_KEYSEQ *)0, "Start (or multiply by 4) the current numeric argument" },
+ { info_numeric_arg_digit_loop, "numeric-arg-digit-loop", (FUNCTION_KEYSEQ *)0, "Internally used by \\[universal-argument]" },
/* Commands found in "./echo-area.c". */
- { ea_forward, "echo-area-forward", "Move forward a character" },
- { ea_backward, "echo-area-backward", "Move backward a character" },
- { ea_beg_of_line, "echo-area-beg-of-line", "Move to the start of this line" },
- { ea_end_of_line, "echo-area-end-of-line", "Move to the end of this line" },
- { ea_forward_word, "echo-area-forward-word", "Move forward a word" },
- { ea_backward_word, "echo-area-backward-word", "Move backward a word" },
- { ea_delete, "echo-area-delete", "Delete the character under the cursor" },
- { ea_rubout, "echo-area-rubout", "Delete the character behind the cursor" },
- { ea_abort, "echo-area-abort", "Cancel or quit operation" },
- { ea_newline, "echo-area-newline", "Accept (or force completion of) this line" },
- { ea_quoted_insert, "echo-area-quoted-insert", "Insert next character verbatim" },
- { ea_insert, "echo-area-insert", "Insert this character" },
- { ea_tab_insert, "echo-area-tab-insert", "Insert a TAB character" },
- { ea_transpose_chars, "echo-area-transpose-chars", "Transpose characters at point" },
- { ea_yank, "echo-area-yank", "Yank back the contents of the last kill" },
- { ea_yank_pop, "echo-area-yank-pop", "Yank back a previous kill" },
- { ea_kill_line, "echo-area-kill-line", "Kill to the end of the line" },
- { ea_backward_kill_line, "echo-area-backward-kill-line", "Kill to the beginning of the line" },
- { ea_kill_word, "echo-area-kill-word", "Kill the word following the cursor" },
- { ea_backward_kill_word, "echo-area-backward-kill-word", "Kill the word preceding the cursor" },
- { ea_possible_completions, "echo-area-possible-completions", "List possible completions" },
- { ea_complete, "echo-area-complete", "Insert completion" },
- { ea_scroll_completions_window, "echo-area-scroll-completions-window", "Scroll the completions window" },
+ { ea_forward, "echo-area-forward", (FUNCTION_KEYSEQ *)0, "Move forward a character" },
+ { ea_backward, "echo-area-backward", (FUNCTION_KEYSEQ *)0, "Move backward a character" },
+ { ea_beg_of_line, "echo-area-beg-of-line", (FUNCTION_KEYSEQ *)0, "Move to the start of this line" },
+ { ea_end_of_line, "echo-area-end-of-line", (FUNCTION_KEYSEQ *)0, "Move to the end of this line" },
+ { ea_forward_word, "echo-area-forward-word", (FUNCTION_KEYSEQ *)0, "Move forward a word" },
+ { ea_backward_word, "echo-area-backward-word", (FUNCTION_KEYSEQ *)0, "Move backward a word" },
+ { ea_delete, "echo-area-delete", (FUNCTION_KEYSEQ *)0, "Delete the character under the cursor" },
+ { ea_rubout, "echo-area-rubout", (FUNCTION_KEYSEQ *)0, "Delete the character behind the cursor" },
+ { ea_abort, "echo-area-abort", (FUNCTION_KEYSEQ *)0, "Cancel or quit operation" },
+ { ea_newline, "echo-area-newline", (FUNCTION_KEYSEQ *)0, "Accept (or force completion of) this line" },
+ { ea_quoted_insert, "echo-area-quoted-insert", (FUNCTION_KEYSEQ *)0, "Insert next character verbatim" },
+ { ea_insert, "echo-area-insert", (FUNCTION_KEYSEQ *)0, "Insert this character" },
+ { ea_tab_insert, "echo-area-tab-insert", (FUNCTION_KEYSEQ *)0, "Insert a TAB character" },
+ { ea_transpose_chars, "echo-area-transpose-chars", (FUNCTION_KEYSEQ *)0, "Transpose characters at point" },
+ { ea_yank, "echo-area-yank", (FUNCTION_KEYSEQ *)0, "Yank back the contents of the last kill" },
+ { ea_yank_pop, "echo-area-yank-pop", (FUNCTION_KEYSEQ *)0, "Yank back a previous kill" },
+ { ea_kill_line, "echo-area-kill-line", (FUNCTION_KEYSEQ *)0, "Kill to the end of the line" },
+ { ea_backward_kill_line, "echo-area-backward-kill-line", (FUNCTION_KEYSEQ *)0, "Kill to the beginning of the line" },
+ { ea_kill_word, "echo-area-kill-word", (FUNCTION_KEYSEQ *)0, "Kill the word following the cursor" },
+ { ea_backward_kill_word, "echo-area-backward-kill-word", (FUNCTION_KEYSEQ *)0, "Kill the word preceding the cursor" },
+ { ea_possible_completions, "echo-area-possible-completions", (FUNCTION_KEYSEQ *)0, "List possible completions" },
+ { ea_complete, "echo-area-complete", (FUNCTION_KEYSEQ *)0, "Insert completion" },
+ { ea_scroll_completions_window, "echo-area-scroll-completions-window", (FUNCTION_KEYSEQ *)0, "Scroll the completions window" },
/* Commands found in "./infodoc.c". */
- { info_get_help_window, "get-help-window", "Display help message" },
- { info_get_info_help_node, "get-info-help-node", "Visit Info node `(info)Help'" },
- { describe_key, "describe-key", "Print documentation for KEY" },
- { info_where_is, "where-is", "Show what to type to execute a given command" },
+ { info_get_help_window, "get-help-window", (FUNCTION_KEYSEQ *)0, "Display help message" },
+ { info_get_info_help_node, "get-info-help-node", (FUNCTION_KEYSEQ *)0, "Visit Info node `(info)Help'" },
+ { describe_key, "describe-key", (FUNCTION_KEYSEQ *)0, "Print documentation for KEY" },
+ { info_where_is, "where-is", (FUNCTION_KEYSEQ *)0, "Show what to type to execute a given command" },
/* Commands found in "./m-x.c". */
- { describe_command, "describe-command", "Read the name of an Info command and describe it" },
- { info_execute_command, "execute-command", "Read a command name in the echo area and execute it" },
- { set_screen_height, "set-screen-height", "Set the height of the displayed window" },
+ { describe_command, "describe-command", (FUNCTION_KEYSEQ *)0, "Read the name of an Info command and describe it" },
+ { info_execute_command, "execute-command", (FUNCTION_KEYSEQ *)0, "Read a command name in the echo area and execute it" },
+ { set_screen_height, "set-screen-height", (FUNCTION_KEYSEQ *)0, "Set the height of the displayed window" },
/* Commands found in "./indices.c". */
- { info_index_search, "index-search", "Look up a string in the index for this file" },
- { info_next_index_match, "next-index-match", "Go to the next matching index item from the last `\\[index-search]' command" },
- { info_index_apropos, "index-apropos", "Grovel all known info file's indices for a string and build a menu" },
+ { info_index_search, "index-search", (FUNCTION_KEYSEQ *)0, "Look up a string in the index for this file" },
+ { info_next_index_match, "next-index-match", (FUNCTION_KEYSEQ *)0, "Go to the next matching index item from the last `\\[index-search]' command" },
+ { info_index_apropos, "index-apropos", (FUNCTION_KEYSEQ *)0, "Grovel all known info file's indices for a string and build a menu" },
/* Commands found in "./nodemenu.c". */
- { list_visited_nodes, "list-visited-nodes", "Make a window containing a menu of all of the currently visited nodes" },
- { select_visited_node, "select-visited-node", "Select a node which has been previously visited in a visible window" },
+ { list_visited_nodes, "list-visited-nodes", (FUNCTION_KEYSEQ *)0, "Make a window containing a menu of all of the currently visited nodes" },
+ { select_visited_node, "select-visited-node", (FUNCTION_KEYSEQ *)0, "Select a node which has been previously visited in a visible window" },
/* Commands found in "./footnotes.c". */
- { info_show_footnotes, "show-footnotes", "Show the footnotes associated with this node in another window" },
+ { info_show_footnotes, "show-footnotes", (FUNCTION_KEYSEQ *)0, "Show the footnotes associated with this node in another window" },
/* Commands found in "./variables.c". */
- { describe_variable, "describe-variable", "Explain the use of a variable" },
- { set_variable, "set-variable", "Set the value of an Info variable" },
- { (VFunction *)NULL, (char *)NULL, (char *)NULL }
+ { describe_variable, "describe-variable", (FUNCTION_KEYSEQ *)0, "Explain the use of a variable" },
+ { set_variable, "set-variable", (FUNCTION_KEYSEQ *)0, "Set the value of an Info variable" },
+ { (VFunction *)NULL, (char *)NULL, (FUNCTION_KEYSEQ *)NULL, (char *)NULL }
};
OpenPOWER on IntegriCloud