1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-29 07:58:28 +00:00
Commit Graph

353 Commits

Author SHA1 Message Date
Kim F. Storm
08eba4dc5e (Info-fontify-node): Don't refill over lines ending in a
period; this should fix problems with lists like one in the
(emacs)Library Keywords section.
2003-06-05 23:23:53 +00:00
Luc Teirlinck
c2a87d7439 (Info-mode): Mention c' and remove duplicate mention of q' in
documentation string.
2003-06-05 19:11:42 +00:00
Kim F. Storm
192b65f581 (Info-fontify-node): Individually refill menus and
paragraphs to preserve menu items and varying indentation.
Only color first 9 menu items differently.
2003-06-04 23:15:29 +00:00
Stefan Monnier
a1637357dc (Info-extract-menu-node-name): Remove unused arg `errmessage'.
(Info-follow-reference): Update corresponding call.
(Info-node-spec-re): New const.
(Info-complete-menu-item): Use it to only allow : when necessary.
(Info-fontify-node): USe it as well.  Fixup typo.
2003-06-03 21:44:53 +00:00
Stefan Monnier
472d38201d (info-fontify-node): Use better help-echo text. 2003-06-03 20:56:59 +00:00
Stefan Monnier
0c3aa29ef8 (Info-fontify-node): Use :align-to display prop.
Use `invisible' rather than `display' prop to hide text.
2003-06-03 20:28:21 +00:00
Stefan Monnier
dde7f979b8 (Info-mode-hook): Obey obsolete `Info-fontify'.
(Info-find-in-tag-table-1): Remove unused vars.
(Info-display-images-node): Remove unused var paragraph-markers.
(Info-header-line): Remove.
(Info-select-node): Don't set it.
(Info-search): Remove unused var `current'.
(Info-follow-reference): Remove unused var `beg'.
(Info-extract-menu-node-name): Remove unused var `i'.
(Info-complete-menu-item): Use `with-current-buffer'.
(Info-index): Remove unused var `rnode'.
(Info-mode): Set header-line-format to check text-properties directly.
(Info-find-emacs-command-nodes): Remove unused var `found' and `exact'.
(Info-fontify-node): Use `push'.
(Info-speedbar-hierarchy-buttons): Use `dolist'.
(Info-speedbar-goto-node, Info-speedbar-fetch-file-nodes):
Check the return value of `string-match'.
(Info-speedbar-fetch-file-nodes): Factor out common code.
2003-06-03 19:54:42 +00:00
Stefan Monnier
75a756f147 (Info-fontify-node): Hide \n------- rather than -------\n. 2003-05-28 22:53:08 +00:00
Richard M. Stallman
201bc1bdf6 (Info-index): Add autoload cookie. 2003-05-28 11:20:42 +00:00
Karl Berry
ec9b13721d new image display support, from janneke 2003-04-25 23:17:06 +00:00
Stefan Monnier
3a59b662bd (Info-default-dirs): New fun extracted from Info-initialize.
(info-initialize): Use it.  Obey the "final :" convention for INFOPATH.
2003-04-21 17:40:19 +00:00
Masatake YAMATO
fafb00dc11 (Info-goto-emacs-command-node): If command
is given as a string, convert it to a symbol.
2003-04-05 18:01:14 +00:00
Andreas Schwab
4e5f958e73 (Info-extract-menu-node-name)
(Info-following-node-name): Revert last change.
2003-03-10 13:04:10 +00:00
Andreas Schwab
2fb3c00b46 (Info-following-node-name): Skip trailing period.
(Info-extract-menu-node-name): Allow period in node name.
2003-03-07 11:34:40 +00:00
Andreas Schwab
0452a274d2 (Info-fontify-node): Don't hide indentation before the
reference name.  Don't process a reference twice when a new tag is
inserted.
(Info-hide-note-references): Fix doc and customize type.
2003-03-02 23:33:56 +00:00
Andreas Schwab
e9d3d47f9c (Info-extract-menu-node-name): Stop if colon is
followed by open paren.
2003-02-20 12:40:36 +00:00
Juanma Barranquero
d0b560c61f (Info-follow-nearest-node): Implement new behavior. 2003-02-10 11:41:09 +00:00
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