Coder Social home page Coder Social logo

emacsmirror / vc-check-status Goto Github PK

View Code? Open in Web Editor NEW

This project forked from thisirs/vc-check-status

0.0 3.0 0.0 146 KB

Warn you when quitting emacs and leaving repo dirty

Home Page: https://github.com/thisirs/vc-check-status

Emacs Lisp 94.99% Makefile 5.01%

vc-check-status's Introduction

vc-check-status

This is an Emacs extension that warns you when you are about to quit Emacs and leaving a git repository that has some file opened in Emacs in a dirty state.

agenda screenshot

Oups! Looks like there is changes waiting to be committed!

Currently only git repositories are supported with the file vc-git-check-status.el. Feel free to write corresponding file for other VCSes.

Installation

This package is available on MELPA, just type: M-x package-install RET vc-check-status. You then need to enable it: M-x org-context-activate.

You just have to put the files vc-check-status.el and vc-git-check-status.el in you load path, require the feature from your .emacs and activate it.

(require 'vc-check-status)
(vc-check-status-activate 1)

Configuration

By default, changes and unpushed commits are checked in all git repositories. You can change this behavior by tweaking the variables vc-check-alist and vc-check.

  • vc-check-alist controls things globally with a regex indicating which repositories are checked and what is checked.

  • vc-check is a buffer-local variable that is likely to be set in a .dir-locals.el file at the root of a repository. It is a list of status to be checked.

vc-check-status's People

Contributors

tarsius avatar thisirs avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.