1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-16 19:00:55 -08:00
Commit graph

736 commits

Author SHA1 Message Date
Kim F. Storm
d656c0bc64 (Info-extract-menu-node-name): Another fix for
2003-01-24 change.  Also stop search if : is followed by TAB.
2003-01-28 12:08:36 +00:00
Kim F. Storm
ab5a535caa (info-insert-file-contents) [!MSDOS]: Avoid byte-compiler warning.
(Info-find-node) [!MSDOS]: Avoid byte-compiler warning.
2003-01-26 18:04:55 +00:00
Kim F. Storm
66777a9012 (Info-extract-menu-node-name): Fix 2003-01-24 change.
Don't search for next colon if current colon is followed by
one of ".", ",", ";", or ")".
2003-01-26 17:51:53 +00:00
Thien-Thi Nguyen
505b68d57d (Info-extract-menu-node-name): When looking for end of
menu item, don't stop at first ":"; instead, continue
until trailing context is either a space or newline.
(Info-complete-menu-item): Change var `pattern' to allow ":" in menu item.
(Info-menu): Likewise, for regexp used in backwards search.
(Info-try-follow-nearest-node): Remove case added in previous edit.
Instead, change the regexp in the following case to allow ":" in menu item.
(Info-fontify-node): Fix bug: Handle `next-property-change' returning
point-max as "hasn't already been done".
2003-01-25 02:45:12 +00:00
Thien-Thi Nguyen
921e5fe690 (Info-try-follow-nearest-node): Add case: Handle menu item
terminated by ": " as an index entry.
2003-01-25 00:53:58 +00:00
Karl Berry
35ab7deba3 (Info-index): change pattern so that index entries
with colons can be read properly; also, require at
least one space after the colons, which makeinfo
puts in.  From: Aubrey Jaffer <agj@alum.mit.edu>,
7 Nov 2002 21:16:12 -0500, sent to bug-texinfo.
2003-01-22 20:35:23 +00:00
Kai Großjohann
c702ed7343 (Info-index-next): Use "(`,' tries to find next)" for
more matches for consistency with standalone info browser.
2003-01-22 10:43:36 +00:00
Miles Bader
271f4a9e80 (Info-complete-menu-item): Make `Info-complete-cache' a buffer-local variable. 2002-12-27 04:09:53 +00:00
Richard M. Stallman
f584b4c796 (Info-revert-find-node): New function. 2002-12-22 22:04:51 +00:00
John Paul Wallington
2504650303 (Info-dir-remove-duplicates): Avoid infloop when
deleting last entry.
2002-12-18 05:16:09 +00:00
Miles Bader
1bd19a3105 (Info-insert-dir): Make dir-node-cache variables buffer-local, so that
killing the *info* buffer forces the dir-node to be rebuilt.
2002-12-06 09:10:19 +00:00
Richard M. Stallman
e9b1d99656 (Info-additional-directory-list): Doc fix. 2002-11-29 15:07:49 +00:00
Kim F. Storm
6a545cc7fe (Info-fontify-node): New local list paragraph-markers.
Record markers for mangled *note references on that list.
When done, go back through those markers and fill each mangled
paragraph with `fill-nobreak-invisible' let-bound to t.
Don't use `display' property; insert "see" directly in buffer.
2002-11-13 23:35:10 +00:00
Kim F. Storm
4991d7039d (Info-fontify-node): Fixed hiding of *note references
with embedded file names like (xxx.yyy).
Avoid making any lines visibly longer if hiding newlines inside
note references by wrapping line after references if it contained
a newline (unfortunaly this makes more lines appear "shorter").
Properly reindent multi-line menu entry descriptions.
2002-11-05 22:39:07 +00:00
Stefan Monnier
6af7040d52 (Info-streamline-headings): New var.
(Info-dir-remove-duplicates): New fun.
(Info-insert-dir): Use it.  Simplify the code with push,mapc,dolist.
(Info-select-node): Simplify handling of Info-header-line.
(Info-forward-node): Undo 2000/12/15 since we don't narrow any more.
(Info-mode): Set header-line-format once and for all.
(Info-fontify-node): Accept bogus first line with `File:' missing.
Only make first line invisible if Info-use-header-line.
Don't use `intangible': it's evil.  Use inhibit-read-only.
(Info-follow-reference, Info-next-reference, Info-prev-reference)
(Info-try-follow-nearest-node): Don't bind inhibit-point-motion-hooks
since we don't use intangible any more.
2002-11-03 12:01:33 +00:00
Kim F. Storm
5f812a3c68 (Info-hide-note-references): nil value now does no
reformatting at all.  New choice 'tag reformats tag but shows
the section reference.
(Info-fontify-node): Use it.
2002-11-01 22:48:12 +00:00
Kim F. Storm
a9efebd0ba (Info-hide-note-references): New defcustom.
(Info-fontify-node): Use it.
2002-11-01 08:53:50 +00:00
Kim F. Storm
9cb65411e1 (Info-follow-reference, Info-next-reference)
(Info-prev-reference, Info-try-follow-nearest-node): Bind
inhibit-point-motion-hooks to t while parsing reference.
(Info-fontify-node): When font-lock-mode is enabled, display
"*note" and "* menu" references in a more user friendly format.
2002-10-31 22:08:03 +00:00
John Paul Wallington
3a8803c0be (Info-next-menu-item, Info-last-menu-item)
(info-emacs-manual): Add docstrings.
(Info-index): Use `string-to-number' instead of `string-to-int'.
2002-10-08 04:57:27 +00:00
Richard M. Stallman
3d12b3310a (Info-mode): Add font-lock-defontify to change-major-mode-hook. 2002-09-10 16:44:37 +00:00
Richard M. Stallman
112211d158 (Info-search): Add (point-min) to subfile positions
to get them right.  Skip the current subfile using forward-line.
2002-09-09 19:24:53 +00:00
Richard M. Stallman
f2fc5b0a05 (Info-find-index-name): Improve last change. 2002-07-29 01:48:52 +00:00
Richard M. Stallman
d31c6ecfb5 (Info-find-index-name): Search for a function definition with a return type. 2002-07-25 18:20:51 +00:00
Richard M. Stallman
c37177464c (info-emacs-manual): New function.
(Info-use-header-line): Doc fix.
2002-07-12 17:41:54 +00:00
Juanma Barranquero
fc4d14c5d4 (Info-directory-list): Fix docstring. 2002-07-08 09:34:49 +00:00
Richard M. Stallman
b34dcc822f Indentation change. 2002-07-02 19:01:59 +00:00
Richard M. Stallman
aebd1760c0 (Info-index): Get immediate error if used in `dir'. 2002-07-01 07:48:12 +00:00
Juanma Barranquero
ccfb7415f0 (info-menu-5): Fix documentation.
(Info-fontify-maximum-menu-size): Remove reference to `Info-fontify'.
2002-06-26 13:11:28 +00:00
Richard M. Stallman
efb21aabfa (Info-fontify-node): Compute header line specially
if node has no next, previous or up links.
Hide the part of the first line that is used in the header.
Use Info-next-link-keymap, etc.
(Info-next-link-keymap, Info-prev-link-keymap)
(Info-up-link-keymap): New variables.
2002-06-12 15:50:25 +00:00
Richard M. Stallman
246a06d339 (Info-select-node): Turn header line on or off here.
(Info-setup-header-line): Function deleted.
(Info-mode): Make Info-header-line local.
(Info-fontify-node): Ignore Info-use-header-line.
Unconditionally compute what the header line should be, and
store it on the `header-line' property of the node's first char.
Bind [header-line down-mouse-1].
Use `keymap' property, not `local-map'.
Bind [mouse-2] for mouse clicks on the node line in the text.
2002-06-12 12:20:17 +00:00
Colin Walters
5186b4bdfd Update copyright date. 2002-06-12 04:56:05 +00:00
Colin Walters
94a0f9e063 (Info-mode): Don't set `font-lock-defaults'. 2002-06-12 04:55:21 +00:00
Colin Walters
4d1b2f822a (Info-mode): Do set `font-lock-defaults', and be sure to set
`font-lock-core-only'.
2002-06-09 00:18:15 +00:00
Colin Walters
2a3f98a15a (Info-mode): Don't set up categories.
(Info-fontify-menu-headers): Use `font-lock-face' instead of categories.
(Info-fontify-node): Ditto.
2002-06-08 20:43:25 +00:00
Richard M. Stallman
f4e81d49d4 (Info-extract-pointer): Ignore Info-header-line. 2002-06-03 22:57:40 +00:00
Richard M. Stallman
74dde8ad92 (Info-setup-header-line): Don't hide the links line. 2002-05-29 16:35:56 +00:00
Colin Walters
57190f92af (Info-mode-hook): Change font-lock-mode' to turn-on-font-lock'. 2002-05-23 03:39:20 +00:00
Colin Walters
544e5562dc (Info-fontify): Deleted.
(Info-select-node): Don't use it.
(Info-mode-hook): New variable.
(Info-mode): Set up categories.
(Info-fontify-menu-headers, Info-fontify-node): Use categories.
2002-05-21 22:22:10 +00:00
Pavel Janík
2ad631282d (Info-mode-map): Bind `c' to Info-copy-current-node-name. 2002-05-08 14:42:10 +00:00
Stefan Monnier
365d2503ce (Info-find-in-tag-table-1, Info-read-subfile): Use point-min.
(Info-read-node-name-1): Complete file names.
(Info-complete-menu-item): Don't cons unnecessarily.
2002-04-30 02:08:56 +00:00
Richard M. Stallman
c793c600a0 (Info-header-line): Mark it as risky-local-variable. 2002-04-27 20:16:17 +00:00
Richard M. Stallman
df6aed9925 (info-tool-bar-map): Use tool-bar-local-item-from-menu. 2002-04-01 16:27:59 +00:00
Richard M. Stallman
24f6a98765 (Info-fontify-node): Bind up-clicks, not down-clicks.
Put the mouse-face on the entire xref, like the local keymap.
2002-03-08 09:39:16 +00:00
Richard M. Stallman
58b64ac7d9 (various face definitions): Use :weight and :slant. 2001-12-31 20:43:36 +00:00
Richard M. Stallman
6b7eef5cad (Info-fontify-node): For a **** underline line, put the
invisible and intangible props on the following newline, but not
on the previous newline or the last char of the previous line.
2001-12-30 19:45:41 +00:00
Pavel Janík
e8042313fc (Info-mode): Reindent the doc-string. 2001-12-29 18:02:49 +00:00
Eli Zaretskii
066d7e2e72 (Info-fontify-node): Remove any local-map text properties left
over from past visits to this node.
2001-12-21 19:31:06 +00:00
Eli Zaretskii
4dcd20ec59 (Info-select-node): If Info-use-header-line is nil, set
header-line-format to nil.
(Info-fontify-node): Don't put a keymap text property on the
heading if we are not going to display the header line.
2001-12-21 18:38:52 +00:00
Stefan Monnier
2d12f5c2dc Add explanatory comment. 2001-12-03 04:26:43 +00:00
Stefan Monnier
f7d5479b3d (Info-find-node-2): Don't call info-insert-file-contents
with the `visit' argument.
(Info-extract-menu-node-name): Use `replace-regexps-in-string'.
2001-11-30 23:59:28 +00:00