1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-26 15:21:51 -08:00
Commit graph

445 commits

Author SHA1 Message Date
Juri Linkov
69672704ae (Info-insert-dir): Use save-excursion around insert-buffer-substring.
(Info-isearch-search): Use LITERAL arg of replace-regexp-in-string.
(Info-escape-percent): Delete function.
(Info-fontify-node): Replace Info-escape-percent by
replace-regexp-in-string with REP arg set to lambda that
duplicates `%' and preserves text properties.
2005-08-22 19:53:46 +00:00
Andreas Schwab
9e7357b07a Revert last change. 2005-08-14 23:45:46 +00:00
Thien-Thi Nguyen
7806e5737a Fix dependency bug: Wrap `desktop-buffer-mode-handlers'
modification in `eval-after-load' form.
2005-08-14 17:36:02 +00:00
Lars Hansen
80123c9ecb Add handler to desktop-buffer-mode-handlers.
(Info-restore-desktop-buffer): Remove autoload cookie.
(Info-mode): Add autoload cookie.
2005-08-10 19:39:51 +00:00
Juri Linkov
185cff9545 Replace info' with upper-case Info' where appropriate.
(info-title-1, info-title-2, info-title-3, info-title-4)
(info-menu-header): Move up face definitions.
(info-menu-star): Rename from `info-menu-5'.
(Info-fontify-node): Replace `info-menu-5' with `info-menu-star'.
(Info-fontify-visited-nodes): Fix docstring.
(Info-hide-note-references): Fix docstring.
(Info-up, Info-next-reference, Info-prev-reference): Put cursor on
menu items in the same way as on cross-references.
(info-apropos): Fix sorting order and formatting to be like in the
stand-alone Info browser.  Display error messages for 1 sec.
(Info-mode-map): Move down `c' key binding.  Bind `^' to `Info-up'.
(Info-mode-menu): Remove item for `Info-search-case-sensitively'
from the menu bar.
(Info-insert-dir): Restore point after calling `insert-buffer-substring'.
2005-08-09 08:43:02 +00:00
Richard M. Stallman
d3c1cf729f (Info-insert-dir): Use insert-buffer-substring. 2005-08-09 02:52:39 +00:00
Thien-Thi Nguyen
b499789ca4 (Info-dir-remove-duplicates): Avoid case folding in loop;
instead, keep downcased strings for comparison.
2005-08-08 00:20:19 +00:00
Thien-Thi Nguyen
0d30b33766 Update years in copyright notice; nfc. 2005-08-06 22:13:43 +00:00
Juri Linkov
7167232846 (info-xref-visited): Use light foreground color `violet'
for dark backgrounds instead of dark color `magenta3'.
(info-title-1): Use `yellow' color for dark backgrounds.
2005-07-19 11:35:34 +00:00
Lute Kamstra
086add1519 Update FSF's address. 2005-07-04 23:32:44 +00:00
Juanma Barranquero
db90d22569 (Info-history, Info-history-forward, Info-history-list,
Info-speedbar-fetch-file-nodes): Doc fixes.
2005-07-04 09:36:02 +00:00
Juanma Barranquero
fc039bdc36 (info): Finish `defgroup' description with period.
(Info-summary): "?\ " -> "?\s".
2005-07-04 02:12:31 +00:00
Richard M. Stallman
f4f2bca3de (tool-bar-map): Add defvar. 2005-07-03 16:11:30 +00:00
Juanma Barranquero
e37c185467 (Info-hide-cookies-node): Fix spelling in docstrings. 2005-06-16 16:07:02 +00:00
Miles Bader
a335c06e06 Revision: miles@gnu.org--gnu-2005/emacs--cvs-trunk--0--patch-378
Remove "-face" suffix from and downcase info faces

2005-06-10  Miles Bader  <miles@gnu.org>

   * lisp/info.el (info-title-1, info-title-2, info-title-3)
   (info-title-4): Remove "-face" suffix from and downcase face names.
   (Info-title-1-face, Info-title-2-face, Info-title-3-face)
   (Info-title-4-face):
   New backward-compatibility aliases for renamed faces.
   (Info-fontify-node): Use renamed info faces.
2005-06-10 08:58:53 +00:00
Richard M. Stallman
a89da416f5 (Info-read-node-name-2): New function.
(Info-read-node-name-1): Use that.
Add a completion-base-size-function property.
2005-06-06 12:47:51 +00:00
Juri Linkov
c04ed304e6 (Info-title-1-face): Use green instead of yellow because
bold yellow is not readable on light backgrounds.
2005-06-06 12:26:07 +00:00
Stefan Monnier
83040cb099 (Info-goto-node): Revert autoload addition (2004-06-12). 2005-05-27 16:19:36 +00:00
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