gm2
[Top][All Lists]
Advanced

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

[Gm2] video of emacs and gm2-mode


From: Gaius Mulley
Subject: [Gm2] video of emacs and gm2-mode
Date: Thu, 14 Jun 2018 00:24:05 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

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.

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



reply via email to

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