Path: news.daimi.aau.dk!not-for-mail From: Lars Balker Rasmussen Newsgroups: comp.lang.beta Subject: Re: beta-mode in emacs Date: 19 Nov 1997 16:49:37 +0100 Organization: Mjolner Informatics ApS Lines: 27 Sender: lbr@heimdal.mjolner.dk Message-ID: <0fwwi4eve6.fsf@heimdal.mjolner.dk> References: <347307E8.3177@post4.tele.dk> NNTP-Posting-Host: heimdal.mjolner.dk Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Newsreader: Gnus v5.5/Emacs 20.2 Xref: news.daimi.aau.dk comp.lang.beta:11294 jan madsen writes: > I have just got Beta to work on my linux machine, and I would very much > like to have a Beta-mode in my emacs. I allready have the mode-files but > i dont know what to do. If you look in the beta-mode.el file in beta/current/emacs/current/ you'll see the instructions for installing it: ;; By putting the following lines of Emacs-Lisp code into your .emacs ;; file, you can make Emacs automagically recognize your BETA source code ;; file if they have the suffix .bet (textual BETA files). ;; (setq betalib (getenv "BETALIB")) ;; (if (not betalib) (setq betalib "/usr/local/lib/beta")) ;; ;; (setq load-path (append load-path ;; (list (format "%s/emacs/current" betalib)))) ;; ;; (autoload 'beta-mode "beta-mode") ;; (setq auto-mode-alist (append (list (cons "\\.bet$" 'beta-mode)) ;; auto-mode-alist)) ;; When in beta-mode, you can get to know more about beta-mode by using ;; M-x describe-mode. -- Lars Balker Rasmussen, Software Engineer, Mjolner Informatics ApS lbr@mjolner.dk