Commit graph

1268 commits

Author SHA1 Message Date
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
Stefan Monnier
5748357975 (outline-level): Demote it to defvar.
(outline-heading-alist): Document extended semantics.
(outline-head-from-level): New fun.
(outline-promote, outline-demote): Use it.
(outline-show-heading): New fun.
(hide-sublevels, show-children): Use it together with outline-map-region.
(outline-get-next-sibling): Don't call outline-level at eob.
2003-03-14 21:43:53 +00:00
Stefan Monnier
21a3d3e7c9 (outline-mode-menu-bar-map): Add entries.
(outline-mode-prefix-map): Match new bindings to those of allout.
(outline-map-region): New fun.
(outline-map-tree): Remove.
(outline-promote, outline-demote): Apply to region if active.
Change the default to apply to the subtree.
(outline-move-subtree-up, outline-move-subtree-down): New funs.
(outline-invisible-p): Add optional `pos' argument.
(outline-next-visible-heading, outline-toggle-children): Use it.
(outline-get-next-sibling): Don't call outline-level at eob.
2003-03-13 18:15:07 +00:00
Kenichi Handa
cc4fe8d2d2 (sentence-end): Add Chinese and Japanese characters. 2003-02-24 04:50:59 +00:00
Juanma Barranquero
4fb8125073 (table-generate-source): Use ?\\ instead of space in "work in progress" message. 2003-02-18 11:17:11 +00:00
Juanma Barranquero
64bc2e83e5 (reftex-reference): Fix character constant. 2003-02-18 11:08:42 +00:00
Stefan Monnier
764e500228 (pages-directory-mode-map): New.
(pages-directory-map): Redefine as an varalias.
(pages-directory-mode): Use new map var and run mode hook.
(pages-directory-address-mode): Use define-derived-mode.
2003-02-11 00:44:08 +00:00
Stefan Monnier
6147e72553 (texinfo-format-iftex, texinfo-format-ifhtml)
(texinfo-format-ifplaintext, texinfo-format-tex, texinfo-format-html)
(texinfo-format-ifnotinfo, texinfo-format-titlepage)
(texinfo-format-titlespec, texinfo-format-ignore, texinfo-if-set)
(texinfo-if-clear): Use re-search-forward's return value.
(texinfo-sort-startkeyfun, texinfo-format-buffer-1)
(texinfo-format-region): Use line-{end,beginning}-position.
(texinfo-append-refill, texinfo-alias): Use match-string-no-properties.
2003-02-11 00:37:28 +00:00
Juanma Barranquero
c3c5cfdb93 (outline-visible): Add obsolescence declaration and remove redundant info from
docstring.
2003-02-05 23:15:41 +00:00
Juanma Barranquero
db95369be0 Trailing whitespace deleted. 2003-02-04 13:30:45 +00:00
Dave Love
78f886f224 (lookup-words): Fix last change. 2003-01-30 22:59:07 +00:00
Juanma Barranquero
12a382d45e (reftex-TeX-master-file): Use really the buffer file name if no other master
file is located.
2003-01-29 11:54:35 +00:00
Stefan Monnier
ffb6ced1ce (fill-comment-paragraph): Fix simplistic regexp-concatenation. 2003-01-19 00:19:44 +00:00
Stefan Monnier
f064f7c929 (fill-region-as-paragraph): Only erase `hard' property until end-of-paragraph. 2003-01-16 19:46:00 +00:00
Andreas Schwab
e70cccc0c8 (picture-substitute): Use command remapping instead of
substitute-key-definition.
2003-01-12 20:51:36 +00:00
Andreas Schwab
13b454db2d (sgml-font-lock-keywords-2): Add flag to merge with existing fontification. 2003-01-11 22:47:33 +00:00
Dave Love
3849454a12 (lookup-words): Cope with null lookup-dict. 2003-01-06 20:46:57 +00:00
Dave Love
500acb7900 (nroff-mode-hook): Customize.
(nroff-imenu-expression): New.
(nroff-mode): Use it.
2003-01-03 20:04:48 +00:00
Richard M. Stallman
67f5dcb800 (makeinfo-buffer): Display result using Info-mode.
(makeinfo-compilation-sentinel-buffer, makeinfo-current-node): New functions.
(makeinfo-compile): Add a sentinel parameter.
(makeinfo-compilation-sentinel-region): Renamed from
makeinfo-compilation-sentinel, and makeinfo-temp-file now never nil.
(makeinfo-region): Use this.
2002-12-22 22:05:16 +00:00
Richard M. Stallman
d02677ab1c (tex-start-of-header, tex-end-of-header): Add defvars. 2002-12-22 22:04:01 +00:00
Richard M. Stallman
602503c5e2 (tex-print): Call shell-quote-argument on the file name. 2002-12-22 22:03:22 +00:00
Richard M. Stallman
ecb2925bf0 (outline-next-visible-heading):
When going forward, test outline-invisible-p at start of header.
2002-12-22 22:02:25 +00:00
Robert J. Chassell
d79abb6984 Installed on behalf of TAKAHASHI Kaoru <kaoru@kaisei.org>
(@verb, @image): new commands

(@kbdinputstyle, @vskip, @evenfooting, @evenheading, @oddfooting,
@oddheading, @everyfooting, @everyheading, @documentdescription):
Add these commands, none of which should appear in an Info
environment; but if they do, these definitions should cause
them to be discarded.
2002-12-10 19:01:36 +00:00
Robert J. Chassell
6b9bfa954b Fix typos found by TAKAHASHI Kaoru <kaoru@kaisei.org>. 2002-12-08 23:03:47 +00:00
Robert J. Chassell
a66ccdcf77 (texinfo-format-scan) Handle new functions for copyright
notice and copying permissions.
(texinfo-copying, texinfo-insertcopying): New functions.

Installed for TAKAHASHI Kaoru  <kaoru@kaisei.org>
(texinfo-format-xml): New function.
(ifxml, ifnotxml): New aliases.
2002-12-06 19:43:49 +00:00
Richard M. Stallman
60f1a6ef10 (outline-mode): Doc fix. 2002-12-05 15:31:57 +00:00
Richard M. Stallman
ec17ee7864 (ispell-dict-map): Move specific dictionary selection into a submenu. 2002-12-02 16:20:36 +00:00
Richard M. Stallman
f601aaf8f8 (fill-indent-to-left-margin): New function.
(fill-newline, fill-region-as-paragraph): Use that.
2002-12-02 16:19:52 +00:00
Robert J. Chassell
124ff501ef Fix typos. 2002-11-28 14:12:31 +00:00
Robert J. Chassell
718402b21a Updated texinfmt-version number and date. 2002-11-24 02:35:49 +00:00
Robert J. Chassell
2a64dfcec3 (texinfo-no-refill-regexp): add "itemize\\|" because of a problem with
@end itemize@refill, but worry whether this causes other problems.
2002-11-24 02:18:01 +00:00
Robert J. Chassell
289df0fc4c (texinfo-format-separate-node): Handle node names with
properties and with regular expression symbols in them.
2002-11-24 01:39:02 +00:00
Markus Rost
e4caa91aba (defgroup refill): New group. 2002-11-18 06:06:43 +00:00
Markus Rost
966cdb2209 (html-autoview-mode): Add group. 2002-11-18 04:32:11 +00:00
Markus Rost
eacd92dd02 (use-hard-newlines): Add group. 2002-11-18 04:18:23 +00:00
Markus Rost
87a609d3fb (defgroup ispell): Arrange that definition starts at beginning of
line.
2002-11-17 22:34:13 +00:00
Markus Rost
23179a73c3 (defgroup table-hooks): New group.
(table-cell-map-hook): Fix typo in group name.
2002-11-17 22:31:53 +00:00
Kim F. Storm
1b457e183f (fill-nobreak-invisible): New var.
(fill-nobreak-p): Test it; return t if set and point invisible.
(fill-newline): Test it; remove invisible prop on newline if set.
2002-11-13 23:32:21 +00:00
Stefan Monnier
4e7a42d2f5 (sgml-namify-char): New cmd.
(sgml-name-char): Use it.
(sgml-tag-last, sgml-tag-history): New vars.
(sgml-tag): Use them.
(sgml-skip-tag-forward): Use sgml-tag-syntax-table.
(sgml-delete-tag): Remove resulting empty lines.
(sgml-tag): Don't make intangible.
(sgml-parse-tag-backward): Add limit argument.
(html-autoview-mode): Use define-minor-mode.
2002-11-12 16:46:19 +00:00
Stefan Monnier
7afecb99cb (latex-standard-block-names): Rename from standard-latex-block-names.
(tex-font-lock-keywords-1): Add providecommand, renewenvironment, and
renewtheorem.  Highlight \it and \bf separately since they may overlap.
(tex-font-lock-suscript, tex-font-lock-unfontify-region): New funs.
(tex-font-lock-keywords-3, tex-verbatim-environments)
(tex-font-lock-syntactic-keywords): New vars.
(superscript, subscript, tex-verbatim-face): New faces.
(tex-font-lock-syntactic-face-function): Handle \verb construct.
(tex-common-initialization): Update font-lock-defaults setting.
(tex-insert-braces): Make it into a skeleton.
(latex-fill-nobreak-predicate): Don't break after \.
(latex-insert-block): Rename from tex-latex-block.
(latex-down-list): Use tex-mode-syntax-table when skipping parens
rather than the indentation syntax-table.
(latex-close-block): Rename from tex-close-latex-block.
(latex-split-block): New fun.
(latex-indent): Don't indent inside a verbatim block.
(latex-find-indent): Stick \begin{verbatim} to the margin.
2002-11-08 16:56:57 +00:00
Stefan Monnier
1ddad36ec0 (fill-paragraph): Consider a comment-start as
a paragraph starter when filling non-comments.
(fill-comment-paragraph): Use comment-search-forward.
Recognize paragraph starters and separators within comments.
Use adaptive-fill-prefix when it works.  Don't narrow while doing the fill.
2002-11-07 22:51:28 +00:00
Richard M. Stallman
746c30e216 (tex-dvi-view-command): Value can be sexp.
Initialize to a suitable sexp.
(tex-view): Evaluate tex-dvi-view-command and use the value.
2002-11-06 05:05:47 +00:00
Stefan Monnier
3d9ce27e7b (fill-paragraph-handle-comment): New var.
(fill-comment-paragraph): New fun (generalizes of lisp-fill-paragraph).
(fill-paragraph): Use them.
2002-11-03 03:41:11 +00:00
Stefan Monnier
5ae0d69704 (tex-common-initialization): comment-start-skip shouldn't match on next line. 2002-11-02 02:16:36 +00:00
Stefan Monnier
65b3448598 (sgml-skip-tag-backward, sgml-skip-tag-forward):
Deal with xml-style <foo/> empty tags.
2002-11-01 17:41:41 +00:00
Stefan Monnier
ef11ff9b1f (fill-move-to-break-point): Skip white space
_before_ checking to see if we're hitting the margin.
(fill-region-as-paragraph): Don't fiddle with the undo-list any more:
it's now done by the C primitives.  Don't use narrowing.
Reorganize the line-breaking part of the code to simplify the control
flow and make it work in the absence of narrowing.
(fill-region): Don't use narrowing.
2002-10-31 00:30:36 +00:00
Dave Love
3180897ccc (po-content-type-charset-alist): Delete most
entries.
(po-find-charset): Doc fix.  Remove interactive spec.
(po): Provide.
(po-find-file-coding-system-guts): Re-written to use
coding-system-alist, and code-pages, not codepage stuff.
2002-10-30 19:47:53 +00:00
Juanma Barranquero
2b6a2afe1d (texinfo-format-ifplaintext): New function.
(ifplaintext, ifnotplaintext)
(afourpaper, afivepaper, afourlatex, afourwide)
(documentlanguage, documentencoding): New aliases.
2002-10-29 07:53:08 +00:00
Juanma Barranquero
e1a68e89f4 (texinfo-environments): Add environment; copying, documentdescription,
ifplaintext, ifnotplaintext, and verbatim.
2002-10-29 07:52:32 +00:00
John Paul Wallington
15693bc3ac * textmodes/picture.el (picture-mouse-set-point): New command.
(picture-mode-map): Bind it.
(picture-motion-reverse): Doc fix.
2002-10-26 22:40:40 +00:00