# HG changeset patch # User Richard M. Stallman # Date 771007880 0 # Node ID fafd4d38d176ce20ceeef76baac83613c25ee906 # Parent 6c242e506369677ff2dc5a8c6c0d19c5a9733b78 (tex-show-print-queue): Display the tex shell buffer. (tex-file, tex-bibtex-file): Likewise. (latex-mode, slitex-mode): Treat \] as paragraph starter. diff -r 6c242e506369 -r fafd4d38d176 lisp/textmodes/tex-mode.el --- 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))))