[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/textmodes/tex-mode.el [lexbind]
From: |
Miles Bader |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/textmodes/tex-mode.el [lexbind] |
Date: |
Sat, 04 Sep 2004 05:41:34 -0400 |
Index: emacs/lisp/textmodes/tex-mode.el
diff -c emacs/lisp/textmodes/tex-mode.el:1.123.2.7
emacs/lisp/textmodes/tex-mode.el:1.123.2.8
*** emacs/lisp/textmodes/tex-mode.el:1.123.2.7 Tue Jul 6 09:23:49 2004
--- emacs/lisp/textmodes/tex-mode.el Sat Sep 4 09:26:23 2004
***************
*** 1141,1150 ****
'occur-target tem)))))
(goto-char prev-end))))
(with-current-buffer standard-output
! (if (eq num-matches 0)
! (insert "None!\n"))
! (if (interactive-p)
! (message "%d mismatches found" num-matches))))))
(defun tex-validate-region (start end)
"Check for mismatched braces or $'s in region.
--- 1141,1153 ----
'occur-target tem)))))
(goto-char prev-end))))
(with-current-buffer standard-output
! (let ((no-matches (zerop num-matches)))
! (if no-matches
! (insert "None!\n"))
! (if (interactive-p)
! (message "%s mismatch%s found"
! (if no-matches "No" num-matches)
! (if (> num-matches 1) "es" ""))))))))
(defun tex-validate-region (start end)
"Check for mismatched braces or $'s in region.
***************
*** 1459,1465 ****
nil)
(let ((proc (get-process "tex-shell")))
(set-process-sentinel proc 'tex-shell-sentinel)
! (process-kill-without-query proc)
(tex-shell)
(while (zerop (buffer-size))
(sleep-for 1)))))
--- 1462,1468 ----
nil)
(let ((proc (get-process "tex-shell")))
(set-process-sentinel proc 'tex-shell-sentinel)
! (set-process-query-on-exit-flag proc nil)
(tex-shell)
(while (zerop (buffer-size))
(sleep-for 1)))))
***************
*** 1928,1934 ****
(re-search-forward
"^l\\.\\([0-9]+\\) \\(\\.\\.\\.\\)?\\(.*\\)$" nil 'move))
(let* ((this-error (copy-marker begin-of-error))
! (linenum (string-to-int (match-string 1)))
(error-text (regexp-quote (match-string 3)))
(filename
(save-excursion
--- 1931,1937 ----
(re-search-forward
"^l\\.\\([0-9]+\\) \\(\\.\\.\\.\\)?\\(.*\\)$" nil 'move))
(let* ((this-error (copy-marker begin-of-error))
! (linenum (string-to-number (match-string 1)))
(error-text (regexp-quote (match-string 3)))
(filename
(save-excursion