https://github.com/katyo/autogen-mode
Polymode-base C + GNU AutoGen mode for Emacs
https://github.com/katyo/autogen-mode
Last synced: 4 months ago
JSON representation
Polymode-base C + GNU AutoGen mode for Emacs
- Host: GitHub
- URL: https://github.com/katyo/autogen-mode
- Owner: katyo
- Created: 2017-06-21T04:27:38.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-21T07:39:20.000Z (almost 9 years ago)
- Last Synced: 2025-04-05T02:28:12.556Z (about 1 year ago)
- Language: Emacs Lisp
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
[](http://github.com/badges/stability-badges)
## Overview
This is a [GNU AutoGen](https://www.gnu.org/software/autogen/) template editing mode for [GNU Emacs](https://www.gnu.org/software/emacs/). It uses [`polymode`](https://github.com/vitoshka/polymode) package to combine the root `c-mode` with `autogen-mode` in template directives. Using `scheme-mode` for scheme chunks into templates currently not supported.
## Installation
*Note: Oldest supported Emacs version is 24.4*
### From [MELPA](https://github.com/milkypostman/melpa)
M-x `package-install` `polymode-autogen`.
### Manually
First install `polymode` package from [*here*](https://github.com/vitoshka/polymode).
```sh
git clone https://github.com/katyo/autogen-mode.git
```
Add "autogen-mode" directory to your emacs path and load mode to use:
```lisp
(add-to-list 'load-path "path/to/autogen-mode")
(require 'polymode-c-autogen)
```
Now you can activate mode manually:
M-x `poly-c+autogen-mode`
For automatic activation you can use special comment in templates:
```
[+ autogen5 template -*- mode: poly-c+autogen; -*- +]
```