Commit graph

70 commits

Author SHA1 Message Date
Stefan Monnier
003dd63517 (texinfo-mode-menu): Add an explicit shortcut for update all. 2000-10-03 18:33:10 +00:00
Stefan Monnier
28c7697169 (texinfo-heading-face): Forgot the var def. 2000-10-03 18:29:54 +00:00
Stefan Monnier
eedd281265 (texinfo-font-lock-syntactic-keywords):
Add regexp for @ignore ... @end ignore.
(texinfo-heading-face): New face.
(texinfo-font-lock-keywords): Use it.
(texinfo-mode-menu): New menu.
(texinfo-inside-macro-p, texinfo-inside-env-p, texinfo-insert-quote):
New functions.
(texinfo-mode-map): Bind " to insert-quote and M-RET to insert-@item.
(texinfo-section-types-regexp, texinfo-section-level-regexp)
(texinfo-subsection-level-regexp, texinfo-subsubsection-level-regexp):
Remove declaration.
(texinfo-show-structure): Use outline-regexp and texinfo-section-list.
2000-10-01 00:30:52 +00:00
Gerd Moellmann
8bd88d5452 (texinfo-mode): Prevent filling lines
starting with `@def' or `@multitable', in addition to ones
specified by the user in auto-fill-inhibit-regexp.
2000-09-25 11:16:43 +00:00
Gerd Moellmann
af9eaa5eb3 (texinfo-insert-@email)
(texinfo-insert-@emph, texinfo-insert-@quotation)
(texinfo-insert-@strong, texinfo-insert-@url): New functions.
(texinfo-mode-map): Add key bindings for them.
2000-04-17 15:23:08 +00:00
Stefan Monnier
e3721db120 (texinfo-mode-syntax-table): Add \n as comment-end.
(texinfo-font-lock-syntactic-keywords): New var.
(texinfo-font-lock-keywords): Remove comment regexp.
(texinfo-insert-block): New function.
(texinfo-mode-map): Add C-c C-o -> texinfo-insert-block.
(texinfo-mode): Use define-derived-mode.
Tweak comment-start-skip and font-lock-defaults.
Use regexp-opt for outline-regexp.
(texinfo-environments): New var.
(texinfo-environment-regexp): Use regexp-opt and texinfo-environments.
2000-04-17 11:45:39 +00:00
Gerd Moellmann
d407456c9e (texinfo-version): Variable and function
removed.
2000-03-10 20:07:01 +00:00
Eli Zaretskii
0cf452f333 (texinfo-font-lock-keywords): Add uref, command, option, env and sc. 1999-09-14 10:15:51 +00:00
Karl Heuer
5762abecd3 Fix maintainer address. 1999-08-16 04:04:27 +00:00
Richard M. Stallman
e2918bbf0f (texinfo-environment-regexp): Add the def... constructs. 1999-02-09 00:34:17 +00:00
Dave Love
c16273442a (texinfo-font-lock-keywords): Match @ref. 1999-01-22 14:03:06 +00:00
Andreas Schwab
3654a3512a (texinfo-tex-buffer): Bind
tex-start-options-string to empty string.
(texinfo-tex-region): Use texinfo-tex-trailer as documented.
1998-12-14 10:17:50 +00:00
Karl Heuer
405dadec66 (texinfo-show-structure): Bind inhibit-read-only. 1998-09-25 17:01:52 +00:00
Richard M. Stallman
7408bff1a5 (texinfo-environment-regexp): Add smalldisplay and smallformat. 1998-07-06 00:07:54 +00:00
Simon Marshall
b6908641f2 *** empty log message *** 1998-02-20 14:55:48 +00:00
Dave Love
c0b08eb017 Use imenu-case-fold-search. 1997-12-12 17:10:08 +00:00
Richard M. Stallman
80216a47a4 (defgroup, defcustom): Add Emacs 19 compatibility definitions. 1997-08-30 19:48:14 +00:00
Richard M. Stallman
5ed1493302 (texinfo-mode): Turn off adaptive-fill-mode. 1997-08-24 03:15:05 +00:00
Richard M. Stallman
5ccb13ff32 (texinfo-version): New function and variable.
(texinfo-update-node): New autoload call.
(texinfo-every-node-update): Likewise.
(texinfo-sequential-node-update): Likewise.
(texinfo-mode-map): New binding for C-c ].
(texinfo-environment-regexp): Use concat, for clarity.
(texinfo-insert-@end): Fix paren error.
1997-05-24 21:18:25 +00:00
Richard M. Stallman
cd482e0573 Add defgroup's; change use defcustom for user vars. 1997-04-12 02:51:38 +00:00
Richard M. Stallman
24e519d8c9 (texinfo-mode): Locally set tex-first-line-header-regexp.
Locally set tex-trailer.

(texinfo-mode): Use regexps for
tex-start-of-header and tex-end-of-header.
(texinfo-tex-region, texinfo-tex-buffer): Use tex-region and tex-buffer.
(texinfo-tex-print): Use tex-print.
(texinfo-tex-view): New command, on C-x C-t C-v.
1997-01-02 20:49:15 +00:00
Richard M. Stallman
9064ef036e (texinfo-font-lock-keywords): Add url', email'. 1996-12-08 08:22:59 +00:00
Richard M. Stallman
491f6f0f3d (texinfo-section-types-regexp)
(texinfo-section-level-regexp, texinfo-subsection-level-regexp)
(texinfo-subsubsection-level-regexp): Add defvars.

(texinfo-section-list): New variable.
(texinfo-outline-level): New function.
(texinfo-mode): Use them.
1996-03-05 21:42:17 +00:00
Richard M. Stallman
b14f720b0c (texinfo-font-lock-keywords): Fixed regexp for @end' and @item'. 1996-03-03 19:42:09 +00:00
Simon Marshall
dd7366bf5d Tweaked command regexp. 1996-01-25 10:40:02 +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
Richard M. Stallman
be01074898 Comment change. 1995-10-30 17:35:01 +00:00
Simon Marshall
32fad95674 Rewrite texinfo-font-lock-keywords; don't fontify syntactically. 1995-08-10 15:13:43 +00:00
Karl Heuer
e4cfb70d5c (texinfo-imenu-generic-expression): Var defined.
(texinfo-mode): Set imenu-generic-expression.
1995-07-28 00:24:14 +00:00
Richard M. Stallman
68621a8f13 (texinfo-environment-regexp): Allow whitespace at BOL. 1995-07-27 07:40:22 +00:00
Richard M. Stallman
133d010c2d (texinfo-environment-regexp): Add @ifhtml, @html. 1995-06-18 16:45:20 +00:00
Simon Marshall
7ac268120e Put comments first in texinfo-font-lock-keywords. 1995-06-08 14:29:13 +00:00
Richard M. Stallman
f4f1c130d9 (texinfo-mode-map): Delete C-c ] binding. 1995-05-02 01:44:22 +00:00
Boris Goldowsky
6e9f6940cc (texinfo-mode): Remove ^ from paragraph-start & paragraph-separate. 1995-03-02 15:48:20 +00:00
Richard M. Stallman
c066ae5ca0 (texinfo-environment-regexp): Match @menu and
@titlepage --- they require @ends.  Don't match @defunx commands; they don't.
(texinfo-insert-@end): Don't put a command name after the @end
if we ran off the top of the buffer looking for its mate.
1995-02-06 03:26:35 +00:00
Simon Marshall
2ab3bf87ff * texinfo.el: (texinfo-mode): Set font-lock-defaults. 1994-10-12 09:21:47 +00:00
Richard M. Stallman
0ece5f43e3 (texinfo-font-lock-keywords): New variable.
(texinfo-mode): Set font-lock-keywords locally.
1994-10-07 10:05:49 +00:00
Richard M. Stallman
0fe44016cd (texinfo-show-structure): Fix subsubsection indent amount. 1994-05-12 18:04:36 +00:00
Richard M. Stallman
a1017d3916 (texinfo-environment-regexp): Split lines.
Add def..., ifset, ifclear.
(texinfo-show-structure): Fix typo.
1994-05-10 06:39:04 +00:00
Richard M. Stallman
79183f1a1f (texinfo-tex-region): Use tex-send-command to do commands.
(texinfo-tex-buffer, texinfo-texindex, texinfo-tex-print): Likewise.
(texinfo-delete-from-print-queue, texinfo-quit-job): Likewise.
1993-11-20 22:21:58 +00:00
Richard M. Stallman
bb946175c2 (texinfo-texi2dvi-command): Separate `texi2dvi'
command from `tex' command so `texinfo-format-region' can use
straight `tex' command.
(texinfo-format-buffer): Use `texinfo-texi2dvi-command'
(texinfo-delete-from-print-queue): Revise documentation.
1993-11-11 07:52:56 +00:00
Richard M. Stallman
25f91a1e2b (texinfo-mode-map): Add C-c C-e bindings for texinfmt.el. 1993-11-10 00:03:54 +00:00
Robert J. Chassell
95cc610e06 (texinfo-show-structure): Indent appendices properly. 1993-11-10 00:02:27 +00:00
Roland McGrath
304826544f (texinfo-environment-regexp): Match cartouche. 1993-08-18 16:48:58 +00:00
Richard M. Stallman
97c6c316f6 (texinfo-delete-from-print-queue)
(texinfo-tex-buffer): Load tex-mode to get tex-start-shell, etc.
1993-08-10 08:24:55 +00:00
Richard M. Stallman
d78fc31546 (texinfo-mode): Undo changes mistakenly added with
previous batch: texinfo-{start,end}-of-header are now tex-...
1993-07-17 17:27:02 +00:00
Richard M. Stallman
c6cc04e999 Set up autoloads for files makeinfo' and texnfo-upd'.
(texinfo-delete-from-print-queue-command): New var.
(texinfo-tex-trailer): New var.
(texinfo-tex-region): Use that.
(texinfo-tex-buffer): Rewritten; use the actual source file.
Binding is now C-c C-t C-b.
(texinfo-texindex): Turned back on.
(texinfo-quit-job): New command, with binding.
(texinfo-delete-from-print-queue): Likewise.
(texinfo-show-structure): Indent each line according to depth.
Require texnfo-upd.
(texinfo-section-types-regexp): Var deleted.
(texinfo-insert-@-with-arg): New function.
(texinfo-insert-@var, etc.): Use that.
(texinfo-insert-@end): New command, now on C-c C-c e.
(texinfo-insert-@end-example): Deleted.
(texinfo-insert-@table): New command, on C-c C-c t.
(texinfo-start-menu-description): New command, on C-c C-c C-d.
(texinfo-mode): No longer set tex-trailer.
Make the @node for the top node start a page.
Use shorter values for tex-end-of-header and tex-start-of-header.
(texinfo-mode-map): Add bindings for makeinfo-buffer, etc.
Delete bindings for texinfo-format-buffer/region.
(texinfo-define-common-keys): New function.
1993-06-25 06:41:54 +00:00
Richard M. Stallman
c2121a73a9 (texinfo-section-types-regexp): Add @chapheading. 1993-06-07 23:35:09 +00:00
Richard M. Stallman
d4e21f83e0 (texinfo-section-types-regexp): Define here. 1993-05-20 14:11:44 +00:00