1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-26 07:33:47 +00:00
Commit Graph

366 Commits

Author SHA1 Message Date
Richard M. Stallman
774f8aee6f (Info-search): If find invisible text, search again. 2003-07-07 21:03:32 +00:00
Stefan Monnier
00d32b3f98 (Info-menu): Use Info-menu-entry-name-re. 2003-07-07 14:46:00 +00:00
Stefan Monnier
dc92db4ef6 (Info-menu-entry-name-re): Disallow : again: I misunderstood the problem. 2003-07-06 17:00:41 +00:00
Stefan Monnier
2760913103 (Info-menu-entry-name-re): Be careful to avoid multiple ways
to match the same text.  Allow : after : again.
2003-07-06 16:35:23 +00:00
Kim F. Storm
cf90703fc4 (Info-menu-entry-name-re): Add `:' to second [] part.
This should fix the infinite loop when extracting menu names.
2003-07-06 11:47:04 +00:00
Stefan Monnier
c60c12be4c (Info-following-node-name-re): New fun.
(Info-following-node-name): Remove.
(Info-insert-dir): Use the new fun.
(Info-extract-pointer): Don't save restriction; use new fun.
(Info-menu-entry-name-re): New const.
(Info-menu-entry-name-re): Use it along with new fun.
(Info-node-spec-re): Use new fun.
(Info-complete-menu-item, Info-fontify-node): Use new const.
(Info-goto-node, Info-follow-reference, Info-menu-update):
Use match-string.
(Info-follow-reference): Use assoc-string.
Use a list of strings for the completion table.
(Info-fontify-node): Use match-string, line-end-position.
Limit the search for `node:' to the first line.
2003-07-04 23:05:35 +00:00
Kim F. Storm
bb1e1730ec Disable paragraph refilling.
(Info-refill-paragraphs): New defcustom.
(Info-fontify-node): Use it.
2003-07-04 21:40:22 +00:00
Luc Teirlinck
610bc96b14 (Info-fontify-menu-headers): Only fontify `* Menu:' at the beginning
of a line.
(Info-extract-menu-node-name): Correctly initialize while loop.
(Info-scroll-prefer-subnodes): Change default to nil.
2003-07-02 00:57:20 +00:00
Andreas Schwab
fb020fe894 (Info-fontify-node): Improve calculation of other-tag. 2003-06-19 20:56:49 +00:00
Luc Teirlinck
2e49e8e850 (Info-fontify-node): Give only the last whitespace character after the
node name the display property.  Give all other such whitespace the
invisibility property.
2003-06-18 03:03:23 +00:00
Kim F. Storm
79ff129679 (Info-fontify-node): Make `invisible' property
non-sticky so that whitespace added by filling stays visible.
Make refilling less agressive by starting at beginning of current
line rather than beginning of current paragraph.
2003-06-09 22:00:34 +00:00
Lute Kamstra
0defe75805 (Info-complete-menu-item): Revert change of 2003-06-03. 2003-06-06 16:13:31 +00:00
Andreas Schwab
b038485e9a (Info-select-node): Doc fix. 2003-06-06 12:28:16 +00:00
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