Commit graph

102 commits

Author SHA1 Message Date
Gerd Moellmann
9920303f6d (tex-default-mode): Changed to latex-mode. 1999-11-01 12:34:43 +00:00
Richard M. Stallman
ee13a145ea (tex-compilation-parse-errors):
Use a marker instead of an integer for `compilation-parsing-end'.
1999-08-28 18:22:20 +00:00
Andreas Schwab
0959218256 (tex-start-shell): Use add-hook for
comint-input-filter-functions.  Make variables related to shell
directory tracking local.
1999-03-29 09:06:05 +00:00
Richard M. Stallman
c3ce7bf4ec (tex-run-command, latex-run-command)
(slitex-run-command, tex-command): Doc changes.
(tex-start-options-string): Autoload it.  Doc change.  Provide
a menu for customization.  Allow nil.  Quote backslashes only once.
(tex-start-tex): Handle nil value of tex-start-options-string
and apply shell-quote-argument to it.
1999-02-16 10:39:24 +00:00
Richard M. Stallman
bed1b0c890 When compiling, require compare-w and skeleton
to pacify the byte-compiler.  Move the def's of the tex-commands
together.  Add a comment on kill-process vs. quit-process.
1999-02-07 07:28:45 +00:00
Markus Rost
e6b0b77374 (tex-mode-map): Replace validate-tex-buffer by
tex-validate-buffer.
(plain-tex-mode, latex-mode, slitex-mode): Likewise.
(tex-validate-buffer): Renamed from validate-tex-buffer.  Works
now with recent occur-mode.
(tex-validate-region): Really walk through all Sexps.
(tex-region): Bind shell-dirtrack-verbose.
(tex-file, tex-bibtex-file): Likewise.
1999-01-29 22:06:31 +00:00
Karl Heuer
2bfe16dbb3 (tex-run-command): Doc fix. 1999-01-25 16:31:15 +00:00
Richard M. Stallman
f05bd64539 (tex-define-common-keys): Remove key binding of tex-feed-input.
(tex-mode-map): Bind tex-feed-input here.
(tex-start-shell): Use compilation-shell-minor-mode.  Set
comint-input-filter-functions before running tex-shell-hook.
(tex-start-tex): Forget compilation errors.
(tex-compilation-parse-errors): Rewritten to work also with
compile-mouse-goto-error and compile-goto-error.  Adjusted to
change in tex-region.
(tex-region): For the temp file use file-name without directory.
(tex-file): Expand file name of tex-print-file.
1999-01-19 20:28:05 +00:00
Richard M. Stallman
5616ee4617 (latex-run-command): Doc fix.
(tex-command): Doc fix.
(tex-compilation-parse-errors): Doc fix.
(tex-generate-zap-file-name): Don't start the name with -.
(tex-expand-files): Works now also with strings ending with ":".
1999-01-18 01:18:19 +00:00
Karl Heuer
f5cdb8516a (tex-generate-zap-file-name): Don't start the name with #. 1998-12-10 03:17:51 +00:00
Richard M. Stallman
033306e36b (tex-feed-input): New function.
(tex-define-common-keys): Add binding for C-c C-m.
1998-11-25 01:07:19 +00:00
Karl Heuer
f11436793c (tex-start-shell): Track directory changes. 1998-11-05 19:15:36 +00:00
Richard M. Stallman
c0fdc5b716 (tex-start-options-string): Quote the backslashes with more backslashes. 1998-10-31 23:55:32 +00:00
Karl Heuer
6633b89142 (tex-run-command): Doc fix.
(tex-start-tex): Don't use tex-start-options-string in star case.
Quote file name in star case as well as in non-star.
Add blank and quoting of option string here.
(tex-start-options-string): Not here.
1998-09-25 20:30:42 +00:00
Karl Heuer
691d39b7b4 (tex-compilation-parse-errors):
More general code to use the source buffer instead of the zap file.
1998-09-21 19:44:20 +00:00
Karl Heuer
514e1703dc (tex-start-tex): Call comint-quote-filename. 1998-09-10 15:26:44 +00:00
Karl Heuer
1f882e21d6 (tex-start-options-string): New option.
(tex-start-tex): Use that variable.
1998-09-04 20:39:26 +00:00
Richard M. Stallman
be4a962d1c (tex-main-file): Doc fix. 1998-07-29 06:10:52 +00:00
Richard M. Stallman
02fd229c46 (tex-delete-last-temp-files): Use file-name-sans-extensions. 1998-07-06 22:41:48 +00:00
Karl Heuer
68dabb618a Undo May 15 change. 1998-05-30 15:14:47 +00:00
Richard M. Stallman
1ea3de08e7 (tex-command-end): New variable.
(tex-start-tex): Use it.
(plain-tex-mode): Locally set tex-command-end.
(tex-common-initialization): Make local binding for it.x
1998-05-19 04:27:28 +00:00
Richard M. Stallman
2974ad46db (tex-start-shell): Call compilation-minor-mode. 1998-03-30 04:23:58 +00:00
Richard M. Stallman
460e1b7d32 (tex-send-command): Return the process.
(tex-start-tex): New function.
(tex-region, tex-file): Use tex-start-tex.
(tex-start-tex-marker): New variable.

(tex-compilation-parse-errors): Completely rewritten.
(tex-print): Reset or restart the subshell before using it.
1998-03-30 04:21:52 +00:00
Richard M. Stallman
9bd4f69c5d (latex-mode): Set fill-nobreak-predicate.
(slitex-mode): Set fill-nobreak-predicate, tex-face-alist,
and imenu-create-index-function.
(latex-fill-nobreak-predicate): New function.
1998-03-09 06:36:25 +00:00
Karl Heuer
2ed2806cd9 (tex-validate-region): Really check
for mismatched parens.
1997-10-31 23:03:30 +00:00
Richard M. Stallman
2be5fefb86 (tex-categorize-whitespace): Use eq, not eql. 1997-07-24 04:21:34 +00:00
Richard M. Stallman
822eddf41c (tex-common-initialization):
Set search-whitespace-regexp locally.
1997-07-04 04:41:46 +00:00
Richard M. Stallman
a53c647b51 (latex-imenu-create-index): Make it much smarter.
(latex-imenu-indent-string): New variable.
1997-06-23 00:30:48 +00:00
Richard M. Stallman
d61140e89d Add defgroup's; use defcustom for user vars. 1997-04-13 07:28:48 +00:00
Richard M. Stallman
6d34c59ffb (tex-region): Correctly handle possible
overlap between first line, header, and region.
New local var ALREADY-OUTPUT makes this general.
Write tex-trailer directly as a string; get rid of temp-buffer.
Make tex-out-file include the .tex suffix.
1997-01-02 01:30:36 +00:00
Richard M. Stallman
725b742881 (tex-first-line-header-regexp): New variable.
(tex-region): Sometimes include the file's first line.
1996-12-29 19:41:52 +00:00
Richard M. Stallman
23b6422580 (tex-file): Fix paren error in last change.
(tex-recenter-output-buffer): Switch windows in a more controlled
fashion, using save-selected-window.
1996-10-31 23:50:02 +00:00
Richard M. Stallman
ebe15e27ee (tex-main-file): Add missing initial value.
(tex-file): Set tex-print-file to source-file always.
1996-09-27 20:42:12 +00:00
Richard M. Stallman
f73741fc23 (tex-main-file): New variable.
(tex-file): Use that.  Rename local var to source-file
so it is obviously local.
1996-08-25 01:25:07 +00:00
Karl Heuer
710a0f533a (tex-validate-region): Skip fwd over whitespace
and punctuation, to find point of mismatch.
(validate-tex-buffer): Don't include the blank lines
before a paragraph in the paragraph being checked.
1996-07-11 23:55:01 +00:00
Richard M. Stallman
cf149bdfae (tex-common-initialization): Set skeleton-further-elements.
(tex-latex-block): Define as a skeleton.
1996-06-25 22:44:10 +00:00
Richard M. Stallman
a5e2ae0112 (latex-imenu-create-index):
Change the regexp to match the * versions of commands.
(latex-mode): Make imenu-create-index-function buffer-local.
1996-05-15 15:17:41 +00:00
Richard M. Stallman
9596811a3d Comment change. 1996-03-02 06:37:35 +00:00
Richard M. Stallman
6da9bbd6b2 (tex-face-alist, tex-latex-face-alist): New variables.
(tex-common-initialization): Set facemenu-add-face-function,
facemenu-end-add-face, facemenu-remove-face-function.

(slitex-mode): Fix misspelling in value.
1996-01-26 19:57:45 +00:00
Karl Heuer
c93931c390 (tex-send-command): Give meaningful error message. 1995-11-04 00:39:25 +00:00
Richard M. Stallman
898b9ac102 (tex-start-of-header): Now a regexp.
(tex-end-of-header): Likewise.
(plain-tex-mode, latex-mode, slitex-mode, tex-region): Changed accordingly.
1995-10-19 00:48:12 +00:00
Karl Heuer
0fb4f2457b (latex-imenu-generic-expression): Var defined.
(latex-mode): Set imenu-generic-expression.
1995-07-28 00:26:37 +00:00
Richard M. Stallman
2b7971c930 (tex-view): Nice error if tex-dvi-view-command is nil. 1995-04-29 16:32:03 +00:00
Karl Heuer
f8c25f1b67 Update copyright. 1995-04-07 02:21:52 +00:00
Boris Goldowsky
0220283937 (tex-common-initialization, latex-mode, slitex-mode): Remove ^ from
paragraph-start & paragraph-separate.
1995-03-02 15:52:37 +00:00
Richard M. Stallman
7d0ca249c8 (tex-append): Try splitting on last period, then
try splitting on first period.
1995-02-17 23:25:17 +00:00
Richard M. Stallman
51b2c84172 (tex-display-shell): Pass nil as arg to
tex-recenter-output-buffer.
(tex-region, tex-file, tex-show-print-queue, tex-bibtex-file):
Put the call to tex-display-shell essentially last.
1995-01-27 23:08:49 +00:00
Richard M. Stallman
45c3304d43 (tex-print): Better check for when to print current
buffer's file over last processed file.
1995-01-05 00:23:50 +00:00
Richard M. Stallman
c0bcb2393b (tex-mode): Recognize \NeedsTeXFormat{LaTeX2e}. 1995-01-03 22:28:50 +00:00
Richard M. Stallman
e4d02e0473 (tex-mode): \begin at start of file implies Latex. 1995-01-02 23:07:36 +00:00