Commit graph

97 commits

Author SHA1 Message Date
Miles Bader
ab5796a9f9 Add arch taglines 2003-09-01 15:45:59 +00:00
Juanma Barranquero
76b7c63712 (texinfo-section-list): Append appendixsection; a synonym for appendixsec. 2003-07-13 17:15:47 +00:00
Stefan Monnier
ffa5b3a3ff (texinfo-enable-quote-macros): Fix thinko.
(texinfo-insert-@table): Remove unused arg.
(texinfo-show-structure): Remove unused var `source-buffer'.
2003-06-08 01:17:04 +00:00
Stefan Monnier
f412245b47 (texinfo-outline-level): Remove.
(texinfo-mode): Set outline-heading-alist instead.
(texinfo-section-list): Reorder for the needs of outline-heading-alist.
(texinfo-insert-block): Don't cons needlessly.
(texinfo-enable-quote-macros, texinfo-enable-quote-envs): New vars.
(texinfo-insert-quote): Use them.
2003-03-14 22:29:13 +00:00
Juanma Barranquero
db95369be0 Trailing whitespace deleted. 2003-02-04 13:30:45 +00:00
Juanma Barranquero
e1a68e89f4 (texinfo-environments): Add environment; copying, documentdescription,
ifplaintext, ifnotplaintext, and verbatim.
2002-10-29 07:52:32 +00:00
Stefan Monnier
287360825e (texinfo-font-lock-keywords): Disable the automatic environment name update.
(texinfo-clone-environment): Fix it not to incorrectly match prefixes.
2002-07-07 20:14:28 +00:00
Robert J. Chassell
481b0db7f7 Cause `texinfo-insert-@node' to insert a carriage return after the
comment line.  This change does not affect normal use.  On the one
hand, it causes the command to insert a blank line when invoked on the
line preceeding the @section line.  This is a fault.  On the other
hand, it causes the command to format the output properly when you
invoke the command on the same line as the @chapter or similar line.
This is beneficial.
2002-04-29 12:59:26 +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
Eli Zaretskii
62993ed664 (texinfo-insert-@end): Fix the change from 2001-10-24. 2002-01-04 13:10:23 +00:00
Robert J. Chassell
aae61ef390 (texinfo-show-structure): Display the line showing the current location
in the middle of the window.
2001-12-25 16:16:22 +00:00
Stefan Monnier
3bd171d52c (font-lock-keywords): Make sure texinfo-clone-environment is called. 2001-10-25 05:22:30 +00:00
Stefan Monnier
8fe6d67f58 (texinfo-environments, texinfo-environment-regexp): Hoisted.
(texinfo-font-lock-keywords): Use `italic' and `bold' faces.
Only highlight the menu name in menu items.
Setup `@foo ... @end foo' as text clones.
(texinfo-clone-environment): New function.
(texinfo-mode): Simplify auto-fill-inhibit-regexp.
(texinfo-insert-block): Simplify.
(texinfo-insert-quote): Insert a plain " if preceded by \ or if
the command is repeated.
(texinfo-last-unended-begin, texinfo-next-unmatched-end): New funs.
(texinfo-insert-@end): Simplify.
2001-10-25 03:54:21 +00:00
Pavel Janík
e8af40eed4 Some fixes to follow coding conventions. 2001-07-16 12:23:00 +00:00
Miles Bader
21ae6d3bc4 (texinfo-mode-syntax-table): Change syntax of " and \ to "." (punctuation). 2001-06-14 02:53:38 +00:00
Eli Zaretskii
e38af9bd2d (texinfo-font-lock-keywords): Add
fontification for @value, @dfn, @dmn, @acronym, @anchor, and
@inforef.  Add an OVERRIDE of `keep' to highlight specs of
keywords whose arguments routinely include @@.
2001-04-11 08:02:51 +00:00
Gerd Moellmann
48bb9196de (texinfo-mode): Use backward-paragraph
as font-lock-beginning-of-syntax-function in font-lock-defaults.
2001-01-19 16:49:04 +00:00
Gerd Moellmann
14ec09d77e (texinfo-mode): Set fill-column to 70. 2000-12-27 16:12:51 +00:00
Stefan Monnier
a11609d8c3 Move the (require 'cl) to the front of the
file where it's more visible.
(texinfo-filter, texinfo-chapter-level-regexp): New variables
moved from texnfo-upd.el (for AUCTeX's compatibility, originally).
(texinfo-mode): Use texinfo-chapter-level-regexp for page-delimiter.
(texinfo-inside-macro-p): Only catch `scan-error's.
(texinfo-inside-env-p): Make better use of the match info.
(texinfo-insert-quote): Collapse calls to `texinfo-inside-macro-p'.
(texinfo-insert-@end): Slight re-organization.
Also remove useless `looking-at' call.
2000-12-08 16:31:50 +00:00
Dave Love
08f9e2545c Require tex-mode when compiling.
(texinfo-update-node): Doc fix.
(texinfo-imenu-generic-expression): Add @anchor.
(texinfo-font-lock-keywords): Add @uref.
(texinfo-inside-macro-p): Don't use ignore-errors.
(texinfo-insert-quote): Match more contexts.
2000-12-06 19:34:15 +00:00
Eli Zaretskii
9768eaa75d (texinfo-open-quote, texinfo-close-quote):
New defcustoms.
(texinfo-insert-quote): Don't call tex-insert-quote, to avoid
autoloading tex-mode; instead, do the same manually.  Use
texinfo-open-quote and texinfo-close-quote.  Insert literal quote
with numeric argument.  Docstring fix.
(toplevel): Require cl when compiling.
2000-12-02 15:33:30 +00:00
Eli Zaretskii
4fb0a34c57 (texinfo-insert-@uref): Renamed from
texinfo-insert-@url.
(texinfo-insert-@url): A defalias for texinfo-insert-@uref.
(texinfo-mode-map): Bind "C-c C-c u" to texinfo-insert-@uref.
2000-11-15 13:57:50 +00:00
Stefan Monnier
d7fa3319f5 (texinfo-block-default): New var.
(texinfo-insert-block): Use it.  Insert a newline if needed.
2000-11-10 11:55:06 +00:00
Stefan Monnier
17ff7a277a (texinfo-chapter-level-regexp): Remove.
(texinfo-mode): Hard code texinfo-chapter-level-regexp.
2000-11-06 15:49:33 +00:00
Stefan Monnier
92819e90bb (texinfo-section-list): Change majorheading to 2.
(texinfo-font-lock-syntactic-keywords): Use syntax-strings.
2000-11-06 14:44:17 +00:00
Stefan Monnier
07e77e3628 Update copyright and fix typo. 2000-10-10 19:35:00 +00:00
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