Commit graph

235 commits

Author SHA1 Message Date
Juanma Barranquero
32226619c5 Use called-interactively-p' instead of interactive-p'. 2009-10-02 03:48:36 +00:00
Glenn Morris
c4f6e489aa Mark face aliases with "-face" suffix as obsolete. 2009-09-01 07:24:13 +00:00
Glenn Morris
e6ce8c4239 Use forward-line rather than goto-line. 2009-08-22 19:29:18 +00:00
Stefan Monnier
24d2266c20 (tex-uptodate-p): Accept [1{/var/foo}] as a page number. 2009-05-20 15:14:20 +00:00
Glenn Morris
ae940284fa Add 2009 to copyright years. 2009-01-05 03:18:22 +00:00
Stefan Monnier
78796feb48 (tex-bibtex-file): Use tex-main-file. 2008-12-24 22:24:24 +00:00
Stefan Monnier
f37a389e68 * faces.el (face-font-family-alternatives): Add "CMU Typewriter Text"
to the courier family.
* textmodes/tex-mode.el (tex-verbatim): Don't use "monospace" which is
usually not serif'd and hence rather unlike verbatim's printed output.
2008-10-26 04:32:09 +00:00
Martin Rudalics
fa9a8f7899 (latex-handle-escaped-parens): New variable.
(latex-backward-sexp-1, latex-forward-sexp-1): Treat escaped
parens specially only if latex-handle-escaped-parens is non-nil.
(latex-indent-within-escaped-parens): New option.
(latex-find-indent): Bind latex-handle-escaped-parens to
latex-indent-within-escaped-parens.  Do not treat escaped parens
specially when this is non-nil.  (Bug#954)
2008-09-25 08:39:30 +00:00
Martin Rudalics
8ca37e61fc (latex-find-indent): ... and handle conjunction correctly this time. 2008-09-23 08:25:44 +00:00
Martin Rudalics
ea60d1b14f (latex-find-indent): ... and don't change original position when
it fails.
2008-09-23 06:35:31 +00:00
Martin Rudalics
ee1751a5e8 (latex-find-indent): Try to handle
escaped close parens correctly.  (Bug#954)
2008-09-23 06:15:52 +00:00
Glenn Morris
12f0a4d629 Comment. 2008-09-12 03:06:16 +00:00
Chong Yidong
1957b847ef (tex-compilation-parse-errors): Check for
invalid filename strings when parsing tex errors (bug#376).
2008-07-25 18:39:38 +00:00
Chong Yidong
d19ba1af2f (tex-verbatim): Use monospace instead of courier. 2008-06-25 22:35:53 +00:00
Glenn Morris
1fecc8feb6 Switch to recommended form of GPLv3 permissions notice. 2008-05-06 04:34:22 +00:00
Glenn Morris
3405b0dfde (tex-mode): Suppress warning about multiple definitions when compiling. 2008-03-05 03:57:43 +00:00
Glenn Morris
56b654bb5d (tex-cmd-bibtex-args): Add :version and :group. 2008-03-04 03:48:53 +00:00
Stefan Monnier
68a2af7af0 (latex-mode): Remove % from paragraph-separate so that M-q can fill comments.
(tex-executable-exists-p, tex-compile): Extend with special syntax for
commands implemented in elisp.
(tex-compile-commands): Add an entry to use doc-view for pdf files.
(tex-format-cmd): New function.
(tex-compile): Use it to let the user specify default arguments.
(tex-cmd-bibtex-args): New var.
(tex-cmd-doc-view): New function.
2008-03-03 13:55:41 +00:00
Miles Bader
59ce725a3b Merge from emacs--rel--22
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-987
2008-01-08 20:46:54 +00:00
Glenn Morris
12dc447f2a Add 2008 to copyright years. 2008-01-07 02:23:04 +00:00
Miles Bader
fdc9061358 Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 131-137)

   - Update from CVS
   - Merge from gnus--rel--5.10

 * gnus--rel--5.10  (patch 261-262)

   - Update from CVS

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-908
2007-10-27 09:07:17 +00:00
Stefan Monnier
594bab6583 (tex-uptodate-p): Don't signal an error if one
of the subdirs is unreadable.
2007-10-23 00:48:34 +00:00
Glenn Morris
0bda3658f4 (tex-fontify-script, tex-font-script-display): Add :version tag.
\
2007-09-28 03:36:33 +00:00
Glenn Morris
8b6f62fc57 (tex-suscript-height-ratio, tex-suscript-height-minimum): New
customizable variables.
(tex-suscript-height): New function.
(superscript, subscript): Set height using tex-suscript-height
rather than fixing at 0.8.
2007-09-28 03:29:59 +00:00
Glenn Morris
acdc4e5902 (tex-font-script-display): Doc fix. 2007-09-25 07:29:43 +00:00
Glenn Morris
2fb34c68c7 (tex-next-unmatched-eparen): Doc fix.
(tex-last-unended-eparen): New function.
(latex-backward-sexp-1): Doc fix.  Handle escaped parens.
2007-09-21 07:56:33 +00:00
Glenn Morris
09b33024ce (tex-validate-region): Handle escaped parens.
(tex-next-unmatched-eparen): New function.
(latex-forward-sexp-1): Doc fix.  Handle escaped parens.
(latex-forward-sexp): Doc fix.
2007-09-21 03:07:52 +00:00
Glenn Morris
c6228f1452 Refill copyright.
NB previous change had incorrect CVS log entry.  Correct log:

(tex-validate-buffer): Use paragraph motion functions, rather than
hard-coding "\n\n".
(tex-validate-region): Check for eobp, to speed up.
(tex-next-unmatched-end): Doc fix.
2007-09-20 03:08:03 +00:00
Glenn Morris
98fcc75bb3 (tex-validate-buffer): Use paragraph motion functions, rather than
hard-coding "\n\n".
(tex-validate-region): Check for eobp, to speed up.
(tex-next-unmatched-end): Doc fix.
2007-09-20 03:06:38 +00:00
Glenn Morris
0a4daff51e Revert previous change. 2007-09-20 03:01:01 +00:00
Glenn Morris
3cfff67b9e Revert previous change. 2007-09-20 02:53:58 +00:00
Glenn Morris
120d9fb5a2 (tex-terminate-paragraph): Leave point at the site of any mismatch. 2007-09-19 07:24:45 +00:00
Glenn Morris
41c12ad876 (tex-terminate-paragraph): Use backward-paragraph. 2007-09-19 07:24:17 +00:00
Glenn Morris
739d53dc46 (tex-terminate-paragraph): Use backward-paragraph. 2007-09-19 07:19:54 +00:00
Richard M. Stallman
299ea3d32e (tex-verbatim-environments): Eliminate CL dependency. 2007-09-17 22:23:13 +00:00
Glenn Morris
3d1634c64a (tex-compilation-parse-errors): Prefer the filename from
`--file-line-error', if it is available.
2007-09-17 07:04:46 +00:00
Glenn Morris
e47a29adbf Joe Wells <jbw at macs.hw.ac.uk> (tiny change)
(tex-compilation-parse-errors): Also match TeX `--file-line-error'
format.
2007-09-17 07:02:35 +00:00
Glenn Morris
6f800ba681 (tex-compilation-parse-errors): Prefer the filename from
`--file-line-error', if it is available.
2007-09-17 07:01:53 +00:00
Glenn Morris
af751646bd Joe Wells <jbw at macs.hw.ac.uk> (tiny change)
(tex-compilation-parse-errors): Also match TeX `--file-line-error'
format.
2007-09-17 07:01:41 +00:00
Glenn Morris
eecfb4da1b (tex-region): Simplify previous change,
handling the case where the region is not in `tex-main-file'.
(tex-region-1): Delete.
(tex-region-header): New function, doing the header part of the
old tex-region-1.
2007-09-17 00:26:49 +00:00
Glenn Morris
595a68b473 (tex-region): Simplify previous change,
handling the case where the region is not in `tex-main-file'.
(tex-region-1): Delete.
(tex-region-header): New function, doing the header part of the
old tex-region-1.
2007-09-17 00:24:12 +00:00
Glenn Morris
80c2ab0f7d (tex-region): Handle the case where the region is not in
`tex-main-file'.  Move the old code that applies to both cases...
(tex-region-1): ...to this new function.
2007-09-16 02:05:26 +00:00
Glenn Morris
b2272f67e7 (tex-region): Handle the case where the region is not in
`tex-main-file'.  Move the old code that applies to both cases...
(tex-region-1): ...to this new function.
2007-09-16 02:01:51 +00:00
Stefan Monnier
0e1627a71c (tex-font-lock-unfontify-region): Take tex-font-script-display into account.
(tex-font-script-display, tex-font-lock-suscript): Change from a cons
cell to a list of 2 elements to simplify the unfontify code.
2007-08-10 04:16:21 +00:00
Miles Bader
9aecacd08a Merge from emacs--rel--22
Patches applied:

 * emacs--rel--22  (patch 70-73)

   - Update from CVS

2007-07-25  Glenn Morris  <rgm@gnu.org>

   * Relicense all FSF files to GPLv3 or later.

Revision: emacs@sv.gnu.org/emacs--devo--0--patch-828
2007-07-26 05:28:10 +00:00
Glenn Morris
5a9dffec38 Switch license to GPLv3 or later. 2007-07-25 04:24:43 +00:00
Stefan Monnier
0f4827ee1d (tex-font-script-display): Change default to 0.2. 2007-07-22 19:20:33 +00:00
Stefan Monnier
c25d0edb6e (tex-verbatim-environments): Add safe-local-variable property.
(tex-font-lock-syntactic-keywords): Lookup tex-verbatim-environments
when starting font-lock rather than when loading tex-mode.el.
2007-07-16 18:38:05 +00:00
Reiner Steib
2b1567a532 (tex-fontify-script)
(tex-font-script-display): New variables to make display of
superscripts and subscripts customizable.
(tex-font-lock-suscript, tex-font-lock-match-suscript): Use them.
2007-07-09 19:14:48 +00:00
Stefan Monnier
1d16f33c78 (tex-font-lock-keywords-2): Add citet and citep
to the list of citation commands.
2007-05-10 06:00:48 +00:00