Skip to content

conao3/leaf-manager.el

Repository files navigation

https://raw.githubusercontent.com/conao3/files/master/blob/headers/png/leaf-manager.el.png https://img.shields.io/github/license/conao3/leaf-manager.el.svg?style=flat-square https://img.shields.io/github/tag/conao3/leaf-manager.el.svg?style=flat-square https://github.com/conao3/leaf-manager.el/workflows/Main%20workflow/badge.svg https://img.shields.io/codacy/grade/62a36f4f04524d5e8c758440e8071c45.svg?logo=codacy&style=flat-square https://img.shields.io/badge/patreon-become%20a%20patron-orange.svg?logo=patreon&style=flat-square https://img.shields.io/badge/twitter-@conao__3-blue.svg?logo=twitter&style=flat-square https://img.shields.io/badge/chat-on_slack-blue.svg?logo=slack&style=flat-square

Table of Contents

Description

Configuration manager for leaf based init.el

https://raw.githubusercontent.com/conao3/files/master/blob/leaf-manager.el/leaf-manager.gif

Install

leaf-manager is available via package.

(leaf leaf-manager
  :ensure t)

Usage

M-x leaf-manager.

leaf-manager expects multi input. If you stop feeding input, please input nil.

Customize

leaf-manager-file
Manage target user init.el file path.
leaf-manager-template
The format string used to output file.
leaf-manager-template-feature-name
The feature name.
leaf-manager-template-summary
The summary.
leaf-manager-template-commentary
The commentary section.
leaf-manager-template-copyright-from
The Copyright year from.
leaf-manager-template-copyright-to
The Copyright year to.
leaf-manager-template-copyright-name
The Copyright name.
leaf-manager-template-author-name
The author name.
leaf-manager-template-author-email
The author email address.
leaf-manager-template-license
The License header.
leaf-manager-template-local-variables
The local variables specification.
leaf-manager-edit-header-template
The format string used to leaf-manager edit buffer header.
  • face
    leaf-manger-header-line
    Face for section headings.

Information

Community

All feedback and suggestions are welcome!

You can use github issues, but you can also use Slack if you want a more casual conversation.

Contribution

We welcome PR!

Require tools for testing

  • cask
    • install via brew
      brew install cask
              
    • manual install
      cd ~/
      hub clone cask/cask
      export PATH="$HOME/.cask/bin:$PATH"
              

Running test

Below operation flow is recommended.

make                              # Install git-hooks in local .git

git branch [feature-branch]       # Create branch named [feature-branch]
git checkout [feature-branch]     # Checkout branch named [feature-branch]

# <edit loop>
emacs leaf-manager.el             # Edit something you want

make test                         # Test leaf-manager via multi version Emacs
git commit -am "brabra"           # Commit (auto-run test before commit)
# </edit loop>

hub fork                          # Create fork at GitHub
git push [user] [feature-branch]  # Push feature-branch to your fork
hub pull-request                  # Create pull-request

Migration

License

General Public License Version 3 (GPLv3)
Copyright (c) Naoya Yamashita - https://conao3.com
https://github.com/conao3/leaf-manager.el/blob/master/LICENSE

Author

Contributors