ps-mode

ps-mode is an interactive autoloaded compiled Lisp function in `ps-mode.el'.


(ps-mode)

Parent mode: `prog-mode'.

Major mode for editing PostScript with GNU Emacs.

Entry to this mode calls `ps-mode-hook'.

The following variables hold user options, and can
be set through the `customize' command:

`ps-mode-tab'
`ps-mode-paper-size'
`ps-mode-print-function'
`ps-run-prompt'
`ps-run-font-lock-keywords-2'
`ps-run-x'
`ps-run-dumb'
`ps-run-init'
`ps-run-error-line-numbers'
`ps-run-tmp-dir'

Type C-h v for documentation on these options.


key binding
--- -------

C-c Prefix Command
DEL ps-mode-backward-delete-char

C-c C-b ps-run-buffer
C-c C-j ps-mode-other-newline
C-c C-k ps-run-kill
C-c C-l ps-run-clear
C-c C-o ps-mode-comment-out-region
C-c C-p ps-mode-print-buffer
C-c C-q ps-run-quit
C-c C-r ps-run-region
C-c C-s ps-run-start
C-c C-t ps-mode-epsf-rich
C-c C-u ps-mode-uncomment-region
C-c C-v ps-run-boundingbox




When starting an interactive PostScript process with M-x ps-run-start,
a second window will be displayed, and `ps-run-mode-hook' will be called.
The keymap for this second window is:

key binding
--- -------

C-c Prefix Command
C-d comint-delchar-or-maybe-eof
RET comint-send-input
ESC Prefix Command
<C-down> comint-next-input
<C-up> comint-previous-input
<delete> delete-forward-char
<kp-delete> delete-forward-char
<mouse-2> ps-run-mouse-goto-error

C-c C-e ps-run-goto-error
C-c C-k ps-run-kill
C-c C-q ps-run-quit

C-c C-a comint-bol-or-process-mark
C-c C-c comint-interrupt-subjob
C-c C-d comint-send-eof
C-c C-e comint-show-maximum-output
(that binding is currently shadowed by another mode)
C-c C-l comint-dynamic-list-input-ring
C-c RET comint-copy-old-input
C-c C-n comint-next-prompt
C-c C-o comint-delete-output
C-c C-p comint-previous-prompt
C-c C-r comint-show-output
C-c C-s comint-write-output
C-c C-u comint-kill-input
C-c C-w backward-kill-word
C-c C-x comint-get-next-from-history
C-c C-z comint-stop-subjob
C-c ESC Prefix Command
C-c C-\ comint-quit-subjob
C-c SPC comint-accumulate
C-c . comint-insert-previous-argument

C-M-l comint-show-output
M-n comint-next-input
M-p comint-previous-input
M-r comint-history-isearch-backward-regexp

C-c M-r comint-previous-matching-input-from-input
C-c M-s comint-next-matching-input-from-input




When Ghostscript encounters an error it displays an error message
with a file position. Clicking mouse-2 on this number will bring
point to the corresponding spot in the PostScript window, if input
to the interpreter was sent from that window.
Typing C-c C-e when the cursor is at the number has the same effect.