Article View: comp.lang.postscript
Article #3946PostScript mode for GNU Emacs
From: Jonathan Monsarrat
Date: Mon, 05 Oct 1992 19:55
Date: Mon, 05 Oct 1992 19:55
23 lines
1256 bytes
1256 bytes
Hi everyone! This is Jon Monsarrat from Brown University and MIT.
Anyone have a "postscript-mode" for EMACS?
(you know, like text-mode and c-mode and fortran-mode and tex-mode)
I have this, which unfortunately is not very good. It came with emacs 18.58.
;; postscript.el
;; Major mode for editing PostScript programs.
;;
;; Author: Chris Maio
;; Last edit: 22 April 1988
Thanks!
-Jon
%! Obfuscated PostScript !% /exch{cvx}def /dup /def load def setfont 10 scale
/q{dup 0 1 getinterval cvn exch cvx def}def(dup)q(scale)q(moveto)q(translate)q
(closepath)q(exec)q(rotate)q{90 r{220 25 m 0 d 220 12 172 arc c}cvx d e -1 d s
e 270 0 m 0 d 270 360 0 arcn c gsave fill grestore 0 setgray stroke}cvx 45 r
462 36 t .5 d s d e 1 setgray 2 d s d e 80 0 t .08 d s e 8 d s -90 r -190 -30 m
/Helvetica-Bold findfont 90 scalefont setfont(NO NO-NOs) show showpage
Technical Details
Message-ID:
<1992Oct5.195504.11606@cs.brown.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!brunix!brunix!jgmShow Full Headers
Complete Article Headers
Newsgroups: comp.lang.postscript Path: arc1-ca.pugleaf.net!sparky!uunet!brunix!brunix!jgm From: jgm@cs.brown.edu (Jonathan Monsarrat) Subject: PostScript mode for GNU Emacs Message-ID: <1992Oct5.195504.11606@cs.brown.edu> Sender: news@cs.brown.edu Organization: Brown University Department of Computer Science Distribution: nation Date: Mon, 5 Oct 1992 19:55:04 GMT Lines: 23