Commit graph

53 commits

Author SHA1 Message Date
Robert J. Chassell
12b795e1a4 (texinfo-multi-file-update): update documentation to state that
you can include any file, including those without node lines; and
the latter do not have menu entries created for them.
2004-01-10 15:18:29 +00:00
Robert J. Chassell
8da9865a7a (texinfo-menu-copy-old-description): do not copy `@detailmenu' or
`@end menu' as descriptions!
2004-01-10 15:01:51 +00:00
Robert J. Chassell
d7fc69d16f (texinfo-multi-file-update): create a new list of included files,
called `files-with-node-lines', that only have node lines.  This way
@include commands can include any file, such as version and update
files without node lines, not just files that are chapters.
2003-12-25 20:20:50 +00:00
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Andreas Schwab
64a1ba1846 Revert last change. 2002-03-09 20:11:46 +00:00
Andreas Schwab
6b997f0825 Change Maintainer to FSF. 2002-03-08 19:31:38 +00:00
Robert J. Chassell
a056c2c7fa (texinfo-insert-menu): specify previously free variable `level' in a
`let' statement, as done elsewhere.

(texinfo-sequentially-find-pointer): replace unneeded free variable
`beginning' with (point-min) expression.
2002-03-03 17:30:07 +00:00
Andreas Schwab
857b864af1 (texinfo-start-menu-description): Remove extra paren in regexp. 2002-03-01 16:02:42 +00:00
Robert J. Chassell
70e2c6a475 (texinfo-insert-menu): Explain in doc string that
descriptions are indented, and that menus without
descriptions will contain trailing whitespace instead;
argue for importance of descriptions.

(texinfo-all-menus-update, texinfo-master-menu,texinfo-make-menu)
Also, note reason for indentation in doc string.
2002-02-20 17:39:38 +00:00
Stefan Monnier
b9f6016110 Use when', dolist', `push', ...
(texinfo-update-node, texinfo-sequential-node-update):
Don't bind the obsolete `auto-fill-hook'.
(texinfo-multi-file-included-list,texinfo-multi-file-master-menu-list):
Use `set-buffer' rather than `switch-to-buffer'.
(texinfo-multi-file-update): Use "Top" rather than `up-node-name'.
Use `set-buffer' rather than `switch-to-buffer'.
2001-10-28 03:24:14 +00:00
Stefan Monnier
739da9251a (texinfo-section-types-regexp)
(texinfo-section-level-regexp, texinfo-subsection-level-regexp)
(texinfo-subsubsection-level-regexp)
(texinfo-update-menu-same-level-regexps)
(texinfo-update-menu-higher-regexps)
(texinfo-update-menu-lower-regexps): Moved to eliminate warnings.
2001-10-25 03:39:43 +00:00
Eli Zaretskii
5b02e71299 Remove dots and exclams from end of error messages. From Pavel Janik. 2001-08-26 16:49:59 +00:00
Gerd Moellmann
8039284a4a (texinfo-every-node-update): Remove
some space from a message.  From Pavel Jan,Bm(Bk  <Pavel@Janik.cz>.
2001-08-20 10:36:41 +00:00
Gerd Moellmann
21324fae4a Update copyright notice, fix minor
typos.
(texinfo-find-lower-level-node, texinfo-find-higher-level-node)
(texinfo-menu-locate-entry-p, texinfo-start-menu-description)
(texinfo-update-menu-region-beginning)
(texinfo-update-menu-region-end, texinfo-find-pointer): Add new
command, @ifnottex, to regexps, so it is found.
2001-08-16 17:59:38 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Stefan Monnier
40153a944e (texinfo-update-menu-lower-regexps):
Fix the named and regexp used for subsubsections.
2001-03-11 18:57:19 +00:00
Stefan Monnier
5002ddbb2e (texinfo-chapter-level-regexp)
(texinfo-filter): Removed (moved to texinfo.el).
2000-12-08 16:35:24 +00:00
Stefan Monnier
6f602bd063 Require texinfo.
(defmacro, defgroup): Remove.
(texinfo-section-to-generic-alist): Remove.
Use texinfo-section-list instead (i.e. level is changed string->int).
(texinfo-filter): New function.
(texinfo-chapter-level-regexp, texinfo-subsubsection-level-regexp)
(texinfo-subsection-level-regexp, texinfo-section-level-regexp):
Use it.  And use regexp-opt.
(texinfo-find-higher-level-node, texinfo-hierarchic-level)
(texinfo-update-menu-region-beginning)
(texinfo-update-menu-same-level-regexps)
(texinfo-update-menu-higher-regexps, texinfo-update-menu-lower-regexps)
(texinfo-update-the-node, texinfo-sequentially-update-the-node): Update.
(texinfo-update-node, texinfo-every-node-update)
(texinfo-sequential-node-update): Remove autoload cookie.
2000-11-06 15:53:05 +00:00
Karl Heuer
5762abecd3 Fix maintainer address. 1999-08-16 04:04:27 +00:00
Richard M. Stallman
7ecedca68d (texinfo-all-menus-update, texinfo-master-menu): Remove calls to sleep-for. 1999-02-09 00:38:12 +00:00
Karl Heuer
91c6f26e92 (texinfo-make-menu): Make region-end a marker. 1999-01-25 17:04:23 +00:00
Richard M. Stallman
af58447241 (texinfo-make-menu): Don't let
texinfo-find-higher-level-node repeatedly find the same node.
(texinfo-find-higher-level-node): Doc fix.
1998-10-11 12:47:19 +00:00
Richard M. Stallman
eae582fed9 (texinfo-insert-master-menu-list): Insert \n after @detailmenu. 1998-06-08 06:12:50 +00:00
Karl Heuer
ca722adbaa (texinfo-incorporate-menu-entry-names)
(texinfo-start-menu-description): Call regexp-quote.
1998-03-14 09:08:26 +00:00
Richard M. Stallman
80216a47a4 (defgroup, defcustom): Add Emacs 19 compatibility definitions. 1997-08-30 19:48:14 +00:00
Richard M. Stallman
d1f9f44105 Delete whitespace. 1997-08-04 01:11:01 +00:00
Richard M. Stallman
155b48df5e (texinfo-all-menus-update)
(texinfo-master-menu, texinfo-multiple-files-update):
Search for texinfo-master-menu-header as a string, not a regexp.
(texinfo-master-menu-header): Move defvar earlier.
1997-07-18 02:57:14 +00:00
Richard M. Stallman
06cc857db5 Many doc fixes.
(texinfo-all-menus-update): Check for @detailmenu.
(texinfo-master-menu): Likewise.
(texinfo-multiple-files-update): Likewise.
(texinfo-insert-master-menu-list): Put in @detailmenu if appropriate.
1997-06-15 17:39:13 +00:00
Richard M. Stallman
8af06c7cf9 (texinfo-master-menu-header): Delete newline at start.
(texinfo-insert-master-menu-list): Add @detailmenu and
@end detailmenu commands.
1997-04-20 21:02:06 +00:00
Richard M. Stallman
78897d3d9f (texinfo-make-menu): Accept args BEGINNING and END.
(texinfo-update-node): Accept args BEGINNING and END.
(texinfo-all-menus-update): Pass region explicitly.
(texinfo-master-menu, texinfo-every-node-update): Likewise.
1997-04-05 21:59:09 +00:00
Richard M. Stallman
86b54f498e (texinfo-incorporate-descriptions): Call regexp-quote. 1997-01-13 01:10:49 +00:00
Karl Heuer
c0fbcada19 (texinfo-copy-menu): Use double backslash to quote regexp. 1996-06-09 13:42:55 +00:00
Karl Heuer
d460a76357 (texinfo-find-pointer): Doc fix.
(texinfo-sequentially-find-pointer): Doc fix.
1996-06-09 13:40:05 +00:00
Erik Naggum
b578f267af Update FSF's address. 1996-01-14 07:34:30 +00:00
Karl Heuer
9687a0514b (texinfo-master-menu): Doc fix. 1996-01-04 23:50:14 +00:00
Erik Naggum
1337cb4268 Comment change 1995-10-30 22:13:36 +00:00
Richard M. Stallman
be01074898 Comment change. 1995-10-30 17:35:01 +00:00
Richard M. Stallman
7007e1e370 (texinfo-specific-section-type): Use buffer-substring-no-properties. 1995-07-27 22:04:24 +00:00
Karl Heuer
2db10f13d9 (texinfo-sequentially-find-pointer): Don't modify
the kill ring.
1995-05-26 04:00:52 +00:00
Richard M. Stallman
1ff3a40d52 (texinfo-every-node-update, texinfo-all-menus-update): Bind mark-active to t. 1994-05-10 06:55:29 +00:00
Richard M. Stallman
873b572941 (texinfo-sequential-node-update): Add autoload.
(texinfo-update-node, texinfo-every-node-update): Add autoload.
1993-11-09 23:56:43 +00:00
Richard M. Stallman
fe3371ef58 (texinfo-update-node): Bind auto-fill-hook as well as auto-fill-function.
(texinfo-sequential-node-update): Likewise.
1993-07-07 22:21:19 +00:00
Richard M. Stallman
daa6abb8d5 Fix typo re `texinfo-sequential-node-update.'
Ensure that no commands depend on the value of
case-fold-search.
Rewrite messages.  Avoid using `mark-whole-buffer'.

(texinfo-start-menu-description):
New function to insert title as description in a menu.
(texinfo-make-menu-list): Remove automatic title insertion.
(texinfo-master-menu): Error message if file
contains too few nodes for a master menu.
Handle the case where no master menu was inserted.
(texinfo-insert-master-menu-list): Only attempt to insert detailed
master menu if there is one.
Insert a master menu only after `Top' node and before next node.

(texinfo-check-for-node-name): Offer section title as prompt.
(texinfo-copy-next-section-title): Copy title correctly.
Handle failure to find @node.
(texinfo-copy-menu): Error message if menu empty.
(texinfo-pointer-name):  Find only those
section commands that are accompanied by `@node' lines.
(texinfo-section-types-regexp): Look for subh and subs, not just sub.
(texinfo-make-one-menu): Copy node-name correctly for message.
(texinfo-copy-menu-title): Copy title as it
should rather than node line.

(texinfo-find-higher-level-node): Stop search at limit.
Special handling for `top' and `chapter' levels.
(texinfo-copy-menu-title): Rewrite to handle outer include files.
(texinfo-multi-file-update): Update all nodes properly (and sooner);
rewrite doc string and interactive. Copy title properly.
(texinfo-all-menus-update): Fixed typo that
caused the function to create a master menu when it shouldn't.
Update pre-existing master menu, if there is one.

(texinfo-incorporate-descriptions): Use a regexp search to look for
both kinds of menu item.
(texinfo-menu-indent-description): Likewise.
(texinfo-incorporate-menu-entry-names): New function.
(texinfo-insert-menu): Handle both kinds of menu item.
(texinfo-multi-files-insert-main-menu): Likewise.
(texinfo-update-node): Pass t as second arg to push-mark.
(texinfo-sequential-node-update): Likewise.
(texinfo-insert-node-lines): Bind `title' at a higher level.
Don't find previous @node if it's close.
Take region to process as arguments.
(texinfo-multiple-files-update): Handle prefix arg better within
`interactive'.  Canonicalize the blank lines.
1993-07-07 22:15:20 +00:00
Jim Blandy
eb8c3be94e Apply typo patches from Paul Eggert. 1993-06-09 11:59:12 +00:00
Eric S. Raymond
5814274441 entered into RCS 1992-07-22 02:58:48 +00:00
Eric S. Raymond
d7b4d18fd4 *** empty log message *** 1992-07-17 20:24:00 +00:00
Eric S. Raymond
22a89ee866 *** empty log message *** 1992-07-14 21:51:51 +00:00
Jim Blandy
e5d77022e8 *** empty log message *** 1992-06-30 13:54:21 +00:00
Eric S. Raymond
d501f51645 *** empty log message *** 1992-05-30 20:24:49 +00:00
Jim Blandy
49116ac071 *** empty log message *** 1992-03-16 20:39:07 +00:00