Commit graph

700 commits

Author SHA1 Message Date
Stefan Monnier
de22f49c43 (Info-fontify-node): Don't be fooled by a lone "...".
Don't hide the underline of titles if font-lock-mode is disabled.
2005-10-12 19:47:24 +00:00
Juri Linkov
8300a5b5c7 (Info-mode-menu): Delete menu item "Edit".
(Info-mode): Delete description of Info-edit from docstring,
and rearrange descriptions of Info commands in the order
they are documented in the Info manual.
2005-10-11 05:47:55 +00:00
Chong Yidong
222a6c9b7f * info.el (Info-next, Info-prev, Info-up): Select info buffer, in
case the user clicks on the link while another window is selected.
	(Info-speedbar-hierarchy-buttons): Use speedbar-current-frame.

	* dframe.el (dframe-update-keymap): Use mouse-1-click-follows-link
	functionality.
	(dframe-help-echo): Save point in case mouse tracking is off.
2005-10-04 14:06:44 +00:00
Chong Yidong
24bbdbefcc * speedbar.el: Remove RCS tag.
(speedbar-check-read-only): Handle non-existent files.

	* dframe.el, ezimage.el, sb-image.el: Remove RCS tags.

	* info.el (Info-speedbar-hierarchy-buttons)
	(Info-speedbar-goto-node): Call speedbar-select-attached-frame.
2005-10-02 03:11:03 +00:00
Romain Francoise
5b76833fd5 2005-09-24 Emilio C. Lopes <eclig@gmx.net>
* woman.el (woman-file-name):
	* wid-edit.el (widget-file-prompt-value)
	(widget-coding-system-prompt-value):
	* w32-fns.el (set-w32-system-coding-system):
	* vc.el (vc-version-diff, vc-annotate):
	* textmodes/reftex-auc.el (reftex-arg-cite)
	(reftex-arg-index-tag):
	* textmodes/refer.el (refer-get-bib-files):
	* textmodes/artist.el (artist-figlet-choose-font):
	* terminal.el (terminal-emulator):
	* replace.el (occur-read-primary-args):
	* rect.el (string-rectangle, string-insert-rectangle):
	* ps-print.el (ps-print-preprint):
	* progmodes/pascal.el (pascal-goto-defun):
	* progmodes/etags.el (visit-tags-table, visit-tags-table-buffer):
	* progmodes/compile.el (compilation-find-file):
	* printing.el (pr-interactive-n-up):
	* play/animate.el (animate-birthday-present):
	* net/rcompile.el (remote-compile):
	* man.el (man, Man-goto-section, Man-follow-manual-reference):
	* mail/rmailsum.el (rmail-summary-search-backward)
	(rmail-summary-search):
	* mail/rmailout.el (rmail-output-read-rmail-file-name)
	(rmail-output-read-file-name):
	* mail/rmail.el (rmail-search, rmail-search-backwards):
	* mail/mailabbrev.el (merge-mail-abbrevs, rebuild-mail-abbrevs):
	* locate.el (locate):
	* international/quail.el (quail-show-keyboard-layout):
	* international/mule.el (set-buffer-file-coding-system)
	(revert-buffer-with-coding-system, set-file-name-coding-system)
	(set-terminal-coding-system, set-keyboard-coding-system)
	(set-next-selection-coding-system):
	* international/mule-diag.el (describe-coding-system)
	(describe-font, describe-fontset):
	* international/mule-cmds.el (universal-coding-system-argument)
	(search-unencodable-char, describe-input-method)
	(set-language-environment, describe-language-environment):
	* international/codepage.el (codepage-setup):
	* international/code-pages.el (codepage-setup):
	* info.el (Info-search, Info-follow-reference)
	(Info-search-backward):
	* emacs-lisp/advice.el (ad-read-advised-function)
	(ad-read-advice-class, ad-clear-cache, ad-activate)
	(ad-deactivate, ad-update, ad-unadvise, ad-read-advice-name)
	(ad-enable-advice, ad-disable-advice, ad-remove-advice)
	(ad-read-regexp):
	* ediff-util.el (ediff-toggle-regexp-match):
	* ediff-ptch.el (ediff-prompt-for-patch-file):
	* dired-aux.el (dired-diff):
	* diff.el (diff):
	* cus-edit.el (custom-variable-prompt):
	* calendar/timeclock.el (timeclock-ask-for-project):
	* calc/calcalg3.el (calc-get-fit-variables):
	* calc/calc-store.el (calc-edit-variable)
	(calc-permanent-variable):
	* vc-mcvs.el (vc-mcvs-register):
	* shadowfile.el (shadow-define-literal-group):
	* woman.el (woman-file-name):
	* vc.el (vc-version-diff, vc-merge):
	* textmodes/reftex-index.el (reftex-index-complete-tag):
	* format.el (format-decode-buffer, format-decode-region):
	* emulation/viper-cmd.el (viper-read-string-with-history):
	* emacs-lisp/debug.el (cancel-debug-on-entry):
	* emacs-lisp/checkdoc.el (checkdoc-this-string-valid-engine):
	* ediff.el (ediff-merge-revisions)
	(ediff-merge-revisions-with-ancestor, ediff-revision):
	* completion.el (interactive-completion-string-reader):
	* calc/calc-prog.el (calc-user-define-formula):
	Follow convention for reading with the minibuffer.
2005-09-24 13:44:02 +00:00
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