gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] video of emacs and gm2-mode


From: john o goyo
Subject: Re: [Gm2] video of emacs and gm2-mode
Date: Thu, 14 Jun 2018 11:35:47 -0400
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X 10.5; en-GB; rv:1.9.2.23) Gecko/20110920 Thunderbird/3.1.15

On 13/06/2018 19:24, Gaius Mulley wrote:
Hi,

if anyone is uses emacs to edit Modula-2, this might be of interest.
Here is a short screencast video (6.5M) giving a small overview of
some of the functionality in gm2-mode.

Gaius, how does this differ from the Schmidt-Perrine modula2.el mode (in recent emacs)?

john

http://floppsie.comp.glam.ac.uk/download/avi/emacs-gm2-mode-2018-06-13.mkv

I plan to package gm2-mode into as an emacsen lisp package.  But in the
meanwhile it can be installed locally by placing the gm2-mode.el found
on gm2-trunc

http://git.savannah.gnu.org/cgit/gm2.git/tree/gcc-versionno/gcc/gm2/el/gm2-mode.el

and adding the lisp commands in your $HOME/.emacs file:

(setq load-path (cons "~/GM2/graft-svn-trunc/gcc-versionno/gcc/gm2/el/" 
load-path))

;; auto load definitions

(defun prepend-to-auto-mode-alist (pair)
   "Add PAIR onto start of auto-mode-alist"
   (setq auto-mode-alist (cons pair auto-mode-alist)))

(prepend-to-auto-mode-alist ' ("\\.mod$" . gm2-mode))
(prepend-to-auto-mode-alist ' ("\\.def$" . gm2-mode))
(prepend-to-auto-mode-alist ' ("\\.bnf$" . gm2-mode))

(autoload 'gm2-mode "gm2-mode" "GNU Modula-2 mode")

anyhow - hope you enjoy the video!


regards,
Gaius

_______________________________________________
gm2 mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/gm2




reply via email to

[Prev in Thread] Current Thread [Next in Thread]