1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-26 19:18:50 +00:00
Commit Graph

427 Commits

Author SHA1 Message Date
Lute Kamstra
d39f149d73 (Info-mode, Info-edit-mode): Use run-mode-hooks. 2005-05-26 13:01:03 +00:00
Richard M. Stallman
ab357a65ac (Info-mode): Set widen-automatically to nil, locally. 2005-05-01 18:54:35 +00:00
Richard M. Stallman
1ecc5922df (Info-fontify-node): Handle fontification of multiple * Menu lines in one node. 2005-04-10 23:31:17 +00:00
Dan Nicolaescu
ea81d57ec5 * mh-customize.el (mh-speedbar-selected-folder-face): Special case
high number of colors displays.

* textmodes/table.el (table-cell-face): Add special case for
displays supporting a high number of colors.
* progmodes/vhdl-mode.el (vhdl-font-lock-prompt-face)
(vhdl-font-lock-reserved-words-face)
(vhdl-speedbar-architecture-face)
(vhdl-speedbar-instantiation-face)
(vhdl-speedbar-architecture-selected-face)
(vhdl-speedbar-instantiation-selected-face): Likewise.
* progmodes/sh-script.el (sh-heredoc-face): Likewise.
* progmodes/idlw-help.el (idlwave-help-link-face): Likewise.
* progmodes/ebrowse.el (ebrowse-tree-mark-face)
(ebrowse-root-class-face, ebrowse-member-attribute-face)
(ebrowse-progress-face): Likewise.
* progmodes/compile.el (compilation-info-face): Likewise.
* progmodes/cc-fonts.el (c-invalid-face): Likewise.
* emacs-lisp/re-builder.el (reb-match-3): Likewise.
* calendar/calendar.el (diary-face): Likewise.
* woman.el (woman-italic-face, woman-bold-face)
(woman-unknown-face): Likewise.
* wid-edit.el (widget-button-pressed-face): Likewise.
* whitespace.el (whitespace-highlight-face): Likewise.
* smerge-mode.el (smerge-mine-face, smerge-base-face): Likewise.
* pcvs-info.el (cvs-marked-face): Likewise.
* info.el (info-xref): Likewise.
* ido.el (ido-subdir-face, ido-indicator-face): Likewise.
* hilit-chg.el (highlight-changes-face)
(highlight-changes-delete-face): Likewise.
* hi-lock.el (hi-yellow, hi-green, hi-blue-b, hi-green-b)
(hi-red-b): Likewise.
* generic-x.el (show-tabs-tab-face, show-tabs-space-face): Likewise.
* font-lock.el (font-lock-keyword-face)
(font-lock-function-name-face, font-lock-warning-face): Likewise.
* cus-edit.el (custom-invalid-face, custom-modified-face)
(custom-set-face, custom-changed-face, custom-variable-tag-face)
(custom-group-tag-face-1, custom-group-tag-face): Likewise.
* comint.el (comint-highlight-prompt): Likewise.
2005-04-08 14:26:13 +00:00
Juri Linkov
34d86208a3 (Info-mode): Add Info-kill-buffer' to kill-buffer-hook'
locally instead of adding it to the global hook.
(Info-kill-buffer): Move up.
2005-04-07 15:16:39 +00:00
Juri Linkov
5938202c7d (Info-mode-menu): Remove ellipsis from "Index".
Add ellipsis to "Lookup a String", "Lookup a string in all indices".
Add `:active Info-index-alternatives' to "Next Matching Item".
2005-03-28 01:24:10 +00:00
Juri Linkov
6270bbe7e4 Update error messages for `debug-ignored-errors'.
(Info-isearch-search): Doc fix.
(Info-find-node): Move up code to go into info buffer before
recording the node to the history.
(Info-fontify-node): Fontify titles only if the next line
has two or more `*', `=', `-', `.'.
Display "go to this node" for empty (match-string 3).
2005-03-16 07:32:43 +00:00
Juri Linkov
d457219d26 (Info-isearch-initial-node): New internal variable.
(Info-search): Signal an error in isearch mode when search leaves
the initial node.  Signal an error when `bound' is non-nil and
nothing was found in the current subfile.
(Info-isearch-search): Remove `condition-case'.
(Info-isearch-wrap): Don't wrap when search failed during leaving
the initial node.  If `Info-isearch-search' is nil, wrap around
the current node.
(Info-isearch-start): New fun.
(Info-mode): Add buffer-local hook `Info-isearch-start' to
`isearch-mode-hook'.
2005-03-15 10:46:00 +00:00
Juri Linkov
866920e3de (Info-search): Four fixes for backward search. 2005-03-12 02:18:32 +00:00
Juri Linkov
9553cf63a5 (Info-isearch-search): Emulate word search in
isearching through multiple Info nodes with Info-search.
(Info-isearch-wrap): Allow isearch-word.
2005-03-08 21:51:48 +00:00
Juri Linkov
98e77be59a (Info-isearch-search): New defcustom.
(Info-isearch-search): Call the default isearch function
when Info-isearch-search is nil.
(Info-isearch-wrap): Use variable Info-isearch-search.
2005-02-23 17:03:17 +00:00
Kim F. Storm
bf247b6ed0 Change release version from 21.4 to 22.1 throughout.
Change development version from 21.3.50 to 22.0.50.
2005-02-09 15:50:47 +00:00
Juri Linkov
424b9d3e7d (Info-history-forward): New variable.
(Info-select-node): Reset Info-history-forward to nil.
(Info-last): Turn into defalias.
(Info-history-back): Rename from Info-last.
Add current node to Info-history-forward.
(Info-history-forward): New fun.
(Info-mode-map): Replace Info-last by Info-history-back.
Bind Info-history-forward to "r".
(Info-mode-menu): Replace Info-last by Info-history-back.
Fix menu item text.  Add menu item for Info-history-forward.
(info-tool-bar-map): Replace Info-last by Info-history-back.
Replace its icon "undo" by "back_arrow".  Add icon "fwd_arrow"
for Info-history-forward.
(Info-mode): Replace Info-last by Info-history-back in docstring.
Add local variable Info-history-forward.
(Info-goto-emacs-command-node): Replace Info-last by Info-history-back.
2005-01-11 21:57:46 +00:00
Kim F. Storm
3c1498ace8 (Info-mode-map, Info-next-link-keymap)
(Info-prev-link-keymap, Info-up-link-keymap): Map follow-link to mouse-face.
(Info-fontify-node): Add "mouse-2: " prefix to tooltip.
2005-01-08 20:06:23 +00:00
Richard M. Stallman
6b3600ffb8 (info-xref-visited): Use `default' instead of t.
(Info-try-follow-nearest-node): Don't explicitly load browse-url.
2004-12-13 19:31:32 +00:00
Juri Linkov
180ee7c785 (Info-search-whitespace-regexp): Remove shy group.
(Info-search): Forward line if search is on the header line.
Use search-whitespace-regexp in two other places.
2004-11-28 15:42:11 +00:00
Richard M. Stallman
78b9dd307a (Info-search): Fix previous change. 2004-11-20 14:09:10 +00:00
Richard M. Stallman
5d4faedacc (Info-search): Use search-whitespace-regexp. 2004-11-19 20:04:44 +00:00
Juri Linkov
be4b3ae8be (Info-search): Save match data for isearch. Skip Tag Table node. 2004-11-11 21:45:57 +00:00
Richard M. Stallman
cb7de2e759 (Info-revert-find-node): Don't use beginning-of-buffer. 2004-11-08 16:43:00 +00:00
Juri Linkov
ca53db337f (Info-search): Don't search in node header lines and file headers. 2004-11-05 19:06:24 +00:00
Juri Linkov
02c9f5cd8a (Info-file-list-for-emacs): Add ("Info" . "info")
to search `Info-...' commands in `info' manual.
(Info-goto-emacs-command-node, Info-goto-emacs-key-command-node):
Add 'info-file "emacs" property.
(Info-find-emacs-command-nodes): Fix index line number regexp.
Set real line number (instead of fake 0) in first element of the
returned list.
(Info-goto-emacs-command-node): Use line number of first element
to set point in the first found Info node.
2004-10-28 09:02:04 +00:00
Luc Teirlinck
f254e21f8c (Info-find-emacs-command-nodes): Adapt to Texinfo-4.7 style indexes. 2004-10-24 18:36:28 +00:00
Thien-Thi Nguyen
e14105f6fa (Info-fontify-node): For multiline refs,
arrange to unfontify newline and surrounding whitespace.
2004-10-18 07:31:43 +00:00
Richard M. Stallman
cc3f6c32b9 (info-xref): Add underlining.
(info): Add info-file property.
(Info-find-emacs-command-nodes): Specify case-sensitive search.
2004-10-13 02:09:57 +00:00
Juri Linkov
ea99d5c800 (Info-history, Info-toc): Fix Info headers.
(Info-toc): Narrow buffer before Info-fontify-node.
(Info-build-toc): Don't check for special Info file names.
Set main-file to nil if Info-find-file returns a symbol.
2004-10-05 04:23:55 +00:00
Thien-Thi Nguyen
dc9bec220d (Info-insert-dir): Fix temp buffer leak bug. 2004-09-08 10:28:17 +00:00
Juri Linkov
fc11ddc8d7 (Info-fontify-node): Don't compute other-tag if Info-hide-note-references=hide. 2004-09-02 16:36:18 +00:00
Juri Linkov
0b02cda944 (Info-search-whitespace-regexp): Fix backslashes.
(Info-search): Add new optional arguments for the sake of isearch.
Replace whitespace in Info-search-whitespace-regexp literally.
Add backward search.  Don't call `Info-select-node' if regexp is
found in the same Info node.  Don't add node to Info-history for
wrapped isearch.
(Info-search-backward, Info-isearch-search, Info-isearch-wrap)
(Info-isearch-push-state, Info-isearch-pop-state): New funs.
(Info-mode): Set local variables `isearch-search-fun-function',
`isearch-wrap-function', `isearch-push-state-function',
`search-whitespace-regexp'.
2004-09-01 19:29:28 +00:00
Juri Linkov
bc2246458a (Info-goto-node): Add autoload.
(Info-toc): Add substring-no-properties on Info file name.
(Info-mode, info, Info-toc, Info-mode-menu): Doc fix.
(Info-mode-map): Bind L to Info-history, T to Info-toc.
2004-06-12 05:54:43 +00:00
Juri Linkov
c9ce1e4048 (Info-desktop-buffer-misc-data): Don't save information
about virtual files.
(Info-restore-desktop-buffer): Restore Info buffers in prepared
buffers with names obtained from the desktop file instead of the
default *info* buffer.
2004-05-28 20:56:41 +00:00
Juri Linkov
50163b00ab (Info-toc): Call Info-mode on intermediate buffer.
(Info-index-nodes): Enclose code in condition-case to catch errors.
(Info-index-node): Don't search all index nodes if request is only
for the current node and file is not in the cache of index nodes.
(Info-mode-map): Bind Info-copy-current-node-name to `w'
for consistency with dired-copy-filename-as-kill.
Bind `S' to Info-search-case-sensitively.
(Info-copy-current-node-name): New arg.  With zero prefix arg put
the name inside a function call to `info'.  Display copied text in
the echo area.
2004-05-25 20:59:31 +00:00
Juri Linkov
141b49f563 (Info-index-nodes): New var and fun.
(Info-goto-index, Info-index, info-apropos)
(Info-find-emacs-command-nodes): Rewrite to use Info-index-nodes.
(Info-index): Fix docstring.  Store and restore Info-history-list.
(Info-complete-nodes): New var.
(Info-complete-menu-item): Use it.
(Info-index-node): New fun.
(Info-final-node, Info-forward-node, Info-backward-node)
(Info-build-toc, Info-try-follow-nearest-node, Info-fontify-node):
Use Info-index-node.
(Info-extract-menu-item, Info-extract-menu-counting): Set second
arg of `Info-extract-menu-node-name' to non-nil for index nodes.
(Info-find-node-2): If a node with period in its name not found,
try to find a node without the name part after period.
(Info-select-node): Call Info-fontify-node only if
Info-fontify-maximum-menu-size is not nil.
(info-apropos): Set Info-fontify-maximum-menu-size to nil.
(Info-find-emacs-command-nodes, Info-goto-emacs-command-node):
Preserve Info-history-list.
(Info-toc): Set Info-current-file.
(Info-build-toc): Move point to the beginning of the buffer.
Add main-file variable.
(Info-dir-remove-duplicates, Info-history, Info-toc, info-apropos):
Use backslashed representation of the control character ^_.
2004-05-23 20:53:42 +00:00
Jesper Harder
5242942fe7 (info-apropos): Make it an index node. Align node names
like makeinfo.
2004-04-27 14:43:04 +00:00
Juri Linkov
836bb47866 Add *info*<[0-9]+> to same-window-regexps instead of
same-window-buffer-names.
(info): New arg `buffer'.  Use it.  Doc fix.  Read file name for
non-numeric prefix argument, append the number to the buffer name
for numeric prefix argument.
(info-other-window): Bind same-window-regexps to nil.
(Info-reference-name): Rename to Info-point-loc.
(Info-find-node-2): Call forward-line for numeric Info-point-loc,
and Info-find-index-name for stringy Info-point-loc.
(Info-extract-menu-node-name): New arg `index-node'.  Use regexp
without middle `.', but with final `.' and optional line number
for it.  Set Info-point-loc for index nodes.
(Info-index): Remove middle `.' from index entry regexp.
Modify line number regexp.
(Info-index-next): Decrement line number.
(info-apropos): Remove middle `.' from index entry regexp.
Add optional line number regexp at the end.  Add matched value
for line number to the result list and insert it to the buffer.
(Info-fontify-node): Hide index line numbers.
(Info-goto-node): Replace "\\s *\\'" by "\\s +\\'" to not trim
empty matches.
(Info-follow-reference): Use `str' instead of
Info-following-node-name-re.
(Info-toc): Use full file names.  Set Info-current-node to "Top".
(Info-fontify-node): Compare file names without directory name.
(Info-try-follow-nearest-node): Don't set Info-reference-name.
Set second arg of Info-extract-menu-node-name for index nodes.
(info-xref-visited): Use magenta3 instead of magenta4.
(Info-mode): Add info-apropos to docstring.
2004-04-27 06:39:46 +00:00
Lars Hansen
9d9d10ec34 (Info-mode): Rename desktop-buffer-misc-data-function
to desktop-save-buffer.
2004-04-26 18:55:32 +00:00
Jesper Harder
82f1aca958 (info-apropos): Reset Info-complete-cache. 2004-04-25 14:08:02 +00:00
Lars Hansen
2a3f604d66 (Info-restore-desktop-buffer): Delete with-no-warnings. 2004-04-22 19:49:45 +00:00
Juri Linkov
89b064a999 Restore 2004-04-18 changes. 2004-04-21 22:23:25 +00:00
Stefan Monnier
508bce68ce (info-node, info-menu-5, info-xref, info-header-node)
(Info-title-1-face, Info-title-2-face, Info-title-3-face)
(Info-title-4-face): Use new syntax.
(info-xref-visited): Inherit from info-xref.
2004-04-21 20:54:19 +00:00
Lars Hansen
f3a45db0d1 (Info-restore-desktop-buffer): Move from desktop.el. Add Parameters.
(Info-desktop-buffer-misc-data): Move from desktop.el. Add parameter.
2004-04-21 20:51:06 +00:00
Juri Linkov
bf7d6fa785 (Info-find-file, Info-find-node-2): Add history and toc.
(Info-find-node-2): Simplify error message.
(Info-insert-dir): Use Info-following-node-name.
(Info-goto-node): Remove *info-history* and *info-toc*.
(Info-history): Create a node of the virtual history file.
(Info-toc): Create a node of the virtual toc file.
(Info-insert-toc): New arg `curr-file' for reference file names.
(info-apropos): Remove redundant var binding for temp-file.
(Info-index, Info-index-next, Info-mode): Doc fix.
(Info-goto-emacs-command-node): Don't jump to *info* from
non-*info* Info buffers.
(Info-fontify-node): Don't show the file name of external
references if `Info-hide-note-references' is `hide'.  Don't hide
newlines at the end of paragraphs.
2004-04-18 15:28:19 +00:00
Stefan Monnier
6070505443 (info): Always jump to *info*. 2004-04-14 18:39:52 +00:00
Jesper Harder
37600b6d00 (info-apropos): Don't clobber Info-history-list. 2004-04-14 15:58:30 +00:00
Juri Linkov
cd478f3d37 (Info-follow-reference): Allow multiline reference name. 2004-04-12 04:46:47 +00:00
Jesper Harder
7b30b20c7e (info-apropos): Improve menu item regexp. 2004-04-09 14:32:49 +00:00
Juri Linkov
8a7757f6f5 (Info-history): Doc fix.
(Info-history-list): New var.
(info-xref): Change magenta4 to blue, remove bold for dark and
light backgrounds, change bold to underline for non-color classes.
(info-xref-visited): New face.
(Info-fontify-visited-nodes): New custom.
(Info-hide-note-references): Add new value `hide'.  Doc fix.
(Info-reference-name): New var.
(Info-selection-hook): New custom.
(Info-edit-mode-hook): New var.
(Info-find-file): New fun.
(Info-find-node): Move part of code to Info-find-file.
(Info-find-node-2): Add anchors to Info-history-list.  Move point
to the place with the reference name if name is defined.
(Info-select-node): Add current node to Info-history-list.
(Info-goto-node): Switch to *info* from *info-history* *info-toc*.
(Info-search-whitespace-regexp): New custom.
(Info-search-case-fold): New var.
(Info-search): Add "case-sensitively" to the prompt.  Use
Info-search-whitespace-regexp.  Set Info-search-case-fold.
(Info-search-case-sensitively, Info-search-next): New fun.
(Info-up): Move point to the menu item of the current node.
(Info-history): New fun.  Add *info-history* to same-window-buffer-names.
(Info-toc): New fun.  Add *info-toc* to same-window-buffer-names.
(Info-insert-toc): New fun.
(Info-build-toc): New fun.
(Info-follow-reference): Add new arg `fork'.  Doc fix.
Replace [ \n\t]* by [ \n\t]+ in the *Note regexp.  For references
with the same name prefer the reference closest to point.
(Info-next-reference): Replace * by + in the *Note regexp.
Add regexp for http:// and ftp://.  Skip the *Note prefix.
(Info-prev-reference): Replace * by + in the *Note regexp.
Add regexp for http:// and ftp://.  Skip the *Note prefix.
(Info-follow-nearest-node): Add new arg `fork'.
(Info-try-follow-nearest-node): Add new arg `fork'.
Call browse-url for http:// and ftp:// references.
Set Info-reference-name for index entries.
(Info-mode-menu): Add menu items for Info-search-case-sensitively,
Info-search-next, Info-history, Info-toc, clone-buffer.
(Info-menu-update): Replace * by + in the *Note regexp.
(Info-mode): Add documentation for Info-history, Info-toc,
Info-search-case-sensitively, Info-search-next, clone-buffer.
(Info-fontify-menu-headers): Remove fun.  Move code to
Info-fontify-node.
(Info-fontify-node): Add docstring.  Add local vars
fontify-visited-p and not-fontified-p.  If not-fontified-p is t
then fontify header line, titles, menu headers, http and ftp
references, refill paragraphs.  If not-fontified-p is t or
fontify-visited-p is t then fontify cross references, menu items.
Fontify menu headers.  Fontify http and ftp references.  Change
regexp for cross references to require whitespace after *Note, add
matching groups for file and node names.  Remove hack for quote.
Use display property for Info-hide-note-references=t.  Use fifth
or fourth match for help-echo.  Display visited nodes in a
different face.  Unhide file names of external references.  Unhide
newlines.  Display visited menu items in a different face.
2004-04-08 03:44:34 +00:00
Juri Linkov
0c1b7af5c5 (Info-hide-cookies-node): New function.
(Info-select-node): Use it.
(Info-display-images-node): Remove message with image file name.
2004-04-08 03:12:16 +00:00
Jesper Harder
ab2f22adc0 (info-apropos): New function.
(Info-mode-menu): Add it.
(Info-find-node, Info-find-node-2): Grok apropos virtual file.
2004-04-05 12:40:56 +00:00
Stefan Monnier
f6b2b74d12 Fix copyright. 2004-03-22 17:12:16 +00:00