Function: tex-shell

tex-shell is an interactive and byte-compiled function defined in tex-mode.el.gz.

Signature

(tex-shell)

Documentation

Major mode derived from shell-mode by define-derived-mode.

It inherits all of the parent's attributes, but has its own keymap, abbrev table and syntax table:

  tex-shell-map, tex-shell-abbrev-table and
tex-shell-syntax-table

which more-or-less shadow shell-mode's corresponding tables.

In addition to any hooks its parent mode might have run, this mode runs the hook tex-shell-hook, as the final or penultimate step during initialization.

C-\ kermit-esc
C-c C-b shell-backward-command
C-c C-f shell-forward-command
C-c C-k tex-kill-job
C-c C-l tex-recenter-output-buffer
C-c C-p tex-print
C-c C-q kermit-send-char
C-c C-q tex-show-print-queue
C-c C-v tex-view
C-c \ kermit-esc
C-j kermit-send-input-cr
C-x n d shell-narrow-to-prompt
M-? comint-dynamic-list-filename-completions
M-RET shell-resync-dirs
TAB completion-at-point

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/textmodes/tex-mode.el.gz
;; The utility functions:

(define-derived-mode tex-shell shell-mode "TeX-Shell"
  (setq-local compilation-error-regexp-alist tex-error-regexp-alist)
  (compilation-shell-minor-mode t))