[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] 127/299: Execute TeX-run-compile in TeX-master-directory.
From: |
Stefan Monnier |
Subject: |
[elpa] 127/299: Execute TeX-run-compile in TeX-master-directory. |
Date: |
Sun, 02 Nov 2014 03:10:50 +0000 |
monnier pushed a commit to branch externals/auctex
in repository elpa.
commit d3a5e9d12a161595c28f1c1498a1e12f5709b44b
Author: Mosè Giordano <address@hidden>
Date: Sun Jun 2 20:16:12 2013 +0200
Execute TeX-run-compile in TeX-master-directory.
* tex-buf.el: Shorten copyright year ranges and update with
missing years. Delete trailing whitespaces.
(TeX-run-compile): Let-bind `default-directory' to
`TeX-master-directory'.
---
ChangeLog | 7 +++++++
tex-buf.el | 18 +++++++++---------
2 files changed, 16 insertions(+), 9 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index fdf3439..93335f6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2013-06-02 Mos� Giordano <address@hidden>
+
+ * tex-buf.el: Shorten copyright year ranges and update with
+ missing years. Delete trailing whitespaces.
+ (TeX-run-compile): Let-bind `default-directory' to
+ `TeX-master-directory'.
+
2013-05-31 Tassilo Horn <address@hidden>
* autogen.sh: Set LC_ALL=C when looking into ChangeLog for
diff --git a/tex-buf.el b/tex-buf.el
index c5918fd..1c3212b 100644
--- a/tex-buf.el
+++ b/tex-buf.el
@@ -1,7 +1,6 @@
;;; tex-buf.el --- External commands for AUCTeX.
-;; Copyright (C) 1991, 1993, 1996, 2001, 2003, 2004, 2005, 2006, 2007,
-;; 2008, 2009 Free Software Foundation, Inc.
+;; Copyright (C) 1991-1999, 2001-2013 Free Software Foundation, Inc.
;; Maintainer: address@hidden
;; Keywords: tex, wp
@@ -680,7 +679,7 @@ run of `TeX-run-TeX', use
(TeX-synchronous-sentinel name file process))))
(defun TeX-run-Biber (name command file)
- "Create a process for NAME using COMMAND to format FILE with Biber."
+ "Create a process for NAME using COMMAND to format FILE with Biber."
(let ((process (TeX-run-command name command file)))
(setq TeX-sentinel-function 'TeX-Biber-sentinel)
(if TeX-process-asynchronous
@@ -689,7 +688,8 @@ run of `TeX-run-TeX', use
(defun TeX-run-compile (name command file)
"Ignore first and third argument, start compile with second argument."
- (compile command))
+ (let ((default-directory (TeX-master-directory)))
+ (compile command)))
(defun TeX-run-shell (name command file)
"Ignore first and third argument, start shell-command with second argument."
@@ -981,7 +981,7 @@ Warnings can be indicated by LaTeX or packages."
(TeX-current-pages))
(setq TeX-command-next (with-current-buffer TeX-command-buffer
TeX-command-BibTeX)))
- ((re-search-forward "Package biblatex Warning: Please rerun LaTeX" nil t)
+ ((re-search-forward "Package biblatex Warning: Please rerun LaTeX" nil
t)
(message "%s%s" "You should run LaTeX again, " (TeX-current-pages))
(setq TeX-command-next TeX-command-default))
((re-search-forward "^(biblatex)\\W+Page breaks have changed" nil t)
@@ -1549,7 +1549,7 @@ You might want to examine and modify the free variables
`file',
(push nil TeX-error-offset)
(goto-char end))
t)
-
+
;; End of file -- Pop from stack
((match-beginning 4)
(when (> (length TeX-error-file) 0)
@@ -1557,13 +1557,13 @@ You might want to examine and modify the free variables
`file',
(pop TeX-error-offset))
(goto-char (match-end 4))
t)
-
+
;; Hook to change line numbers
((match-beginning 5)
(setq TeX-error-offset
(list (string-to-number (TeX-match-buffer 5))))
t)
-
+
;; Hook to change file name
((match-beginning 6)
(setq TeX-error-file
@@ -1637,7 +1637,7 @@ You might want to examine and modify the free variables
`file',
(forward-line (+ offset line -1))
(if (not (string= string " "))
(search-forward string nil t))
-
+
;; Explain the error.
(cond ((eq TeX-display-help 'expert)
(TeX-pop-to-buffer runbuf nil t)
- [elpa] 119/299: Fixes to TeX-arg-index-tag, TeX-arg-cite, TeX-parse-arguments., (continued)
- [elpa] 119/299: Fixes to TeX-arg-index-tag, TeX-arg-cite, TeX-parse-arguments., Stefan Monnier, 2014/11/01
- [elpa] 117/299: Insert one $ when point is in a verbatim construct., Stefan Monnier, 2014/11/01
- [elpa] 109/299: Fix in TeX-arg-insert-braces., Stefan Monnier, 2014/11/01
- [elpa] 121/299: Silence some compilation warning., Stefan Monnier, 2014/11/01
- [elpa] 124/299: Make forward PDF search with Okular work., Stefan Monnier, 2014/11/01
- [elpa] 123/299: Fix docstring of `TeX-source-correlate-sync-source'., Stefan Monnier, 2014/11/01
- [elpa] 116/299: Temporary fix for font-latex-jit-lock-force-redisplay., Stefan Monnier, 2014/11/01
- [elpa] 126/299: Fix for autogen.sh., Stefan Monnier, 2014/11/01
- [elpa] 118/299: Add new style files fancyvrb.el and xparse.el., Stefan Monnier, 2014/11/01
- [elpa] 125/299: Simplify LaTeX-env-figure function., Stefan Monnier, 2014/11/01
- [elpa] 127/299: Execute TeX-run-compile in TeX-master-directory.,
Stefan Monnier <=
- [elpa] 120/299: Move remaining .cvsignore to .gitignore., Stefan Monnier, 2014/11/01
- [elpa] 122/299: Expand biblatex style file., Stefan Monnier, 2014/11/01
- [elpa] 129/299: Document LaTeX-find-matching-begin and LaTeX-find-matching-end., Stefan Monnier, 2014/11/01
- [elpa] 128/299: New variable TeX-electric-math., Stefan Monnier, 2014/11/01
- [elpa] 130/299: Add reference to Gmane thread in ChangeLog., Stefan Monnier, 2014/11/01
- [elpa] 133/299: Fix compile error with emacs bzr which assumes elisp files are UTF-8 encoded., Stefan Monnier, 2014/11/01
- [elpa] 132/299: Fix `TeX-next-error'., Stefan Monnier, 2014/11/01
- [elpa] 131/299: New hooks TeX-after-document-hook and LaTeX-after-usepackage-hook., Stefan Monnier, 2014/11/01
- [elpa] 136/299: Simplify TeX-doc-backend-alist., Stefan Monnier, 2014/11/01
- [elpa] 135/299: Put coding cookie in elisp header line., Stefan Monnier, 2014/11/01