| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
(texinfo-insert-quote): "?\ " -> "?\s".
|
|
|
|
| |
comment to "?\s".
|
|
|
|
|
|
|
|
|
|
|
|
| |
Remove "-face" suffix from texinfo-heading face
2005-06-10 Miles Bader <miles@gnu.org>
* lisp/textmodes/texinfo.el (texinfo-heading): Remove "-face" suffix
from face name.
(texinfo-heading-face): New backward-compatibility alias for
renamed face.
(texinfo-heading-face): Use renamed texinfo-heading face.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Texinfo environment, using the same method as in texinfo-insert-@end,
and insert a space rather than a newline if point in a `table' environment.
|
|
|
|
| |
(texinfo-show-structure): Explicitly add ^, and simplify.
|
| |
|
|
|
|
|
| |
with ^, since that's what texinfo-show-structure
documentation says (plus it works much better in texinfo.txi).
|
|
|
|
|
|
| |
karl@freefriends.org (Karl Berry), since the Texinfo Elisp files
have only been distributed with Emacs for some years.
(texinfo-mode-hook): Customize.
|
| |
|
| |
|
|
|
|
|
| |
(texinfo-insert-@table): Remove unused arg.
(texinfo-show-structure): Remove unused var `source-buffer'.
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
|
|
|
| |
ifplaintext, ifnotplaintext, and verbatim.
|
|
|
|
| |
(texinfo-clone-environment): Fix it not to incorrectly match prefixes.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
| |
|
|
|
|
| |
in the middle of the window.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
| |
|
|
|
|
|
|
| |
fontification for @value, @dfn, @dmn, @acronym, @anchor, and
@inforef. Add an OVERRIDE of `keep' to highlight specs of
keywords whose arguments routinely include @@.
|
|
|
|
| |
as font-lock-beginning-of-syntax-function in font-lock-defaults.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
(texinfo-insert-block): Use it. Insert a newline if needed.
|
|
|
|
| |
(texinfo-mode): Hard code texinfo-chapter-level-regexp.
|
|
|
|
| |
(texinfo-font-lock-syntactic-keywords): Use syntax-strings.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
starting with `@def' or `@multitable', in addition to ones
specified by the user in auto-fill-inhibit-regexp.
|
|
|
|
|
|
| |
(texinfo-insert-@emph, texinfo-insert-@quotation)
(texinfo-insert-@strong, texinfo-insert-@url): New functions.
(texinfo-mode-map): Add key bindings for them.
|
|
|
|
|
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
| |
removed.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
tex-start-options-string to empty string.
(texinfo-tex-region): Use texinfo-tex-trailer as documented.
|