[comp.emacs] emacs mode for pascal

thomas@irisa.irisa.fr (Henry Thomas) (07/19/89)

I am looking for a pascal mode for emacs, ideally including indentation.
If someone has such a thing, please e-mail it to me.
Thanks.

				    ------------------------------------------
Henry Thomas			    | Phone : +33  99 36 20 00 extension 549 |
Equipe API			    | Fax   : +33  99 38 38 32		     |
IRISA				    | Telex : UNIRISA 950 473F	             |
Campus Universitaire de Beaulieu    | E-mail: thomas@irisa.fr	             |
35042 RENNES CEDEX - FRANCE	    | UUCP  : ...!mcvax!inria!irisa!thomas   |
				    ------------------------------------------

ecb@utrccm (ecb) (07/21/89)

on 19 Jul 89 12:28:42 GMT,
Henry Thomas <mcvax!inria!irisa!thomas@uunet.uu.NET> said:
Henry> Sender: arpa-unix-emacs-request@bbn.COM
Henry> Source-Info:  From (or Sender) name not authenticated.

Henry> I am looking for a pascal mode for emacs, ideally including indentation.
Henry> If someone has such a thing, please e-mail it to me.
Henry> Thanks.

Here is the one I have. Warning: I am not a pascal programmer so I
                                 have *never* tried this. 

I just knew it existed on our system so when I saw your request I
snarfed it up and sent it out. Use at your own risk. 

			Bud Boman
			United Technologies Research Center
			(203) 727-7128
			ecb@utrccm.smc.utc.com


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;; pascal.el -- Pascal mode for Gnuemacs
;;; Copyright (C) 1987 Mark A. Ardis.

(provide 'pascal)

;;;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

(defvar pascal-mode-map nil
  "Keymap for Pascal Mode."
  ) ; pascal-mode-map

;;;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

(defun pascal-mode ()
  "Fundamental mode plus Pascal templates:
\\{pascal-mode-map}
"
  (interactive)
					; Local Variables
  (let ()
					; Body
    (setq major-mode 'pascal-mode)
    (setq mode-name "Pascal")
    (template-mode)
    (setq pascal-mode-map (current-local-map))
    ) ; let
  ) ; defun pascal-mode

;;;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

;;; end of pascal.el

scott@grlab.UUCP (Scott Blachowicz) (07/22/89)

/ grlab:comp.emacs / thomas@irisa.irisa.fr (Henry Thomas) /  5:28 am  Jul 19, 1989 /
> I am looking for a pascal mode for emacs, ideally including indentation.
Me too. I saw a couple listed in the LispCodeDatabase, so it seems there are
some out there.

Thanx a lot,

Scott Blachowicz
USPS:  Graphicus                UUCP:    ...!hpubvwa!grlab!scott
       150 Lake Str S, #206     VoicePh: 206/828-4691
       Kirkland, WA 98033       FAX:     206/828-4236