1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-16 09:50:25 +00:00
Commit Graph

490 Commits

Author SHA1 Message Date
Chong Yidong
ea71ffe83e * info.el (Info-index): Bind completion-ignore-case. 2006-09-07 20:45:19 +00:00
Chong Yidong
dc7ef9f02f * info.el (Info-fontify-node): Handle preceding `in' for note
reference hiding rules.
2006-08-08 17:45:42 +00:00
Richard M. Stallman
8aed3f67d3 (Info-try-follow-nearest-node): Doc fix. 2006-07-12 16:04:46 +00:00
Nick Roberts
bd82e91022 (Info-find-node-2): Search for makeinfo version more carefully. 2006-06-30 00:31:21 +00:00
Eli Zaretskii
fa62821e21 (Info-index-next): Use where-is-internal to report actual binding of
Info-index-next, rather than hard-coded `,'.
2006-05-26 20:09:58 +00:00
Eli Zaretskii
9ef5b4323d (info-apropos): Speed up by using add-to-list instead of manual consing. 2006-05-20 20:16:59 +00:00
Eli Zaretskii
59ad6ae53b (info-apropos): Make sure current-file and current-node have non-nil values. 2006-05-20 20:07:20 +00:00
Eli Zaretskii
6716bfa4e5 (Info-follow-nearest-node): Doc fix. 2006-04-08 10:11:18 +00:00
Ramprasad B
04d6dfe271 doumented for fork in (Info-follow-nearest-node &optional fork) 2006-04-03 17:35:59 +00:00
Juri Linkov
2d19a2a436 (Info-dir-remove-duplicates): Move point to the
beginning of the current line after deleting the entries from
redundant heading.  Use marker for `limit' and compare it with
point before calling `re-search-forward'.
2006-03-11 22:35:51 +00:00
Juri Linkov
9ca9f7f3f4 (Info-search): Don't bind search-spaces-regexp to
Info-search-whitespace-regexp in non-regexp isearch mode.
2006-02-23 21:41:41 +00:00
Juri Linkov
d73c9bcb79 (Info-search): Skip `Local Variables' node. 2006-02-17 21:55:44 +00:00
Juri Linkov
bec275ed0a (Info-find-file): Check for symbols apropos', history',
`toc' in the input filename, and return these symbols as is.
(Info-find-node-2): Set Info-current-file to symbols `apropos',
`history', `toc' instead of strings.
(Info-set-mode-line): For non-string Info-current-file use the
symbol's name inside **.
(Info-isearch-push-state): Add quote before Info-current-file and
Info-current-node.
(Info-isearch-pop-state): Use `equal' instead of `string='.
(Info-extract-pointer, Info-following-node-name): Use
`match-string-no-properties' instead of `match-string'.
(Info-up): Check `old-file' for `stringp'.
(Info-history): Use `equal' instead of `string-equal'.
Check `file' for `stringp'.
(Info-history): Use symbol `history' instead of string as first arg
of `Info-find-node'.
(Info-toc): Check `Info-current-file' for `stringp'.  Use symbol
`toc' instead of string.
(Info-extract-menu-node-name): Use `buffer-substring-no-properties'
instead of `buffer-substring', and `match-string-no-properties'
instead of `match-string'.
(Info-index-nodes): Check for symbols `apropos', `history', `toc'
instead of strings.
(info-apropos): Use `Info-find-node' instead of `Info-goto-node'.
Use symbol `apropos' instead of string.
(Info-copy-current-node-name): Check `Info-current-file' for
`stringp' and construct a command with `Info-find-node' from it.
(Info-fontify-node): Use `match-string-no-properties' instead of
`match-string' and check file names for `stringp'.
(Info-desktop-buffer-misc-data): Check for symbols `apropos',
`history', `toc' instead of strings.
2006-02-17 21:29:13 +00:00
Juri Linkov
fd5b25da6a (info-xref-visited): Inherit from info-xref too.
(Info-set-mode-line): Replace occurrences of `%' by `%%'
when propertizing Info-current-file and Info-current-node.
2006-02-13 15:44:01 +00:00
Richard M. Stallman
9012c084ef (Info-mode): Doc fix. 2006-02-12 20:29:57 +00:00
Thien-Thi Nguyen
aaef169dc6 Update years in copyright notice; nfc. 2006-02-06 15:23:23 +00:00
Eli Zaretskii
4a99f153c4 (Info-index, Info-mode): Improve the description of the `i' command. 2006-02-04 12:12:39 +00:00
Juri Linkov
de8ad208b1 (info-xref): Inherit from `link'.
(info-xref-visited): Inherit from `link-visited'.
2006-01-23 01:19:35 +00:00
Juri Linkov
96639c8970 (Info-revert-find-node): Check for Info-current-file
before preserving new-history.
2006-01-17 02:07:44 +00:00
Juri Linkov
8eafa1659b (Info-mode-line-node-keymap): New defvar.
(Info-set-mode-line): Use `stringp' to check Info-current-file.
Propertize Info-current-node with `mode-line-buffer-id' and
`mode-line-highlight' faces and `Info-mode-line-node-keymap'.
2006-01-16 23:54:02 +00:00
Richard M. Stallman
b0dd5bf5f4 (Info-find-node): Don't record previous node if have none.
(info): Go to directory only if history is empty.
2006-01-05 16:05:49 +00:00
Juri Linkov
9480725372 (info-other-window, info): Rename function argument
`file' to `file-or-node'.
(Info-complete-menu-item): Use local variable `complete-nodes' to
keep the global value of `Info-complete-nodes' unchanged for
subsequent completions.
(info-tool-bar-map): Put `Info-index' icon just before `Info-search'.
2005-12-23 21:52:00 +00:00
Juri Linkov
70f314248a (Info-read-node-name-1): In completion-base-size-function's
lambda return 1 if common-substring or minibuffer-completion-contents
starts with (, and 0 otherwise.
2005-12-16 19:09:20 +00:00
Richard M. Stallman
70746649f8 (Info-on-current-buffer): Doc fix.
(info-insert-file-contents): Don't test (featurep 'jka-compr).
2005-12-12 05:15:53 +00:00
Juri Linkov
a0c64f02e2 (Info-mode-map): Bind M-TAB to `Info-prev-reference'. 2005-12-08 07:45:51 +00:00
Chong Yidong
d8fbba2278 * info.el (Info-fontify-node): Match external links using
non-directory part of filename.
2005-12-04 04:31:59 +00:00
Jan Djärv
3c513c326e Move back/forward history at the beginning of the tool bar. 2005-12-02 15:07:15 +00:00
Juri Linkov
e4300bdfc8 (Info-fontify-node): Set 2nd arg noerror' of Info-find-file' to t. 2005-11-28 21:19:38 +00:00
Chong Yidong
d590dbd27a * info.el (Info-on-current-buffer): Record actual filename in
Info-current-file, instead of t, or a fake filename if a non-file
	buffer.  Make autoload.
	(Info-find-node, Info-revert-find-node): No need to check for
	Info-current-file nil.
	(Info-set-mode-line, Info-up, Info-copy-current-node-name):
	Info-current-file is now never `t'.
	(Info-fontify-node): Many simplifications due to Info-current-file
	always being valid.  Use Info-find-file to find node filename.
2005-11-25 16:35:34 +00:00
Romain Francoise
357e604527 (Info-speedbar-fetch-file-nodes): Prefix temporary buffer name with a
space.
2005-11-24 16:10:00 +00:00
Chong Yidong
98b37eab5d * info.el (Info-fontify-node): Handle the case where
Info-current-file is t.
2005-11-23 17:57:46 +00:00
Jan Djärv
db2cf961d7 New images for info. 2005-11-04 17:24:09 +00:00
Richard M. Stallman
e8e6694b12 (Info-fontify-node): Don't display extra "see" if there already is one here. 2005-11-03 21:38:35 +00:00
Juri Linkov
4dacf0ff4b (Info-fontify-node): Use `string-width' for fontifying underlined titles. 2005-11-01 10:04:19 +00:00
Juri Linkov
993159761a (Info-fontify-node): Downcase node header keywords Node,
Prev, Next, Up before comparison.
(Info-history): Insert absolute directory name, and put invisible
property on it.
2005-11-01 09:56:07 +00:00
Juri Linkov
94b10022bf (Info-file-supports-index-cookies): New variable.
(Info-find-node-2): Check makeinfo version for index cookie support.
(Info-index-nodes): Search for nodes with index cookies only when
Info-file-supports-index-cookies is t.  Otherwise, search nodes
with "Index" in the node name.
(Info-index-node): Search index cookie in the current node only when
Info-file-supports-index-cookies is t.  Otherwise, check the word
"Index" in the node name.
(Info-find-emacs-command-nodes): Remove code that searches nodes
with "Index" node name in the top menu.
2005-11-01 09:45:38 +00:00
Richard M. Stallman
d75baf1221 (Info-fontify-node): Fix detection of sentence-break before *Note. 2005-10-26 16:39:23 +00:00
Juri Linkov
05d36154bf (Info-index-next): Add total number of index alternatives to the message. 2005-10-21 08:49:46 +00:00
Bill Wohler
ffda926c9c Moved all remaining images from lisp/toolbar to etc/images, moved
lisp/toolbar/tool-bar to lisp and "deleted" lisp/toolbar. The low
resolution images were placed in their own directory (low-color).
Replaced underscore (_) in filenames with dash (-) per convention

* make-dist: Create and populate etc/images/low-color.

* admin/FOR-RELEASE (DOCUMENTATION): Removed lisp/toolbar from list
  since it's gone. Also marked mh-e as done.

* lisp/toolbar/attach.*, lisp/toolbar/cancel.*, lisp/toolbar/close.*:
* lisp/toolbar/copy.*, lisp/toolbar/cut.*, lisp/toolbar/diropen.*:
* lisp/toolbar/exit.*, lisp/toolbar/help.*, lisp/toolbar/home.*:
* lisp/toolbar/index.*, lisp/toolbar/info.*, lisp/toolbar/mail.*:
* lisp/toolbar/new.*, lisp/toolbar/open.*, lisp/toolbar/paste.*, *
* lisp/toolbar/preferences.*, lisp/toolbar/print.*, lisp/toolbar/save.*:
* lisp/toolbar/saveas.*, lisp/toolbar/search.*:
* lisp/toolbar/search-replace.*: lisp/toolbar/spell.*:
* lisp/toolbar/undo.*: Moved to etc/images.

* lisp/toolbar/lc-copy.*: Moved to etc/images/low-color/copy.*.
* lisp/toolbar/lc-cut.*: Moved to etc/images/low-color/cut.*.
* lisp/toolbar/lc-help.*: Moved to etc/images/low-color/help.*.
* lisp/toolbar/lc-home.*: Moved to etc/images/low-color/home.*.
* lisp/toolbar/lc-index.*: Moved to etc/images/low-color/index.*.
* lisp/toolbar/lc-new.*: Moved to etc/images/low-color/new.*.
* lisp/toolbar/lc-open.*: Moved to etc/images/low-color/open.*.
* lisp/toolbar/lc-paste.*: Moved to etc/images/low-color/paste.*.
* lisp/toolbar/lc-preferences.*: Moved to etc/images/low-color/preferences.*.
* lisp/toolbar/lc-print.*: Moved to etc/images/low-color/print.*.
* lisp/toolbar/lc-save.*: Moved to etc/images/low-color/save.*.
* lisp/toolbar/lc-saveas.*: Moved to etc/images/low-color/saveas.*.
* lisp/toolbar/lc-search.*: Moved to etc/images/low-color/search.*.
* lisp/toolbar/lc-spell.*: Moved to etc/images/low-color/spell.*.
* lisp/toolbar/lc-undo.*: Moved to etc/images/low-color/undo.*.

To conform with convention, the underscore (_) in the following image
names were replaced with dash (-) or (/) as appropriate.

* lisp/toolbar/back_arrow.*: Moved to etc/images/back-arrow.*.
* lisp/toolbar/fld_open.*: Moved to etc/images/fld-open.*.
* lisp/toolbar/fwd_arrow.*: Moved to etc/images/fwd-arrow.*.
* lisp/toolbar/jump_to.*: Moved to etc/images/jump-to.*.
* lisp/toolbar/left_arrow.*: Moved to etc/images/left-arrow.*.
* lisp/toolbar/right_arrow.*: Moved to etc/images/right-arrow.*.
* lisp/toolbar/up_arrow.*: Moved to etc/images/up-arrow.*.
* lisp/toolbar/lc-back_arrow.*.: Moved to etc/images/low-color/back-arrow.*.
* lisp/toolbar/lc-fwd_arrow.*.: Moved to etc/images/low-color/fwd-arrow.*.
* lisp/toolbar/lc-jump_to.*: Moved to etc/images/low-color/jump-to.*.
* lisp/toolbar/lc-left_arrow.*.: Moved to etc/images/low-color/left-arrow.*.
* lisp/toolbar/lc-right_arrow.*.: Moved to etc/images/low-color/right-arrow.*.
* lisp/toolbar/lc-up_arrow.*: Moved to etc/images/low-color/up-arrow.*.
* lisp/toolbar/mail_compose.*.: Moved to etc/images/mail/compose.*.
* lisp/toolbar/mail_send.*: Moved to etc/images/mail/send.*.

* lisp/info.el (info-tool-bar-map): Replaced underscores in image
names with dashes.

* lisp/makefile.w32-in (WINS): Removed toolbar.

* lisp/menu-bar.el: Replaced toolbar/tool-bar.el with tool-bar.el in
comment.

* lisp/tool-bar.el: Moved to lisp from lisp/toolbar. Now that
lisp/toolbar is empty, it should be deleted when folks run "cvs up
-P".

* etc/images/README: Incorporated the content of lisp/toolbar/README
now that all of the images are here.
2005-10-17 22:21:06 +00:00
Stefan Monnier
a73db543bf (Info-fontify-node): Use dolist.
(Info-fontify-node): Change add-text-properties to put-text-property.
2005-10-16 14:12:03 +00:00
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