Mercurial > emacs
changeset 7827:fafd4d38d176
(tex-show-print-queue): Display the tex shell buffer.
(tex-file, tex-bibtex-file): Likewise.
(latex-mode, slitex-mode): Treat \] as paragraph starter.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Tue, 07 Jun 1994 16:51:20 +0000 |
parents | 6c242e506369 |
children | cfe470ebd714 |
files | lisp/textmodes/tex-mode.el |
diffstat | 1 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/textmodes/tex-mode.el Tue Jun 07 15:36:36 1994 +0000 +++ b/lisp/textmodes/tex-mode.el Tue Jun 07 16:51:20 1994 +0000 @@ -381,7 +381,7 @@ ;; A line starting with $$ starts a paragraph, ;; but does not separate paragraphs if it has more stuff on it. (setq paragraph-start "^[ \t]*$\\|^[\f%]\\|^[ \t]*\\$\\$\\|\ -^\\\\begin\\>\\|^\\\\label\\>\\|^\\\\end\\>\\|^\\\\\\[\\|\ +^\\\\begin\\>\\|^\\\\label\\>\\|^\\\\end\\>\\|^\\\\\\[\\|^\\\\\\]\\|\ ^\\\\chapter\\>\\|^\\\\section\\>\\|\ ^\\\\subsection\\>\\|^\\\\subsubsection\\>\\|\ ^\\\\paragraph\\>\\|^\\\\subparagraph\\>\\|\ @@ -390,7 +390,7 @@ ^\\\\newpage\\>\\|^\\\\[a-z]*page\\|^\\\\footnote\\>\\|\ ^\\\\marginpar\\>\\|^\\\\parbox\\>\\|^\\\\caption\\>") (setq paragraph-separate "^[ \t]*$\\|^[\f\\\\%]\\|^[ \t]*\\$\\$[ \t]*$\\|\ -^\\\\begin\\>\\|^\\\\label\\>\\|^\\\\end\\>\\|^\\\\\\[\\|\ +^\\\\begin\\>\\|^\\\\label\\>\\|^\\\\end\\>\\|^\\\\\\[\\|^\\\\\\]\\|\ ^\\\\chapter\\>\\|^\\\\section\\>\\|\ ^\\\\subsection\\>\\|^\\\\subsubsection\\>\\|\ ^\\\\paragraph\\>\\|^\\\\subparagraph\\>\\|\ @@ -454,7 +454,7 @@ ;; A line starting with $$ starts a paragraph, ;; but does not separate paragraphs if it has more stuff on it. (setq paragraph-start "^[ \t]*$\\|^[\f%]\\|^[ \t]*\\$\\$\\|\ -^\\\\begin\\>\\|^\\\\label\\>\\|^\\\\end\\>\\|^\\\\\\[\\|\ +^\\\\begin\\>\\|^\\\\label\\>\\|^\\\\end\\>\\|^\\\\\\[\\|^\\\\\\]\\|\ ^\\\\chapter\\>\\|^\\\\section\\>\\|\ ^\\\\subsection\\>\\|^\\\\subsubsection\\>\\|\ ^\\\\paragraph\\>\\|^\\\\subparagraph\\>\\|\ @@ -463,7 +463,7 @@ ^\\\\newpage\\>\\|^\\\\[a-z]*page\\|^\\\\footnote\\>\\|\ ^\\\\marginpar\\>\\|^\\\\parbox\\>\\|^\\\\caption\\>") (setq paragraph-separate "^[ \t]*$\\|^[\f\\\\%]\\|^[ \t]*\\$\\$[ \t]*$\\|\ -^\\\\begin\\>\\|^\\\\label\\>\\|^\\\\end\\>\\|^\\\\\\[\\|\ +^\\\\begin\\>\\|^\\\\label\\>\\|^\\\\end\\>\\|^\\\\\\[\\|^\\\\\\]\\|\ ^\\\\chapter\\>\\|^\\\\section\\>\\|\ ^\\\\subsection\\>\\|^\\\\subsubsection\\>\\|\ ^\\\\paragraph\\>\\|^\\\\subparagraph\\>\\|\ @@ -917,6 +917,7 @@ (if (tex-shell-running) (tex-kill-job) (tex-start-shell)) + (display-buffer (process-buffer (get-process "tex-shell"))) (or tex-zap-file (setq tex-zap-file (tex-generate-zap-file-name))) (let* ((temp-buffer (get-buffer-create " TeX-Output-Buffer")) @@ -989,6 +990,7 @@ (if (tex-shell-running) (tex-kill-job) (tex-start-shell)) + (display-buffer (process-buffer (get-process "tex-shell"))) (tex-send-command tex-shell-cd-command file-dir) (tex-send-command tex-command tex-out-file)) (setq tex-last-buffer-texed (current-buffer)) @@ -1108,6 +1110,7 @@ (if (tex-shell-running) (tex-kill-job) (tex-start-shell)) + (display-buffer (process-buffer (get-process "tex-shell"))) (tex-send-command tex-show-queue-command)) (defun tex-bibtex-file () @@ -1116,6 +1119,7 @@ (if (tex-shell-running) (tex-kill-job) (tex-start-shell)) + (display-buffer (process-buffer (get-process "tex-shell"))) (let ((tex-out-file (tex-append (file-name-nondirectory (buffer-file-name)) "")) (file-dir (file-name-directory (buffer-file-name))))