Use autoconf variables for preview version and date.

* .gitignore: Ignore preview/preview.el.

* Makefile.in (DISTCLEANFILES): Add preview/preview.el.
(release-commit): Write new version announcement also into
preview/ChangeLog.

* aclocal.m4: Add a third argument to
`AC_DATE_VERSION_FROM_CHANGELOG' specifying the ChangeLog file.

* configure.ac: Use new third argument of
`AC_DATE_VERSION_FROM_CHANGELOG'.  Retrieve preview date and
version from its ChangeLog.  Add preview/preview.el to output
files.

* preview/preview.el.in: Rename from "preview/preview.el".
(preview-version): Use @PREVIEWVERSION@ autoconf variable.
(preview-release-date): Use @PREVIEWDATE@ autoconf variable.
(preview-report-bug): Adapt to new `preview-version' format.
Manually adjust preview release version in dtx.

* preview/latex/preview.dtx: Manually change the release version.
Fix in LaTeX-largest-level-set for XEmacs compatibility.

* latex.el (LaTeX-largest-level-set): Set `outline-heading-alist'
only if it is bound.
Fix indentation of tabularx environment closing.

* latex.el (LaTeX-indent-environment-list): Remove setter
lambda.
(LaTeX--tabular-like-end): Remove variable.
(LaTeX-indent-tabular): Move setter function from
LaTeX-indent-environment-list to generate tabular-end regex when
called.

Signed-off-by: Mosè Giordano <mose@gnu.org>
Minor fix to previous change.

Signed-off-by: Mosè Giordano <mose@gnu.org>
Release_11.88
Create a top level directory in the preview tarball.

* Makefile.in (CTANDIR): New variable.
(preview-ball): Create a top level directory "preview/" in the
preview tarball, as required by CTAN.  Save the tarball to
$(CTANDIR) instead of $(FTPDIR).
Add new TeX-file-line-error option

This new option allows the user to select the style TeX prints error
messages with (also see FAQ number 8).

* tex.el (TeX-file-line-error): New customizable option.
  (TeX-expand-list): New expander "$(file-line-error)".
  (TeX-command-list): Use it.
  (LaTeX-command-style): Use it.

* doc/auctex.texi (Processor Options): Document `TeX-file-line-error'.

* doc/changes.texi: Mention `TeX-file-line-error'.
Update MinionPro style.

* style/MinionPro.el (TeX-add-symbols): Remove `figureversion',
`textsw', `textssc', `sscshape' and `swshape'.
(TeX-run-style-hooks): Added "fontaxes".

* style/MinionPro.el (LaTeX-MinionPro-package-options): Added
additional options from v2.3 of `MinionPro.sty', available from
<https://github.com/sebschub>

Signed-off-by: Tassilo Horn <tsdh@gnu.org>
Add new styles.

* style/zlmtt.el: New file.

* style/XCharter.el: New file.

* style/textcomp.el: New file.

* style/MyriadPro.el: New file.

* style/mdsymbol.el: New file.

* style/fontaxes.el: New file.

* style/eso-pic.el: New file.

* style/AnonymousPro.el: New file.

Signed-off-by: Tassilo Horn <tsdh@gnu.org>
Fix typo in Makefile.in.

Signed-off-by: Tassilo Horn <tsdh@gnu.org>
Several changes suggested by byte-compiler warnings.

* toolbar-x.el: Adjust copyright years.
(require): Require cl at compile-time.
(toolbarx-good-option-list-p): Use pushnew instead of add-to-list.

* tex.el (url-unreserved-chars): Declare to silence byte-compiler.
(TeX-tree-expand): Use pushnew instead of add-to-list.  Iterate
path-list in reversed order.
(TeX-style-path): Use mapc instead of mapcar for side-effects.
(TeX-file-extensions, BibTeX-file-extensions)
(TeX-Biber-file-extensions): Declare to silence byte-compiler.
(TeX-tree-roots): Use pushnew instead of add-to-list.
(TeX-search-files-by-type): Use setq/pushnew instead of
dolist/add-to-list.
(TeX-doc): Use pushnew instead of add-to-list.

* tex-info.el (require): Require cl at compile-time.
(Texinfo-insert-node): Use pushnew instead of add-to-list.
(reftex-section-levels-all, reftex-level-indent)
(reftex-label-menu-flags, reftex-tables-dirty): Always
forward-declare (not only at compile-time).
(when): declare-function only at compile-time.

* tex-fold.el: Adjust copyright years.
(require): Require cl at compile-time.
(TeX-fold-region-macro-or-env, TeX-fold-update-at-point): Use
pushnew instead of add-to-list.
(TeX-fold-hide-item): Use setq instead of add-to-list.

* tex-buf.el (font-lock-mode-enable-list)
(font-lock-auto-fontify, font-lock-defaults-alist): Declare vars
to silence byte-compiler.

* multi-prompt.el: Adjust copyright years.
(multi-prompt): Don't let-bind unused var done.
(multi-prompt-next-must-match): Use minibuffer-completion-table
instead of dynamically bound table.

* latex.el (require): Require cl at compile-time.
(title, name, level, done-mark, toc): Declare dynamic vars.
(LaTeX-env-document, TeX-arg-index-tag, TeX-arg-document)
(LaTeX-arg-usepackage, TeX-arg-verb, ): Rename unused arg.
(LaTeX-listify-package-options): Use setq instead of add-to-list
to add to local var.
(reftex-ref-macro-prompt, TeX-arg-item-label-p)
(TeX-arg-right-insert-p): Declare to silence byte-compiler.
(LaTeX-indent-line): Use pushnew instead of add-to-list.
(LaTeX-fill-move-to-break-point): Don't let-bind unused math-sep.
(LaTeX-section-enable-symbol): Downcase arg.
(LaTeX-indent-tabular): Use mapc instead of mapcar for
side-effects.

* context.el (done-mark, reference, title, name, level): Declare
dynamic vars without global nil value.
(ConTeXt-section): let-bind reference.  Remove binding of unused
var toc.
(ConTeXt-numbered-section-hook, ConTeXt-unnumbered-section-hook):
Improve docstring.
(ConTeXt-find-matching-stop): Don't let-bind pos.
(ConTeXt-optional-argument-insert)
(ConTeXt-required-argument-insert, ConTeXt-indent-line): Rename
unused arg.
(ConTeXt-mode-common-initialization): Use fboundp to check if
make-local-hook is defined.

* bib-cite.el: Expand copyright years.
(bib-cite-is-XEmacs): Remove.
(bib-cite-minor-mode, bib-cite-setup-highlight-mouse-keymap)
(bib-etags, bib-highlight-mouse, bib-toggle-highlight)
(bib-etags-find-noselect): Check for XEmacs with featurep.
(bib-cite-setup-mouse-function): Rename unused arg.
(bib-apropos): Use mapc instead of mapcar for side effects.
(bib-cite-fontify-help-xemacs): Define only on XEmacs.
(bib-cite-fontify-help-as-bibtex, bib-cite-fontify-help-as-latex):
Check for XEmacs with featurep.  Fix fontification code.
(bib-display-this-ref): Use point-min instead of 1.
(TeX-auto-save, TeX-auto-update, TeX-auto-regexp-list): Declare to
silence the byte-compiler.

Signed-off-by: Tassilo Horn <tsdh@gnu.org>
Several changes suggested by byte-compiler warnings.

* prv-install.el: Adjust copyright years.
(preview-make-package-xemacs): Use insert-file-contents instead of
insert-file.

* preview.el.in (error): Declare not only at compile-time.
(preview-expandable-string): Use explicit let instead of calling
lambda with another lambda.
(preview-mouse-open-eps): Use default-value of major-mode instead
of default-major-mode.
(preview-copy-text): Use with-current-buffer instead of
save-excursion with set-buffer.
(preview-parse-messages): Don't let-bind context.  Use mapc +
funcall instead of run-hooks.  Use goto-char + forward-line
instead of goto-line.

Signed-off-by: Tassilo Horn <tsdh@gnu.org>