Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/katyo/autogen-mode
Polymode-base C + GNU AutoGen mode for Emacs
https://github.com/katyo/autogen-mode
Last synced: 16 days 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 (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-06-21T07:39:20.000Z (over 7 years ago)
- Last Synced: 2024-10-30T16:12:13.915Z (2 months ago)
- Language: Emacs Lisp
- Size: 3.91 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
[![unstable](http://badges.github.io/stability-badges/dist/unstable.svg)](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; -*- +]
```